Re: [PATCH] hyperv: root partition faults writing to VP ASSIST MSR PAGE

From
Wei Liu <wei.liu@kernel.org>
Date
2021-07-20 13:39:00
Also in
lkml
Reply to
Praveen Kumar, 2021-07-20
On Tue, Jul 20, 2021 at 06:55:56PM +0530, Praveen Kumar wrote:
[...]
quoted
quoted
+	if (hv_root_partition &&
+	    ms_hyperv.features & HV_MSR_APIC_ACCESS_AVAILABLE) {
Is HV_MSR_APIC_ACCESS_AVAILABLE a root only flag? Shouldn't non-root
kernel check this too?
Yes, you are right. Will update this in v2. thanks.
Please split adding this check to its own patch.

Ideally one patch only does one thing.

Wei.
quoted
Wei.
Regards,

~Praveen.
Thread (11 messages) 11 messages, 3 authors, last reply 2021-07-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help