linux/arch/arm
Matthew Wilcox (Oracle) 5d8de293c2 vmcore: convert copy_oldmem_page() to take an iov_iter
Patch series "Convert vmcore to use an iov_iter", v5.

For some reason several people have been sending bad patches to fix
compiler warnings in vmcore recently.  Here's how it should be done. 
Compile-tested only on x86.  As noted in the first patch, s390 should take
this conversion a bit further, but I'm not inclined to do that work
myself.


This patch (of 3):

Instead of passing in a 'buf' and 'userbuf' argument, pass in an iov_iter.
s390 needs more work to pass the iov_iter down further, or refactor, but
I'd be more comfortable if someone who can test on s390 did that work.

It's more convenient to convert the whole of read_from_oldmem() to take an
iov_iter at the same time, so rename it to read_from_oldmem_iter() and add
a temporary read_from_oldmem() wrapper that creates an iov_iter.

Link: https://lkml.kernel.org/r/20220408090636.560886-1-bhe@redhat.com
Link: https://lkml.kernel.org/r/20220408090636.560886-2-bhe@redhat.com
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-04-29 14:37:59 -07:00
..
boot ARM: dts: align SPI NOR node name with dtschema 2022-04-14 22:51:22 +02:00
common
configs ARM: config: Update Gemini defconfig 2022-04-14 22:59:24 +02:00
crypto This push fixes the following issues: 2022-03-31 11:17:39 -07:00
include Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2022-04-01 19:57:03 -07:00
kernel vmcore: convert copy_oldmem_page() to take an iov_iter 2022-04-29 14:37:59 -07:00
lib asm-generic updates for 5.18 2022-03-23 18:03:08 -07:00
mach-actions
mach-airoha ARM: Add basic support for Airoha EN7523 SoC 2022-03-01 09:02:01 +01:00
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 ARM: at91: Kconfig: select PM_OPP 2022-02-25 12:36:26 +01:00
mach-axxia
mach-bcm ARM: SoC updates for 5.18 2022-03-23 18:20:09 -07:00
mach-berlin
mach-clps711x
mach-cns3xxx
mach-davinci ARM: davinci: da850-evm: Avoid NULL pointer dereference 2022-04-04 16:31:40 +02:00
mach-digicolor
mach-dove
mach-ep93xx ep93xx: clock: Don't use plain integer as NULL pointer 2022-04-07 13:56:49 +02:00
mach-exynos pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config 2022-04-21 08:58:54 +02:00
mach-footbridge ARM: SoC updates for 5.18 2022-03-23 18:20:09 -07:00
mach-gemini
mach-highbank
mach-hisi
mach-imx
mach-integrator ARM: remove support for NOMMU ARMv4/v5 2022-03-17 09:13:13 +01:00
mach-iop32x ARM: iop32x: include iop3xx.h header where needed 2022-04-04 17:42:59 +02:00
mach-ixp4xx
mach-keystone
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-milbeaut
mach-mmp ARM: mmp: Fix failure to remove sram device 2022-02-25 16:38:34 +01:00
mach-moxart
mach-mstar ARM: SoC updates for 5.18 2022-03-23 18:20:09 -07:00
mach-mv78xx0
mach-mvebu
mach-mxs
mach-nomadik
mach-npcm
mach-nspire ARM: remove support for NOMMU ARMv4/v5 2022-03-17 09:13:13 +01:00
mach-omap1
mach-omap2 ARM: OMAP2+: Fix regression for smc calls for vmap stack 2022-03-31 22:41:27 +02:00
mach-orion5x ARM: remove support for NOMMU ARMv4/v5 2022-03-17 09:13:13 +01:00
mach-oxnas
mach-pxa ARM: SoC updates for 5.18 2022-03-23 18:20:09 -07:00
mach-qcom
mach-rda
mach-realtek
mach-realview
mach-rockchip
mach-rpc
mach-s3c ARM fixes for 5.18-rc1: 2022-04-03 10:17:48 -07:00
mach-s5pv210
mach-sa1100
mach-shmobile ARM: remove support for NOMMU ARMv4/v5 2022-03-17 09:13:13 +01:00
mach-socfpga
mach-spear ARM: spear: fix typos in comments 2022-03-19 22:33:59 +01:00
mach-sti
mach-stm32
mach-sunxi
mach-tegra
mach-uniphier
mach-ux500 ARM: remove support for NOMMU ARMv4/v5 2022-03-17 09:13:13 +01:00
mach-versatile
mach-vexpress ARM: vexpress/spc: Fix all the kernel-doc build warnings 2022-04-07 10:50:01 +01:00
mach-vt8500
mach-zynq
mm Merge branches 'fixes' and 'misc' into for-linus 2022-04-01 16:12:31 +01:00
net bpf, arm: Fix various typos in comments 2022-03-21 16:20:26 +01:00
nwfpe
plat-omap
plat-orion
plat-pxa
plat-versatile
probes ARM development updates for 5.18: 2022-03-23 17:35:57 -07:00
tools arch: syscalls: simplify uapi/kapi directory creation 2022-03-31 12:03:46 +09:00
vdso ARM: 9181/1: vdso: remove -nostdlib compiler flag 2022-02-28 13:59:45 +00:00
vfp
xen arm/xen: Fix some refcount leaks 2022-04-22 13:33:33 -07:00
Kbuild
Kconfig dma-mapping updates for Linux 5.18 2022-03-29 08:50:14 -07:00
Kconfig-nommu
Kconfig.assembler
Kconfig.debug ARM development updates for 5.18: 2022-03-23 17:35:57 -07:00
Makefile ARM: DT updates for 5.18 2022-03-23 18:37:22 -07:00