On 8/13/2020 7:00 PM, Cornelia Huck wrote: > On Thu, 13 Aug 2020 18:26:54 +0800 > Peng Liang <[email protected]> wrote: > >> Introduce KVM_CAP_ARM_CPU_FEATURE to check whether KVM supports to set >> CPU features in ARM. >> >> Signed-off-by: zhanghailiang <[email protected]> >> Signed-off-by: Peng Liang <[email protected]> >> --- >> linux-headers/linux/kvm.h | 1 + >> target/arm/cpu.c | 5 +++++ >> target/arm/kvm64.c | 14 ++++++++++++++ >> target/arm/kvm_arm.h | 7 +++++++ >> 4 files changed, 27 insertions(+) >> >> diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h >> index a28c366737..0b83d2b4bb 100644 >> --- a/linux-headers/linux/kvm.h >> +++ b/linux-headers/linux/kvm.h >> @@ -1031,6 +1031,7 @@ struct kvm_ppc_resize_hpt { >> #define KVM_CAP_PPC_SECURE_GUEST 181 >> #define KVM_CAP_HALT_POLL 182 >> #define KVM_CAP_ASYNC_PF_INT 183 >> +#define KVM_CAP_ARM_CPU_FEATURE 187 >> >> #ifdef KVM_CAP_IRQ_ROUTING > > Please split out this header update into a separate patch so that it > can be replaced by a proper headers update once the kernel code has been > included. > > . > Sorry, I'll split out it.
- Re: [RFC 2/9] target/arm: parse cpu f... Andrew Jones
- [RFC 7/9] target/arm: Add CPU features to query-cp... Peng Liang
- Re: [RFC 7/9] target/arm: Add CPU features to... Andrew Jones
- Re: [RFC 7/9] target/arm: Add CPU feature... Peng Liang
- Re: [RFC 7/9] target/arm: Add CPU fea... Andrew Jones
- [RFC 1/9] target/arm: convert isar regs to array Peng Liang
- Re: [RFC 1/9] target/arm: convert isar regs t... Philippe Mathieu-Daudé
- Re: [RFC 1/9] target/arm: convert isar re... Richard Henderson
- [RFC 6/9] target/arm: introduce KVM_CAP_ARM_CPU_FE... Peng Liang
- Re: [RFC 6/9] target/arm: introduce KVM_CAP_A... Cornelia Huck
- Re: [RFC 6/9] target/arm: introduce KVM_C... Peng Liang
- [RFC 3/9] target/arm: register CPU features for pr... Peng Liang
- Re: [RFC 3/9] target/arm: register CPU featur... Andrew Jones
- [RFC 8/9] target/arm: Update ID fields Peng Liang
- [RFC 9/9] target/arm: Add more CPU features Peng Liang
- Re: [RFC 0/9] Support disable/enable CPU features ... Andrew Jones
- Re: [RFC 0/9] Support disable/enable CPU features ... no-reply
- Re: [RFC 0/9] Support disable/enable CPU features ... no-reply
- Re: [RFC 0/9] Support disable/enable CPU features ... no-reply
