On Fri, 10 Jun 2022 10:28:19 +0100, Marc Zyngier wrote: > This is a iteration on [1], which aims at making the vcpu flags suck a > bit less. > > * From v1 [1]: > - Rebased onto v5.19-rc1 > - Took the first two patches into kvmarm-fixes, included here for > completeness > - Additional patch to move system_supports_fpsimd() outside of > the run path (Reiji) > - Expanded on comments (Reiji) > - New kvm_pend_exception() accessor (Fuad) > - Various bracketing fixups (Reiji) > - Some renaming (Reiji, Broonie) > - Collected RBs, with thanks > > [...] Applied to next, thanks! [01/19] KVM: arm64: Always start with clearing SVE flag on load commit: d52d165d67c5aa26c8c89909003c94a66492d23d [02/19] KVM: arm64: Always start with clearing SME flag on load commit: 039f49c4cafb785504c678f28664d088e0108d35 [03/19] KVM: arm64: Drop FP_FOREIGN_STATE from the hypervisor code commit: e9ada6c208c15c907afe5afb1aa82e23e81eb8ba [04/19] KVM: arm64: Move FP state ownership from flag to a tristate commit: f8077b0d59230cbb58e0b98839e04b564529a5ac [05/19] KVM: arm64: Add helpers to manipulate vcpu flags among a set commit: e87abb73e5946379896cf49b10f6b57e02937a4c [06/19] KVM: arm64: Add three sets of flags to the vcpu state commit: 690bacb83bc30d14821bd32cac1c5839b4a9ac6c [07/19] KVM: arm64: Move vcpu configuration flags into their own set commit: 4c0680d394d8a77868049931101e4a59372346b5 [08/19] KVM: arm64: Move vcpu PC/Exception flags to the input flag set commit: 699bb2e0c6f3796549dabac329501df7ffd99439 [09/19] KVM: arm64: Move vcpu debug/SPE/TRBE flags to the input flag set commit: b1da49088ac68a21c613efd734dada8272ec0b00 [10/19] KVM: arm64: Move vcpu SVE/SME flags to the state flag set commit: 0affa37fcd1d6f701a0fe805c4ceb7f348d377d5 [11/19] KVM: arm64: Move vcpu ON_UNSUPPORTED_CPU flag to the state flag set commit: aff3ccd7320eed5814d317fcb80244f474d66a84 [12/19] KVM: arm64: Move vcpu WFIT flag to the state flag set commit: eebc538d8e07e0ec759823664cbe2011a8bd885d [13/19] KVM: arm64: Kill unused vcpu flags field commit: 781e3ae148fd2f9b0cf9b5b94f6c32f2361eb7c0 [14/19] KVM: arm64: Convert vcpu sysregs_loaded_on_cpu to a state flag commit: 30b6ab45f81334e83dcb440451b6a4c4a753a118 [15/19] KVM: arm64: Warn when PENDING_EXCEPTION and INCREMENT_PC are set together commit: e19f2c6cd14668c0d5b1cef280632b7ca5893118 [16/19] KVM: arm64: Add build-time sanity checks for flags commit: 5a3984f4ec73d1c7cf31a4cee46cca7d4c75deee [17/19] KVM: arm64: Reduce the size of the vcpu flag members commit: 54ddda919c4bc37c113727034619c4e15c184334 [18/19] KVM: arm64: Document why pause cannot be turned into a flag commit: 0fa4a3137e943cd6acab386ff26cd8d5e94e9559 [19/19] KVM: arm64: Move the handling of !FP outside of the fast path commit: b4da91879e98bdd5998ee84f47f02426ac50a729 Cheers, M. -- Marc Zyngier <maz@xxxxxxxxxx>