edac: need to export cpu_llc_id
Subsystems (2)
PATCH 1/1 edac: need to export cpu_llc_id
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").
--- arch/x86/kernel/smpboot.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86/kernel/smpboot.c +1 -0
@@ -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);
Signature · 7 lines
1.6.3.3 -- Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Hi Stephen,
Quoted 26 lines · Stephen Rothwell
Today's linux-next build (
x86_64allmodconfig) failed like this:ERROR: "
per_cpu__cpu_llc_id" [drivers/edac/edac_core.ko] undefined!Caused by commit
b69b29de65fe4078b125acc9dea34be82f7c362c("EDAC, AMD:
carve outMCi_STATUSdecoding").Signed-off-by Stephen Rothwell <[email protected]>--- arch/x86/kernel/smpboot.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)arch/x86/kernel/smpboot.c +1
-0@@ -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);Signature · 1 line
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?
Signature · 8 lines
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
Quoted 5 lines · Borislav Petkov
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:
-hpa
Signature · 2 lines
H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
Quoted 7 lines · H. Peter Anvin
Quoted 5 lines · Borislav Petkov
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?
Quoted 6 lines
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 <[email protected]>
Cool, thanks. Will prep a pull request in a couple of hours.
Signature · 8 lines
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
Hi Boris,
Quoted 2 lines · On Wed, 16 Sep 2009 06:41:51 +0200 Borislav Petkov <[email protected]>…
proper fix is at http://marc.info/?l=linux-kernel&m=125302459621925
Great, thanks.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Quoted 7 lines · Stephen Rothwell
Hi Boris,
Quoted 2 lines · On Wed, 16 Sep 2009 06:41:51 +0200 Borislav Petkov <[email protected]>…
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.
Signature · 8 lines
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
Hi Boris,
Quoted 4 lines · On Wed, 16 Sep 2009 18:04:20 +0200 Borislav Petkov <[email protected]>…
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.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/