summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2023-09-25 20:31:15 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2023-10-09 13:37:31 +0200
commit5d9cea8a552ee122e21fbd5a3c5d4eb85f648e06 (patch)
treeac52c4515bcd1d871b87731a876554b367be03a0 /sound
parentpowerpc/pseries: Remove unused r0 in the hcall tracing code (diff)
downloadlinux-5d9cea8a552ee122e21fbd5a3c5d4eb85f648e06.tar.xz
linux-5d9cea8a552ee122e21fbd5a3c5d4eb85f648e06.zip
powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
On 8xx, PAGE_NONE is handled by setting _PAGE_NA instead of clearing _PAGE_USER. But then pte_user() returns 1 also for PAGE_NONE. As _PAGE_NA prevent reads, add a specific version of pte_read() that returns 0 when _PAGE_NA is set instead of always returning 1. Fixes: 351750331fc1 ("powerpc/mm: Introduce _PAGE_NA") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/57bcfbe578e43123f9ed73e040229b80f1ad56ec.1695659959.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions