lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 15 Sep 2009 16:38:37 +0200
From:	Jean Delvare <khali@...ux-fr.org>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	Borislav Petkov <borislav.petkov@....com>,
	"H. Peter Anvin" <hpa@...or.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	x86 <x86@...nel.org>, Doug Thompson <norsk5@...oo.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [origin tree build failure] Re: [GIT PULL] AMD64 EDAC updates,
 p1

On Tue, 15 Sep 2009 13:09:40 +0200, Ingo Molnar wrote:
> -tip testing found this build failure with the attached config:
> 
> drivers/edac/edac_mce_amd.c: In function ‘decode_mce’:
> drivers/edac/edac_mce_amd.c:408: error: ‘per_cpu__cpu_llc_id’ undeclared (first use in this function)
> drivers/edac/edac_mce_amd.c:408: error: (Each undeclared identifier is reported only once
> drivers/edac/edac_mce_amd.c:408: error: for each function it appears in.)
> 
> I did the patchlet below but this needs a cleaner fix eventually. A 
> proper node abstraction needs to be factored out and provided as a 
> facility regardless of config settings.
> 
> 	Ingo
> 
> Signed-off-by: Ingo Molnar <mingo@...e.hu>
> ---
>  drivers/edac/edac_mce_amd.c |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> Index: linux2/drivers/edac/edac_mce_amd.c
> ===================================================================
> --- linux2.orig/drivers/edac/edac_mce_amd.c
> +++ linux2/drivers/edac/edac_mce_amd.c
> @@ -405,8 +405,11 @@ void decode_mce(struct mce *m)
>  		regs.nbsh  = (u32)(m->status >> 32);
>  		regs.nbeal = (u32) m->addr;
>  		regs.nbeah = (u32)(m->addr >> 32);
> +#ifdef CONFIG_X86_HT
>  		node       = per_cpu(cpu_llc_id, m->extcpu);
> -
> +#else
> +		node	   = 0;
> +#endif
>  		amd_decode_nb_mce(node, &regs, 1);
>  		break;
>  

FWIW, this patch doesn't fix the problem for me. Amerigo Wang's does:
http://lkml.org/lkml/2009/9/15/64

-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ