* [PATCH] edac: need to export cpu_llc_id
@ 2009-09-15 23:39 Stephen Rothwell
2009-09-16 4:41 ` Borislav Petkov
0 siblings, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2009-09-15 23:39 UTC (permalink / raw)
To: Linus, Andrew Morton
Cc: linux-next, linux-kernel, Borislav Petkov, x86, Thomas Gleixner,
Ingo Molnar, H. Peter Anvin
Today's linux-next build (x86_64 allmodconfig) failed like this:
ERROR: "per_cpu__cpu_llc_id" [drivers/edac/edac_core.ko] undefined!
Caused by commit b69b29de65fe4078b125acc9dea34be82f7c362c ("EDAC, AMD:
carve out MCi_STATUS decoding").
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
arch/x86/kernel/smpboot.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index a25eeec..04c74b4 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -100,6 +100,7 @@ EXPORT_SYMBOL(smp_num_siblings);
/* Last level cache ID of each logical CPU */
DEFINE_PER_CPU(u16, cpu_llc_id) = BAD_APICID;
+EXPORT_PER_CPU_SYMBOL(cpu_llc_id);
/* representing HT siblings of each logical CPU */
DEFINE_PER_CPU(cpumask_var_t, cpu_sibling_map);
--
1.6.3.3
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] edac: need to export cpu_llc_id
2009-09-15 23:39 [PATCH] edac: need to export cpu_llc_id Stephen Rothwell
@ 2009-09-16 4:41 ` Borislav Petkov
2009-09-16 4:51 ` H. Peter Anvin
2009-09-16 15:49 ` Stephen Rothwell
0 siblings, 2 replies; 7+ messages in thread
From: Borislav Petkov @ 2009-09-16 4:41 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Linus, Andrew Morton, linux-next, linux-kernel, x86,
Thomas Gleixner, Ingo Molnar, H. Peter Anvin
Hi Stephen,
On Wed, Sep 16, 2009 at 09:39:35AM +1000, Stephen Rothwell wrote:
> Today's linux-next build (x86_64 allmodconfig) failed like this:
>
> ERROR: "per_cpu__cpu_llc_id" [drivers/edac/edac_core.ko] undefined!
>
> Caused by commit b69b29de65fe4078b125acc9dea34be82f7c362c ("EDAC, AMD:
> carve out MCi_STATUS decoding").
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
> arch/x86/kernel/smpboot.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
> index a25eeec..04c74b4 100644
> --- a/arch/x86/kernel/smpboot.c
> +++ b/arch/x86/kernel/smpboot.c
> @@ -100,6 +100,7 @@ EXPORT_SYMBOL(smp_num_siblings);
>
> /* Last level cache ID of each logical CPU */
> DEFINE_PER_CPU(u16, cpu_llc_id) = BAD_APICID;
> +EXPORT_PER_CPU_SYMBOL(cpu_llc_id);
>
> /* representing HT siblings of each logical CPU */
> DEFINE_PER_CPU(cpumask_var_t, cpu_sibling_map);
> --
> 1.6.3.3
proper fix is at http://marc.info/?l=linux-kernel&m=125302459621925
we still have to figure out who's gonna pick it up. Ingo?
--
Regards/Gruss,
Boris.
Operating | Advanced Micro Devices GmbH
System | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
Research | Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
(OSRC) | Registergericht München, HRB Nr. 43632
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] edac: need to export cpu_llc_id
2009-09-16 4:41 ` Borislav Petkov
@ 2009-09-16 4:51 ` H. Peter Anvin
2009-09-16 4:58 ` Borislav Petkov
2009-09-16 15:49 ` Stephen Rothwell
1 sibling, 1 reply; 7+ messages in thread
From: H. Peter Anvin @ 2009-09-16 4:51 UTC (permalink / raw)
To: Borislav Petkov
Cc: Stephen Rothwell, Linus, Andrew Morton, linux-next, linux-kernel,
x86, Thomas Gleixner, Ingo Molnar
On 09/15/2009 09:41 PM, Borislav Petkov wrote:
>
> proper fix is at http://marc.info/?l=linux-kernel&m=125302459621925
>
> we still have to figure out who's gonna pick it up. Ingo?
>
This was from a tree you pushed straight to Linus, so it's probably
better you push it directly.
You can add:
Acked-by: H. Peter Anvin <hpa@zytor.com>
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] edac: need to export cpu_llc_id
2009-09-16 4:51 ` H. Peter Anvin
@ 2009-09-16 4:58 ` Borislav Petkov
0 siblings, 0 replies; 7+ messages in thread
From: Borislav Petkov @ 2009-09-16 4:58 UTC (permalink / raw)
To: H. Peter Anvin
Cc: Stephen Rothwell, Linus, Andrew Morton, linux-next, linux-kernel,
x86, Thomas Gleixner, Ingo Molnar
On Tue, Sep 15, 2009 at 09:51:47PM -0700, H. Peter Anvin wrote:
> On 09/15/2009 09:41 PM, Borislav Petkov wrote:
> >
> > proper fix is at http://marc.info/?l=linux-kernel&m=125302459621925
> >
> > we still have to figure out who's gonna pick it up. Ingo?
> >
>
> This was from a tree you pushed straight to Linus, so it's probably
> better you push it directly.
>
> You can add:
>
> Acked-by: H. Peter Anvin <hpa@zytor.com>
Cool, thanks. Will prep a pull request in a couple of hours.
--
Regards/Gruss,
Boris.
Operating | Advanced Micro Devices GmbH
System | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
Research | Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
(OSRC) | Registergericht München, HRB Nr. 43632
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] edac: need to export cpu_llc_id
2009-09-16 4:41 ` Borislav Petkov
2009-09-16 4:51 ` H. Peter Anvin
@ 2009-09-16 15:49 ` Stephen Rothwell
2009-09-16 16:04 ` Borislav Petkov
1 sibling, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2009-09-16 15:49 UTC (permalink / raw)
To: Borislav Petkov
Cc: Linus, Andrew Morton, linux-next, linux-kernel, x86,
Thomas Gleixner, Ingo Molnar, H. Peter Anvin
[-- Attachment #1: Type: text/plain, Size: 299 bytes --]
Hi Boris,
On Wed, 16 Sep 2009 06:41:51 +0200 Borislav Petkov <borislav.petkov@amd.com> wrote:
>
> proper fix is at http://marc.info/?l=linux-kernel&m=125302459621925
Great, thanks.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] edac: need to export cpu_llc_id
2009-09-16 15:49 ` Stephen Rothwell
@ 2009-09-16 16:04 ` Borislav Petkov
2009-09-17 0:35 ` Stephen Rothwell
0 siblings, 1 reply; 7+ messages in thread
From: Borislav Petkov @ 2009-09-16 16:04 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Linus, Andrew Morton, linux-next, linux-kernel, x86,
Thomas Gleixner, Ingo Molnar, H. Peter Anvin
On Thu, Sep 17, 2009 at 01:49:01AM +1000, Stephen Rothwell wrote:
> Hi Boris,
>
> On Wed, 16 Sep 2009 06:41:51 +0200 Borislav Petkov <borislav.petkov@amd.com> wrote:
> >
> > proper fix is at http://marc.info/?l=linux-kernel&m=125302459621925
>
> Great, thanks.
By the way, fix is already underway to Linus so you might just wait
a while before applying it to your linux-next mix and pull it from
upstream instead.
--
Regards/Gruss,
Boris.
Operating | Advanced Micro Devices GmbH
System | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
Research | Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
(OSRC) | Registergericht München, HRB Nr. 43632
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] edac: need to export cpu_llc_id
2009-09-16 16:04 ` Borislav Petkov
@ 2009-09-17 0:35 ` Stephen Rothwell
0 siblings, 0 replies; 7+ messages in thread
From: Stephen Rothwell @ 2009-09-17 0:35 UTC (permalink / raw)
To: Borislav Petkov
Cc: Linus, Andrew Morton, linux-next, linux-kernel, x86,
Thomas Gleixner, Ingo Molnar, H. Peter Anvin
[-- Attachment #1: Type: text/plain, Size: 555 bytes --]
Hi Boris,
On Wed, 16 Sep 2009 18:04:20 +0200 Borislav Petkov <borislav.petkov@amd.com> wrote:
>
> By the way, fix is already underway to Linus so you might just wait
> a while before applying it to your linux-next mix and pull it from
> upstream instead.
Since Linus hasn't merged your tree yet, I have cherry-picked that one
commit from your tree into my "fixes" tree for today. I will drop it
when Linus takes your tree.
Thanks.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-09-17 0:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 23:39 [PATCH] edac: need to export cpu_llc_id Stephen Rothwell
2009-09-16 4:41 ` Borislav Petkov
2009-09-16 4:51 ` H. Peter Anvin
2009-09-16 4:58 ` Borislav Petkov
2009-09-16 15:49 ` Stephen Rothwell
2009-09-16 16:04 ` Borislav Petkov
2009-09-17 0:35 ` Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).