linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Warning on SME when manually onlining CPUs late.
@ 2023-07-27 10:21 Jonathan Cameron
  2023-07-27 17:02 ` Richard Henderson
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2023-07-27 10:21 UTC (permalink / raw)
  To: Mark Brown, linux-arm-kernel, linuxarm, Richard Henderson

Hi Mark

Hit this due to a silly config error on a QEMU TCG test but seemed worth asking about
as I'm buried in other stuff and no time to investigate further for a few weeks.

Test probably could be simplified but it's more or less vanilla upstream QEMU with
-cpu max -smp 8 and kernel command line with maxcpus=4

echo 1 > /sys/bus/cpu/devices/cpu4/online

CPU features: SANITY CHECK: Unexpected variation in SYS_SMCR_EL1. Boot CPU: 0x0000000000000f, CPU4: 0x0000008000000f
CPU features: Unsupported CPU feature variation detected.

If this is already well known, then sorry for noise. I've not been paying much attention
to the SME work.

Looks like the FA64 bit isn't set for the CPU state of the boot CPU that is being compared
- I guess a stale record somewhere being used for the comparison?

Could be an issue on QEMU side I guess - though from a quick look it all seemed to be
correct there.  Just in case +CC Richard.

Jonathan

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-07-27 17:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-27 10:21 Warning on SME when manually onlining CPUs late Jonathan Cameron
2023-07-27 17:02 ` Richard Henderson
2023-07-27 17:31   ` Mark Brown

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