mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/2] add Centaur Family >= 7 CPUs support
@ 2020-09-08 10:57 Tony W Wang-oc
  2020-09-08 10:57 ` [PATCH v1 1/2] x86/cpu: replace two-condition switch-case with if statement Tony W Wang-oc
  2020-09-08 10:57 ` [PATCH v1 2/2] x86/cpu: add Centaur Family >=7 CPUs initialization support Tony W Wang-oc
  0 siblings, 2 replies; 5+ messages in thread
From: Tony W Wang-oc @ 2020-09-08 10:57 UTC (permalink / raw)
  To: tglx, mingo, bp, x86, hpa, sean.j.christopherson, liam.merwick,
	mlevitsk, linux-kernel
  Cc: TimGuo-oc, CooperYan, QiyuanWang, HerryYang, CobeChen

New Centaur CPUs have Family >= 7. So, add specific initialization
for these CPUs in centaur.c

In order to handle Family >= 7, also use if instead two-condition
switch-case in centaur.c

Tony W Wang-oc (2):
  x86/cpu: replace two-condition switch-case with if statement
  x86/cpu: add Centaur Family >=7 CPUs initialization support

 arch/x86/kernel/cpu/centaur.c | 27 ++++++++++++---------------
 1 file changed, 12 insertions(+), 15 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-11  9:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-08 10:57 [PATCH v1 0/2] add Centaur Family >= 7 CPUs support Tony W Wang-oc
2020-09-08 10:57 ` [PATCH v1 1/2] x86/cpu: replace two-condition switch-case with if statement Tony W Wang-oc
2020-09-11  9:47   ` [tip: x86/cpu] x86/cpu/centaur: Replace two-condition switch-case with an " tip-bot2 for Tony W Wang-oc
2020-09-08 10:57 ` [PATCH v1 2/2] x86/cpu: add Centaur Family >=7 CPUs initialization support Tony W Wang-oc
2020-09-11  9:47   ` [tip: x86/cpu] x86/cpu/centaur: Add Centaur family " tip-bot2 for Tony W Wang-oc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®