lkml.org 
[lkml]   [2017]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 5/5] edac drivers: add MC owner check in init
On Wed, Aug 23, 2017 at 04:54:47PM -0600, Toshi Kani wrote:
> Change generic x86 edac drivers, which probe CPU type with
> x86_match_cpu(), to verify the module owner at the beginning
> of their module init functions. This allows them to fail
> their init immediately when ghes_edac is enabled. Similar
> change can be made to other edac drivers as necessary.
>
> Also, remove ".c" from module names of pnp2_edac, sb_edac,
> and skx_edac.
>
> Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
> Suggested-by: Borislav Petkov <bp@alien8.de>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
> Cc: Tony Luck <tony.luck@intel.com>
> ---
> drivers/edac/amd64_edac.c | 5 +++++
> drivers/edac/pnd2_edac.c | 9 ++++++++-
> drivers/edac/sb_edac.c | 9 +++++++--
> drivers/edac/skx_edac.c | 9 ++++++++-
> 4 files changed, 28 insertions(+), 4 deletions(-)

Last 2 applied, thanks.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.

\
 
 \ /
  Last update: 2017-09-01 11:32    [W:2.358 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site