xtensa: fix pgprot_noncached assumptions
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 17 Feb 2021 09:36:57 +0000 (01:36 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 4 Apr 2021 22:39:03 +0000 (15:39 -0700)
commitd4ff983e323870478f04054c1ba817b481eb1f19
tree0d182e56d8e09c0c6fb13b5c5b133c03f31e8087
parent4f22ca7e192ee313a83f8093ba5b5b2ca72d10e4
xtensa: fix pgprot_noncached assumptions

pgprot_noncached assumes that cache bypass attribute is represented as
zero. This may not always be true. Fix pgprot_noncached definition by
adding _PAGE_CA_BYPASS to the result.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/pgtable.h