diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-12-15 00:21:33 +0300 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-12-15 00:21:33 +0300 | 
| commit | 0d712978dcdd9c4fb2c4e4ef7700ee755184f11d (patch) | |
| tree | bb443c6b95f8615dc83cb0f3b001cb8b171aff59 /arch/x86/include/asm/processor.h | |
| parent | 5583ff677b3108cde989b6d4fd1958e091420c0c (diff) | |
| parent | 262bd5724afdefd4c48a260d6100e78cc43ee06b (diff) | |
| download | linux-0d712978dcdd9c4fb2c4e4ef7700ee755184f11d.tar.xz | |
Merge tag 'x86_cpu_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cpuid updates from Borislav Petkov:
 "Only AMD-specific changes this time:
   - Save the AMD physical die ID into cpuinfo_x86.cpu_die_id and
     convert all code to use it (Yazen Ghannam)
   - Remove a dead and unused TSEG region remapping workaround on AMD
     (Arvind Sankar)"
* tag 'x86_cpu_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/cpu/amd: Remove dead code for TSEG region remapping
  x86/topology: Set cpu_die_id only if DIE_TYPE found
  EDAC/mce_amd: Use struct cpuinfo_x86.cpu_die_id for AMD NodeId
  x86/CPU/AMD: Remove amd_get_nb_id()
  x86/CPU/AMD: Save AMD NodeId as cpu_die_id
Diffstat (limited to 'arch/x86/include/asm/processor.h')
| -rw-r--r-- | arch/x86/include/asm/processor.h | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 82a08b585818..c20a52b5534b 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -813,10 +813,8 @@ extern int set_tsc_mode(unsigned int val);  DECLARE_PER_CPU(u64, msr_misc_features_shadow);  #ifdef CONFIG_CPU_SUP_AMD -extern u16 amd_get_nb_id(int cpu);  extern u32 amd_get_nodes_per_socket(void);  #else -static inline u16 amd_get_nb_id(int cpu)		{ return 0; }  static inline u32 amd_get_nodes_per_socket(void)	{ return 0; }  #endif  | 
