linux-stable/arch/arm
Kefeng Wang e025ab842e mm: remove kern_addr_valid() completely
Most architectures (except arm64/x86/sparc) simply return 1 for
kern_addr_valid(), which is only used in read_kcore(), and it calls
copy_from_kernel_nofault() which could check whether the address is a
valid kernel address.  So as there is no need for kern_addr_valid(), let's
remove it.

Link: https://lkml.kernel.org/r/20221018074014.185687-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>	[m68k]
Acked-by: Heiko Carstens <hca@linux.ibm.com>		[s390]
Acked-by: Christoph Hellwig <hch@lst.de>
Acked-by: Helge Deller <deller@gmx.de>			[parisc]
Acked-by: Michael Ellerman <mpe@ellerman.id.au>		[powerpc]
Acked-by: Guo Ren <guoren@kernel.org>			[csky]
Acked-by: Catalin Marinas <catalin.marinas@arm.com>	[arm64]
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: <aou@eecs.berkeley.edu>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Chris Zankel <chris@zankel.net>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Greg Ungerer <gerg@linux-m68k.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Palmer Dabbelt <palmer@rivosinc.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Rich Felker <dalias@libc.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Stafford Horne <shorne@gmail.com>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Vineet Gupta <vgupta@kernel.org>
Cc: Will Deacon <will@kernel.org>
Cc: Xuerui Wang <kernel@xen0n.name>
Cc: Yoshinori Sato <ysato@users.osdn.me>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-11-08 17:37:18 -08:00
..
boot ARM: dts: ux500: Add trips to battery thermal zones 2022-11-01 12:21:17 +01:00
common ARM/dma-mapping: remove dmabounce 2022-07-07 18:18:56 +02:00
configs - Yu Zhao's Multi-Gen LRU patches are here. They've been under test in 2022-10-10 17:53:04 -07:00
crypto crypto: Kconfig - simplify cipher entries 2022-08-26 18:50:43 +08:00
include mm: remove kern_addr_valid() completely 2022-11-08 17:37:18 -08:00
kernel Random number generator fixes for Linux 6.1-rc1. 2022-10-16 15:27:07 -07:00
lib ARM: 9233/1: stacktrace: Skip frame pointer boundary check for call_with_stack() 2022-10-04 11:09:47 +01:00
mach-actions
mach-airoha
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed ARM: aspeed: Kconfig: Fix indentation 2022-09-28 22:33:55 +02:00
mach-at91 These are the pin control changes for the v6.1 kernel cycle: 2022-10-11 10:59:59 -07:00
mach-axxia ARM: Fix refcount leak in axxia_boot_secondary 2022-06-14 12:19:13 +02:00
mach-bcm SPDX changes for 6.0-rc1 2022-08-04 12:12:54 -07:00
mach-berlin
mach-clps711x
mach-cns3xxx ARM: cns3xxx: add CONFIG_UNUSED_BOARD_FILES dependency 2022-07-22 14:18:52 +02:00
mach-davinci ARM: SoC code changes for 6.1 2022-10-06 11:22:25 -07:00
mach-digicolor
mach-dove ARM: make ARCH_MULTIPLATFORM user-visible 2022-08-30 11:18:09 +02:00
mach-ep93xx TTY/Serial driver update for 6.1-rc1 2022-10-07 16:36:24 -07:00
mach-exynos ARM: exynos: Fix refcount leak in exynos_map_pmu 2022-06-06 10:40:57 +02:00
mach-footbridge Merge branch 'arm-multiplatform-cleanup' of https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc into arm/soc 2022-09-15 22:20:59 +02:00
mach-gemini
mach-highbank ARM/dma-mapping: use dma-direct unconditionally 2022-07-07 18:18:57 +02:00
mach-hisi genirq: GENERIC_IRQ_EFFECTIVE_AFF_MASK depends on SMP 2022-07-07 09:38:04 +01:00
mach-hpe ARM: hpe: Introduce the HPE GXP architecture 2022-05-18 14:05:53 +02:00
mach-imx ARM: Kconfig: clean up platform selection 2022-08-18 16:44:59 +02:00
mach-iop32x ARM: remove obsolete Makefile.boot infrastructure 2022-08-18 16:44:59 +02:00
mach-ixp4xx ARM: ixp4xx: fix typos in comments 2022-08-29 11:06:16 +02:00
mach-keystone
mach-lpc18xx ARM: remove obsolete Makefile.boot infrastructure 2022-08-18 16:44:59 +02:00
mach-lpc32xx ARM: remove obsolete Makefile.boot infrastructure 2022-08-18 16:44:59 +02:00
mach-mediatek
mach-meson ARM: meson: Fix refcount leak in meson_smp_prepare_cpus 2022-06-10 08:43:05 +02:00
mach-milbeaut
mach-mmp ARM: mmp: Make some symbols static 2022-10-10 10:40:10 +02:00
mach-moxart
mach-mstar
mach-mv78xx0 ARM: make ARCH_MULTIPLATFORM user-visible 2022-08-30 11:18:09 +02:00
mach-mvebu ARM: make ARCH_MULTIPLATFORM user-visible 2022-08-30 11:18:09 +02:00
mach-mxs
mach-nomadik ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
mach-npcm
mach-nspire ARM: Kconfig: clean up platform selection 2022-08-18 16:44:59 +02:00
mach-omap1 - Core Frameworks 2022-10-07 11:24:20 -07:00
mach-omap2 SPDX changes for 6.0-rc1 2022-08-04 12:12:54 -07:00
mach-orion5x ARM: make ARCH_MULTIPLATFORM user-visible 2022-08-30 11:18:09 +02:00
mach-oxnas
mach-pxa - Core Frameworks 2022-08-06 10:25:16 -07:00
mach-qcom ARM: mach-qcom: Add support for MSM8909 2022-07-18 18:06:08 -05:00
mach-rda
mach-realtek
mach-rockchip ARM: rockchip: Add missing of_node_put() in rockchip_suspend_init() 2022-06-17 19:05:51 +02:00
mach-rpc ARM: Kconfig: clean up platform selection 2022-08-18 16:44:59 +02:00
mach-s3c USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
mach-s5pv210
mach-sa1100 ARM: Kconfig: clean up platform selection 2022-08-18 16:44:59 +02:00
mach-shmobile ARM: shmobile: Drop selecting SOC_BUS 2022-09-18 14:51:10 +02:00
mach-socfpga
mach-spear ARM: spear6xx: Staticize few definitions 2022-10-10 10:38:33 +02:00
mach-sti
mach-stm32 ARM: remove obsolete Makefile.boot infrastructure 2022-08-18 16:44:59 +02:00
mach-sunplus ARM: sunplus: fix serial console kconfig and build problems 2022-09-23 14:20:00 +02:00
mach-sunxi ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
mach-tegra
mach-uniphier
mach-ux500
mach-versatile TTY/Serial driver update for 6.1-rc1 2022-10-07 16:36:24 -07:00
mach-vt8500 ARM: remove obsolete Makefile.boot infrastructure 2022-08-18 16:44:59 +02:00
mach-zynq cpufreq: zynq: Fix refcount leak in zynq_get_revision 2022-06-29 14:12:08 +02:00
mm dma-mapping updates for Linux 6.1 2022-10-10 13:24:55 -07:00
net bpf, arm: Remove unused function emit_a32_alu_r() 2022-06-14 22:04:16 +02:00
nwfpe
plat-orion ARM: orion: fix include path 2022-09-23 21:55:54 +02:00
probes ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction 2022-07-06 22:44:49 +01:00
tools
vdso
vfp
xen xen: don't require virtio with grants for non-PV guests 2022-08-01 07:43:03 +02:00
Kbuild
Kconfig - Yu Zhao's Multi-Gen LRU patches are here. They've been under test in 2022-10-10 17:53:04 -07:00
Kconfig-nommu
Kconfig.assembler
Kconfig.debug ARM: make ARCH_MULTIPLATFORM user-visible 2022-08-30 11:18:09 +02:00
Makefile Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00