qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] i386/cpu: Correct comments for CPUID 0x1D and 0x1E
@ 2025-11-18  8:08 Zhao Liu
  2025-11-18  8:08 ` [PATCH 1/2] i386/cpu: Drop incorrect comment for CPUID 0x1D Zhao Liu
  2025-11-18  8:08 ` [PATCH 2/2] i386/cpu: Drop incorrect comment for CPUID 0x1E Zhao Liu
  0 siblings, 2 replies; 5+ messages in thread
From: Zhao Liu @ 2025-11-18  8:08 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel, Zhao Liu

Hi,

CPUID 0x1D and 0x1E are marked as hardcoded for Sapphire Rapids and
there's the previous attempt [*] to make the fields in 0x1D.0x1 and
0x1E.0x0.EBX user-configurable.

In fact, the "hardcoded" values are defined for architecture, not
the SPR-specific thing, so that it's incorrect and unnecessary to make
them user-configurable.

Therefore, drop the incorrect and misleading comments.

[*]: https://lore.kernel.org/qemu-devel/20230106083826.5384-2-lei4.wang@intel.com/

Thanks and Best Regards,
Zhao
---
Zhao Liu (2):
  i386/cpu: Drop incorrect comment for CPUID 0x1D
  i386/cpu: Drop incorrect comment for CPUID 0x1E

 target/i386/cpu.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2025-11-18  9:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-18  8:08 [PATCH 0/2] i386/cpu: Correct comments for CPUID 0x1D and 0x1E Zhao Liu
2025-11-18  8:08 ` [PATCH 1/2] i386/cpu: Drop incorrect comment for CPUID 0x1D Zhao Liu
2025-11-18  9:12   ` Xiaoyao Li
2025-11-18  8:08 ` [PATCH 2/2] i386/cpu: Drop incorrect comment for CPUID 0x1E Zhao Liu
2025-11-18  9:16   ` Xiaoyao Li

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).