Re: [PATCH v5 5/7] KVM: arm64: Always set HCR_TID2

2023-01-05 Thread Reiji Watanabe
On Fri, Dec 30, 2022 at 1:55 AM Akihiko Odaki wrote: > > Always set HCR_TID2 to trap CTR_EL0, CCSIDR2_EL1, CLIDR_EL1, and > CSSELR_EL1. This saves a few lines of code and allows to employ their > access trap handlers for more purposes anticipated by the old > condition for setting HCR_TID2. > >

[PATCH v5 5/7] KVM: arm64: Always set HCR_TID2

2022-12-30 Thread Akihiko Odaki
Always set HCR_TID2 to trap CTR_EL0, CCSIDR2_EL1, CLIDR_EL1, and CSSELR_EL1. This saves a few lines of code and allows to employ their access trap handlers for more purposes anticipated by the old condition for setting HCR_TID2. Suggested-by: Marc Zyngier Signed-off-by: Akihiko Odaki ---