linux/drivers
Luis R. Rodriguez a3266bd49c mm: provide a fallback for PAGE_KERNEL_RO for architectures
Some architectures do not define certain PAGE_KERNEL_* flags, this is
either because:

 a) The way to implement some of these flags is *not yet ported*, or
 b) The architecture *has no way* to describe them

Over time we have accumulated a few PAGE_KERNEL_* fallback workarounds
for architectures in the kernel which do not define them using
*relatively safe* equivalents.  Move these scattered fallback hacks into
asm-generic.

We start off with PAGE_KERNEL_RO using PAGE_KERNEL as a fallback.  This
has been in place on the firmware loader for years.  Move the fallback
into the respective asm-generic header.

Link: http://lkml.kernel.org/r/20180510185507.2439-2-mcgrof@kernel.org
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-08-17 16:20:29 -07:00
..
accessibility
acpi arm64 updates for 4.19 2018-08-14 16:39:13 -07:00
amba
android
ata SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
atm
auxdisplay auxdisplay: simplify getting .drvdata 2018-08-01 18:58:09 +02:00
base mm: provide a fallback for PAGE_KERNEL_RO for architectures 2018-08-17 16:20:29 -07:00
bcma
block Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
bluetooth Bluetooth: mediatek: pass correct size to h4_recv_buf() 2018-08-13 15:59:39 +02:00
bus
cdrom cdrom: Use struct scsi_sense_hdr internally 2018-08-02 15:22:39 -06:00
char Merge branch 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2018-08-15 22:51:12 -07:00
clk The new and exciting feature this time around is in the clk core. 2018-08-15 21:41:21 -07:00
clocksource Merge branch 'x86-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-08-13 18:28:19 -07:00
connector
cpufreq cpufreq: intel_pstate: Ignore turbo active ratio in HWP 2018-08-06 10:22:27 +02:00
cpuidle
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-08-15 16:01:47 -07:00
dax dax: remove VM_MIXEDMAP for fsdax and device dax 2018-08-17 16:20:27 -07:00
dca
devfreq
dio
dma Merge branch 'asoc-4.19' into asoc-next 2018-08-09 14:47:05 +01:00
dma-buf
edac
eisa
extcon
firewire firewire: use 64-bit time_t based interfaces 2018-08-17 16:20:27 -07:00
firmware media updates for v4.19-rc1 2018-08-15 18:29:14 -07:00
fmc
fpga
fsi
gpio This is the bulk of GPIO changes for the v4.19 kernel cycle: 2018-08-15 21:35:38 -07:00
gpu drm pull for 4.19-rc1 2018-08-15 17:39:07 -07:00
hid
hsi
hv
hwmon Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
hwspinlock
hwtracing
i2c regmap: Changes for v4.19 2018-08-14 11:51:03 -07:00
ide ide-cd: Remove redundant sense buffer 2018-08-02 15:22:37 -06:00
idle
iio
infiniband pci-v4.19-changes 2018-08-16 09:21:54 -07:00
input m68k updates for 4.19 2018-08-13 09:50:24 -07:00
iommu mm: convert return type of handle_mm_fault() caller to vm_fault_t 2018-08-17 16:20:28 -07:00
ipack
irqchip irqchip updates for 4.19 2018-08-06 12:45:42 +02:00
isdn
leds leds: ns2: Change unsigned to unsigned int 2018-08-06 23:03:12 +02:00
lightnvm
macintosh
mailbox mailbox: Add support for i.MX messaging unit 2018-08-15 09:53:07 +05:30
mcb
md Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md 2018-08-14 11:03:16 -07:00
media media updates for v4.19-rc1 2018-08-15 18:29:14 -07:00
memory drivers/memory/Kconfig: Add CONFIG_OF dependency 2018-07-31 09:46:06 +02:00
memstick
message
mfd
misc mm: convert return type of handle_mm_fault() caller to vm_fault_t 2018-08-17 16:20:28 -07:00
mmc Merge branch 'asoc-4.19' into asoc-next 2018-08-09 14:47:05 +01:00
mtd sound updates for 4.19 2018-08-14 14:10:30 -07:00
mux
net pci-v4.19-changes 2018-08-16 09:21:54 -07:00
nfc
ntb
nubus
nvdimm Linux 4.18-rc6 2018-08-05 19:32:09 -06:00
nvme for-4.19/block-20180812 2018-08-14 10:23:25 -07:00
nvmem
of Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
opp
oprofile
parisc
parport
pci pci-v4.19-changes 2018-08-16 09:21:54 -07:00
pcmcia
perf
phy
pinctrl This is the bulk of pin control changes for v4.19: 2018-08-14 12:31:27 -07:00
platform pci-v4.19-changes 2018-08-16 09:21:54 -07:00
pnp
power
powercap
pps
ps3
ptp ptp_qoriq: use div_u64/div_u64_rem for 64-bit division 2018-08-06 10:43:35 -07:00
pwm
rapidio
ras
regulator Merge branch 'regulator-4.19' into regulator-next 2018-08-10 17:31:24 +01:00
remoteproc
reset
rpmsg
rtc
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
sbus
scsi SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
sfi
sh sh: introduce a sh_cacheop_vaddr helper 2018-08-02 13:54:06 +02:00
siox
slimbus
sn
soc Power management updates for 4.19-rc1 2018-08-14 13:12:24 -07:00
soundwire
spi Merge branch 'spi-4.19' into spi-next 2018-08-10 17:51:52 +01:00
spmi
ssb ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
staging media updates for v4.19-rc1 2018-08-15 18:29:14 -07:00
target SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
tc
tee
thermal Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal 2018-08-16 10:21:18 -07:00
thunderbolt
tty audit/stable-4.18 PR 20180814 2018-08-15 10:46:54 -07:00
uio
usb SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
uwb
vfio VFIO updates for v4.19 2018-08-16 10:34:05 -07:00
vhost SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
video media updates for v4.19-rc1 2018-08-15 18:29:14 -07:00
virt
virtio virtio: Make vp_set_vq_affinity() take a mask. 2018-08-11 12:02:18 -07:00
visorbus
vlynq
vme
w1
watchdog
xen SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
zorro
Kconfig
Makefile scsi: build scsi_common.o for all scsi passthrough request users 2018-08-02 15:19:48 -06:00