Hej Eric,
On Tue, 7 Jul 2026, Eric Auger wrote:
On 7/2/26 3:36 PM, Sebastian Ott wrote:
From: Cornelia Huck <[email protected]>
We now have the infrastructure in place to handle demuxed ID registers
from kvm. Use it to get the values that kvm emulates for CCSIDR_EL1.
I wonder whether that patch is needed at this point. Were previous
ccsidr[i] initialized from KVM before?
Nope. They were not.
What is the actual motivation to read them in this series.
Consistency I guess. Qemu maintains a view of the register values as
seen by the guest. This patch does the same for the demuxed regs.
Doesn't it bring the risk to expose new values to the guest?
I don't see how. We obtain register values from kvm, we don't modify
them nor write them back.
For instance, in [RFC PATCH v6 11/17] arm/kvm: Initialize all writable
ID registers from host, I generalized the initialization of all writable
id regs and I noticed that the new initialization of CLIDR from KVM
broke the execution (which is not the case for the CCSIDR because I did
it a try) because CLIDR was previously uninitialized and null.
I'm currently playing around with that..
Thanks,
Sebastian