Re: cpu offline causes backtrace from cmci_rediscover

2013-03-19 Thread Chen Gong
On Tue, Mar 19, 2013 at 06:44:08PM -0400, Dave Jones wrote: > Date: Tue, 19 Mar 2013 18:44:08 -0400 > From: Dave Jones > To: Linux Kernel > Cc: x...@kernel.org > Subject: cpu offline causes backtrace from cmci_rediscover > User-Agent: Mutt/1.5.21 (2010-09-15) > > offlining a CPU in 3.9-rc3 gets

Re: [PATCH 3/9] soft-offline: use migrate_pages() instead of migrate_huge_page()

2013-02-26 Thread Chen Gong
On Thu, Feb 21, 2013 at 02:41:42PM -0500, Naoya Horiguchi wrote: > Date: Thu, 21 Feb 2013 14:41:42 -0500 > From: Naoya Horiguchi > To: linux...@kvack.org > Cc: Andrew Morton , Mel Gorman , > Hugh Dickins , KOSAKI Motohiro > , Andi Kleen , > linux-kernel@vger.kernel.org > Subject: [PATCH 3/9] so

Re: [PATCH 8/9] memory-hotplug: enable memory hotplug to handle hugepage

2013-02-26 Thread Chen Gong
On Thu, Feb 21, 2013 at 02:41:47PM -0500, Naoya Horiguchi wrote: > Date: Thu, 21 Feb 2013 14:41:47 -0500 > From: Naoya Horiguchi > To: linux...@kvack.org > Cc: Andrew Morton , Mel Gorman , > Hugh Dickins , KOSAKI Motohiro > , Andi Kleen , > linux-kernel@vger.kernel.org > Subject: [PATCH 8/9] me

Re: [PATCH v2 3/3] mm/hwpoison: fix return value of madvise_hwpoison

2013-08-27 Thread Chen Gong
On Mon, Aug 26, 2013 at 11:41:36PM -0400, Naoya Horiguchi wrote: > Date: Mon, 26 Aug 2013 23:41:36 -0400 > From: Naoya Horiguchi > To: Wanpeng Li > Cc: Andrew Morton , Andi Kleen > , Fengguang Wu , Tony Luck > , gong.c...@linux.intel.com, linux...@kvack.org, > linux-kernel@vger.kernel.org > Su

Re: [PATCH v2 3/3] mm/hwpoison: fix return value of madvise_hwpoison

2013-08-27 Thread Chen Gong
On Tue, Aug 27, 2013 at 04:05:23PM +0800, Wanpeng Li wrote: > Date: Tue, 27 Aug 2013 16:05:23 +0800 > From: Wanpeng Li > To: Chen Gong > Cc: Naoya Horiguchi , Andrew Morton > , Andi Kleen , Fengguang > Wu , Tony Luck , > linux...@kvack.org, linux-kernel@vger.kernel.org

Re: [PATCH v2 2/4] mm/hwpoison: fix miss catch transparent huge page

2013-09-02 Thread Chen Gong
On Tue, Sep 03, 2013 at 07:36:44AM +0800, Wanpeng Li wrote: > Date: Tue, 3 Sep 2013 07:36:44 +0800 > From: Wanpeng Li > To: Andrew Morton > Cc: Andi Kleen , Fengguang Wu > , Naoya Horiguchi , > Tony Luck , gong.c...@linux.intel.com, > linux...@kvack.org, linux-kernel@vger.kernel.org, Wanpeng

Re: [PATCH v2 2/4] mm/hwpoison: fix miss catch transparent huge page

2013-09-03 Thread Chen Gong
On Tue, Sep 03, 2013 at 12:18:58PM +0800, Wanpeng Li wrote: > Date: Tue, 3 Sep 2013 12:18:58 +0800 > From: Wanpeng Li > To: Chen Gong > Cc: Andrew Morton , Andi Kleen > , Fengguang Wu , Naoya > Horiguchi , Tony Luck , > linux...@kvack.org, linux-kernel@vger.kernel.org >

Re: [PATCH update 0/3] HW-latency: hardware latency test 0.10

2012-11-11 Thread Chen Gong
On Sat, Nov 10, 2012 at 09:48:19PM -0500, Luming Yu wrote: > Date: Sat, 10 Nov 2012 21:48:19 -0500 > From: Luming Yu > To: a...@arndb.de, linux-kernel@vger.kernel.org > Cc: Luming Yu , Jon Masters , > Jon Masters > Subject: [PATCH update 0/3] HW-latency: hardware latency test 0.10 > X-Mailer: gi

Re: [PATCH v2 1/3] PCI/AER: Fix incorrect return from aer_hest_parse()

2013-06-04 Thread Chen Gong
On Thu, May 30, 2013 at 08:39:27AM -0600, Betty Dall wrote: > Date: Thu, 30 May 2013 08:39:27 -0600 > From: Betty Dall > To: r...@sisk.pl, bhelg...@google.com > Cc: ying.hu...@intel.com, linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org, linux-...@vger.kernel.org, Betty Dall > > Subjec

Re: [PATCH v2 2/3] ACPI/APEI: Force fatal AER severity when bus has been reset

2013-06-04 Thread Chen Gong
On Thu, May 30, 2013 at 08:39:28AM -0600, Betty Dall wrote: > Date: Thu, 30 May 2013 08:39:28 -0600 > From: Betty Dall > To: r...@sisk.pl, bhelg...@google.com > Cc: ying.hu...@intel.com, linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org, linux-...@vger.kernel.org, Betty Dall > > Subjec

Re: [PATCH v2 3/3] PCI/AER: Provide reset_link for firmware first root port

2013-06-04 Thread Chen Gong
On Thu, May 30, 2013 at 08:39:29AM -0600, Betty Dall wrote: > Date: Thu, 30 May 2013 08:39:29 -0600 > From: Betty Dall > To: r...@sisk.pl, bhelg...@google.com > Cc: ying.hu...@intel.com, linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org, linux-...@vger.kernel.org, Betty Dall > > Subjec

Re: [PATCH v2 3/3] PCI/AER: Provide reset_link for firmware first root port

2013-06-04 Thread Chen Gong
On Tue, Jun 04, 2013 at 04:15:21PM -0600, Bjorn Helgaas wrote: > Date: Tue, 4 Jun 2013 16:15:21 -0600 > From: Bjorn Helgaas > To: Betty Dall > Cc: Chen Gong , "Rafael J. Wysocki" > , Huang Ying , > "linux-a...@vger.kernel.org" , > "linux-kernel@vg

Re: [PATCH v2 2/3] ACPI/APEI: Force fatal AER severity when bus has been reset

2013-06-04 Thread Chen Gong
Re: [PATCH v2 2/3] ACPI/APEI: Force fatal AER severity when bus > has been reset > User-Agent: Mutt/1.5.21 (2010-09-15) > > On Tue, Jun 04, 2013 at 03:53:36AM -0400, Chen Gong wrote: > > On Thu, May 30, 2013 at 08:39:28AM -0600, Betty Dall wrote: > > > Date: Thu,

Re: [PATCH v2 1/3] PCI/AER: Fix incorrect return from aer_hest_parse()

2013-06-04 Thread Chen Gong
R bridge entry (type 8) could incorrectly > match *any* bridge, even a legacy PCI-PCI bridge, and a non-global > HEST entry could match a legacy PCI device. > If so, it should be a BIOS bug, right? (BIOS should not contain PCI device for AER structure). And I agree that yo

[PATCH] x86/MCE: Update MCE severity condition check

2013-06-20 Thread Chen Gong
Update some SRAR severity conditions check to make it clearer, according to latest Intel SDM Vol 3(June 2013), table 15-20. Signed-off-by: Chen Gong --- arch/x86/kernel/cpu/mcheck/mce-severity.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/arch/x86

Re: [PATCH] x86/MCE: Update MCE severity condition check

2013-06-21 Thread Chen Gong
On Thu, Jun 20, 2013 at 11:41:52AM +0200, Borislav Petkov wrote: > Date: Thu, 20 Jun 2013 11:41:52 +0200 > From: Borislav Petkov > To: Chen Gong > Cc: tony.l...@intel.com, linux-kernel@vger.kernel.org > Subject: Re: [PATCH] x86/MCE: Update MCE severity condition check > User-

Re: [PATCH] x86/MCE: Update MCE severity condition check

2013-06-26 Thread Chen Gong
On Tue, Jun 25, 2013 at 04:31:23PM +, Luck, Tony wrote: > Date: Tue, 25 Jun 2013 16:31:23 + > From: "Luck, Tony" > To: "Naveen N. Rao" , Chen Gong > > CC: "b...@alien8.de" , "linux-kernel@vger.kernel.org" > > Subject: RE: [P

Re: [PATCH] x86/mce: Update MCE severity condition check

2013-06-26 Thread Chen Gong
On Wed, Jun 26, 2013 at 11:10:52PM +0200, Borislav Petkov wrote: > Date: Wed, 26 Jun 2013 23:10:52 +0200 > From: Borislav Petkov > To: "Luck, Tony" > Cc: "linux-kernel@vger.kernel.org" , Chen > Gong , "Naveen N. Rao" > > Subject: Re: [PATCH]

Re: [PATCH] mm/memory-failure.c: fix memory leak in successful soft offlining

2013-07-01 Thread Chen Gong
On Fri, May 17, 2013 at 12:18:02PM -0400, Naoya Horiguchi wrote: > Date: Fri, 17 May 2013 12:18:02 -0400 > From: Naoya Horiguchi > To: linux...@kvack.org > Cc: Andrew Morton , Andi Kleen > , linux-kernel@vger.kernel.org, Naoya Horiguchi > > Subject: [PATCH] mm/memory-failure.c: fix memory leak

Re: [PATCH] x86/mce: Pay no attention to 'F' bit in MCACOD when parsing 'UC' errors.

2013-07-23 Thread Chen Gong
On Tue, Jul 23, 2013 at 03:51:14PM -0700, Tony Luck wrote: > Date: Tue, 23 Jul 2013 15:51:14 -0700 > From: Tony Luck > To: Linux Kernel Mailing List > Cc: Borislav Petkov , Chen Gong , > "Naveen N. Rao" > Subject: Re: [PATCH] x86/mce: Pay no attention to 'F&#

Re: [PATCH] x86/mce: Pay no attention to 'F' bit in MCACOD when parsing 'UC' errors.

2013-07-23 Thread Chen Gong
On Tue, Jul 23, 2013 at 01:34:42PM -0700, Luck, Tony wrote: > Date: Tue, 23 Jul 2013 13:34:42 -0700 > From: "Luck, Tony" > To: linux-kernel@vger.kernel.org > Cc: Borislav Petkov , Chen Gong , > "Naveen N. Rao" > Subject: [PATCH] x86/mce: Pay no attention to

Re: [PATCH] x86: mm: Check if PUD is large when validating a kernel address v2

2013-03-01 Thread Chen Gong
On Fri, Mar 01, 2013 at 02:43:53PM +0800, Simon Jeons wrote: > Date: Fri, 01 Mar 2013 14:43:53 +0800 > From: Simon Jeons > To: Mel Gorman > CC: Ingo Molnar , Andrew Morton > , linux-kernel@vger.kernel.org, > linux...@kvack.org, r...@redhat.com, mho...@suse.cz, han...@cmpxchg.org > Subject: Re:

Re: [PATCH] x86: mm: Check if PUD is large when validating a kernel address v2

2013-03-01 Thread Chen Gong
g > Subject: Re: [PATCH] x86: mm: Check if PUD is large when validating a > kernel address v2 > User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130221 > Thunderbird/17.0.3 > > On 03/01/2013 05:15 PM, Chen Gong wrote: > >On Fri, Mar 01, 2013 at 02:43:53PM +0800, Simon

Re: [PATCH v2 01/13] x86: get pg_data_t's memory from other node

2013-05-22 Thread Chen Gong
On Tue, Apr 30, 2013 at 05:21:11PM +0800, Tang Chen wrote: > Date: Tue, 30 Apr 2013 17:21:11 +0800 > From: Tang Chen > To: mi...@redhat.com, h...@zytor.com, a...@linux-foundation.org, > ying...@kernel.org, jiang@huawei.com, we...@cn.fujitsu.com, > isimatu.yasu...@jp.fujitsu.com, t...@kernel.

Re: [RESEND PATCH 0/5 V2] x86: mce: Bugfixes, cleanups and a new CMCI poll version

2012-07-31 Thread Chen Gong
On Thu, Jul 19, 2012 at 01:59:36PM -0400, Chen Gong wrote: > Date: Thu, 19 Jul 2012 13:59:36 -0400 > From: Chen Gong > To: t...@linutronix.de > Cc: tony.l...@intel.com, b...@amd64.org, x...@kernel.org, > linux-kernel@vger.kernel.org > Subject: [RESEND PATCH 0/5 V2]

Re: [RESEND PATCH 0/5 V2] x86: mce: Bugfixes, cleanups and a new CMCI poll version

2012-08-06 Thread Chen Gong
On Fri, Aug 03, 2012 at 03:29:50PM -0700, Luck, Tony wrote: > Date: Fri, 03 Aug 2012 15:29:50 -0700 > From: "Luck, Tony" > To: Chen Gong > Cc: b...@amd64.org, x...@kernel.org, linux-kernel@vger.kernel.org > Subject: Re: [RESEND PATCH 0/5 V2] x86: mce: Bugfixes, cleanu

Re: [RESEND BUGFIX PATCH 1/3] PCI/AER: fix pci_ops return NULL when hotplug a pci bus which was doing aer error inject

2012-08-27 Thread Chen Gong
On Sat, Aug 25, 2012 at 05:59:44PM +0800, Yijing Wang wrote: > Date: Sat, 25 Aug 2012 17:59:44 +0800 > From: Yijing Wang > To: Bjorn Helgaas , Rusty Russell > , Mauro Carvalho Chehab > CC: PCI , Jiang Liu , Huang > Ying , Hanjun Guo , > linux-kernel@vger.kernel.org > Subject: [RESEND BUGFIX PA

Re: [RFC PATCH 4/5] clocksource: Enlarge the maxim time interval when configuring the scale and shift

2013-01-20 Thread Chen Gong
On Mon, Jan 21, 2013 at 02:38:44PM +0800, Feng Tang wrote: > Date: Mon, 21 Jan 2013 14:38:44 +0800 > From: Feng Tang > To: Thomas Gleixner , John Stultz > , Ingo Molnar , "H. Peter Anvin" > , x...@kernel.org, Len Brown , > "Rafael J. Wysocki" , > linux-kernel@vger.kernel.org > Cc: Feng Tang >

Re: [RFC PATCH 1/5] x86: Add cpu capability flag X86_FEATURE_TSC_S3_NOTSTOP

2013-01-20 Thread Chen Gong
On Mon, Jan 21, 2013 at 02:38:41PM +0800, Feng Tang wrote: > Date: Mon, 21 Jan 2013 14:38:41 +0800 > From: Feng Tang > To: Thomas Gleixner , John Stultz > , Ingo Molnar , "H. Peter Anvin" > , x...@kernel.org, Len Brown , > "Rafael J. Wysocki" , > linux-kernel@vger.kernel.org > Cc: Feng Tang >

Re: [PATCH V3] tmp patch to fix hotplug issue in CMCI storm

2012-07-15 Thread Chen Gong
于 2012/7/4 16:12, Chen Gong 写道: 于 2012/6/19 14:09, Chen Gong 写道: v3->v1 Thanks very much for Thomas' suggestion to simply the whole logic. Signed-off-by: Chen Gong --- arch/x86/kernel/cpu/mcheck/mce-internal.h |2 ++ arch/x86/kernel/cpu/mcheck/mce.c |1 + arch/x8

Re: [PATCH V3] tmp patch to fix hotplug issue in CMCI storm

2012-07-17 Thread Chen Gong
On Mon, Jul 16, 2012 at 10:22:16AM +0200, Thomas Gleixner wrote: > Date: Mon, 16 Jul 2012 10:22:16 +0200 (CEST) > From: Thomas Gleixner > To: Chen Gong > cc: tony.l...@intel.com, borislav.pet...@amd.com, pet...@infradead.org, > x...@kernel.org, linux-kernel@vger.kernel.or

[V2] x86: mce: Bugfixes, cleanups and a new CMCI poll version

2012-07-18 Thread Chen Gong
[PATCH 1/5] x86: mce: Disable preemption when calling raise_local() [PATCH 2/5] x86: mce: Serialize mce injection [PATCH 3/5] x86: mce: Split timer init [PATCH 4/5] x86: mce: Remove the frozen cases in the hotplug code [PATCH 5/5] x86: mce: Add cmci poll mode The following series fixes a few inter

[PATCH 2/5] x86: mce: Serialize mce injection

2012-07-18 Thread Chen Gong
raise_mce() fiddles with global state, but lacks any kind of serialization. Add a mutex around the raise_mce() call, so concurrent writers do not stomp on each other toes. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/cpu/mcheck/mce-inject.c |4 1 file changed, 4 insertions(+) di

[PATCH 3/5] x86: mce: Split timer init

2012-07-18 Thread Chen Gong
Split timer init function into the init and the start part, so the start part can replace the open coded version in CPU_DOWN_FAILED. Signed-off-by: Thomas Gleixner Acked-by: Borislav Petkov --- arch/x86/kernel/cpu/mcheck/mce.c | 25 + 1 file changed, 13 insertions(+),

[PATCH 4/5] x86: mce: Remove the frozen cases in the hotplug code

2012-07-18 Thread Chen Gong
No point in having double cases if we can simply mask the FROZEN bit out. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/cpu/mcheck/mce.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c ind

[PATCH 5/5] x86: mce: Add cmci poll mode

2012-07-18 Thread Chen Gong
poll timer, but in fact, maybe it should be enough that every package (or socket) owning one poll timer. It is because CMCI gets broadcast to all threads on the same socket. So if one cpu has a problem, all the cpus on the same socket have a problem. Signed-off-by: Chen Gong Signed-off-by: Thomas

[PATCH 1/5] x86: mce: Disable preemption when calling raise_local()

2012-07-18 Thread Chen Gong
raise_mce() has a code path which does not disable preemption when the raise_local() is called. The per cpu variable access in raise_local() depends on preemption being disabled to be functional. So that code path was either never tested or never tested with CONFIG_DEBUG_PREEMPT enabled. Add the m

[RESEND PATCH 0/5 V2] x86: mce: Bugfixes, cleanups and a new CMCI poll version

2012-07-18 Thread Chen Gong
[PATCH 1/5] x86: mce: Disable preemption when calling raise_local() [PATCH 2/5] x86: mce: Serialize mce injection [PATCH 3/5] x86: mce: Split timer init [PATCH 4/5] x86: mce: Remove the frozen cases in the hotplug code [PATCH 5/5] x86: mce: Add cmci poll mode The following series fixes a few inter

[PATCH 1/5] x86: mce: Disable preemption when calling raise_local()

2012-07-18 Thread Chen Gong
From: Thomas Gleixner raise_mce() has a code path which does not disable preemption when the raise_local() is called. The per cpu variable access in raise_local() depends on preemption being disabled to be functional. So that code path was either never tested or never tested with CONFIG_DEBUG_PRE

[PATCH 4/5] x86: mce: Remove the frozen cases in the hotplug code

2012-07-18 Thread Chen Gong
From: Thomas Gleixner No point in having double cases if we can simply mask the FROZEN bit out. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/cpu/mcheck/mce.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/ker

[PATCH 2/5] x86: mce: Serialize mce injection

2012-07-18 Thread Chen Gong
From: Thomas Gleixner raise_mce() fiddles with global state, but lacks any kind of serialization. Add a mutex around the raise_mce() call, so concurrent writers do not stomp on each other toes. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/cpu/mcheck/mce-inject.c |4 1 file chan

[PATCH 3/5] x86: mce: Split timer init

2012-07-18 Thread Chen Gong
From: Thomas Gleixner Split timer init function into the init and the start part, so the start part can replace the open coded version in CPU_DOWN_FAILED. Signed-off-by: Thomas Gleixner Acked-by: Borislav Petkov --- arch/x86/kernel/cpu/mcheck/mce.c | 25 + 1 file cha

[PATCH 5/5] x86: mce: Add cmci poll mode

2012-07-18 Thread Chen Gong
poll timer, but in fact, maybe it should be enough that every package (or socket) owning one poll timer. It is because CMCI gets broadcast to all threads on the same socket. So if one cpu has a problem, all the cpus on the same socket have a problem. Signed-off-by: Chen Gong Signed-off-by: Thomas

Re: [PATCH] x86, make check_irq_vectors_for_cpu_disable() aware of numa node irqs

2014-03-02 Thread Chen, Gong
On Tue, Feb 25, 2014 at 09:04:21AM -0500, Prarit Bhargava wrote: > This patch explicitly depends on Yinghai's patch, [PATCH v3] x86, irq: get > correct available vectors for cpu disable, which was last posted here: > > http://marc.info/?l=linux-kernel&m=139094603622814&w=2 > > and is not yet in a

Re: [PATCH] x86, cpu hotplug, use cpumask stack safe variant cpumask_var_t in check_irq_vectors_for_cpu_disable() [v2]

2014-01-21 Thread Chen, Gong
rit Bhargava > Cc: Andi Kleen > Cc: Michel Lespinasse > Cc: Seiji Aguchi > Cc: Yang Zhang > Cc: Paul Gortmaker > Cc: Janet Morgan > Cc: Tony Luck > Cc: Ruiv Wang > Cc: Gong Chen > Cc: H. Peter Anvin > Cc: Gong Chen > Cc: x...@kernel.org > Cc: Fengguang W

Re: [PATCH] x86: allocate cpumask during check irq vectors

2014-01-24 Thread Chen, Gong
On Fri, Jan 24, 2014 at 12:11:07PM -0800, Yinghai Lu wrote: > Date: Fri, 24 Jan 2014 12:11:07 -0800 > From: Yinghai Lu > To: "H. Peter Anvin" > Cc: Thomas Gleixner , Ingo Molnar , > linux-kernel@vger.kernel.org, Yinghai Lu , Prarit > Bhargava > Subject: [PATCH] x86: allocate cpumask during che

Re: [PATCH 5/8] ACPI, APEI, CPER: Add UEFI 2.4 support for memory error

2013-10-15 Thread Chen Gong
On Tue, Oct 15, 2013 at 10:56:25PM +0530, Naveen N. Rao wrote: > Date: Tue, 15 Oct 2013 22:56:25 +0530 > From: "Naveen N. Rao" > To: "Chen, Gong" > Cc: tony.l...@intel.com, b...@alien8.de, linux-kernel@vger.kernel.org, > linux-a...@vger.kernel.org > Sub

Re: [PATCH 2/8] ACPI, CPER: Update cper info

2013-10-15 Thread Chen Gong
On Tue, Oct 15, 2013 at 11:47:23PM +0530, Naveen N. Rao wrote: > Date: Tue, 15 Oct 2013 23:47:23 +0530 > From: "Naveen N. Rao" > To: "Chen, Gong" > Cc: tony.l...@intel.com, b...@alien8.de, linux-kernel@vger.kernel.org, > linux-a...@vger.kernel.org > Subje

Re: [PATCH 2/8] ACPI, CPER: Update cper info

2013-10-15 Thread Chen Gong
On Tue, Oct 15, 2013 at 06:57:18PM -0700, Joe Perches wrote: > Date: Tue, 15 Oct 2013 18:57:18 -0700 > From: Joe Perches > To: Borislav Petkov > Cc: "Chen, Gong" , tony.l...@intel.com, > linux-kernel@vger.kernel.org, linux-a...@vger.kernel.org > Subject: Re: [PATCH

Re: [PATCH 8/8] ACPI / trace: Add trace interface for eMCA driver

2013-10-16 Thread Chen Gong
On Tue, Oct 15, 2013 at 10:24:35PM +0530, Naveen N. Rao wrote: > Date: Tue, 15 Oct 2013 22:24:35 +0530 > From: "Naveen N. Rao" > To: "Chen, Gong" > Cc: tony.l...@intel.com, b...@alien8.de, linux-kernel@vger.kernel.org, > linux-a...@vger.kernel.org, m.che...@sa

[PATCH v2 0/9] Extended H/W error log driver

2013-10-16 Thread Chen, Gong
[PATCH v2 1/9] ACPI, APEI, CPER: Fix status check during error printing [PATCH v2 2/9] ACPI, CPER: Update cper info [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro [PATCH v2 4/9] ACPI, x86: Extended error log driver for x86 platform [PATCH v2 5/9] DMI: Parse memory device (type 17) in

[PATCH v2 2/9] ACPI, CPER: Update cper info

2013-10-16 Thread Chen, Gong
To prepare for the following patches and make related definition more clear, update some definitions about CPER. v2 -> v1: Update some more definitions suggested by Boris Signed-off-by: Chen, Gong --- drivers/acpi/apei/apei-internal.h | 12 drivers/acpi/apei/cper.c |

[PATCH v2 9/9] ACPI / trace: Add trace interface for eMCA driver

2013-10-16 Thread Chen, Gong
Use trace interface to elaborate all H/W error related information. v2 -> v1: move trace interface into ras_event.h Signed-off-by: Chen, Gong --- drivers/acpi/Kconfig| 7 ++- drivers/acpi/Makefile | 4 ++ drivers/acpi/acpi_extlog.c | 28 +++- drivers/acpi/a

[PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-16 Thread Chen, Gong
GENMASK is used to create a contiguous bitmask([hi:lo]). It is implemented twice in current kernel. One is in EDAC driver, the other is in SiS/XGI FB driver. Move it to a more generic place for other usage. Signed-off-by: Chen, Gong Cc: Borislav Petkov Cc: Thomas Winischhofer Cc: Jean

[PATCH v2 8/9] ACPI, APEI, CPER: Cleanup CPER memory error output format

2013-10-16 Thread Chen, Gong
Keep up only the most important fields for memory error reporting. The detail information will be moved to perf/trace interface. Suggested-by: Tony Luck Signed-off-by: Chen, Gong --- drivers/acpi/apei/cper.c | 69 +++- 1 file changed, 33 insertions

[PATCH v2 6/9] ACPI, APEI, CPER: Add UEFI 2.4 support for memory error

2013-10-16 Thread Chen, Gong
In latest UEFI spec(by now it is 2.4) memory error definition for CPER (UEFI 2.4 Appendix N Common Platform Error Record) adds some new fields. These fields help people to locate memory error on actual DIMM location. Original-author: Tony Luck Signed-off-by: Chen, Gong Reviewed-by: Borislav

[PATCH v2 4/9] ACPI, x86: Extended error log driver for x86 platform

2013-10-16 Thread Chen, Gong
ate spin_lock & minor fixes suggested by Boris Signed-off-by: Chen, Gong --- arch/x86/include/asm/mce.h | 5 + arch/x86/kernel/cpu/mcheck/mce.c | 20 +++ drivers/acpi/Kconfig | 9 ++ drivers/acpi/Makefile| 2 + drivers/acpi/acpi_extlog.c

[PATCH v2 1/9] ACPI, APEI, CPER: Fix status check during error printing

2013-10-16 Thread Chen, Gong
Commit aaf9d93 only catches condition check before print, but the similar check is needed during printing CPER error sections. Signed-off-by: Chen, Gong Reviewed-by: Borislav Petkov --- drivers/acpi/apei/cper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi

[PATCH v2 7/9] ACPI, APEI, CPER: Enhance memory reporting capability

2013-10-16 Thread Chen, Gong
After H/W error happens under FFM enabled mode, lots of information are shown but some important parts like DIMM location missed. This patch is used to show these extra fileds. Original-author: Tony Luck Signed-off-by: Chen, Gong Acked-by: Naveen N. Rao --- drivers/acpi/apei/cper.c | 12

[PATCH v2 5/9] DMI: Parse memory device (type 17) in SMBIOS

2013-10-16 Thread Chen, Gong
This patch adds a new interface to decode memory device (type 17) to help error reporting on DIMMs. Original-author: Tony Luck Signed-off-by: Chen, Gong Acked-by: Naveen N. Rao --- arch/ia64/kernel/setup.c| 1 + arch/x86/kernel/setup.c | 1 + drivers/firmware/dmi_scan.c | 60

Re: [PATCH v2 0/9] Extended H/W error log driver

2013-10-16 Thread Chen Gong
er (bogus patch) Use trace interface to elaborate all H/W error related information. Signed-off-by: Chen, Gong --- drivers/acpi/Kconfig | 3 +- drivers/acpi/acpi_extlog.c | 131 - drivers/acpi/apei/cper.c | 13 +++-- include/linux/cper.h | 2

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-16 Thread Chen Gong
On Wed, Oct 16, 2013 at 02:02:21PM -0300, Mauro Carvalho Chehab wrote: > Date: Wed, 16 Oct 2013 14:02:21 -0300 > From: Mauro Carvalho Chehab > To: "Chen, Gong" > Cc: tony.l...@intel.com, b...@alien8.de, j...@perches.com, > naveen.n@linux.vnet.ibm.com, aroza.

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-16 Thread Chen Gong
On Wed, Oct 16, 2013 at 07:59:09PM -0700, Joe Perches wrote: > Date: Wed, 16 Oct 2013 19:59:09 -0700 > From: Joe Perches > To: "Chen, Gong" > Cc: tony.l...@intel.com, b...@alien8.de, naveen.n@linux.vnet.ibm.com, > m.che...@samsung.com, aroza...@redhat.com, l

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-17 Thread Chen Gong
On Wed, Oct 16, 2013 at 11:58:56PM -0700, Joe Perches wrote: > Date: Wed, 16 Oct 2013 23:58:56 -0700 > From: Joe Perches > To: Chen Gong > Cc: tony.l...@intel.com, b...@alien8.de, naveen.n@linux.vnet.ibm.com, > m.che...@samsung.com, aroza...@redhat.com, linux-a...@vger.kerne

Re: [PATCH v2 6/9] ACPI, APEI, CPER: Add UEFI 2.4 support for memory error

2013-10-17 Thread Chen Gong
On Thu, Oct 17, 2013 at 07:23:06AM -0300, Mauro Carvalho Chehab wrote: > Date: Thu, 17 Oct 2013 07:23:06 -0300 > From: Mauro Carvalho Chehab > To: "Chen, Gong" > Cc: tony.l...@intel.com, b...@alien8.de, j...@perches.com, > naveen.n@linux.vnet.ibm.com, aroza.

Re: [PATCH v2 0/9] Extended H/W error log driver

2013-10-17 Thread Chen Gong
On Wed, Oct 16, 2013 at 08:11:17PM +0200, Borislav Petkov wrote: > Date: Wed, 16 Oct 2013 20:11:17 +0200 > From: Borislav Petkov > To: Steven Rostedt , "Chen, Gong" > > Cc: tony.l...@intel.com, j...@perches.com, naveen.n@linux.vnet.ibm.com, > aroza...@redhat.com

[PATCH v3 0/9] Extended H/W error log driver

2013-10-18 Thread Chen, Gong
[PATCH v3 1/9] ACPI, APEI, CPER: Fix status check during error printing [PATCH v3 2/9] ACPI, CPER: Update cper info [PATCH v3 3/9] bitops: Introduce a more generic BITMASK macro [PATCH v3 4/9] ACPI, x86: Extended error log driver for x86 platform [PATCH v3 5/9] DMI: Parse memory device (type 17) in

[PATCH v3 8/9] ACPI, APEI, CPER: Cleanup CPER memory error output format

2013-10-18 Thread Chen, Gong
Keep up only the most important fields for memory error reporting. The detail information will be moved to perf/trace interface. Suggested-by: Tony Luck Signed-off-by: Chen, Gong Reviewed-by: Mauro Carvalho Chehab --- drivers/acpi/apei/cper.c | 67

[PATCH v3 5/9] DMI: Parse memory device (type 17) in SMBIOS

2013-10-18 Thread Chen, Gong
This patch adds a new interface to decode memory device (type 17) to help error reporting on DIMMs. Original-author: Tony Luck Signed-off-by: Chen, Gong Acked-by: Naveen N. Rao Acked-by: Borislav Petkov Reviewed-by: Mauro Carvalho Chehab --- arch/ia64/kernel/setup.c| 1 + arch/x86

[PATCH v3 2/9] ACPI, CPER: Update cper info

2013-10-18 Thread Chen, Gong
To prepare for the following patches and make related definition more clear, update some definitions about CPER. v2 -> v1: Update some more definitions suggested by Boris Signed-off-by: Chen, Gong Acked-by: Borislav Petkov Reviewed-by: Mauro Carvalho Chehab --- drivers/acpi/apei/a

[PATCH v3 7/9] ACPI, APEI, CPER: Enhance memory reporting capability

2013-10-18 Thread Chen, Gong
After H/W error happens under FFM enabled mode, lots of information are shown but some important parts like DIMM location missed. This patch is used to show these extra fileds. Original-author: Tony Luck Signed-off-by: Chen, Gong Acked-by: Naveen N. Rao Acked-by: Borislav Petkov Reviewed-by

[PATCH v3 4/9] ACPI, x86: Extended error log driver for x86 platform

2013-10-18 Thread Chen, Gong
fix a MACRO definition error and some cleanup v2 -> v1: eliminate spin_lock & minor fixes suggested by Boris Signed-off-by: Chen, Gong --- arch/x86/include/asm/mce.h | 5 + arch/x86/kernel/cpu/mcheck/mce.c | 20 +++ drivers/acpi/Kconfig | 20 +++ drivers/acp

[PATCH v3 9/9] EDAC, GHES: Update ghes error record info

2013-10-18 Thread Chen, Gong
In latest UEFI spec(by now it's 2.4) there are some new fields for memory error reporting. Add these new fields for ghes_edac interface. Signed-off-by: Chen, Gong Cc: Mauro Carvalho Chehab --- drivers/edac/ghes_edac.c | 11 +++ include/linux/edac.h | 2 +- 2 files change

[PATCH v3 6/9] ACPI, APEI, CPER: Add UEFI 2.4 support for memory error

2013-10-18 Thread Chen, Gong
In latest UEFI spec(by now it is 2.4) memory error definition for CPER (UEFI 2.4 Appendix N Common Platform Error Record) adds some new fields. These fields help people to locate memory error on actual DIMM location. Original-author: Tony Luck Signed-off-by: Chen, Gong Reviewed-by: Borislav

[PATCH v3 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-18 Thread Chen, Gong
GENMASK is used to create a contiguous bitmask([hi:lo]). It is implemented twice in current kernel. One is in EDAC driver, the other is in SiS/XGI FB driver. Move it to a more generic place for other usage. Signed-off-by: Chen, Gong Cc: Borislav Petkov Cc: Thomas Winischhofer Cc: Jean

[PATCH v3 1/9] ACPI, APEI, CPER: Fix status check during error printing

2013-10-18 Thread Chen, Gong
Commit aaf9d93 only catches condition check before print, but the similar check is needed during printing CPER error sections. Signed-off-by: Chen, Gong Reviewed-by: Borislav Petkov Reviewed-by: Mauro Carvalho Chehab --- drivers/acpi/apei/cper.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v3 8/9] ACPI, APEI, CPER: Cleanup CPER memory error output format

2013-10-19 Thread Chen Gong
On Fri, Oct 18, 2013 at 05:31:21PM +0530, Naveen N. Rao wrote: > Date: Fri, 18 Oct 2013 17:31:21 +0530 > From: "Naveen N. Rao" > To: "Chen, Gong" , tony.l...@intel.com, > b...@alien8.de, j...@perches.com, m.che...@samsung.com > CC: aroza...@redhat.com, linux-a.

Re: [PATCH v3 4/9] ACPI, x86: Extended error log driver for x86 platform

2013-10-19 Thread Chen Gong
On Fri, Oct 18, 2013 at 06:07:56PM +0530, Naveen N. Rao wrote: > Date: Fri, 18 Oct 2013 18:07:56 +0530 > From: "Naveen N. Rao" > To: "Chen, Gong" , tony.l...@intel.com, > b...@alien8.de, j...@perches.com, m.che...@samsung.com > CC: aroza...@redhat.com, linux-a.

Re: [PATCH v3 4/9] ACPI, x86: Extended error log driver for x86 platform

2013-10-20 Thread Chen Gong
[...] > >diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig > >index 22327e6..c67ec61 100644 > >--- a/drivers/acpi/Kconfig > >+++ b/drivers/acpi/Kconfig > >@@ -372,4 +372,24 @@ config ACPI_BGRT > > > > source "drivers/acpi/apei/Kconfig" > > > >+config ACPI_EXTLOG > >+tristate "Extended

[PATCH V4 4/9] ACPI, x86: Extended error log driver for x86 platform

2013-10-20 Thread Chen, Gong
v3: update description info & Kconfig suggested by Naveen v3 -> v2: fix a MACRO definition error and some cleanup v2 -> v1: eliminate spin_lock & minor fixes suggested by Boris Signed-off-by: Chen, Gong --- arch/x86/include/asm/mce.h | 5 + arch/x86/kernel/cpu/mcheck/mce.c | 20

[PATCH 4/8] DMI: Parse memory device (type 17) in SMBIOS

2013-10-10 Thread Chen, Gong
This patch adds a new interface to decode memory device (type 17) to help error reporting on DIMMs. Original-author: Tony Luck Signed-off-by: Chen, Gong --- arch/ia64/kernel/setup.c| 1 + arch/x86/kernel/setup.c | 1 + drivers/firmware/dmi_scan.c | 60

[PATCH 8/8] ACPI / trace: Add trace interface for eMCA driver

2013-10-10 Thread Chen, Gong
Use trace interface to elaborate all H/W error related information. Signed-off-by: Chen, Gong --- drivers/acpi/Kconfig| 7 ++- drivers/acpi/Makefile | 4 ++ drivers/acpi/acpi_extlog.c | 28 +++- drivers/acpi/apei/cper.c| 13 -- drivers/acpi/debug_extlog.h

Extended H/W error log driver

2013-10-10 Thread Chen, Gong
[PATCH 1/8] ACPI, APEI, CPER: Fix status check during error printing [PATCH 2/8] ACPI, CPER: Update cper info [PATCH 3/8] ACPI, x86: Extended error log driver for x86 platform [PATCH 4/8] DMI: Parse memory device (type 17) in SMBIOS [PATCH 5/8] ACPI, APEI, CPER: Add UEFI 2.4 support for memory erro

[PATCH 7/8] ACPI, APEI, CPER: Cleanup CPER memory error output format

2013-10-10 Thread Chen, Gong
Keep up only the most important fields for memory error reporting. The detail information will be moved to perf/trace interface. Suggested-by: Tony Luck Signed-off-by: Chen, Gong --- drivers/acpi/apei/cper.c | 42 ++ 1 file changed, 14 insertions(+), 28

[PATCH 5/8] ACPI, APEI, CPER: Add UEFI 2.4 support for memory error

2013-10-10 Thread Chen, Gong
In latest UEFI spec(by now it is 2.4) memory error definition for CPER (UEFI 2.4 Appendix N Common Platform Error Record) adds some new fields. These fields help people to locate memory error on actual DIMM location. Original-author: Tony Luck Signed-off-by: Chen, Gong --- drivers/acpi/apei

[PATCH 6/8] ACPI, APEI, CPER: Enhance memory reporting capability

2013-10-10 Thread Chen, Gong
After H/W error happens under FFM enabled mode, lots of information are shown but some important parts like DIMM location missed. This patch is used to show these extra fileds. Original-author: Tony Luck Signed-off-by: Chen, Gong --- drivers/acpi/apei/cper.c | 12 1 file changed

[PATCH 2/8] ACPI, CPER: Update cper info

2013-10-10 Thread Chen, Gong
To satisfy the necessary of following patches and make related definition more clear, update some definitions about CPER. No functional changes. Signed-off-by: Chen, Gong --- drivers/acpi/apei/apei-internal.h | 12 - drivers/acpi/apei/cper.c | 46

[PATCH 3/8] ACPI, x86: Extended error log driver for x86 platform

2013-10-10 Thread Chen, Gong
log.c b/drivers/acpi/acpi_extlog.c new file mode 100644 index 000..3e3e286 --- /dev/null +++ b/drivers/acpi/acpi_extlog.c @@ -0,0 +1,339 @@ +/* + * Extended Error Log driver + * + * Copyright (C) 2013 Intel Corp. + * Author: Chen, Gong + * + * This program is free software; you can redistribut

[PATCH 1/8] ACPI, APEI, CPER: Fix status check during error printing

2013-10-10 Thread Chen, Gong
Commit aaf9d93 only catches condition check before print, but the similar check is needed during printing CPER error sections. Signed-off-by: Chen, Gong --- drivers/acpi/apei/cper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/apei/cper.c b/drivers/acpi/apei

Re: [PATCH 3/8] ACPI, x86: Extended error log driver for x86 platform

2013-10-13 Thread Chen Gong
On Fri, Oct 11, 2013 at 05:24:52PM +0200, Borislav Petkov wrote: > Date: Fri, 11 Oct 2013 17:24:52 +0200 > From: Borislav Petkov > To: "Chen, Gong" > Cc: tony.l...@intel.com, linux-kernel@vger.kernel.org, > linux-a...@vger.kernel.org > Subject: Re: [PATCH 3/8] A

Re: [PATCH 4/8] DMI: Parse memory device (type 17) in SMBIOS

2013-10-13 Thread Chen Gong
On Fri, Oct 11, 2013 at 05:40:48PM +0200, Borislav Petkov wrote: > Date: Fri, 11 Oct 2013 17:40:48 +0200 > From: Borislav Petkov > To: "Chen, Gong" > Cc: tony.l...@intel.com, linux-kernel@vger.kernel.org, > linux-a...@vger.kernel.org > Subject: Re: [PATCH 4/8] DMI:

Re: [PATCH 7/8] ACPI, APEI, CPER: Cleanup CPER memory error output format

2013-10-13 Thread Chen Gong
On Fri, Oct 11, 2013 at 06:02:08PM +0200, Borislav Petkov wrote: > Date: Fri, 11 Oct 2013 18:02:08 +0200 > From: Borislav Petkov > To: "Chen, Gong" > Cc: tony.l...@intel.com, linux-kernel@vger.kernel.org, > linux-a...@vger.kernel.org > Subject: Re: [PATCH 7/8] AC

Re: Extended H/W error log driver

2013-10-14 Thread Chen Gong
On Fri, Oct 11, 2013 at 10:04:27AM +0200, Borislav Petkov wrote: > Date: Fri, 11 Oct 2013 10:04:27 +0200 > From: Borislav Petkov > To: "Chen, Gong" > Cc: tony.l...@intel.com, linux-kernel@vger.kernel.org, > linux-a...@vger.kernel.org > Subject: Re: Extended H/W e

Re: [PATCH 8/8] ACPI / trace: Add trace interface for eMCA driver

2013-10-14 Thread Chen Gong
On Fri, Oct 11, 2013 at 06:14:36PM +0200, Borislav Petkov wrote: > Date: Fri, 11 Oct 2013 18:14:36 +0200 > From: Borislav Petkov > To: "Chen, Gong" > Cc: tony.l...@intel.com, linux-kernel@vger.kernel.org, > linux-a...@vger.kernel.org > Subject: Re: [PATCH 8/8] ACPI

Re: [PATCH 3/8] ACPI, x86: Extended error log driver for x86 platform

2013-10-14 Thread Chen Gong
On Mon, Oct 14, 2013 at 12:26:35PM +0200, Borislav Petkov wrote: > Date: Mon, 14 Oct 2013 12:26:35 +0200 > From: Borislav Petkov > To: Chen Gong > Cc: tony.l...@intel.com, linux-kernel@vger.kernel.org, > linux-a...@vger.kernel.org > Subject: Re: [PATCH 3/8] ACPI, x86: Extende

Re: Extended H/W error log driver

2013-10-14 Thread Chen Gong
On Mon, Oct 14, 2013 at 12:55:33PM +0200, Borislav Petkov wrote: > Date: Mon, 14 Oct 2013 12:55:33 +0200 > From: Borislav Petkov > To: Chen Gong > Cc: tony.l...@intel.com, linux-kernel@vger.kernel.org, > linux-a...@vger.kernel.org > Subject: Re: Extended H/W error log driver

Re: [PATCH 7/8] ACPI, APEI, CPER: Cleanup CPER memory error output format

2013-10-15 Thread Chen Gong
On Mon, Oct 14, 2013 at 11:50:47PM +0200, Borislav Petkov wrote: > Date: Mon, 14 Oct 2013 23:50:47 +0200 > From: Borislav Petkov > To: Tony Luck > Cc: Chen Gong , Linux Kernel Mailing List > , linux-acpi , > Lance Ortiz , "Naveen N. Rao" > > Subject: Re: [PA

Re: [PATCH] x86: mcheck: call put_device on device_register failure

2013-12-02 Thread Chen, Gong
On Sat, Nov 30, 2013 at 12:12:14PM +0100, Borislav Petkov wrote: > Date: Sat, 30 Nov 2013 12:12:14 +0100 > From: Borislav Petkov > To: Levente Kurusa > Cc: Ingo Molnar , Thomas Gleixner , > Tony Luck , "H. Peter Anvin" , > x...@kernel.org, EDAC , LKML > > Subject: Re: [PATCH] x86: mcheck: cal

Re: [PATCH] x86: mcheck: call put_device on device_register failure

2013-12-03 Thread Chen, Gong
On Tue, Dec 03, 2013 at 06:01:50PM +0100, Borislav Petkov wrote: > Date: Tue, 3 Dec 2013 18:01:50 +0100 > From: Borislav Petkov > To: "Chen, Gong" > Cc: Levente Kurusa , Ingo Molnar , > Thomas Gleixner , Tony Luck , "H. > Peter Anvin" , x...@kernel.org,

Re: [PATCH] ACPI/NVS: Not save NVS region for new machines to accelerate S3

2014-07-18 Thread Chen, Gong
On Fri, Jul 18, 2014 at 01:55:22PM +0800, Lan Tianyu wrote: > Date: Fri, 18 Jul 2014 13:55:22 +0800 > From: Lan Tianyu > To: r...@rjwysocki.net, l...@kernel.org > Cc: Lan Tianyu , linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org > Subject: [PATCH] ACPI/NVS: Not save NVS region for new m

  1   2   3   >