Re: can we define a KVM_REG_ARM encoding bit for NonSecure/Secure ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6 March 2018 at 13:59, Marc Zyngier <marc.zyngier@xxxxxxx> wrote:
> On 05/03/18 14:01, Peter Maydell wrote:
>> #define KVM_REG_ARM_SECURE_MASK 0x0000000010000000
>>
>> in arch/arm/include/uapi/asm/kvm.h
>>
>> Does this seem like a good idea? (We could alternatively steal a bit
>> from the top of the rather-over-specified 12 bit field for copro
>> number, but AFAIK bit 28 isn't used currently so is free.)
>
> I guess that'd be fine. If we ever have KVM running in S-EL2 on a v8.4
> core, we'd be able to make use of this bit. Let's hope it never happens
> though.
>
> Would you be able to write a patch for this please?

Sure. It's been a long time since I wrote a kernel patch: what
git tree should I base it on ?

thanks
-- PMM
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux