On Thu, 2016-02-25 at 01:58 -0800, Dexuan Cui wrote: > "d1cd12108346: x86, pageattr: Prevent overflow in slow_virt_to_phys() for > X86_PAE" > was unintentionally removed by the recent > "34437e67a672: x86/mm: Fix slow_virt_to_phys() to handle large PAT bit". > > And, the variable 'phys_addr' was defined as "unsigned long" by mistake > -- it should > be "phys_addr_t". > > As a result, Hyper-V network driver in 32-PAE Linux guest can't work > again. > > Fixes: "commmit 34437e67a672: x86/mm: Fix slow_virt_to_phys() to handle > large PAT bit" > Signed-off-by: Dexuan Cui <[email protected]> > Cc: Toshi Kani <[email protected]> > Cc: Andrew Morton <[email protected]> > Cc: Thomas Gleixner <[email protected]> > Cc: K. Y. Srinivasan <[email protected]> > Cc: Haiyang Zhang <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected]
Thanks for the fix and adding the comment to explain the trick! The change looks good to me. Reviewed-by: Toshi Kani <[email protected]> -Toshi _______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
