Stephen Rothwell [Tue, 1 Mar 2022 08:09:04 +0000 (19:09 +1100)]
Merge branch 'for-next' of git://git.infradead.org/users/willy/pagecache.git
# Conflicts:
# drivers/gpu/drm/drm_cache.c
Stephen Rothwell [Tue, 1 Mar 2022 07:52:37 +0000 (18:52 +1100)]
Merge branch 'sysctl-next' of git://git./linux/kernel/git/mcgrof/linux.git
# Conflicts:
# include/linux/sched/sysctl.h
# kernel/sysctl.c
Stephen Rothwell [Tue, 1 Mar 2022 07:36:12 +0000 (18:36 +1100)]
Merge branch 'rust-next' of https://github.com/Rust-for-Linux/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 07:19:49 +0000 (18:19 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/mic/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 07:10:19 +0000 (18:10 +1100)]
Merge branch 'master' of git://git./linux/kernel/git/crng/random.git
Stephen Rothwell [Tue, 1 Mar 2022 07:08:09 +0000 (18:08 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/vbabka/slab.git
Stephen Rothwell [Tue, 1 Mar 2022 07:08:08 +0000 (18:08 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/efi/efi.git
Stephen Rothwell [Tue, 1 Mar 2022 07:06:30 +0000 (18:06 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/cxl/cxl.git
Stephen Rothwell [Tue, 1 Mar 2022 06:54:32 +0000 (17:54 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/rppt/memblock.git
Stephen Rothwell [Tue, 1 Mar 2022 06:52:57 +0000 (17:52 +1100)]
Merge branch 'mhi-next' of git://git./linux/kernel/git/mani/mhi.git
Stephen Rothwell [Tue, 1 Mar 2022 06:50:36 +0000 (17:50 +1100)]
Merge branch 'kunit' of git://git./linux/kernel/git/shuah/linux-kselftest.git
Stephen Rothwell [Tue, 1 Mar 2022 06:49:01 +0000 (17:49 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/mdf/linux-fpga.git
Stephen Rothwell [Tue, 1 Mar 2022 06:46:35 +0000 (17:46 +1100)]
Merge branch 'hyperv-next' of git://git./linux/kernel/git/hyperv/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 06:30:28 +0000 (17:30 +1100)]
Merge branch 'main' of git://git.infradead.org/users/willy/xarray.git
Stephen Rothwell [Tue, 1 Mar 2022 06:28:51 +0000 (17:28 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/srini/nvmem.git
# Conflicts:
# MAINTAINERS
# drivers/nvmem/Kconfig
# drivers/nvmem/Makefile
Stephen Rothwell [Tue, 1 Mar 2022 06:27:16 +0000 (17:27 +1100)]
Merge branch 'ntb-next' of https://github.com/jonmason/ntb.git
Stephen Rothwell [Tue, 1 Mar 2022 06:25:06 +0000 (17:25 +1100)]
Merge branch 'libnvdimm-for-next' of git://git./linux/kernel/git/nvdimm/nvdimm.git
Stephen Rothwell [Tue, 1 Mar 2022 06:22:45 +0000 (17:22 +1100)]
Merge branch 'rtc-next' of git://git./linux/kernel/git/abelloni/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 06:21:00 +0000 (17:21 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/coresight/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 06:19:46 +0000 (17:19 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/livepatching/livepatching
Stephen Rothwell [Tue, 1 Mar 2022 06:18:32 +0000 (17:18 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/shuah/linux-kselftest.git
Stephen Rothwell [Tue, 1 Mar 2022 06:16:21 +0000 (17:16 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/ebiederm/user-namespace.git
Stephen Rothwell [Tue, 1 Mar 2022 06:14:08 +0000 (17:14 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/thierry.reding/linux-pwm.git
Stephen Rothwell [Tue, 1 Mar 2022 06:11:43 +0000 (17:11 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/linusw/linux-pinctrl.git
Stephen Rothwell [Tue, 1 Mar 2022 06:09:30 +0000 (17:09 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/andy/linux-gpio-intel.git
Stephen Rothwell [Tue, 1 Mar 2022 06:05:54 +0000 (17:05 +1100)]
Merge branch 'gpio/for-next' of git://git./linux/kernel/git/brgl/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 06:03:42 +0000 (17:03 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/remoteproc/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 06:01:21 +0000 (17:01 +1100)]
Merge branch 'linux-next' of git://git./linux/kernel/git/mst/vhost.git
Stephen Rothwell [Tue, 1 Mar 2022 05:58:42 +0000 (16:58 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/mkp/scsi.git
Stephen Rothwell [Tue, 1 Mar 2022 05:48:04 +0000 (16:48 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/jejb/scsi.git
# Conflicts:
# block/blk-lib.c
# drivers/block/rnbd/rnbd-clt.c
Stephen Rothwell [Tue, 1 Mar 2022 05:48:03 +0000 (16:48 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/tj/cgroup.git
Stephen Rothwell [Tue, 1 Mar 2022 05:45:53 +0000 (16:45 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/vkoul/dmaengine.git
Stephen Rothwell [Tue, 1 Mar 2022 05:44:17 +0000 (16:44 +1100)]
Merge branch 'icc-next' of git://git./linux/kernel/git/djakov/icc.git
Stephen Rothwell [Tue, 1 Mar 2022 05:28:05 +0000 (16:28 +1100)]
Merge branch 'togreg' of git://git./linux/kernel/git/jic23/iio.git
# Conflicts:
# .mailmap
# drivers/iio/accel/fxls8962af-core.c
Stephen Rothwell [Tue, 1 Mar 2022 05:25:36 +0000 (16:25 +1100)]
Merge branch 'staging-next' of git://git./linux/kernel/git/gregkh/staging.git
# Conflicts:
# drivers/staging/fbtft/fbtft.h
Stephen Rothwell [Tue, 1 Mar 2022 05:24:00 +0000 (16:24 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/westeri/thunderbolt.git
Stephen Rothwell [Tue, 1 Mar 2022 05:22:26 +0000 (16:22 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/vkoul/soundwire.git
Stephen Rothwell [Tue, 1 Mar 2022 05:20:12 +0000 (16:20 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/phy/linux-phy.git
Stephen Rothwell [Tue, 1 Mar 2022 05:17:50 +0000 (16:17 +1100)]
Merge branch 'extcon-next' of git://git./linux/kernel/git/chanwoo/extcon.git
# Conflicts:
# drivers/power/supply/max8997_charger.c
Stephen Rothwell [Tue, 1 Mar 2022 05:14:42 +0000 (16:14 +1100)]
Stephen Rothwell [Tue, 1 Mar 2022 04:54:17 +0000 (15:54 +1100)]
Merge branch 'tty-next' of git://git./linux/kernel/git/gregkh/tty.git
# Conflicts:
# MAINTAINERS
Stephen Rothwell [Tue, 1 Mar 2022 04:54:16 +0000 (15:54 +1100)]
Merge branch 'for-usb-next' of git://git./linux/kernel/git/peter.chen/usb.git
Stephen Rothwell [Tue, 1 Mar 2022 04:51:50 +0000 (15:51 +1100)]
Merge branch 'usb-next' of git://git./linux/kernel/git/gregkh/usb.git
# Conflicts:
# arch/arm64/boot/dts/qcom/ipq6018.dtsi
# arch/arm64/boot/dts/xilinx/zynqmp.dtsi
Stephen Rothwell [Tue, 1 Mar 2022 04:35:42 +0000 (15:35 +1100)]
Merge branch 'driver-core-next' of git://git./linux/kernel/git/gregkh/driver-core.git
# Conflicts:
# drivers/power/supply/ab8500_chargalg.c
Stephen Rothwell [Tue, 1 Mar 2022 04:34:07 +0000 (15:34 +1100)]
Merge branch 'for-next' of git://github.com/cminyard/linux-ipmi.git
Stephen Rothwell [Tue, 1 Mar 2022 04:32:32 +0000 (15:32 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/pavel/linux-leds.git
Stephen Rothwell [Tue, 1 Mar 2022 04:30:58 +0000 (15:30 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/chrome-platform/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 04:29:19 +0000 (15:29 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/pdx86/platform-drivers-x86.git
Stephen Rothwell [Tue, 1 Mar 2022 04:27:09 +0000 (15:27 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/tj/wq.git
Stephen Rothwell [Tue, 1 Mar 2022 04:27:09 +0000 (15:27 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/dennis/percpu.git
Stephen Rothwell [Tue, 1 Mar 2022 04:25:56 +0000 (15:25 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/kvms390/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 04:22:54 +0000 (15:22 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/kvmarm/kvmarm.git
Stephen Rothwell [Tue, 1 Mar 2022 04:20:25 +0000 (15:20 +1100)]
Merge branch 'next' of git://git./virt/kvm/kvm.git
# Conflicts:
# arch/x86/kvm/x86.c
Stephen Rothwell [Tue, 1 Mar 2022 04:04:05 +0000 (15:04 +1100)]
Merge branch 'rcu/next' of git://git./linux/kernel/git/paulmck/linux-rcu.git
# Conflicts:
# kernel/rcu/tree_plugin.h
Stephen Rothwell [Tue, 1 Mar 2022 04:01:40 +0000 (15:01 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/rostedt/linux-trace.git
Stephen Rothwell [Tue, 1 Mar 2022 03:52:55 +0000 (14:52 +1100)]
Merge branch 'irq/irqchip-next' of git://git./linux/kernel/git/maz/arm-platforms.git
# Conflicts:
# drivers/pinctrl/pinctrl-starfive.c
Stephen Rothwell [Tue, 1 Mar 2022 03:51:20 +0000 (14:51 +1100)]
Merge branch 'edac-for-next' of git://git./linux/kernel/git/ras/ras.git
Stephen Rothwell [Tue, 1 Mar 2022 03:49:08 +0000 (14:49 +1100)]
Merge branch 'timers/drivers/next' of git://git.linaro.org/people/daniel.lezcano/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 03:32:40 +0000 (14:32 +1100)]
Merge branch 'auto-latest' of git://git./linux/kernel/git/tip/tip.git
Stephen Rothwell [Tue, 1 Mar 2022 03:29:32 +0000 (14:29 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/broonie/spi.git
# Conflicts:
# arch/arm/mach-pxa/stargate2.c
Stephen Rothwell [Tue, 1 Mar 2022 03:24:55 +0000 (14:24 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/robh/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 03:22:47 +0000 (14:22 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/pcmoore/audit.git
Stephen Rothwell [Tue, 1 Mar 2022 03:20:20 +0000 (14:20 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/joro/iommu.git
Stephen Rothwell [Tue, 1 Mar 2022 03:17:58 +0000 (14:17 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/jarkko/linux-tpmdd.git
Stephen Rothwell [Tue, 1 Mar 2022 03:01:35 +0000 (14:01 +1100)]
Merge branch 'master' of https://scm.osdn.net/gitroot/tomoyo/tomoyo-test1.git
Stephen Rothwell [Tue, 1 Mar 2022 02:59:25 +0000 (13:59 +1100)]
Merge branch 'next' of git://github.com/cschaufler/smack-next
Stephen Rothwell [Tue, 1 Mar 2022 02:52:05 +0000 (13:52 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/pcmoore/selinux.git
Stephen Rothwell [Tue, 1 Mar 2022 02:49:52 +0000 (13:49 +1100)]
Merge branch 'next-integrity' of git://git./linux/kernel/git/zohar/linux-integrity
Stephen Rothwell [Tue, 1 Mar 2022 02:47:38 +0000 (13:47 +1100)]
Merge branch 'apparmor-next' of git://git./linux/kernel/git/jj/linux-apparmor
Stephen Rothwell [Tue, 1 Mar 2022 02:47:37 +0000 (13:47 +1100)]
Merge branch 'next-testing' of git://git./linux/kernel/git/jmorris/linux-security.git
Stephen Rothwell [Tue, 1 Mar 2022 02:45:49 +0000 (13:45 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/broonie/regulator.git
Stephen Rothwell [Tue, 1 Mar 2022 02:43:10 +0000 (13:43 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/sre/linux-power-supply.git
Stephen Rothwell [Tue, 1 Mar 2022 02:40:45 +0000 (13:40 +1100)]
Merge branch 'for-mfd-next' of git://git./linux/kernel/git/lee/mfd.git
Stephen Rothwell [Tue, 1 Mar 2022 02:39:08 +0000 (13:39 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/ulfh/mmc.git
Stephen Rothwell [Tue, 1 Mar 2022 02:37:31 +0000 (13:37 +1100)]
Merge branch 'pcmcia-next' of git://git./linux/kernel/git/brodo/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 02:35:40 +0000 (13:35 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/dlemoal/libata.git
Stephen Rothwell [Tue, 1 Mar 2022 02:33:19 +0000 (13:33 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/device-mapper/linux-dm.git
Stephen Rothwell [Tue, 1 Mar 2022 02:22:37 +0000 (13:22 +1100)]
Merge branch 'for-next' of git://git.kernel.dk/linux-block.git
# Conflicts:
# fs/iomap/direct-io.c
Stephen Rothwell [Tue, 1 Mar 2022 02:21:03 +0000 (13:21 +1100)]
Merge branch 'next' of git://git./linux/kernel/git/dtor/input.git
Stephen Rothwell [Tue, 1 Mar 2022 02:19:10 +0000 (13:19 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/broonie/sound.git
Stephen Rothwell [Tue, 1 Mar 2022 02:16:03 +0000 (13:16 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/tiwai/sound.git
Stephen Rothwell [Tue, 1 Mar 2022 02:13:54 +0000 (13:13 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/broonie/regmap.git
Stephen Rothwell [Tue, 1 Mar 2022 02:12:17 +0000 (13:12 +1100)]
Merge branch 'for-next' of git://git./linux/kernel/git/deller/linux-fbdev.git
Stephen Rothwell [Tue, 1 Mar 2022 02:10:43 +0000 (13:10 +1100)]
Merge branch 'imx-drm/next' of https://git.pengutronix.de/git/pza/linux
Stephen Rothwell [Tue, 1 Mar 2022 02:09:05 +0000 (13:09 +1100)]
Merge branch 'msm-next' of https://gitlab.freedesktop.org/drm/msm.git
Stephen Rothwell [Tue, 1 Mar 2022 02:07:54 +0000 (13:07 +1100)]
Merge branch 'drm/tegra/for-next' of git://anongit.freedesktop.org/tegra/linux.git
Stephen Rothwell [Tue, 1 Mar 2022 02:04:37 +0000 (13:04 +1100)]
Merge branch 'for-linux-next' of git://anongit.freedesktop.org/drm-intel
# Conflicts:
# drivers/gpu/drm/dp/drm_dp.c
# drivers/gpu/drm/i915/display/intel_bw.c
# drivers/gpu/drm/i915/display/intel_snps_phy.c
Stephen Rothwell [Tue, 1 Mar 2022 02:02:42 +0000 (13:02 +1100)]
Merge branch 'drm-next' of https://gitlab.freedesktop.org/agd5f/linux
Matthew Wilcox (Oracle) [Sun, 25 Jul 2021 03:43:58 +0000 (23:43 -0400)]
selftests/vm/transhuge-stress: Support file-backed PMD folios
Add a -f <filename> option to test PMD folios on files
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Matthew Wilcox (Oracle) [Sun, 25 Jul 2021 03:37:13 +0000 (23:37 -0400)]
mm/filemap: Support VM_HUGEPAGE for file mappings
If the VM_HUGEPAGE flag is set, attempt to allocate PMD-sized folios
during readahead, even if we have no history of readahead being
successful.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Matthew Wilcox (Oracle) [Sun, 25 Jul 2021 03:26:14 +0000 (23:26 -0400)]
mm/readahead: Switch to page_cache_ra_order
do_page_cache_ra() was being exposed for the benefit of
do_sync_mmap_readahead(). Switch it over to page_cache_ra_order()
partly because it's a better interface but mostly for the benefit of
the next patch.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
William Kucharski [Sun, 22 Sep 2019 12:43:15 +0000 (08:43 -0400)]
mm/readahead: Align file mappings for non-DAX
When we have the opportunity to use PMDs to map a file, we want to follow
the same rules as DAX.
Signed-off-by: William Kucharski <william.kucharski@oracle.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Matthew Wilcox (Oracle) [Wed, 5 Feb 2020 16:27:01 +0000 (11:27 -0500)]
mm/readahead: Add large folio readahead
Allocate large folios in the readahead code when the filesystem supports
them and it seems worth doing. The heuristic for choosing which folio
sizes will surely need some tuning, but this aggressive ramp-up has been
good for testing.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Matthew Wilcox (Oracle) [Sat, 30 May 2020 00:54:38 +0000 (20:54 -0400)]
mm: Support arbitrary THP sizes
For code which has not yet been converted from THP to folios, use the
compound size of the page instead of assuming PTE or PMD size.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Matthew Wilcox (Oracle) [Sun, 16 Jan 2022 04:27:08 +0000 (23:27 -0500)]
mm: Make large folios depend on THP
Some parts of the VM still depend on THP to handle large folios
correctly. Until those are fixed, prevent creating large folios
if THP are disabled.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Matthew Wilcox (Oracle) [Sat, 10 Oct 2020 15:47:55 +0000 (11:47 -0400)]
mm: Fix READ_ONLY_THP warning
These counters only exist if CONFIG_READ_ONLY_THP_FOR_FS is defined,
but we do not need to warn if the filesystem natively supports large
folios.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Matthew Wilcox (Oracle) [Thu, 5 Sep 2019 18:03:12 +0000 (14:03 -0400)]
mm/filemap: Allow large folios to be added to the page cache
We return -EEXIST if there are any non-shadow entries in the page
cache in the range covered by the folio. If there are multiple
shadow entries in the range, we set *shadowp to one of them (currently
the one at the highest index). If that turns out to be the wrong
answer, we can implement something more complex. This is mostly
modelled after the equivalent function in the shmem code.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Matthew Wilcox (Oracle) [Fri, 4 Feb 2022 19:13:31 +0000 (14:13 -0500)]
mm: Turn can_split_huge_page() into can_split_folio()
This function already required a head page to be passed, so this
just adds type-safety and removes a few implicit calls to
compound_head().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Matthew Wilcox (Oracle) [Tue, 18 Jan 2022 04:35:57 +0000 (23:35 -0500)]
mm/vmscan: Convert pageout() to take a folio
We always write out an entire folio at once. This conversion removes
a few calls to compound_head() and gets the NR_VMSCAN_WRITE statistic
right when writing out a large folio.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Matthew Wilcox (Oracle) [Tue, 15 Feb 2022 18:44:40 +0000 (13:44 -0500)]
mm/vmscan: Turn page_check_references() into folio_check_references()
This function only has one caller, and it already has a folio. This
removes a number of calls to compound_head().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>