]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: disable dax page range checking on RA
authorRob Gardner <rob.gardner@oracle.com>
Wed, 5 Apr 2017 18:33:01 +0000 (12:33 -0600)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 24 Apr 2017 04:43:26 +0000 (21:43 -0700)
commita083c2c57ca342f18ea051c307bf711c1ba2abb2
tree2a5190ecd2f8bd1462fd30f4e85a91c4ae93a98d
parentfee10340f040e69a69db57244a79795a504dea2f
sparc64: disable dax page range checking on RA

Orabug: 25820812

This fix is to address a hypervisor f/w change which affects
T7 machines with 3.0 cpu and T8 machines. Newer HV f/w
pays attention to the page size field in real addresses.
This is not a bug; I asked them to implement this long ago.
A value of zero here means 8k, so RA buffers are restricted
to one page when running on newer firmware. The PRM defines a page
size of 0xF to mean "disable page range checking". We set this
value for all real addresses. Old f/w will overwrite this field
anyway, so it's safe for us to always set it.

Signed-off-by: Rob Gardner <rob.gardner@oracle.com>
Reviewed-by: Jonathan Helman <jonathan.helman@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/dax/dax_impl.h
arch/sparc/dax/dax_mm.c