linux-xiaomi-chiron/drivers
Linus Torvalds 9030fb0bb9 Folio changes for 5.18
- Rewrite how munlock works to massively reduce the contention
    on i_mmap_rwsem (Hugh Dickins):
    https://lore.kernel.org/linux-mm/8e4356d-9622-a7f0-b2c-f116b5f2efea@google.com/
  - Sort out the page refcount mess for ZONE_DEVICE pages (Christoph Hellwig):
    https://lore.kernel.org/linux-mm/20220210072828.2930359-1-hch@lst.de/
  - Convert GUP to use folios and make pincount available for order-1
    pages. (Matthew Wilcox)
  - Convert a few more truncation functions to use folios (Matthew Wilcox)
  - Convert page_vma_mapped_walk to use PFNs instead of pages (Matthew Wilcox)
  - Convert rmap_walk to use folios (Matthew Wilcox)
  - Convert most of shrink_page_list() to use a folio (Matthew Wilcox)
  - Add support for creating large folios in readahead (Matthew Wilcox)
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEejHryeLBw/spnjHrDpNsjXcpgj4FAmI4ucgACgkQDpNsjXcp
 gj69Wgf6AwqwmO5Tmy+fLScDPqWxmXJofbocae1kyoGHf7Ui91OK4U2j6IpvAr+g
 P/vLIK+JAAcTQcrSCjymuEkf4HkGZOR03QQn7maPIEe4eLrZRQDEsmHC1L9gpeJp
 s/GMvDWiGE0Tnxu0EOzfVi/yT+qjIl/S8VvqtCoJv1HdzxitZ7+1RDuqImaMC5MM
 Qi3uHag78vLmCltLXpIOdpgZhdZexCdL2Y/1npf+b6FVkAJRRNUnA0gRbS7YpoVp
 CbxEJcmAl9cpJLuj5i5kIfS9trr+/QcvbUlzRxh4ggC58iqnmF2V09l2MJ7YU3XL
 v1O/Elq4lRhXninZFQEm9zjrri7LDQ==
 =n9Ad
 -----END PGP SIGNATURE-----

Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecache

Pull folio updates from Matthew Wilcox:

 - Rewrite how munlock works to massively reduce the contention on
   i_mmap_rwsem (Hugh Dickins):

     https://lore.kernel.org/linux-mm/8e4356d-9622-a7f0-b2c-f116b5f2efea@google.com/

 - Sort out the page refcount mess for ZONE_DEVICE pages (Christoph
   Hellwig):

     https://lore.kernel.org/linux-mm/20220210072828.2930359-1-hch@lst.de/

 - Convert GUP to use folios and make pincount available for order-1
   pages. (Matthew Wilcox)

 - Convert a few more truncation functions to use folios (Matthew
   Wilcox)

 - Convert page_vma_mapped_walk to use PFNs instead of pages (Matthew
   Wilcox)

 - Convert rmap_walk to use folios (Matthew Wilcox)

 - Convert most of shrink_page_list() to use a folio (Matthew Wilcox)

 - Add support for creating large folios in readahead (Matthew Wilcox)

* tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecache: (114 commits)
  mm/damon: minor cleanup for damon_pa_young
  selftests/vm/transhuge-stress: Support file-backed PMD folios
  mm/filemap: Support VM_HUGEPAGE for file mappings
  mm/readahead: Switch to page_cache_ra_order
  mm/readahead: Align file mappings for non-DAX
  mm/readahead: Add large folio readahead
  mm: Support arbitrary THP sizes
  mm: Make large folios depend on THP
  mm: Fix READ_ONLY_THP warning
  mm/filemap: Allow large folios to be added to the page cache
  mm: Turn can_split_huge_page() into can_split_folio()
  mm/vmscan: Convert pageout() to take a folio
  mm/vmscan: Turn page_check_references() into folio_check_references()
  mm/vmscan: Account large folios correctly
  mm/vmscan: Optimise shrink_page_list for non-PMD-sized folios
  mm/vmscan: Free non-shmem folios without splitting them
  mm/rmap: Constify the rmap_walk_control argument
  mm/rmap: Convert rmap_walk() to take a folio
  mm: Turn page_anon_vma() into folio_anon_vma()
  mm/rmap: Turn page_lock_anon_vma_read() into folio_lock_anon_vma_read()
  ...
2022-03-22 17:03:12 -07:00
..
accessibility speakup-dectlk: Restore pitch setting 2022-02-08 12:15:04 +01:00
acpi Power management updates for 5.18-rc1 2022-03-21 14:26:28 -07:00
amba ARM: 9174/1: amba: Move EXPORT_SYMBOL() closer to definition 2022-02-28 13:59:18 +00:00
android Merge 5.16-rc8 into char-misc-next 2022-01-03 13:44:38 +01:00
ata ata: pata_hpt37x: disable primary channel on HPT371 2022-02-23 09:39:37 +09:00
atm atm: eni: Add check for dma_map_single 2022-03-15 11:01:52 +00:00
auxdisplay auxdisplay: lcd2s: Use proper API to free the instance of charlcd object 2022-03-03 00:30:31 +01:00
base Merge branch 'akpm' (patches from Andrew) 2022-03-22 16:11:53 -07:00
bcma
block Folio changes for 5.18 2022-03-22 17:03:12 -07:00
bluetooth virtio,vdpa,qemu_fw_cfg: features, cleanups, fixes 2022-01-18 10:05:48 +02:00
bus spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
cdrom block: remove genhd.h 2022-02-02 07:49:59 -07:00
char Revert "random: block in /dev/urandom" 2022-03-22 09:17:20 -07:00
clk spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
clocksource ACPI updates for 5.18-rc1 2022-03-21 14:17:20 -07:00
comedi
connector connector/cn_proc: Use task_is_in_init_pid_ns() 2022-01-26 18:57:09 -08:00
counter counter: Stop using dev_get_drvdata() to get the counter device 2022-03-15 19:24:13 +01:00
cpufreq Merge branch 'pm-tools' 2022-03-18 18:46:15 +01:00
cpuidle cpuidle: haltpoll: Call cpuidle_poll_state_init() later 2022-03-09 19:59:45 +01:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2022-03-21 16:02:36 -07:00
cxl cxl/core: Remove cxld_const_init in cxl_decoder_alloc() 2022-01-04 17:29:31 -08:00
dax fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
dca
devfreq
dio
dma ARM development updates for 5.18: 2022-03-21 10:55:18 -07:00
dma-buf dma-buf: heaps: Fix potential spectre v1 gadget 2022-02-01 13:18:09 +05:30
edac Merge branch 'edac-amd64' into edac-updates-for-v5.18 2022-03-21 10:34:57 +01:00
eisa
extcon extcon: Deduplicate code in extcon_set_state_sync() 2021-12-24 15:27:52 +09:00
firewire
firmware pstore updates for v5.18-rc1 2022-03-21 19:24:47 -07:00
fpga
fsi
gnss gnss: usb: add support for Sierra Wireless XM1210 2021-12-22 15:38:12 +01:00
gpio spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
gpu Folio changes for 5.18 2022-03-22 17:03:12 -07:00
greybus greybus: es2: fix typo in a comment 2021-12-21 10:13:26 +01:00
hid Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid 2022-03-09 13:47:12 -08:00
hsi
hv Drivers: hv: utils: Make use of the helper macro LIST_HEAD() 2022-02-09 14:33:21 +00:00
hwmon spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
hwspinlock
hwtracing intel_th: msu: Use memset_startat() for clearing hw header 2022-02-13 16:48:04 -08:00
i2c i2c: brcmstb: fix support for DSL and CM variants 2022-02-18 10:37:33 +01:00
i3c i3c: master: dw: check return of dw_i3c_master_get_free_pos() 2022-01-13 02:05:50 +01:00
idle cpuidle: intel_idle: Drop redundant backslash at line end 2022-03-17 14:32:59 +01:00
iio spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
infiniband Folio changes for 5.18 2022-03-22 17:03:12 -07:00
input spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
interconnect
iommu Reenable ENQCMD/PASID support: 2022-03-21 12:28:13 -07:00
ipack
irqchip arm64 updates for 5.18 2022-03-21 10:46:39 -07:00
isdn isdn: hfcpci: check the return value of dma_set_mask() in setup_hw() 2022-03-07 11:27:12 +00:00
leds spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
macintosh macintosh/mac_hid.c: simplify subdirectory registration with register_sysctl() 2022-01-22 08:33:35 +02:00
mailbox - qcom: misc updates to qcom-ipcc driver 2022-01-13 11:19:07 -08:00
mcb
md for-5.18/drivers-2022-03-18 2022-03-21 17:16:01 -07:00
media bounds-fixes updates for v5.18-rc1 2022-03-21 19:58:27 -07:00
memory MTD core changes: 2022-01-11 11:35:28 -08:00
memstick memstick/mspro_block: simplify refcounting 2022-02-16 19:44:24 -07:00
message scsi: message: fusion: mptctl: Use dma_alloc_coherent() 2022-01-10 10:33:52 -05:00
mfd spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
misc spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
mmc spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
most
mtd spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
mux
net spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
nfc spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
ntb ntb: intel: fix port config status offset for SPR 2022-01-28 10:19:16 -05:00
nubus proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00
nvdimm Folio changes for 5.18 2022-03-22 17:03:12 -07:00
nvme Folio changes for 5.18 2022-03-22 17:03:12 -07:00
nvmem nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property 2022-02-21 17:59:25 +01:00
of cma: factor out minimum alignment requirement 2022-03-22 15:57:05 -07:00
opp
parisc parisc: Fix sglist access in ccio-dma.c 2022-01-28 10:15:34 +01:00
parport
pci Changes in this cycle were: 2022-03-22 14:39:12 -07:00
pcmcia pci-v5.17-changes 2022-01-16 08:08:11 +02:00
perf perf/marvell: Fix !CONFIG_OF build for CN10K DDR PMU driver 2022-03-09 12:31:00 +00:00
phy phy: dphy: Correct clk_pre parameter 2022-02-02 10:33:04 +05:30
pinctrl Linux 5.17-rc8 2022-03-14 18:53:00 +01:00
platform spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
pnp PNP update for 5.18-rc1 2022-03-21 14:46:01 -07:00
power power: supply: bq256xx: Handle OOM correctly 2022-02-11 21:19:51 +01:00
powercap powercap: DTPM: Fix spelling mistake "initialze" -> "initialize" 2022-03-01 18:59:35 +01:00
pps
ps3
ptp ptp: ocp: Add ptp_ocp_adjtime_coarse for large adjustments 2022-03-02 09:51:21 -08:00
pwm pwm: Changes for v5.17-rc1 2022-01-20 13:25:01 +02:00
rapidio rapidio: remove not used code about RIO_VID_TUNDRA 2021-12-21 10:22:19 +01:00
ras
regulator regulator: Updates for v5.18 2022-03-21 18:27:05 -07:00
remoteproc remoteproc: qcom: q6v5: fix service routines build errors 2022-01-17 16:44:26 -06:00
reset SoC: Add support for StarFive JH7100 RISC-V SoC 2022-01-10 08:32:37 -08:00
rpmsg rpmsg fixes for v5.17-rc1 2022-01-27 11:23:26 +02:00
rtc spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
s390 for-5.18/block-2022-03-18 2022-03-21 16:48:55 -07:00
sbus
scsi for-5.18/block-2022-03-18 2022-03-21 16:48:55 -07:00
sh
siox
slimbus
soc Power management updates for 5.18-rc1 2022-03-21 14:26:28 -07:00
soundwire Char/Misc and other driver changes for 5.17-rc1 2022-01-14 16:02:28 +01:00
spi spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
spmi
ssb
staging spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
target block: pass a block_device and opf to bio_alloc 2022-02-02 07:49:59 -07:00
tc
tee OP-TEE fix error return code in probe functions 2022-02-18 17:30:01 +01:00
thermal Merge branch 'thermal-hfi' 2022-03-18 19:00:26 +01:00
thunderbolt thunderbolt: Add module parameter for CLx disabling 2021-12-28 10:43:56 +03:00
tty Merge branch 'akpm' (patches from Andrew) 2022-03-22 16:11:53 -07:00
uio UIO: use default_groups in kobj_type 2021-12-29 10:54:50 +01:00
usb Folio changes for 5.18 2022-03-22 17:03:12 -07:00
vdpa vdpa: fix use-after-free on vp_vdpa_remove 2022-03-06 06:06:50 -05:00
vfio VFIO updates for v5.17-rc1 2022-01-20 13:31:46 +02:00
vhost Networking fixes for 5.17-final, including fixes from netfilter, ipsec, 2022-03-17 12:55:26 -07:00
video spi: Updates for v5.18 2022-03-21 18:33:57 -07:00
virt virt: vmgenid: notify RNG of VM fork and supply generation ID 2022-03-12 18:00:56 -07:00
virtio mm: enforce pageblock_order < MAX_ORDER 2022-03-22 15:57:06 -07:00
visorbus
vlynq
vme
w1 w1: w1_therm: use swap() to make code cleaner 2021-12-21 10:38:13 +01:00
watchdog linux-watchdog 5.17-rc1 tag 2022-01-17 08:07:57 +02:00
xen xen/gnttab: fix gnttab_end_foreign_access() without page specified 2022-03-07 09:48:55 +01:00
zorro proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00
Kconfig
Makefile