[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v2 0/5] target/arm: KVM vs ARMISARegisters
From: |
Richard Henderson |
Subject: |
Re: [Qemu-arm] [PATCH v2 0/5] target/arm: KVM vs ARMISARegisters |
Date: |
Sun, 4 Nov 2018 09:50:29 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
On 11/3/18 12:32 PM, Marc Zyngier wrote:
> We actively hide the LORegion feature from the guest since
> cc33c4e20185a391766ed5e78e2acc97e17ba511 (in the 4.17 time frame), so
> you shouldn't be able to obtain these on a recent host.
I don't think that patch is ideal.
In particular, LOR is a mandatory requirement of ARMv8.1.
The OS can rightly presume it is present in context.
Better, I think, is to trap the LOR registers, as you are doing,
and have them act as RAZ/WI. This indicates, via LORID_EL1, that
there are zero supported LO regions, which is a valid ARMv8.1
configuration.
r~
- [Qemu-arm] [PATCH v2 0/5] target/arm: KVM vs ARMISARegisters, Richard Henderson, 2018/11/02
- [Qemu-arm] [PATCH v2 4/5] target/arm: Fill in ARMISARegisters for kvm32, Richard Henderson, 2018/11/02
- [Qemu-arm] [PATCH v2 2/5] target/arm: Fill in ARMISARegisters for kvm64, Richard Henderson, 2018/11/02
- [Qemu-arm] [PATCH v2 1/5] target/arm: Install ARMISARegisters from kvm host, Richard Henderson, 2018/11/02
- [Qemu-arm] [PATCH v2 3/5] target/arm: Introduce read_sys_reg32 for kvm32, Richard Henderson, 2018/11/02
- [Qemu-arm] [PATCH v2 5/5] target/arm: Convert t32ee from feature bit to isar3 test, Richard Henderson, 2018/11/02
- Re: [Qemu-arm] [PATCH v2 0/5] target/arm: KVM vs ARMISARegisters, Peter Maydell, 2018/11/02