Re: [PATCH v5 06/16] x86/hyperv: allocate output arg pages if required

2021-01-20 Thread Pavel Tatashin
lian Grassin-Drake > Co-Developed-by: Lillian Grassin-Drake > Signed-off-by: Wei Liu Reviewed-by: Pavel Tatashin The new warnings reported by the robot are the same as for the input argument. Pasha > --- > v3: Fix hv_cpu_die to use free_pages. > v2: Address Vitaly's comments > -

Re: [PATCH v5 02/16] x86/hyperv: detect if Linux is the root partition

2021-01-20 Thread Pavel Tatashin
(a process to be finalized). Is this comment relevant? Do we have to mirror what Windows does? > +* > +* For now, use the privilege flag as the indicator for running as > +* root. > +*/ > + if (cpuid_ebx(HYP

Re: [PATCH v5 01/16] asm-generic/hyperv: change HV_CPU_POWER_MANAGEMENT to HV_CPU_MANAGEMENT

2021-01-20 Thread Pavel Tatashin
BIT(7) > #define HV_ACCESS_STATSBIT(8) > #define HV_DEBUGGING BIT(11) > -#define HV_CPU_POWER_MANAGEMENTBIT(12) > +#define HV_CPU_MANAGEMENT BIT(12) Reviewed-by: Pavel Tatashin __

Re: [PATCH v5 05/16] clocksource/hyperv: use MSR-based access if running as root

2021-01-20 Thread Pavel Tatashin
if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE)) > return false; > > + if (hv_root_partition) > + return false; > + Reviewed-by: Pavel Tatashin ___ Virtualization mailing list Virtualization@l

Re: [PATCH v5 04/16] iommu/hyperv: don't setup IRQ remapping when running as root

2021-01-20 Thread Pavel Tatashin
RV) || > x86_init.hyper.msi_ext_dest_id() || > - !x2apic_supported()) > + !x2apic_supported() || hv_root_partition) > return -ENODEV; Reviewed-by: Pavel Tatashin ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Re: [PATCH v5 03/16] Drivers: hv: vmbus: skip VMBus initialization if Linux is root

2021-01-20 Thread Pavel Tatashin
it(void) > if (!hv_is_hyperv_initialized()) > return -ENODEV; > > + if (hv_root_partition) > + return 0; > + Reviewed-by: Pavel Tatashin ___ Virtualization mailing list Virtualization@lists.linux