Re: [PATCH v2 1/5] x86: hv: hyperv-tlfs.h: Create and use Hyper-V page definitions

2019-06-12 Thread Vitaly Kuznetsov
Maya Nakamura writes: > Define HV_HYP_PAGE_SHIFT, HV_HYP_PAGE_SIZE, and HV_HYP_PAGE_MASK because > the Linux guest page size and hypervisor page size concepts are > different, even though they happen to be the same value on x86. > > Also, replace PAGE_SIZE with HV_HYP_PAGE_SIZE. > > Signed-off-by

[PATCH v2 1/5] x86: hv: hyperv-tlfs.h: Create and use Hyper-V page definitions

2019-06-06 Thread Maya Nakamura
Define HV_HYP_PAGE_SHIFT, HV_HYP_PAGE_SIZE, and HV_HYP_PAGE_MASK because the Linux guest page size and hypervisor page size concepts are different, even though they happen to be the same value on x86. Also, replace PAGE_SIZE with HV_HYP_PAGE_SIZE. Signed-off-by: Maya Nakamura --- arch/x86/inclu