summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/kernel
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2022-10-12 16:36:14 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2022-10-12 16:36:14 +0800
commit235d074fdc9a69e3720b8bb6efeb7c6d30c12d8e (patch)
tree2ad87b94ebfa30791c7c9cf2ccf4eb41a263ceeb /arch/loongarch/kernel
parentb61a40afca164a9bd066f749beff3bf209c5e209 (diff)
downloadlinux-235d074fdc9a69e3720b8bb6efeb7c6d30c12d8e.tar.bz2
LoongArch: Support access filter to /dev/mem interface
Accidental access to /dev/mem is obviously disastrous, but specific access can be used by people debugging the kernel. So select GENERIC_ LIB_DEVMEM_IS_ALLOWED, as well as define ARCH_HAS_VALID_PHYS_ADDR_RANGE and related helpers, to support access filter to /dev/mem interface. Signed-off-by: Weihao Li <liweihao@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/kernel')
0 files changed, 0 insertions, 0 deletions