diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2023-02-14 09:39:24 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-03-20 11:02:50 +0100 |
commit | e4c31004d3348202d4bc0bcdf662bf9d9d3e11cb (patch) | |
tree | 930598f4dea6402e90ec4875f7b74df0a7be9a6a /arch/s390 | |
parent | s390/boot: rework decompressor reserved tracking (diff) | |
download | linux-e4c31004d3348202d4bc0bcdf662bf9d9d3e11cb.tar.xz linux-e4c31004d3348202d4bc0bcdf662bf9d9d3e11cb.zip |
s390/mm,pageattr: allow KASAN shadow memory
Allow changing page table attributes for KASAN shadow memory ranges.
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/mm/pageattr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/mm/pageattr.c b/arch/s390/mm/pageattr.c index 85195c18b2e8..7838e9c70000 100644 --- a/arch/s390/mm/pageattr.c +++ b/arch/s390/mm/pageattr.c @@ -300,8 +300,6 @@ static int change_page_attr(unsigned long addr, unsigned long end, if (addr == end) return 0; - if (end >= MODULES_END) - return -EINVAL; mutex_lock(&cpa_mutex); pgdp = pgd_offset_k(addr); do { |