aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorToshi Kani <[email protected]>2015-09-17 18:24:21 +0000
committerThomas Gleixner <[email protected]>2015-09-22 19:27:33 +0000
commitdaf3e35c5888e8bd6a2f5ed15ed392b2df362ecf (patch)
tree25cd9853a171e0691de368b90336b8b8d29e47b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentx86/mm: Fix slow_virt_to_phys() to handle large PAT bit (diff)
downloadkernel-daf3e35c5888e8bd6a2f5ed15ed392b2df362ecf.tar.gz
kernel-daf3e35c5888e8bd6a2f5ed15ed392b2df362ecf.zip
x86/mm: Fix gup_huge_p?d() to handle large PAT bit
gup_huge_pud() and gup_huge_pmd() cast *pud and *pmd to *pte, and use pte_xxx() interfaces to obtain the flags and PFN. However, the pte_xxx() interface does not handle the large PAT bit properly for PUD/PMD. Fix gup_huge_pud() and gup_huge_pmd() to use pud_xxx() and pmd_xxx() interfaces according to their type. Signed-off-by: Toshi Kani <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Juergen Gross <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Konrad Wilk <[email protected]> Cc: Robert Elliot <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions