Re: [kvm-unit-tests PATCH] x86: Add tests for PKS

2021-01-27 Thread Paolo Bonzini
On 19/01/21 08:41, Chenyi Qiang wrote: Hi Paolo, Thank you for your time. I was just thinking about resending this patch series to ping you although no changes will be added. I really hope to get the comments from you. Do you want me to resend a new non-RFC version as well as the QEMU

Re: [kvm-unit-tests PATCH] x86: Add tests for PKS

2021-01-19 Thread Chenyi Qiang
On 1/19/2021 2:27 AM, Paolo Bonzini wrote: On 18/01/21 18:45, Thomas Huth wrote: On 05/11/2020 09.18, Chenyi Qiang wrote: This unit-test is intended to test the KVM support for Protection Keys for Supervisor Pages (PKS). If CR4.PKS is set in long mode, supervisor pkeys are checked in

Re: [kvm-unit-tests PATCH] x86: Add tests for PKS

2021-01-18 Thread Paolo Bonzini
On 18/01/21 18:45, Thomas Huth wrote: On 05/11/2020 09.18, Chenyi Qiang wrote: This unit-test is intended to test the KVM support for Protection Keys for Supervisor Pages (PKS). If CR4.PKS is set in long mode, supervisor pkeys are checked in addition to normal paging protections and Access or

Re: [kvm-unit-tests PATCH] x86: Add tests for PKS

2021-01-18 Thread Thomas Huth
On 05/11/2020 09.18, Chenyi Qiang wrote: This unit-test is intended to test the KVM support for Protection Keys for Supervisor Pages (PKS). If CR4.PKS is set in long mode, supervisor pkeys are checked in addition to normal paging protections and Access or Write can be disabled via a MSR update

[kvm-unit-tests PATCH] x86: Add tests for PKS

2020-11-05 Thread Chenyi Qiang
This unit-test is intended to test the KVM support for Protection Keys for Supervisor Pages (PKS). If CR4.PKS is set in long mode, supervisor pkeys are checked in addition to normal paging protections and Access or Write can be disabled via a MSR update without TLB flushes when permissions change.

[kvm-unit-tests PATCH] x86: Add tests for PKS

2020-10-13 Thread Chenyi Qiang
This unit-test is intended to test the KVM support for Protection Keys for Supervisor Pages (PKS). If CR4.PKS is set in long mode, supervisor pkeys are checked in addition to normal paging protections and Access or Write can be disabled via a MSR update without TLB flushes when permissions change.