Skip to content
Open
Show file tree
Hide file tree
Changes from 90 commits
Commits
Show all changes
1087 commits
Select commit Hold shift + click to select a range
1aee4ab
zswap: export compression failure stats
nhatsmrt Oct 24, 2023
0343b77
mm/vmalloc: fix the unchecked dereference warning in vread_iter()
Oct 18, 2023
50b37e1
Documentation: maple_tree: fix word spelling error
Oct 23, 2023
dc1c309
selftests: add a sanity check for zswap
nhatsmrt Oct 20, 2023
b569721
ocfs2: replace BUG_ON() at ocfs2_num_free_extents() with ocfs2_error()
Oct 18, 2023
7de8447
do_io_accounting: use __for_each_thread()
oleg-nesterov Oct 23, 2023
a91fa00
do_io_accounting: use sig->stats_lock
oleg-nesterov Oct 23, 2023
0dbee63
fs/proc/base.c: remove unneeded semicolon
Oct 26, 2023
29d92d4
proc: fix proc-empty-vm test with vsyscall
Oct 27, 2023
c969e28
proc: test ProtectionKey in proc-empty-vm test
swarupkotikalapudi Oct 27, 2023
0bbd896
ocfs2: fix a spelling typo in comment
KunWuChan Oct 25, 2023
d431880
scripts/gdb: add lx_current support for riscv
deepak0414 Oct 26, 2023
44c9217
Merge branch 'mm-nonmm-unstable' into mm-everything
akpm00 Oct 28, 2023
e100c36
Merge branch 'for-6.7/cxl-rch-eh' into cxl/next
djbw Oct 28, 2023
9f39bd0
Merge branch 'for-6.7/cxl-qtg' into cxl/next
djbw Oct 28, 2023
553ceb4
Merge branch 'for-6.7/cxl' into cxl/next
djbw Oct 28, 2023
2630b39
Merge branch 'for-6.7/cxl-committed' into cxl/next
djbw Oct 28, 2023
ecaf76f
Merge branch 'perf/urgent' into perf/core, to pick up fix
Oct 28, 2023
11674c3
Merge branch into tip/master: 'irq/urgent'
Oct 28, 2023
0b504a9
Merge branch into tip/master: 'perf/urgent'
Oct 28, 2023
4c4e860
Merge branch into tip/master: 'x86/urgent'
Oct 28, 2023
41928f5
Merge branch into tip/master: 'x86/merge'
Oct 28, 2023
b080166
Merge branch into tip/master: 'core/core'
Oct 28, 2023
4df9fee
Merge branch into tip/master: 'irq/core'
Oct 28, 2023
238e21e
Merge branch into tip/master: 'locking/core'
Oct 28, 2023
fde9da6
Merge branch into tip/master: 'objtool/core'
Oct 28, 2023
7c20760
Merge branch into tip/master: 'ras/core'
Oct 28, 2023
6cb2fc2
Merge branch into tip/master: 'sched/core'
Oct 28, 2023
d19f50c
Merge branch into tip/master: 'smp/core'
Oct 28, 2023
374a276
Merge branch into tip/master: 'timers/core'
Oct 28, 2023
17d4fed
Merge branch into tip/master: 'x86/apic'
Oct 28, 2023
acdc692
Merge branch into tip/master: 'x86/asm'
Oct 28, 2023
631395a
Merge branch into tip/master: 'x86/bugs'
Oct 28, 2023
ea6c9cf
Merge branch into tip/master: 'x86/build'
Oct 28, 2023
51a0f1e
Merge branch into tip/master: 'x86/cache'
Oct 28, 2023
caf0ab8
Merge branch into tip/master: 'x86/cpu'
Oct 28, 2023
efceba9
Merge branch into tip/master: 'x86/entry'
Oct 28, 2023
886047f
Merge branch into tip/master: 'x86/fpu'
Oct 28, 2023
41c5e69
Merge branch into tip/master: 'x86/headers'
Oct 28, 2023
320e30a
Merge branch into tip/master: 'x86/irq'
Oct 28, 2023
26f55bb
Merge branch into tip/master: 'x86/microcode'
Oct 28, 2023
04b3b89
Merge branch into tip/master: 'x86/mm'
Oct 28, 2023
25e9b01
Merge branch into tip/master: 'x86/percpu'
Oct 28, 2023
ec3e2ac
Merge branch into tip/master: 'x86/platform'
Oct 28, 2023
1187c0b
Merge branch into tip/master: 'x86/tdx'
Oct 28, 2023
492f7c8
Merge branch 'i2c/for-mergewindow' into i2c/for-next
wsakernel Oct 28, 2023
bce3ab2
iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time…
javiercarrascocruz Oct 26, 2023
522ea9d
hwmon: Add driver for ltc2991
amiclaus Oct 26, 2023
144c314
dt-bindings: hwmon: npcm: Add npcm845 compatible string
tmaimon Oct 18, 2023
a91c4af
hwmon: (aquacomputer_d5next) Add support for Aquacomputer High Flow U…
aleksamagicka Oct 16, 2023
8293a6b
hwmon: (aquacomputer_d5next) Check if temp sensors of legacy devices …
aleksamagicka Oct 16, 2023
1d3936f
smb3: fix creating FIFOs when mounting with "sfu" mount option
smfrench Oct 20, 2023
39543a5
smb: client: fix potential deadlock when releasing mids
Oct 25, 2023
948df36
smb: client: fix use-after-free bug in cifs_debug_data_proc_show()
Oct 24, 2023
f0fea94
cifs: update internal module version number for cifs.ko
smfrench Jul 20, 2023
cc02197
Merge branch 'mm-hotfixes-unstable' of git://git.kernel.org/pub/scm/l…
sfrothwell Oct 29, 2023
ca72f66
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
sfrothwell Oct 29, 2023
93dbf60
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
sfrothwell Oct 29, 2023
5b3479a
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
sfrothwell Oct 29, 2023
550472a
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
sfrothwell Oct 29, 2023
eb379d8
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
sfrothwell Oct 29, 2023
d321c8b
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
sfrothwell Oct 29, 2023
5890a57
Merge branch 'fixes-togreg' of git://git.kernel.org/pub/scm/linux/ker…
sfrothwell Oct 29, 2023
78bb567
Merge branch 'hwmon' of git://git.kernel.org/pub/scm/linux/kernel/git…
sfrothwell Oct 29, 2023
c2aac28
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git…
sfrothwell Oct 29, 2023
0fbf005
Merge branch 'next-fixes' of git://git.kernel.org/pub/scm/linux/kerne…
sfrothwell Oct 29, 2023
aa916bb
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git…
sfrothwell Oct 29, 2023
0920cf9
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git…
sfrothwell Oct 29, 2023
e3966f3
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git…
sfrothwell Oct 29, 2023
b6dab1f
Merge branch 'zstd-linus' of https://github.com/terrelln/linux.git
sfrothwell Oct 29, 2023
8ae6578
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git…
sfrothwell Oct 29, 2023
55bd4c6
Merge branch 'for-linux-next-fixes' of git://anongit.freedesktop.org/…
sfrothwell Oct 29, 2023
3cf88bd
Merge branch 'mm-stable' of git://git.kernel.org/pub/scm/linux/kernel…
sfrothwell Oct 29, 2023
43fe6cd
Merge branch 'mm-nonmm-stable' of git://git.kernel.org/pub/scm/linux/…
sfrothwell Oct 29, 2023
f8a91ae
Merge branch 'mm-everything' of git://git.kernel.org/pub/scm/linux/ke…
sfrothwell Oct 29, 2023
b871ee4
Merge branch 'i2c/for-mergewindow' into i2c/for-next
wsakernel Oct 29, 2023
216dca4
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
263db6a
Merge branch 'perf-tools-next' of git://git.kernel.org/pub/scm/linux/…
sfrothwell Oct 29, 2023
1edab09
Merge branch 'for-next' of git://git.infradead.org/users/hch/dma-mapp…
sfrothwell Oct 29, 2023
c19dc19
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
sfrothwell Oct 29, 2023
a5cbbe4
Merge branch 'for-next' of git://git.armlinux.org.uk/~rmk/linux-arm.git
sfrothwell Oct 29, 2023
6de6060
Merge branch 'for-next/core' of git://git.kernel.org/pub/scm/linux/ke…
sfrothwell Oct 29, 2023
e44d8ca
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
db9fb02
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
d929afa
Merge branch 'asahi-soc/for-next' of https://github.com/AsahiLinux/li…
sfrothwell Oct 29, 2023
98f2b7a
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
b118d81
Merge branch 'next' of https://github.com/Broadcom/stblinux.git
sfrothwell Oct 29, 2023
4f4d319
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
9d2d4f0
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
9fca894
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
895030c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
331cfa6
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
1d98732
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 29, 2023
bd1ae72
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
2c954e2
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
b00f77d
Merge branch 'for-linux-next' of git://git.kernel.org/pub/scm/linux/k…
sfrothwell Oct 29, 2023
5265827
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
856ced4
Merge branch 'ti-next' of git://git.kernel.org/pub/scm/linux/kernel/g…
sfrothwell Oct 29, 2023
f5f4e69
Merge branch 'for-next' of git://github.com/Xilinx/linux-xlnx.git
sfrothwell Oct 29, 2023
b0c0193
Merge branch 'clk-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
3324a6f
Merge branch 'loongarch-next' of git://git.kernel.org/pub/scm/linux/k…
sfrothwell Oct 29, 2023
f1d6d60
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
db3056c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
c56f7f6
Merge branch 'mips-next' of git://git.kernel.org/pub/scm/linux/kernel…
sfrothwell Oct 29, 2023
5b40382
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
541aca2
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 29, 2023
aab43b5
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
48c5b56
Merge branch 'riscv-dt-for-next' of git://git.kernel.org/pub/scm/linu…
sfrothwell Oct 29, 2023
5b33601
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
43f5414
Merge branch 'for-next' of git:git.kernel.org/pub/scm/linux/kernel/gi…
sfrothwell Oct 29, 2023
8c8315e
Merge branch 'xtensa-for-next' of git://github.com/jcmvbkbc/linux-xte…
sfrothwell Oct 29, 2023
c138d41
Merge branch 'for-next' of https://evilpiepirate.org/git/bcachefs.git
sfrothwell Oct 29, 2023
7bf7446
Merge branch 'for-next' of git://git.kernel.org/pub/scm/fs/fscrypt/li…
sfrothwell Oct 29, 2023
0f62e94
Merge branch 'afs-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
c06feb3
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
a49b55b
Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6.git
sfrothwell Oct 29, 2023
34c7b20
Merge branch 'for-next' of git://git.infradead.org/users/hch/configfs…
sfrothwell Oct 29, 2023
a7599e8
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 29, 2023
7f2061b
Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/x…
sfrothwell Oct 29, 2023
b0cd19f
Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/l…
sfrothwell Oct 29, 2023
d424049
Merge branch 'for_next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
80be27e
Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/t…
sfrothwell Oct 29, 2023
6653ed7
Merge branch 'dev' of git://git.kernel.org/pub/scm/linux/kernel/git/j…
sfrothwell Oct 29, 2023
2280582
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
1ee1eca
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
86e399e
Merge branch 'jfs-next' of git://github.com/kleikamp/linux-shaggy.git
sfrothwell Oct 29, 2023
55dd5d6
Merge branch 'ksmbd-for-next' of https://github.com/smfrench/smb3-ker…
sfrothwell Oct 29, 2023
979058f
Merge branch 'nfsd-next' of git://git.kernel.org/pub/scm/linux/kernel…
sfrothwell Oct 29, 2023
a8a2e0e
Merge branch 'overlayfs-next' of git://git.kernel.org/pub/scm/linux/k…
sfrothwell Oct 29, 2023
387fe7f
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 29, 2023
c6a2bcb
Merge branch '9p-next' of git://github.com/martinetd/linux
sfrothwell Oct 29, 2023
7e43fcc
Merge branch 'vfs.all' of git://git.kernel.org/pub/scm/linux/kernel/g…
sfrothwell Oct 29, 2023
76d1d09
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
785a1f8
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 29, 2023
5284a92
Merge branch 'for-next/pstore' of git://git.kernel.org/pub/scm/linux/…
sfrothwell Oct 29, 2023
c3ce0c2
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
319690a
Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/ker…
sfrothwell Oct 29, 2023
df634a8
Merge branch 'i3c/next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
18aaa69
Merge branch 'hwmon-next' of git://git.kernel.org/pub/scm/linux/kerne…
sfrothwell Oct 29, 2023
763dc4f
Merge branch 'docs-next' of git://git.lwn.net/linux.git
sfrothwell Oct 29, 2023
5d44cd3
Merge branch 'master' of git://linuxtv.org/media_tree.git
sfrothwell Oct 29, 2023
d8ed851
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kerne…
sfrothwell Oct 29, 2023
b25be1e
Merge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm…
sfrothwell Oct 29, 2023
9876ac1
Merge branch 'cpupower' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
131fbe9
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 29, 2023
50985ac
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 29, 2023
d52da78
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
39be36d
Merge branch 'main' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 29, 2023
1a18684
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
sfrothwell Oct 29, 2023
a7efe57
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
sfrothwell Oct 29, 2023
72f4181
Merge branch 'mtd/next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 29, 2023
af3c48e
Merge branch 'nand/next' of git://git.kernel.org/pub/scm/linux/kernel…
sfrothwell Oct 29, 2023
5ecde8d
Merge branch 'spi-nor/next' of git://git.kernel.org/pub/scm/linux/ker…
sfrothwell Oct 29, 2023
ca57034
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
sfrothwell Oct 29, 2023
d530632
Merge branch 'drm-next' of git://git.freedesktop.org/git/drm/drm.git
sfrothwell Oct 29, 2023
c42b486
Merge branch 'for-linux-next' of git://anongit.freedesktop.org/drm/dr…
sfrothwell Oct 29, 2023
509b8b9
Merge branch 'drm-next' of https://gitlab.freedesktop.org/agd5f/linux
sfrothwell Oct 29, 2023
fba5088
Merge branch 'for-linux-next' of git://anongit.freedesktop.org/drm-intel
sfrothwell Oct 29, 2023
7c05de2
Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux
sfrothwell Oct 29, 2023
f06e5a6
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
aedef34
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
27313e8
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
44e7f0e
Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kerne…
sfrothwell Oct 30, 2023
80618ef
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
bee1cf6
Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/ker…
sfrothwell Oct 30, 2023
35cf83b
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
df622de
Merge branch 'for-next' of git://git.kernel.dk/linux-block.git
sfrothwell Oct 30, 2023
77fd7dd
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
4f0d6a9
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
0b20ec9
Merge branch 'pcmcia-next' of git://git.kernel.org/pub/scm/linux/kern…
sfrothwell Oct 30, 2023
77f1414
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
f1019e7
Merge branch 'for-mfd-next' of git://git.kernel.org/pub/scm/linux/ker…
sfrothwell Oct 30, 2023
a08601e
Merge branch 'for-backlight-next' of git://git.kernel.org/pub/scm/lin…
sfrothwell Oct 30, 2023
db61277
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
dc839c8
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
df363ff
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
d8b3b2b
Merge branch 'apparmor-next' of git://git.kernel.org/pub/scm/linux/ke…
sfrothwell Oct 30, 2023
e84e97d
Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/k…
sfrothwell Oct 30, 2023
7816213
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
1fecf9a
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
364cbc8
Merge branch 'master' of git://www.linux-watchdog.org/linux-watchdog-…
sfrothwell Oct 30, 2023
dcf3eb1
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
cb52fe3
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
6df7d69
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
452ccfe
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
01a00e2
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
6a523a1
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
sfrothwell Oct 30, 2023
9ed0c09
Merge branch 'edac-for-next' of git://git.kernel.org/pub/scm/linux/ke…
sfrothwell Oct 30, 2023
7ed478f
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
3d811b6
Merge branch 'rcu/next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
eee94ea
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
8c5b1d2
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
0f08a21
Merge branch 'topic/ppc-kvm' of git://git.kernel.org/pub/scm/linux/ke…
sfrothwell Oct 30, 2023
7d284c8
Merge branch 'riscv_kvm_next' of https://github.com/kvm-riscv/linux.git
sfrothwell Oct 30, 2023
bd6afa0
Merge branch 'next' of https://github.com/kvm-x86/linux.git
sfrothwell Oct 30, 2023
52afee3
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kerne…
sfrothwell Oct 30, 2023
d2092c0
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
10064a5
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
2bb3353
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
5abb7fc
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
78c43d5
Merge branch 'for-leds-next' of git://git.kernel.org/pub/scm/linux/ke…
sfrothwell Oct 30, 2023
7d68a22
Merge branch 'for-next' of git://github.com/cminyard/linux-ipmi.git
sfrothwell Oct 30, 2023
4af9bfe
Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux…
sfrothwell Oct 30, 2023
cfbba8a
Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
0274497
Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
825a5a6
Merge branch 'char-misc-next' of git://git.kernel.org/pub/scm/linux/k…
sfrothwell Oct 30, 2023
3b30814
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
67470fb
Merge branch 'togreg' of git://git.kernel.org/pub/scm/linux/kernel/gi…
sfrothwell Oct 30, 2023
fb3b92d
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
a95298e
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
e8a3bc8
Merge branch 'next' of git://github.com/awilliam/linux-vfio.git
sfrothwell Oct 30, 2023
96f1a92
Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/ker…
sfrothwell Oct 30, 2023
c899bd2
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
a7f546c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
d1db888
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
fed14f5
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
1f79eb2
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kerne…
sfrothwell Oct 30, 2023
97101bf
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
3faaff9
Merge branch 'gpio/for-next' of git://git.kernel.org/pub/scm/linux/ke…
sfrothwell Oct 30, 2023
1abc77e
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
6f77b43
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
2349541
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
1216ad2
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
83b3370
Merge branch 'kunit' of git://git.kernel.org/pub/scm/linux/kernel/git…
sfrothwell Oct 30, 2023
ac3855b
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
eaa43d6
Merge branch 'rtc-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
33b7bbd
Merge branch 'libnvdimm-for-next' of git://git.kernel.org/pub/scm/lin…
sfrothwell Oct 30, 2023
c8aacc3
Merge branch 'ntb-next' of https://github.com/jonmason/ntb.git
sfrothwell Oct 30, 2023
9fba422
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
d0b9ec2
Merge branch 'kgdb/for-next' of git://git.kernel.org/pub/scm/linux/ke…
sfrothwell Oct 30, 2023
da4b532
Merge branch 'mhi-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
976ded4
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
57d3744
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
2aafd0d
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
a0bbb0e
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
fe2f607
Merge branch 'slab/for-next' of git://git.kernel.org/pub/scm/linux/ke…
sfrothwell Oct 30, 2023
6b3196c
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
sfrothwell Oct 30, 2023
b978096
Merge branch 'rust-next' of https://github.com/Rust-for-Linux/linux.git
sfrothwell Oct 30, 2023
52fa75a
Merge branch 'sysctl-next' of git://git.kernel.org/pub/scm/linux/kern…
sfrothwell Oct 30, 2023
b472d09
Merge branch 'for-next/execve' of git://git.kernel.org/pub/scm/linux/…
sfrothwell Oct 30, 2023
d56b65a
Merge branch 'bitmap-for-next' of https://github.com/norov/linux.git
sfrothwell Oct 30, 2023
95bef89
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
4bf4bd7
Merge branch 'for-next/kspp' of git://git.kernel.org/pub/scm/linux/ke…
sfrothwell Oct 30, 2023
00141e2
Merge branch 'tsm-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
e2c0150
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
sfrothwell Oct 30, 2023
5cc8815
fix up for "crypto: ahash - remove crypto_ahash_alignmask"
sfrothwell Oct 30, 2023
c503e3e
Add linux-next specific files for 20231030
sfrothwell Oct 30, 2023
b6e2b2e
rust: Use From instances for JSON encoder
maurer Sep 14, 2023
49654b3
rust: Support arrays in target JSON
maurer Sep 14, 2023
8eaa5a9
rust: Enable KCFI support when available
maurer Sep 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ config PPC
select HAVE_EFFICIENT_UNALIGNED_ACCESS
select HAVE_FAST_GUP
select HAVE_FTRACE_MCOUNT_RECORD
select HAVE_FUNCTION_ARG_ACCESS_API
select HAVE_FUNCTION_DESCRIPTORS if PPC64_ELF_ABI_V1
select HAVE_FUNCTION_ERROR_INJECTION
select HAVE_FUNCTION_GRAPH_TRACER
Expand Down
2 changes: 2 additions & 0 deletions arch/powerpc/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ config BDI_SWITCH
config BOOTX_TEXT
bool "Support for early boot text console (BootX or OpenFirmware only)"
depends on PPC_BOOK3S
select FONT_SUN8x16
select FONT_SUPPORT
help
Say Y here to see progress messages from the boot firmware in text
mode. Requires either BootX or Open Firmware.
Expand Down
16 changes: 10 additions & 6 deletions arch/powerpc/boot/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ set -e
# this should work for both the pSeries zImage and the iSeries vmlinux.sm
image_name=`basename $2`

if [ -f $4/$image_name ]; then
mv $4/$image_name $4/$image_name.old

echo "Warning: '${INSTALLKERNEL}' command not available... Copying" \
"directly to $4/$image_name-$1" >&2

if [ -f $4/$image_name-$1 ]; then
mv $4/$image_name-$1 $4/$image_name-$1.old
fi

if [ -f $4/System.map ]; then
mv $4/System.map $4/System.old
if [ -f $4/System.map-$1 ]; then
mv $4/System.map-$1 $4/System-$1.old
fi

cat $2 > $4/$image_name
cp $3 $4/System.map
cat $2 > $4/$image_name-$1
cp $3 $4/System.map-$1
1 change: 0 additions & 1 deletion arch/powerpc/configs/44x/sam440ep_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_REISERFS_FS=y
CONFIG_AUTOFS_FS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
Expand Down
4 changes: 4 additions & 0 deletions arch/powerpc/configs/debug.config
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
CONFIG_JUMP_LABEL_FEATURE_CHECK_DEBUG=y
CONFIG_PPC_IRQ_SOFT_MASK_DEBUG=y
CONFIG_PPC_KUAP_DEBUG=y
CONFIG_PPC_RFI_SRR_DEBUG=y
CONFIG_SCOM_DEBUGFS=y
4 changes: 0 additions & 4 deletions arch/powerpc/configs/g5_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,6 @@ CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_REISERFS_FS=y
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
CONFIG_XFS_FS=m
CONFIG_XFS_POSIX_ACL=y
CONFIG_FS_DAX=y
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/configs/pmac32_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ CONFIG_DM_SNAPSHOT=m
CONFIG_DM_MIRROR=m
CONFIG_DM_ZERO=m
CONFIG_ADB=y
CONFIG_ADB_CUDA=y
CONFIG_ADB_PMU=y
CONFIG_ADB_PMU_LED=y
CONFIG_ADB_PMU_LED_DISK=y
Expand Down Expand Up @@ -181,6 +180,7 @@ CONFIG_SERIAL_PMACZILOG_TTYS=y
CONFIG_SERIAL_PMACZILOG_CONSOLE=y
CONFIG_NVRAM=y
CONFIG_I2C_CHARDEV=m
CONFIG_POWER_RESET=y
CONFIG_APM_POWER=y
CONFIG_BATTERY_PMU=y
CONFIG_HWMON=m
Expand Down
4 changes: 0 additions & 4 deletions arch/powerpc/configs/ppc64e_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,6 @@ CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_REISERFS_FS=y
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
CONFIG_JFS_FS=y
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_SECURITY=y
Expand Down
5 changes: 0 additions & 5 deletions arch/powerpc/configs/ppc6xx_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -954,11 +954,6 @@ CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_JBD2_DEBUG=y
CONFIG_REISERFS_FS=m
CONFIG_REISERFS_PROC_INFO=y
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
CONFIG_JFS_FS=m
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_SECURITY=y
Expand Down
83 changes: 31 additions & 52 deletions arch/powerpc/include/asm/book3s/32/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@

#define _PAGE_PRESENT 0x001 /* software: pte contains a translation */
#define _PAGE_HASHPTE 0x002 /* hash_page has made an HPTE for this pte */
#define _PAGE_USER 0x004 /* usermode access allowed */
#define _PAGE_READ 0x004 /* software: read access allowed */
#define _PAGE_GUARDED 0x008 /* G: prohibit speculative access */
#define _PAGE_COHERENT 0x010 /* M: enforce memory coherence (SMP systems) */
#define _PAGE_NO_CACHE 0x020 /* I: cache inhibit */
#define _PAGE_WRITETHRU 0x040 /* W: cache write-through */
#define _PAGE_DIRTY 0x080 /* C: page changed */
#define _PAGE_ACCESSED 0x100 /* R: page referenced */
#define _PAGE_EXEC 0x200 /* software: exec allowed */
#define _PAGE_RW 0x400 /* software: user write access allowed */
#define _PAGE_WRITE 0x400 /* software: user write access allowed */
#define _PAGE_SPECIAL 0x800 /* software: Special page */

#ifdef CONFIG_PTE_64BIT
Expand All @@ -42,26 +42,13 @@
#define _PMD_PRESENT_MASK (PAGE_MASK)
#define _PMD_BAD (~PAGE_MASK)

/* We borrow the _PAGE_USER bit to store the exclusive marker in swap PTEs. */
#define _PAGE_SWP_EXCLUSIVE _PAGE_USER
/* We borrow the _PAGE_READ bit to store the exclusive marker in swap PTEs. */
#define _PAGE_SWP_EXCLUSIVE _PAGE_READ

/* And here we include common definitions */

#define _PAGE_KERNEL_RO 0
#define _PAGE_KERNEL_ROX (_PAGE_EXEC)
#define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW)
#define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_EXEC)

#define _PAGE_HPTEFLAGS _PAGE_HASHPTE

#ifndef __ASSEMBLY__

static inline bool pte_user(pte_t pte)
{
return pte_val(pte) & _PAGE_USER;
}
#endif /* __ASSEMBLY__ */

/*
* Location of the PFN in the PTE. Most 32-bit platforms use the same
* as _PAGE_SHIFT here (ie, naturally aligned).
Expand Down Expand Up @@ -97,20 +84,7 @@ static inline bool pte_user(pte_t pte)
#define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
#define _PAGE_BASE (_PAGE_BASE_NC | _PAGE_COHERENT)

/*
* Permission masks used to generate the __P and __S table.
*
* Note:__pgprot is defined in arch/powerpc/include/asm/page.h
*
* Write permissions imply read permissions for now.
*/
#define PAGE_NONE __pgprot(_PAGE_BASE)
#define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
#define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
#define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
#define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
#define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
#define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
#include <asm/pgtable-masks.h>

/* Permission masks used for kernel mappings */
#define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW)
Expand Down Expand Up @@ -170,7 +144,14 @@ void unmap_kernel_page(unsigned long va);
* value (for now) on others, from where we can start layout kernel
* virtual space that goes below PKMAP and FIXMAP
*/
#include <asm/fixmap.h>

#define FIXADDR_SIZE 0
#ifdef CONFIG_KASAN
#include <asm/kasan.h>
#define FIXADDR_TOP (KASAN_SHADOW_START - PAGE_SIZE)
#else
#define FIXADDR_TOP ((unsigned long)(-PAGE_SIZE))
#endif

/*
* ioremap_bot starts at that address. Early ioremaps move down from there,
Expand Down Expand Up @@ -224,9 +205,6 @@ void unmap_kernel_page(unsigned long va);
/* Bits to mask out from a PGD to get to the PUD page */
#define PGD_MASKED_BITS 0

#define pte_ERROR(e) \
pr_err("%s:%d: bad pte %llx.\n", __FILE__, __LINE__, \
(unsigned long long)pte_val(e))
#define pgd_ERROR(e) \
pr_err("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e))
/*
Expand Down Expand Up @@ -343,7 +321,7 @@ static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr,
static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr,
pte_t *ptep)
{
pte_update(mm, addr, ptep, _PAGE_RW, 0, 0);
pte_update(mm, addr, ptep, _PAGE_WRITE, 0, 0);
}

static inline void __ptep_set_access_flags(struct vm_area_struct *vma,
Expand Down Expand Up @@ -402,8 +380,16 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
}

/* Generic accessors to PTE bits */
static inline int pte_write(pte_t pte) { return !!(pte_val(pte) & _PAGE_RW);}
static inline int pte_read(pte_t pte) { return 1; }
static inline bool pte_read(pte_t pte)
{
return !!(pte_val(pte) & _PAGE_READ);
}

static inline bool pte_write(pte_t pte)
{
return !!(pte_val(pte) & _PAGE_WRITE);
}

static inline int pte_dirty(pte_t pte) { return !!(pte_val(pte) & _PAGE_DIRTY); }
static inline int pte_young(pte_t pte) { return !!(pte_val(pte) & _PAGE_ACCESSED); }
static inline int pte_special(pte_t pte) { return !!(pte_val(pte) & _PAGE_SPECIAL); }
Expand Down Expand Up @@ -438,10 +424,10 @@ static inline bool pte_ci(pte_t pte)
static inline bool pte_access_permitted(pte_t pte, bool write)
{
/*
* A read-only access is controlled by _PAGE_USER bit.
* We have _PAGE_READ set for WRITE and EXECUTE
* A read-only access is controlled by _PAGE_READ bit.
* We have _PAGE_READ set for WRITE
*/
if (!pte_present(pte) || !pte_user(pte) || !pte_read(pte))
if (!pte_present(pte) || !pte_read(pte))
return false;

if (write && !pte_write(pte))
Expand All @@ -465,7 +451,7 @@ static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot)
/* Generic modifiers for PTE bits */
static inline pte_t pte_wrprotect(pte_t pte)
{
return __pte(pte_val(pte) & ~_PAGE_RW);
return __pte(pte_val(pte) & ~_PAGE_WRITE);
}

static inline pte_t pte_exprotect(pte_t pte)
Expand Down Expand Up @@ -495,6 +481,9 @@ static inline pte_t pte_mkpte(pte_t pte)

static inline pte_t pte_mkwrite_novma(pte_t pte)
{
/*
* write implies read, hence set both
*/
return __pte(pte_val(pte) | _PAGE_RW);
}

Expand All @@ -518,16 +507,6 @@ static inline pte_t pte_mkhuge(pte_t pte)
return pte;
}

static inline pte_t pte_mkprivileged(pte_t pte)
{
return __pte(pte_val(pte) & ~_PAGE_USER);
}

static inline pte_t pte_mkuser(pte_t pte)
{
return __pte(pte_val(pte) | _PAGE_USER);
}

static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
{
return __pte((pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot));
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/include/asm/book3s/32/tlbflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static inline void local_flush_tlb_page(struct vm_area_struct *vma,
static inline void local_flush_tlb_page_psize(struct mm_struct *mm,
unsigned long vmaddr, int psize)
{
BUILD_BUG();
flush_range(mm, vmaddr, vmaddr);
}

static inline void local_flush_tlb_mm(struct mm_struct *mm)
Expand Down
37 changes: 7 additions & 30 deletions arch/powerpc/include/asm/book3s/64/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
#define _PAGE_EXEC 0x00001 /* execute permission */
#define _PAGE_WRITE 0x00002 /* write access allowed */
#define _PAGE_READ 0x00004 /* read access allowed */
#define _PAGE_NA _PAGE_PRIVILEGED
#define _PAGE_NAX _PAGE_EXEC
#define _PAGE_RO _PAGE_READ
#define _PAGE_ROX (_PAGE_READ | _PAGE_EXEC)
#define _PAGE_RW (_PAGE_READ | _PAGE_WRITE)
#define _PAGE_RWX (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
#define _PAGE_PRIVILEGED 0x00008 /* kernel access only */
Expand Down Expand Up @@ -136,23 +140,7 @@
#define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
#define _PAGE_BASE (_PAGE_BASE_NC)

/* Permission masks used to generate the __P and __S table,
*
* Note:__pgprot is defined in arch/powerpc/include/asm/page.h
*
* Write permissions imply read permissions for now (we could make write-only
* pages on BookE but we don't bother for now). Execute permission control is
* possible on platforms that define _PAGE_EXEC
*/
#define PAGE_NONE __pgprot(_PAGE_BASE | _PAGE_PRIVILEGED)
#define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_RW)
#define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_RW | _PAGE_EXEC)
#define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_READ)
#define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC)
#define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_READ)
#define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC)
/* Radix only, Hash uses PAGE_READONLY_X + execute-only pkey instead */
#define PAGE_EXECONLY __pgprot(_PAGE_BASE | _PAGE_EXEC)
#include <asm/pgtable-masks.h>

/* Permission masks used for kernel mappings */
#define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW)
Expand Down Expand Up @@ -316,6 +304,7 @@ extern unsigned long pci_io_base;
#define IOREMAP_START (ioremap_bot)
#define IOREMAP_END (KERN_IO_END - FIXADDR_SIZE)
#define FIXADDR_SIZE SZ_32M
#define FIXADDR_TOP (IOREMAP_END + FIXADDR_SIZE)

#ifndef __ASSEMBLY__

Expand Down Expand Up @@ -629,16 +618,6 @@ static inline pte_t pte_mkdevmap(pte_t pte)
return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SPECIAL | _PAGE_DEVMAP));
}

static inline pte_t pte_mkprivileged(pte_t pte)
{
return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_PRIVILEGED));
}

static inline pte_t pte_mkuser(pte_t pte)
{
return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_PRIVILEGED));
}

/*
* This is potentially called with a pmd as the argument, in which case it's not
* safe to check _PAGE_DEVMAP unless we also confirm that _PAGE_PTE is set.
Expand All @@ -647,7 +626,7 @@ static inline pte_t pte_mkuser(pte_t pte)
*/
static inline int pte_devmap(pte_t pte)
{
u64 mask = cpu_to_be64(_PAGE_DEVMAP | _PAGE_PTE);
__be64 mask = cpu_to_be64(_PAGE_DEVMAP | _PAGE_PTE);

return (pte_raw(pte) & mask) == mask;
}
Expand Down Expand Up @@ -1014,8 +993,6 @@ static inline pmd_t *pud_pgtable(pud_t pud)
return (pmd_t *)__va(pud_val(pud) & ~PUD_MASKED_BITS);
}

#define pte_ERROR(e) \
pr_err("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e))
#define pmd_ERROR(e) \
pr_err("%s:%d: bad pmd %08lx.\n", __FILE__, __LINE__, pmd_val(e))
#define pud_ERROR(e) \
Expand Down
Loading