<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/memory, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/memory?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/memory?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-09-12T15:04:15Z</updated>
<entry>
<title>Merge tag 'memory-controller-drv-mediatek-6.1' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into arm/drivers</title>
<updated>2022-09-12T15:04:15Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2022-09-12T15:04:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c457d9a580fbb106e82afb81e2b4177f80c0221d'/>
<id>urn:sha1:c457d9a580fbb106e82afb81e2b4177f80c0221d</id>
<content type='text'>
Memory controller drivers for v6.1 - MediaTek

Add support for the mt8188 SMI memory controller.

* tag 'memory-controller-drv-mediatek-6.1' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl:
  memory: mtk-smi: mt8188: Add SMI Support
  memory: mtk-smi: Add enable IOMMU SMC command for MM master
  memory: mtk-smi: Add return value for configure port function
  dt-bindings: memory: mediatek: Add mt8188 smi binding

Link: https://lore.kernel.org/r/20220909153037.824092-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>Merge tag 'memory-controller-drv-brcm-6.1' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into arm/drivers</title>
<updated>2022-09-12T15:03:18Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2022-09-12T15:03:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=4da90678a6862442c049b2827bf11fd563f1e66f'/>
<id>urn:sha1:4da90678a6862442c049b2827bf11fd563f1e66f</id>
<content type='text'>
Memory controller drivers for v6.1 - Broadcom

Add support for the Broadcom STB memory controller (BRCMSTB_MEMC).

* tag 'memory-controller-drv-brcm-6.1' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl:
  memory: brcmstb_memc: Add Broadcom STB memory controller driver
  Documentation: sysfs: Document Broadcom STB memc sysfs knobs
  dt-bindings: memory-controller: Document Broadcom STB MEMC

Link: https://lore.kernel.org/r/20220909153037.824092-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>memory: mtk-smi: mt8188: Add SMI Support</title>
<updated>2022-08-30T17:54:05Z</updated>
<author>
<name>Chengci.Xu</name>
<email>chengci.xu@mediatek.com</email>
</author>
<published>2022-08-17T12:46:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=673e71df5ccfaefeb32bb5b3130a5d397b742194'/>
<id>urn:sha1:673e71df5ccfaefeb32bb5b3130a5d397b742194</id>
<content type='text'>
Add mt8188 smi common &amp; larb support

Signed-off-by: Chengci.Xu &lt;chengci.xu@mediatek.com&gt;
Reviewed-by: AngeloGioacchino Del Regno &lt;angelogioacchino.delregno@collabora.com&gt;
Reviewed-by: Yong Wu &lt;yong.wu@mediatek.com&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20220817124608.10062-5-chengci.xu@mediatek.com
</content>
</entry>
<entry>
<title>memory: mtk-smi: Add enable IOMMU SMC command for MM master</title>
<updated>2022-08-30T17:54:05Z</updated>
<author>
<name>Chengci.Xu</name>
<email>chengci.xu@mediatek.com</email>
</author>
<published>2022-08-17T12:46:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=4e508b259ed02f5fa608cdd83b817a7f49c22271'/>
<id>urn:sha1:4e508b259ed02f5fa608cdd83b817a7f49c22271</id>
<content type='text'>
For concerns about security, the register to enable/disable IOMMU of
SMI LARB should only be configured in secure world. Thus, we add some
SMC command for multimedia master to enable/disable MM IOMMU in ATF by
setting the register of SMI LARB. This function is prepared for MT8188.

Signed-off-by: Chengci.Xu &lt;chengci.xu@mediatek.com&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20220817124608.10062-4-chengci.xu@mediatek.com
</content>
</entry>
<entry>
<title>memory: mtk-smi: Add return value for configure port function</title>
<updated>2022-08-30T17:54:04Z</updated>
<author>
<name>Chengci.Xu</name>
<email>chengci.xu@mediatek.com</email>
</author>
<published>2022-08-17T12:46:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8c1561edc0692fa8e321daf2777c3c32454b5748'/>
<id>urn:sha1:8c1561edc0692fa8e321daf2777c3c32454b5748</id>
<content type='text'>
In MT8188, the register to enable/disable IOMMU can only be configured
in secure world by SMC call. We should add a return value for configure
port function for preparation because SMC call may return an error result.

Signed-off-by: Chengci.Xu &lt;chengci.xu@mediatek.com&gt;
Reviewed-by: Yong Wu &lt;yong.wu@mediatek.com&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20220817124608.10062-3-chengci.xu@mediatek.com
</content>
</entry>
<entry>
<title>memory: brcmstb_memc: Add Broadcom STB memory controller driver</title>
<updated>2022-08-18T06:11:45Z</updated>
<author>
<name>Florian Fainelli</name>
<email>f.fainelli@gmail.com</email>
</author>
<published>2022-08-12T22:25:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a4be90ff7a7d22a5a781ed2bb3c2d4b2f535a515'/>
<id>urn:sha1:a4be90ff7a7d22a5a781ed2bb3c2d4b2f535a515</id>
<content type='text'>
Add support for configuring the Self Refresh Power Down (SRPD)
inactivity timeout on Broadcom STB chips. This is used to conserve power
when the DRAM activity is reduced.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20220812222533.2428033-4-f.fainelli@gmail.com
</content>
</entry>
<entry>
<title>memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()</title>
<updated>2022-08-16T09:12:06Z</updated>
<author>
<name>Liang He</name>
<email>windhl@126.com</email>
</author>
<published>2022-07-19T08:56:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=48af14fb0eaa63d9aa68f59fb0b205ec55a95636'/>
<id>urn:sha1:48af14fb0eaa63d9aa68f59fb0b205ec55a95636</id>
<content type='text'>
We should add the of_node_put() when breaking out of
for_each_child_of_node() as it will automatically increase
and decrease the refcount.

Fixes: 976897dd96db ("memory: Extend of_memory with LPDDR3 support")
Signed-off-by: Liang He &lt;windhl@126.com&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20220719085640.1210583-2-windhl@126.com
</content>
</entry>
<entry>
<title>memory: of: Fix refcount leak bug in of_get_ddr_timings()</title>
<updated>2022-08-16T09:12:05Z</updated>
<author>
<name>Liang He</name>
<email>windhl@126.com</email>
</author>
<published>2022-07-19T08:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=05215fb32010d4afb68fbdbb4d237df6e2d4567b'/>
<id>urn:sha1:05215fb32010d4afb68fbdbb4d237df6e2d4567b</id>
<content type='text'>
We should add the of_node_put() when breaking out of
for_each_child_of_node() as it will automatically increase
and decrease the refcount.

Fixes: e6b42eb6a66c ("memory: emif: add device tree support to emif driver")
Signed-off-by: Liang He &lt;windhl@126.com&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20220719085640.1210583-1-windhl@126.com
</content>
</entry>
<entry>
<title>memory: dfl-emif: Update the dfl emif driver support revision 1</title>
<updated>2022-08-16T09:12:04Z</updated>
<author>
<name>Debarati Biswas</name>
<email>debaratix.biswas@intel.com</email>
</author>
<published>2022-07-13T13:03:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8e4787582d92494188c094f0fa7d2f03c73ed509'/>
<id>urn:sha1:8e4787582d92494188c094f0fa7d2f03c73ed509</id>
<content type='text'>
The next generation (revision 1) of the DFL EMIF feature device requires
support for more than 4 memory banks. It does not support the selective
clearing of memory banks. A capability register replaces the previous
control register, and contains a bitmask to indicate the presence of each
memory bank. This bitmask aligns with the previous control register
bitmask that served the same purpose. The control and capability
registers are treated like a C Union structure in order to support both
the new and old revisions of the EMIF device.

Signed-off-by: Debarati Biswas &lt;debaratix.biswas@intel.com&gt;
Signed-off-by: Russ Weight &lt;russell.h.weight@intel.com&gt;
Signed-off-by: Tianfei Zhang &lt;tianfei.zhang@intel.com&gt;
Reviewed-by: Matthew Gerlach &lt;matthew.gerlach@linux.intel.com&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20220713130355.196115-1-tianfei.zhang@intel.com
</content>
</entry>
<entry>
<title>memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()</title>
<updated>2022-08-16T09:12:03Z</updated>
<author>
<name>Liang He</name>
<email>windhl@126.com</email>
</author>
<published>2022-07-16T03:13:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=61b3c876c1cbdb1efd1f52a1f348580e6e14efb6'/>
<id>urn:sha1:61b3c876c1cbdb1efd1f52a1f348580e6e14efb6</id>
<content type='text'>
The break of for_each_available_child_of_node() needs a
corresponding of_node_put() when the reference 'child' is not
used anymore. Here we do not need to call of_node_put() in
fail path as '!match' means no break.

While the of_platform_device_create() will created a new
reference by 'child' but it has considered the refcounting.

Fixes: fee10bd22678 ("memory: pl353: Add driver for arm pl353 static memory controller")
Signed-off-by: Liang He &lt;windhl@126.com&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20220716031324.447680-1-windhl@126.com
</content>
</entry>
</feed>
