linux-kernelorg-stable/drivers
David Hildenbrand 4c89792ea0 mm: rename vm_ops->find_special_page() to vm_ops->find_normal_page()
...  and hide it behind a kconfig option.  There is really no need for any
!xen code to perform this check.

The naming is a bit off: we want to find the "normal" page when a PTE was
marked "special".  So it's really not "finding a special" page.

Improve the documentation, and add a comment in the code where XEN ends up
performing the pte_mkspecial() through a hypercall.  More details can be
found in commit 923b2919e2 ("xen/gntdev: mark userspace PTEs as special
on x86 PV guests").

Link: https://lkml.kernel.org/r/20250811112631.759341-12-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Barry Song <baohua@kernel.org>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dev Jain <dev.jain@arm.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Jann Horn <jannh@google.com>
Cc: Juegren Gross <jgross@suse.com>
Cc: Lance Yang <lance.yang@linux.dev>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Mariano Pache <npache@redhat.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-09-13 16:54:53 -07:00
..
accel Merge drm/drm-fixes into drm-misc-fixes 2025-08-20 16:08:49 +02:00
accessibility
acpi Merge branches 'acpi-apei' and 'acpi-pfrut' 2025-08-21 20:47:23 +02:00
amba
android
ata ata: ahci_xgene: Use int type for 'rc' to store error codes 2025-08-28 13:36:14 +09:00
atm atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control(). 2025-08-22 17:23:15 -07:00
auxdisplay
base PM: sleep: annotate RCU list iterations 2025-08-26 15:27:04 +02:00
bcma
block zram: protect recomp_algorithm_show() with ->init_lock 2025-09-13 16:54:43 -07:00
bluetooth
bus
cache
cdrom
cdx cdx: Fix off-by-one error in cdx_rpmsg_probe() 2025-08-19 12:55:16 +02:00
char /dev/zero: try to align PMD_SIZE for private mapping 2025-09-13 16:54:42 -07:00
clk
clocksource
comedi comedi: Make insn_rw_emulate_bits() do insn->n samples 2025-08-19 12:57:01 +02:00
connector
counter
cpufreq
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf
dpll
edac
eisa
extcon
firewire
firmware efi: stmm: Drop unneeded null pointer check 2025-08-26 14:49:42 +02:00
fpga fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable() 2025-08-19 12:54:45 +02:00
fsi
fwctl
gnss
gpio gpio fixes for v6.17-rc4 2025-08-31 08:49:55 -07:00
gpu Mediatek DRM Fixes - 20250829 2025-08-29 10:05:10 +10:00
greybus
hid hid-for-linus-2025082901 2025-08-29 07:44:14 -07:00
hsi
hte
hv
hwmon
hwspinlock
hwtracing
i2c i2c: rtl9300: Add missing count byte for SMBus Block Ops 2025-08-19 20:21:03 -01:00
i3c
idle
iio
infiniband
input
interconnect
iommu iommufd 6.17 first rc pull 2025-08-22 17:24:48 -04:00
ipack
irqchip irqchip/gic-v5: Remove undue WARN_ON()s in the IRS affinity parsing 2025-08-24 12:54:06 +02:00
isdn mISDN: hfcpci: Fix warning when deleting uninitialized timer 2025-08-25 17:15:01 -07:00
leds
macintosh
mailbox
mcb
md
media
memory
memstick
message
mfd
misc treewide: remove MIGRATEPAGE_SUCCESS 2025-09-13 16:54:50 -07:00
mmc mmc: sdhci_am654: Disable HS400 for AM62P SR1.0 and SR1.1 2025-08-21 11:07:16 +02:00
most most: core: Drop device reference after usage in get_channel() 2025-08-19 12:57:34 +02:00
mtd
mux
net Including fixes from Bluetooth. 2025-08-28 17:35:51 -07:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of 17 hotfixes. 13 are cc:stable and the remainder address post-6.16 issues 2025-09-02 13:18:00 -07:00
opp
parisc
parport
pci
pcmcia
peci
perf
phy
pinctrl pinctrl: airoha: Fix return value in pinconf callbacks 2025-08-22 15:08:58 +02:00
platform [GIT PULL for v6.17-rc4] media fixes 2025-08-27 10:10:50 -07:00
pmdomain
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: pm8008: fix probe failure due to negative voltage selector 2025-08-24 22:41:04 +01:00
remoteproc
reset
rpmsg
rtc
s390 s390/sclp: Fix SCCB present check 2025-08-20 16:37:27 +02:00
sbus
scsi
sh
siox
slimbus
soc Merge tag 'drm-msm-fixes-2025-08-26' of https://gitlab.freedesktop.org/drm/msm into drm-fixes 2025-08-29 09:05:18 +10:00
soundwire
spi spi: Fixes for v6.17 2025-08-21 16:28:00 -04:00
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty
ufs
uio
usb usb: xhci: fix host not responding after suspend and resume 2025-08-19 16:12:13 +02:00
vdpa
vfio
vhost vhost/net: Protect ubufs with rcu read lock in vhost_net_ubuf_put() 2025-08-26 03:38:10 -04:00
video
virt
virtio treewide: remove MIGRATEPAGE_SUCCESS 2025-09-13 16:54:50 -07:00
w1
watchdog
xen mm: rename vm_ops->find_special_page() to vm_ops->find_normal_page() 2025-09-13 16:54:53 -07:00
zorro
Kconfig
Makefile