[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220815032025.2685516-1-tongtiangen@huawei.com>
Date: Mon, 15 Aug 2022 03:20:23 +0000
From: Tong Tiangen <tongtiangen@...wei.com>
To: Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Palmer Dabbelt <palmer@...osinc.com>,
Albert Ou <aou@...s.berkeley.edu>, <Conor.Dooley@...rochip.com>
CC: <linux-riscv@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
"Tong Tiangen" <tongtiangen@...wei.com>,
<wangkefeng.wang@...wei.com>, Guohanjun <guohanjun@...wei.com>
Subject: [PATCH -next v2 0/2]riscv: some refactorings realted to uaccess and extable
This patchset do some refactorings related to riscv's uaccess and extable,
mainly for the usage of __get/put_user_nocheck() which not distinguish user
access and kernel access.
v1 -> v2:
According to Conor's suggestion, split into two logically independent
patches.
Tong Tiangen (2):
riscv: uaccess: rename __get/put_user_nocheck to __get/put_mem_nocheck
riscv: extable: add new extable type EX_TYPE_KACCESS_ERR_ZERO support
arch/riscv/include/asm/asm-extable.h | 12 ++
arch/riscv/include/asm/uaccess.h | 162 +++++++++++++--------------
arch/riscv/mm/extable.c | 1 +
3 files changed, 94 insertions(+), 81 deletions(-)
--
2.25.1
Powered by blists - more mailing lists