<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/kernel/cpu/mcheck/Makefile, branch linux-4.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-03-28T06:55:01Z</updated>
<entry>
<title>x86/mce: Factor out and deprecate the /dev/mcelog driver</title>
<updated>2017-03-28T06:55:01Z</updated>
<author>
<name>Tony Luck</name>
</author>
<published>2017-03-27T09:33:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5de97c9f6d85fd83af76e09e338b18e7adb1ae60'/>
<id>urn:sha1:5de97c9f6d85fd83af76e09e338b18e7adb1ae60</id>
<content type='text'>
Move all code relating to /dev/mcelog to a separate source file.
/dev/mcelog driver can now operate from the machine check notifier with
lowest prio.

Signed-off-by: Tony Luck &lt;tony.luck@intel.com&gt;
[ Move the mce_helper and trigger functionality behind CONFIG_X86_MCELOG_LEGACY. ]
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: linux-edac &lt;linux-edac@vger.kernel.org&gt;
Link: http://lkml.kernel.org/r/20170327093304.10683-6-bp@alien8.de
[ Renamed CONFIG_X86_MCELOG to CONFIG_X86_MCELOG_LEGACY. ]
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;

Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>x86/mce: Provide a lockless memory pool to save error records</title>
<updated>2015-08-13T08:12:50Z</updated>
<author>
<name>Chen, Gong</name>
</author>
<published>2015-08-12T16:29:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=648ed94038c030245a06e4be59744fd5cdc18c40'/>
<id>urn:sha1:648ed94038c030245a06e4be59744fd5cdc18c40</id>
<content type='text'>
printk() is not safe to use in MCE context. Add a lockless
memory allocator pool to save error records in MCE context.
Those records will be issued later, in a printk-safe context.
The idea is inspired by the APEI/GHES driver.

We're very conservative and allocate only two pages for it but
since we're going to use those pages throughout the system's
lifetime, we allocate them statically to avoid early boot time
allocation woes.

Signed-off-by: Chen, Gong &lt;gong.chen@linux.intel.com&gt;
[ Rewrite. ]
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Tony Luck &lt;tony.luck@intel.com&gt;
Link: http://lkml.kernel.org/r/1439396985-12812-3-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>ACPI, APEI, Generic Hardware Error Source memory error support</title>
<updated>2010-05-20T02:41:16Z</updated>
<author>
<name>Huang Ying</name>
</author>
<published>2010-05-18T06:35:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d334a49113a4a33109fd24e46073280ecd1bea0d'/>
<id>urn:sha1:d334a49113a4a33109fd24e46073280ecd1bea0d</id>
<content type='text'>
Generic Hardware Error Source provides a way to report platform
hardware errors (such as that from chipset). It works in so called
"Firmware First" mode, that is, hardware errors are reported to
firmware firstly, then reported to Linux by firmware. This way, some
non-standard hardware error registers or non-standard hardware link
can be checked by firmware to produce more valuable hardware error
information for Linux.

Now, only SCI notification type and memory errors are supported. More
notification type and hardware error type will be added later. These
memory errors are reported to user space through /dev/mcelog via
faking a corrected Machine Check, so that the error memory page can be
offlined by /sbin/mcelog if the error count for one page is beyond the
threshold.

On some machines, Machine Check can not report physical address for
some corrected memory errors, but GHES can do that. So this simplified
GHES is implemented firstly.

Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>x86: mce: Rename CONFIG_X86_NEW_MCE to CONFIG_X86_MCE</title>
<updated>2009-07-10T01:39:47Z</updated>
<author>
<name>Andi Kleen</name>
</author>
<published>2009-07-08T22:31:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1ebf835617035b1f08f734247dcb981e17aac6b'/>
<id>urn:sha1:c1ebf835617035b1f08f734247dcb981e17aac6b</id>
<content type='text'>
Drop the CONFIG_X86_NEW_MCE symbol and change all
references to it to check for CONFIG_X86_MCE directly.

No code changes

Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86: mce: Remove old i386 machine check code</title>
<updated>2009-07-10T01:39:46Z</updated>
<author>
<name>Andi Kleen</name>
</author>
<published>2009-07-08T22:31:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5bb38adcb54cf7192b154368ad62982caa11ca0b'/>
<id>urn:sha1:5bb38adcb54cf7192b154368ad62982caa11ca0b</id>
<content type='text'>
As announced in feature-remove-schedule.txt remove CONFIG_X86_OLD_MCE

This patch only removes code.

The ancient machine check code for very old systems that are not supported
by CONFIG_X86_NEW_MCE is still kept.

Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86, mce: rename _64.c files which are no longer 64-bit-specific</title>
<updated>2009-06-16T23:56:11Z</updated>
<author>
<name>Hidetoshi Seto</name>
</author>
<published>2009-06-15T08:28:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1af0815f9639752409a9c15ba6a3dc0f322fd114'/>
<id>urn:sha1:1af0815f9639752409a9c15ba6a3dc0f322fd114</id>
<content type='text'>
Rename files that are no longer 64bit specific:
	mce_amd_64.c	=&gt; mce_amd.c
	mce_intel_64.c	=&gt; mce_intel.c

Signed-off-by: Hidetoshi Seto &lt;seto.hidetoshi@jp.fujitsu.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86, mce: squash mce_intel.c into therm_throt.c</title>
<updated>2009-06-16T23:56:08Z</updated>
<author>
<name>Hidetoshi Seto</name>
</author>
<published>2009-06-15T08:26:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=895287c0a6aa571160c47ee10de11b542166c4f9'/>
<id>urn:sha1:895287c0a6aa571160c47ee10de11b542166c4f9</id>
<content type='text'>
move intel_init_thermal() into therm_throt.c

Signed-off-by: Hidetoshi Seto &lt;seto.hidetoshi@jp.fujitsu.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86, mce: unify smp_thermal_interrupt</title>
<updated>2009-06-16T23:56:08Z</updated>
<author>
<name>Hidetoshi Seto</name>
</author>
<published>2009-06-15T08:25:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a65c88dd2c83b569dbd13778da689861bdf977f2'/>
<id>urn:sha1:a65c88dd2c83b569dbd13778da689861bdf977f2</id>
<content type='text'>
Put common functions into therm_throt.c, modify Makefile.

	unexpected_thermal_interrupt
	intel_thermal_interrupt
	smp_thermal_interrupt
	intel_set_thermal_handler

Signed-off-by: Hidetoshi Seto &lt;seto.hidetoshi@jp.fujitsu.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86, mce: add table driven machine check grading</title>
<updated>2009-06-03T21:40:39Z</updated>
<author>
<name>Andi Kleen</name>
</author>
<published>2009-05-27T19:56:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=817f32d02a52dd7f5941534e0699883691e918df'/>
<id>urn:sha1:817f32d02a52dd7f5941534e0699883691e918df</id>
<content type='text'>
The machine check grading (as in deciding what should be done for a given
register value) has to be done multiple times soon and it's also getting
more complicated.
So it makes sense to consolidate it into a single function. To get smaller
and more straight forward and possibly more extensible code I opted towards
a new table driven method. The various rules are put into a table
when is then executed by a very simple interpreter.

The grading engine is in a new file mce-severity.c. I also added a private
include file mce-internal.h, because mce.h is already a bit too cluttered.

This is dead code right now, but will be used in followon patches.

Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: Hidetoshi Seto &lt;seto.hidetoshi@jp.fujitsu.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86, mce: add basic error injection infrastructure</title>
<updated>2009-05-28T16:24:14Z</updated>
<author>
<name>Andi Kleen</name>
</author>
<published>2009-04-29T17:31:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea149b36c7f511d17dd89fee734cb09778a91fa0'/>
<id>urn:sha1:ea149b36c7f511d17dd89fee734cb09778a91fa0</id>
<content type='text'>
Allow user programs to write mce records into /dev/mcelog. When they do
that a fake machine check is triggered to test the machine check code.

This uses the MCE MSR wrappers added earlier.

The implementation is straight forward. There is a struct mce record
per CPU and the MCE MSR accesses get data from there if there is valid
data injected there. This allows to test the machine check code
relatively realistically because only the lowest layer of hardware
access is intercepted.

The test suite and injector are available at
git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git
git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git

Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
Signed-off-by: Hidetoshi Seto &lt;seto.hidetoshi@jp.fujitsu.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
</feed>
