<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/arch/x86/kernel/cpu/mce/amd.c, branch jd/orphan-parallel</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/arch/x86/kernel/cpu/mce/amd.c?h=jd%2Forphan-parallel</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/arch/x86/kernel/cpu/mce/amd.c?h=jd%2Forphan-parallel'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2020-08-20T08:34:38Z</updated>
<entry>
<title>x86/MCE/AMD, EDAC/mce_amd: Remove struct smca_hwid.xec_bitmap</title>
<updated>2020-08-20T08:34:38Z</updated>
<author>
<name>Yazen Ghannam</name>
<email>yazen.ghannam@amd.com</email>
</author>
<published>2020-07-20T14:53:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=368d1887200d68075c064a62a9aa191168cf1eed'/>
<id>urn:sha1:368d1887200d68075c064a62a9aa191168cf1eed</id>
<content type='text'>
The Extended Error Code Bitmap (xec_bitmap) for a Scalable MCA bank type
was intended to be used by the kernel to filter out invalid error codes
on a system. However, this is unnecessary after a few product releases
because the hardware will only report valid error codes. Thus, there's
no need for it with future systems.

Remove the xec_bitmap field and all references to it.

Signed-off-by: Yazen Ghannam &lt;yazen.ghannam@amd.com&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lkml.kernel.org/r/20200720145353.43924-1-Yazen.Ghannam@amd.com
</content>
</entry>
<entry>
<title>Merge branch 'x86/entry' into ras/core</title>
<updated>2020-06-11T13:17:57Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2020-06-11T13:17:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=f77d26a9fc525286bcef3d4f98b52e17482cf49c'/>
<id>urn:sha1:f77d26a9fc525286bcef3d4f98b52e17482cf49c</id>
<content type='text'>
to fixup conflicts in arch/x86/kernel/cpu/mce/core.c so MCE specific follow
up patches can be applied without creating a horrible merge conflict
afterwards.
</content>
</entry>
<entry>
<title>x86/entry: Convert various system vectors</title>
<updated>2020-06-11T13:15:14Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2020-05-21T20:05:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=720909a7abd351535bfb485a0ecce03c2e4467e2'/>
<id>urn:sha1:720909a7abd351535bfb485a0ecce03c2e4467e2</id>
<content type='text'>
Convert various system vectors to IDTENTRY_SYSVEC:

  - Implement the C entry point with DEFINE_IDTENTRY_SYSVEC
  - Emit the ASM stub with DECLARE_IDTENTRY_SYSVEC
  - Remove the ASM idtentries in 64-bit
  - Remove the BUILD_INTERRUPT entries in 32-bit
  - Remove the old prototypes

No functional change.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
Acked-by: Andy Lutomirski &lt;luto@kernel.org&gt;
Link: https://lore.kernel.org/r/20200521202119.464812973@linutronix.de


</content>
</entry>
<entry>
<title>x86/mce/amd, edac: Remove report_gart_errors</title>
<updated>2020-04-14T13:53:46Z</updated>
<author>
<name>Borislav Petkov</name>
<email>bp@suse.de</email>
</author>
<published>2020-04-07T07:55:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=3e0fdec858d82c829774f271e88b5ceb17051551'/>
<id>urn:sha1:3e0fdec858d82c829774f271e88b5ceb17051551</id>
<content type='text'>
... because no one should be interested in spurious MCEs anyway. Make
the filtering unconditional and move it to amd_filter_mce().

Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Tested-by: Tony Luck &lt;tony.luck@intel.com&gt;
Link: https://lkml.kernel.org/r/20200407163414.18058-2-bp@alien8.de
</content>
</entry>
<entry>
<title>x86/mce/amd: Make threshold bank setting hotplug robust</title>
<updated>2020-04-14T13:50:19Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2020-03-31T11:16:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=a037f3ca0ea0a660e3f961431095a88674b8f3c4'/>
<id>urn:sha1:a037f3ca0ea0a660e3f961431095a88674b8f3c4</id>
<content type='text'>
Handle the cases when the CPU goes offline before the bank
setting/reading happens.

 [ bp: Write commit message. ]

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lkml.kernel.org/r/20200403161943.1458-8-bp@alien8.de
</content>
</entry>
<entry>
<title>x86/mce/amd: Cleanup threshold device remove path</title>
<updated>2020-04-14T13:49:51Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2020-03-31T08:53:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=f26d2580a7ddc84aa9e51e47fdbb5ad63dbee5a7'/>
<id>urn:sha1:f26d2580a7ddc84aa9e51e47fdbb5ad63dbee5a7</id>
<content type='text'>
Pass in the bank pointer directly to the cleaning up functions,
obviating the need for per-CPU accesses. Make the clean up path
interrupt-safe by cleaning the bank pointer first so that the rest of
the teardown happens safe from the thresholding interrupt.

No functional changes.

 [ bp: Write commit message and reverse bank-&gt;shared test to save an
   indentation level in threshold_remove_bank(). ]

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lkml.kernel.org/r/20200403161943.1458-7-bp@alien8.de
</content>
</entry>
<entry>
<title>x86/mce/amd: Straighten CPU hotplug path</title>
<updated>2020-04-14T13:49:10Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2020-03-30T18:30:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=6458de97fc15530b54477c4e2b70af653e8ac3d9'/>
<id>urn:sha1:6458de97fc15530b54477c4e2b70af653e8ac3d9</id>
<content type='text'>
mce_threshold_create_device() hotplug callback runs on the plugged in
CPU so:

 - use this_cpu_read() which is faster
 - pass in struct threshold_bank **bp to threshold_create_bank() and
   instead of doing per-CPU accesses
 - Use rdmsr_safe() instead of rdmsr_safe_on_cpu() which avoids an IPI.

No functional changes.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lkml.kernel.org/r/20200403161943.1458-6-bp@alien8.de
</content>
</entry>
<entry>
<title>x86/mce/amd: Sanitize thresholding device creation hotplug path</title>
<updated>2020-04-14T13:48:30Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2020-03-30T14:21:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=6e7a41c63abcfee28734c4c8872dae8d642329b6'/>
<id>urn:sha1:6e7a41c63abcfee28734c4c8872dae8d642329b6</id>
<content type='text'>
Drop the stupid threshold_init_device() initcall iterating over all
online CPUs in favor of properly setting up everything on the CPU
hotplug path, when each CPU's callback is invoked.

 [ bp: Write commit message. ]

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lkml.kernel.org/r/20200403161943.1458-5-bp@alien8.de
</content>
</entry>
<entry>
<title>x86/mce/amd: Protect a not-fully initialized bank from the thresholding interrupt</title>
<updated>2020-04-14T13:47:55Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2020-03-12T19:05:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=cca9cc05fe98f3eb0cfb58ec6739cfc9d0b4ccbf'/>
<id>urn:sha1:cca9cc05fe98f3eb0cfb58ec6739cfc9d0b4ccbf</id>
<content type='text'>
Make sure the thresholding bank descriptor is fully initialized when the
thresholding interrupt fires after a hotplug event.

 [ bp: Write commit message and document long-forgotten bank_map. ]

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lkml.kernel.org/r/20200403161943.1458-4-bp@alien8.de
</content>
</entry>
<entry>
<title>x86/mce/amd: Init thresholding machinery only on relevant vendors</title>
<updated>2020-04-14T13:47:11Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2020-02-11T23:34:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=c9bf318f77b3a78483e656e609d005c52aadc86d'/>
<id>urn:sha1:c9bf318f77b3a78483e656e609d005c52aadc86d</id>
<content type='text'>
... and not unconditionally.

 [ bp: Add a new vendor_flags bit for that. ]

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lkml.kernel.org/r/20200403161943.1458-3-bp@alien8.de
</content>
</entry>
</feed>
