Re: [Update PATCH] x86/Hyper-V: Fix definition HV_MAX_FLUSH_REP_COUNT

From: Tianyu Lan
Date: Mon Feb 25 2019 - 09:33:26 EST


On Mon, Feb 25, 2019 at 10:19 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, Feb 25, 2019 at 10:12:14PM +0800, lantianyu1986@xxxxxxxxx wrote:
> > From: Lan Tianyu <Tianyu.Lan@xxxxxxxxxxxxx>
> >
> > The max flush rep count of HvFlushGuestPhysicalAddressList hypercall
> > is equal with how many entries of union hv_gpa_page_range can be populated
> > into the input parameter page. The origin code lacks parenthesis around
> > PAGE_SIZE - 2 * sizeof(u64). This patch is to fix it.
> >
> > Cc: <stable@xxxxxxxxxxxxxxx>
> > Fixs: cc4edae4b924 ("x86/hyper-v: Add HvFlushGuestAddressList hypercall support")
>
> "Fixes"

Sorry, fix this in the V2.
--
Best regards
Tianyu Lan