[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC 6/9] target/arm: introduce KVM_CAP_ARM_CPU_FEATURE
From: |
Peng Liang |
Subject: |
Re: [RFC 6/9] target/arm: introduce KVM_CAP_ARM_CPU_FEATURE |
Date: |
Sat, 15 Aug 2020 10:19:08 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.1.1 |
On 8/13/2020 7:00 PM, Cornelia Huck wrote:
> On Thu, 13 Aug 2020 18:26:54 +0800
> Peng Liang <liangpeng10@huawei.com> wrote:
>
>> Introduce KVM_CAP_ARM_CPU_FEATURE to check whether KVM supports to set
>> CPU features in ARM.
>>
>> Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
>> Signed-off-by: Peng Liang <liangpeng10@huawei.com>
>> ---
>> 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 feature related options, (continued)
[RFC 3/9] target/arm: register CPU features for property, Peng Liang, 2020/08/13
[RFC 5/9] target/arm: introduce CPU feature dependency mechanism, Peng Liang, 2020/08/13
[RFC 6/9] target/arm: introduce KVM_CAP_ARM_CPU_FEATURE, Peng Liang, 2020/08/13
[RFC 1/9] target/arm: convert isar regs to array, Peng Liang, 2020/08/13
[RFC 7/9] target/arm: Add CPU features to query-cpu-model-expansion, Peng Liang, 2020/08/13
[RFC 9/9] target/arm: Add more CPU features, Peng Liang, 2020/08/13
[RFC 8/9] target/arm: Update ID fields, Peng Liang, 2020/08/13
Re: [RFC 0/9] Support disable/enable CPU features for AArch64, Andrew Jones, 2020/08/13