<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/edac/edac_mc.c, branch linux-6.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-12-15T21:17:34Z</updated>
<entry>
<title>EDAC: Fix typos in comments</title>
<updated>2024-12-15T21:17:34Z</updated>
<author>
<name>Yan Zhen</name>
</author>
<published>2024-09-30T07:40:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=586e62fe380feb7992104e3cbbf407371520cb39'/>
<id>urn:sha1:586e62fe380feb7992104e3cbbf407371520cb39</id>
<content type='text'>
Fix the following typos:

'Alocate' ==&gt; 'Allocate',
'specifed' ==&gt; 'specified',
'Technlogy' ==&gt; 'Technology',
'Brnach' ==&gt; 'Branch',
'branchs' ==&gt; 'branches'.

Signed-off-by: Yan Zhen &lt;yanzhen@vivo.com&gt;
Signed-off-by: Borislav Petkov (AMD) &lt;bp@alien8.de&gt;
Link: https://lore.kernel.org/r/20240930074023.618110-1-yanzhen@vivo.com
</content>
</entry>
<entry>
<title>EDAC/mc: Add support for HBM3 memory type</title>
<updated>2023-11-28T15:39:12Z</updated>
<author>
<name>Muralidhara M K</name>
</author>
<published>2023-11-02T11:42:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a5f580c1c71b6aedba696c4898a7a7184cef8ad'/>
<id>urn:sha1:9a5f580c1c71b6aedba696c4898a7a7184cef8ad</id>
<content type='text'>
AMD MI300A models use HBM3 (High Bandwidth Memory Gen 3) memory. HBM is
a high-speed computer memory interface for 3D-stacked synchronous
dynamic random-access memory (SDRAM).

Signed-off-by: Muralidhara M K &lt;muralidhara.mk@amd.com&gt;
Signed-off-by: Borislav Petkov (AMD) &lt;bp@alien8.de&gt;
Link: https://lore.kernel.org/r/20231102114225.2006878-4-muralimk@amd.com
</content>
</entry>
<entry>
<title>EDAC/mc: Drop duplicated dimm-&gt;nr_pages debug printout</title>
<updated>2022-09-01T06:52:18Z</updated>
<author>
<name>Serge Semin</name>
</author>
<published>2022-08-22T19:07:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93df19476535a4ed871bc5eae719b6d67cf3abc3'/>
<id>urn:sha1:93df19476535a4ed871bc5eae719b6d67cf3abc3</id>
<content type='text'>
The duplicated edac_dbg()-based dimm-&gt;nr_pages print was introduced in

  6e84d359b2be ("edac_mc: Cleanup per-dimm_info debug messages").

The duplicated line can be found even in the commit message text:

  [ 1011.380101] EDAC DEBUG: edac_mc_dump_dimm:   dimm-&gt;nr_pages = 0x40000
  [ 1011.380103] EDAC DEBUG: edac_mc_dump_dimm:   dimm-&gt;grain = 8
  [ 1011.380104] EDAC DEBUG: edac_mc_dump_dimm:   dimm-&gt;nr_pages = 0x40000

Drop the second edac_dbg() call.

  [ bp: Massage commit message. ]

Signed-off-by: Serge Semin &lt;Sergey.Semin@baikalelectronics.ru&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lore.kernel.org/r/20220822190730.27277-14-Sergey.Semin@baikalelectronics.ru
</content>
</entry>
<entry>
<title>EDAC: Use kcalloc()</title>
<updated>2022-05-02T09:32:44Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2022-04-12T21:10:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13088b65d93a1c29f07f97931c2b69788ad58f04'/>
<id>urn:sha1:13088b65d93a1c29f07f97931c2b69788ad58f04</id>
<content type='text'>
It is syntactic sugar anyway:

  # drivers/edac/edac_mc.o:

   text    data     bss     dec     hex filename
  13378     324       8   13710    358e edac_mc.o.before
  13378     324       8   13710    358e edac_mc.o.after

md5:
   70a53ee3ac7f867730e35c2be9110748  edac_mc.o.before.asm
   70a53ee3ac7f867730e35c2be9110748  edac_mc.o.after.asm

  # drivers/edac/edac_device.o:

   text    data     bss     dec     hex filename
   5704     120       4    5828    16c4 edac_device.o.before
   5704     120       4    5828    16c4 edac_device.o.after

md5:
   880563c859da6eb9aca85ec431fdbaeb  edac_device.o.before.asm
   880563c859da6eb9aca85ec431fdbaeb  edac_device.o.after.asm

No functional changes.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lore.kernel.org/r/20220412211957.28899-1-bp@alien8.de
</content>
</entry>
<entry>
<title>EDAC/mc: Get rid of edac_align_ptr()</title>
<updated>2022-04-11T10:04:11Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2022-03-08T17:05:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=713c4ff8859c3db4dc8dbf5eec33434b9a3fb76b'/>
<id>urn:sha1:713c4ff8859c3db4dc8dbf5eec33434b9a3fb76b</id>
<content type='text'>
Get rid of it now that it is unused.

Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lore.kernel.org/r/20220310095254.1510-6-bp@alien8.de
</content>
</entry>
<entry>
<title>EDAC/mc: Get rid of silly one-shot struct allocation in edac_mc_alloc()</title>
<updated>2022-04-11T09:25:39Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2022-02-20T21:34:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0bbb265f7089584aaa6d440805ca75ea4f3930d4'/>
<id>urn:sha1:0bbb265f7089584aaa6d440805ca75ea4f3930d4</id>
<content type='text'>
This has probably meant something at some point but there's no need for
it anymore - the struct mem_ctl_info allocation can happen with normal,
boring k*alloc() calls like everyone else does it.

No functional changes.

Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lore.kernel.org/r/20220310095254.1510-2-bp@alien8.de
</content>
</entry>
<entry>
<title>Merge branch 'edac-amd64' into edac-updates-for-v5.18</title>
<updated>2022-03-21T09:34:57Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2022-03-21T09:34:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1422df58e5eb83dca131dc64e0f307a1f9e56078'/>
<id>urn:sha1:1422df58e5eb83dca131dc64e0f307a1f9e56078</id>
<content type='text'>
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
</content>
</entry>
<entry>
<title>EDAC: Fix calculation of returned address and next offset in edac_align_ptr()</title>
<updated>2022-02-15T14:54:46Z</updated>
<author>
<name>Eliav Farber</name>
</author>
<published>2022-01-13T10:06:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8efca92ae509c25e0a4bd5d0a86decea4f0c41e'/>
<id>urn:sha1:f8efca92ae509c25e0a4bd5d0a86decea4f0c41e</id>
<content type='text'>
Do alignment logic properly and use the "ptr" local variable for
calculating the remainder of the alignment.

This became an issue because struct edac_mc_layer has a size that is not
zero modulo eight, and the next offset that was prepared for the private
data was unaligned, causing an alignment exception.

The patch in Fixes: which broke this actually wanted to "what we
actually care about is the alignment of the actual pointer that's about
to be returned." But it didn't check that alignment.

Use the correct variable "ptr" for that.

  [ bp: Massage commit message. ]

Fixes: 8447c4d15e35 ("edac: Do alignment logic properly in edac_align_ptr()")
Signed-off-by: Eliav Farber &lt;farbere@amazon.com&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Link: https://lore.kernel.org/r/20220113100622.12783-2-farbere@amazon.com
</content>
</entry>
<entry>
<title>EDAC/mc: Remove unnecessary cast to char * in edac_align_ptr()</title>
<updated>2022-01-26T18:42:09Z</updated>
<author>
<name>Eliav Farber</name>
</author>
<published>2022-01-13T10:06:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b0596da1a019c092ca5ab64d6999f5e28d52865e'/>
<id>urn:sha1:b0596da1a019c092ca5ab64d6999f5e28d52865e</id>
<content type='text'>
Remove the forgotten (char *) casts as that function returns void *.

  [ bp: Rewrite commit message. ]

Signed-off-by: Eliav Farber &lt;farbere@amazon.com&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lore.kernel.org/r/20220113100622.12783-3-farbere@amazon.com
</content>
</entry>
<entry>
<title>EDAC: Add RDDR5 and LRDDR5 memory types</title>
<updated>2021-12-10T11:51:28Z</updated>
<author>
<name>Yazen Ghannam</name>
</author>
<published>2021-12-08T17:43:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f95711242390d759f69fd67ad46b31491fe904d6'/>
<id>urn:sha1:f95711242390d759f69fd67ad46b31491fe904d6</id>
<content type='text'>
Include Registered-DDR5 and Load-Reduced DDR5 in the list of memory
types.

Signed-off-by: Yazen Ghannam &lt;yazen.ghannam@amd.com&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lore.kernel.org/r/20211208174356.1997855-2-yazen.ghannam@amd.com
</content>
</entry>
</feed>
