Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-07 Thread Kani, Toshimitsu
On Sat, 2017-08-05 at 07:44 +0200, Borislav Petkov wrote: > On Fri, Aug 04, 2017 at 09:35:05PM +, Kani, Toshimitsu wrote: > > 1 means the caller's init function can continue its initialization > > -- > > such conditions are free or owned by itself. > > Make that: > >

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-07 Thread Kani, Toshimitsu
On Sat, 2017-08-05 at 07:44 +0200, Borislav Petkov wrote: > On Fri, Aug 04, 2017 at 09:35:05PM +, Kani, Toshimitsu wrote: > > 1 means the caller's init function can continue its initialization > > -- > > such conditions are free or owned by itself. > > Make that: > >

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-04 Thread Borislav Petkov
On Fri, Aug 04, 2017 at 09:35:05PM +, Kani, Toshimitsu wrote: > 1 means the caller's init function can continue its initialization -- > such conditions are free or owned by itself. Make that: edac_get_owner(void) to return the owner string or NULL if there's no owner. The caller

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-04 Thread Borislav Petkov
On Fri, Aug 04, 2017 at 09:35:05PM +, Kani, Toshimitsu wrote: > 1 means the caller's init function can continue its initialization -- > such conditions are free or owned by itself. Make that: edac_get_owner(void) to return the owner string or NULL if there's no owner. The caller

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-04 Thread Kani, Toshimitsu
On Fri, 2017-08-04 at 10:30 +0200, Borislav Petkov wrote: > On Thu, Aug 03, 2017 at 03:57:52PM -0600, Toshi Kani wrote: > > Only a single edac driver can be enabled for EDAC MC.  When > > ghes_edac is enabled, a regular edac driver for the CPU type / > > platform still attempts to register itself

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-04 Thread Kani, Toshimitsu
On Fri, 2017-08-04 at 10:30 +0200, Borislav Petkov wrote: > On Thu, Aug 03, 2017 at 03:57:52PM -0600, Toshi Kani wrote: > > Only a single edac driver can be enabled for EDAC MC.  When > > ghes_edac is enabled, a regular edac driver for the CPU type / > > platform still attempts to register itself

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-04 Thread Kani, Toshimitsu
On Fri, 2017-08-04 at 21:06 +0800, kbuild test robot wrote: > Hi Toshi, > > [auto build test WARNING on pm/linux-next] > [also build test WARNING on v4.13-rc3] > [cannot apply to edac/linux_next bp/for-next next-20170804] > [if your patch is applied to the wrong git tree, please drop us a > note

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-04 Thread Kani, Toshimitsu
On Fri, 2017-08-04 at 21:06 +0800, kbuild test robot wrote: > Hi Toshi, > > [auto build test WARNING on pm/linux-next] > [also build test WARNING on v4.13-rc3] > [cannot apply to edac/linux_next bp/for-next next-20170804] > [if your patch is applied to the wrong git tree, please drop us a > note

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-04 Thread kbuild test robot
Hi Toshi, [auto build test WARNING on pm/linux-next] [also build test WARNING on v4.13-rc3] [cannot apply to edac/linux_next bp/for-next next-20170804] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-04 Thread kbuild test robot
Hi Toshi, [auto build test WARNING on pm/linux-next] [also build test WARNING on v4.13-rc3] [cannot apply to edac/linux_next bp/for-next next-20170804] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-04 Thread Borislav Petkov
On Thu, Aug 03, 2017 at 03:57:52PM -0600, Toshi Kani wrote: > Only a single edac driver can be enabled for EDAC MC. When ghes_edac > is enabled, a regular edac driver for the CPU type / platform still > attempts to register itself and fails in edac_mc_add_mc(). > > Add edac_check_mc_owner() so

Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-04 Thread Borislav Petkov
On Thu, Aug 03, 2017 at 03:57:52PM -0600, Toshi Kani wrote: > Only a single edac driver can be enabled for EDAC MC. When ghes_edac > is enabled, a regular edac driver for the CPU type / platform still > attempts to register itself and fails in edac_mc_add_mc(). > > Add edac_check_mc_owner() so

[PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-03 Thread Toshi Kani
Only a single edac driver can be enabled for EDAC MC. When ghes_edac is enabled, a regular edac driver for the CPU type / platform still attempts to register itself and fails in edac_mc_add_mc(). Add edac_check_mc_owner() so that regular edac drivers can check the owner of EDAC MC at the

[PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

2017-08-03 Thread Toshi Kani
Only a single edac driver can be enabled for EDAC MC. When ghes_edac is enabled, a regular edac driver for the CPU type / platform still attempts to register itself and fails in edac_mc_add_mc(). Add edac_check_mc_owner() so that regular edac drivers can check the owner of EDAC MC at the