Skip to content
Open
Show file tree
Hide file tree
Changes from 51 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
12 changes: 5 additions & 7 deletions Documentation/arch/x86/topology.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@ Package-related topology information in the kernel:

The number of dies in a package. This information is retrieved via CPUID.

- cpuinfo_x86.cpu_die_id:
- cpuinfo_x86.topo.die_id:

The physical ID of the die. This information is retrieved via CPUID.

- cpuinfo_x86.phys_proc_id:
- cpuinfo_x86.topo.pkg_id:

The physical ID of the package. This information is retrieved via CPUID
and deduced from the APIC IDs of the cores in the package.

Modern systems use this value for the socket. There may be multiple
packages within a socket. This value may differ from cpu_die_id.
packages within a socket. This value may differ from topo.die_id.

- cpuinfo_x86.logical_proc_id:
- cpuinfo_x86.topo.logical_pkg_id:

The logical ID of the package. As we do not trust BIOSes to enumerate the
packages in a consistent way, we introduced the concept of logical package
Expand All @@ -79,9 +79,7 @@ Package-related topology information in the kernel:
The maximum possible number of packages in the system. Helpful for per
package facilities to preallocate per package information.

- cpu_llc_id:

A per-CPU variable containing:
- cpuinfo_x86.topo.llc_id:

- On Intel, the first APIC ID of the list of CPUs sharing the Last Level
Cache
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ endif

# How to compile the 16-bit code. Note we always compile for -march=i386;
# that way we can complain to the user if the CPU is insufficient.
REALMODE_CFLAGS := -m16 -g -Os -DDISABLE_BRANCH_PROFILING -D__DISABLE_EXPORTS \
REALMODE_CFLAGS := -std=gnu11 -m16 -g -Os -DDISABLE_BRANCH_PROFILING -D__DISABLE_EXPORTS \
-Wall -Wstrict-prototypes -march=i386 -mregparm=3 \
-fno-strict-aliasing -fomit-frame-pointer -fno-pic \
-mno-mmx -mno-sse $(call cc-option,-fcf-protection=none)
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ $(obj)/vmlinux.bin: $(obj)/compressed/vmlinux FORCE

SETUP_OBJS = $(addprefix $(obj)/,$(setup-y))

sed-zoffset := -e 's/^\([0-9a-fA-F]*\) [a-zA-Z] \(startup_32\|startup_64\|efi32_stub_entry\|efi64_stub_entry\|efi_pe_entry\|efi32_pe_entry\|input_data\|kernel_info\|_end\|_ehead\|_text\|z_.*\)$$/\#define ZO_\2 0x\1/p'
sed-zoffset := -e 's/^\([0-9a-fA-F]*\) [a-zA-Z] \(startup_32\|efi.._stub_entry\|efi\(32\)\?_pe_entry\|input_data\|kernel_info\|_end\|_ehead\|_text\|_e\?data\|z_.*\)$$/\#define ZO_\2 0x\1/p'

quiet_cmd_zoffset = ZOFFSET $@
cmd_zoffset = $(NM) $< | sed -n $(sed-zoffset) > $@
Expand Down
14 changes: 7 additions & 7 deletions arch/x86/boot/compressed/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ __efi_get_rsdp_addr(unsigned long cfg_tbl_pa, unsigned int cfg_tbl_len)
* Search EFI system tables for RSDP. Preferred is ACPI_20_TABLE_GUID to
* ACPI_TABLE_GUID because it has more features.
*/
rsdp_addr = efi_find_vendor_table(boot_params, cfg_tbl_pa, cfg_tbl_len,
rsdp_addr = efi_find_vendor_table(boot_params_ptr, cfg_tbl_pa, cfg_tbl_len,
ACPI_20_TABLE_GUID);
if (rsdp_addr)
return (acpi_physical_address)rsdp_addr;

/* No ACPI_20_TABLE_GUID found, fallback to ACPI_TABLE_GUID. */
rsdp_addr = efi_find_vendor_table(boot_params, cfg_tbl_pa, cfg_tbl_len,
rsdp_addr = efi_find_vendor_table(boot_params_ptr, cfg_tbl_pa, cfg_tbl_len,
ACPI_TABLE_GUID);
if (rsdp_addr)
return (acpi_physical_address)rsdp_addr;
Expand All @@ -56,15 +56,15 @@ static acpi_physical_address efi_get_rsdp_addr(void)
enum efi_type et;
int ret;

et = efi_get_type(boot_params);
et = efi_get_type(boot_params_ptr);
if (et == EFI_TYPE_NONE)
return 0;

systab_pa = efi_get_system_table(boot_params);
systab_pa = efi_get_system_table(boot_params_ptr);
if (!systab_pa)
error("EFI support advertised, but unable to locate system table.");

ret = efi_get_conf_table(boot_params, &cfg_tbl_pa, &cfg_tbl_len);
ret = efi_get_conf_table(boot_params_ptr, &cfg_tbl_pa, &cfg_tbl_len);
if (ret || !cfg_tbl_pa)
error("EFI config table not found.");

Expand Down Expand Up @@ -156,7 +156,7 @@ acpi_physical_address get_rsdp_addr(void)
{
acpi_physical_address pa;

pa = boot_params->acpi_rsdp_addr;
pa = boot_params_ptr->acpi_rsdp_addr;

if (!pa)
pa = efi_get_rsdp_addr();
Expand Down Expand Up @@ -210,7 +210,7 @@ static unsigned long get_acpi_srat_table(void)
rsdp = (struct acpi_table_rsdp *)get_cmdline_acpi_rsdp();
if (!rsdp)
rsdp = (struct acpi_table_rsdp *)(long)
boot_params->acpi_rsdp_addr;
boot_params_ptr->acpi_rsdp_addr;

if (!rsdp)
return 0;
Expand Down
4 changes: 2 additions & 2 deletions arch/x86/boot/compressed/cmdline.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ static inline char rdfs8(addr_t addr)
#include "../cmdline.c"
unsigned long get_cmd_line_ptr(void)
{
unsigned long cmd_line_ptr = boot_params->hdr.cmd_line_ptr;
unsigned long cmd_line_ptr = boot_params_ptr->hdr.cmd_line_ptr;

cmd_line_ptr |= (u64)boot_params->ext_cmd_line_ptr << 32;
cmd_line_ptr |= (u64)boot_params_ptr->ext_cmd_line_ptr << 32;

return cmd_line_ptr;
}
Expand Down
7 changes: 4 additions & 3 deletions arch/x86/boot/compressed/ident_map_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,17 @@ void initialize_identity_maps(void *rmode)
* or does not touch all the pages covering them.
*/
kernel_add_identity_map((unsigned long)_head, (unsigned long)_end);
boot_params = rmode;
kernel_add_identity_map((unsigned long)boot_params, (unsigned long)(boot_params + 1));
boot_params_ptr = rmode;
kernel_add_identity_map((unsigned long)boot_params_ptr,
(unsigned long)(boot_params_ptr + 1));
cmdline = get_cmd_line_ptr();
kernel_add_identity_map(cmdline, cmdline + COMMAND_LINE_SIZE);

/*
* Also map the setup_data entries passed via boot_params in case they
* need to be accessed by uncompressed kernel via the identity mapping.
*/
sd = (struct setup_data *)boot_params->hdr.setup_data;
sd = (struct setup_data *)boot_params_ptr->hdr.setup_data;
while (sd) {
unsigned long sd_addr = (unsigned long)sd;

Expand Down
26 changes: 13 additions & 13 deletions arch/x86/boot/compressed/kaslr.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static unsigned long get_boot_seed(void)
unsigned long hash = 0;

hash = rotate_xor(hash, build_str, sizeof(build_str));
hash = rotate_xor(hash, boot_params, sizeof(*boot_params));
hash = rotate_xor(hash, boot_params_ptr, sizeof(*boot_params_ptr));

return hash;
}
Expand Down Expand Up @@ -383,7 +383,7 @@ static void handle_mem_options(void)
static void mem_avoid_init(unsigned long input, unsigned long input_size,
unsigned long output)
{
unsigned long init_size = boot_params->hdr.init_size;
unsigned long init_size = boot_params_ptr->hdr.init_size;
u64 initrd_start, initrd_size;
unsigned long cmd_line, cmd_line_size;

Expand All @@ -395,10 +395,10 @@ static void mem_avoid_init(unsigned long input, unsigned long input_size,
mem_avoid[MEM_AVOID_ZO_RANGE].size = (output + init_size) - input;

/* Avoid initrd. */
initrd_start = (u64)boot_params->ext_ramdisk_image << 32;
initrd_start |= boot_params->hdr.ramdisk_image;
initrd_size = (u64)boot_params->ext_ramdisk_size << 32;
initrd_size |= boot_params->hdr.ramdisk_size;
initrd_start = (u64)boot_params_ptr->ext_ramdisk_image << 32;
initrd_start |= boot_params_ptr->hdr.ramdisk_image;
initrd_size = (u64)boot_params_ptr->ext_ramdisk_size << 32;
initrd_size |= boot_params_ptr->hdr.ramdisk_size;
mem_avoid[MEM_AVOID_INITRD].start = initrd_start;
mem_avoid[MEM_AVOID_INITRD].size = initrd_size;
/* No need to set mapping for initrd, it will be handled in VO. */
Expand All @@ -413,8 +413,8 @@ static void mem_avoid_init(unsigned long input, unsigned long input_size,
}

/* Avoid boot parameters. */
mem_avoid[MEM_AVOID_BOOTPARAMS].start = (unsigned long)boot_params;
mem_avoid[MEM_AVOID_BOOTPARAMS].size = sizeof(*boot_params);
mem_avoid[MEM_AVOID_BOOTPARAMS].start = (unsigned long)boot_params_ptr;
mem_avoid[MEM_AVOID_BOOTPARAMS].size = sizeof(*boot_params_ptr);

/* We don't need to set a mapping for setup_data. */

Expand Down Expand Up @@ -447,7 +447,7 @@ static bool mem_avoid_overlap(struct mem_vector *img,
}

/* Avoid all entries in the setup_data linked list. */
ptr = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data;
ptr = (struct setup_data *)(unsigned long)boot_params_ptr->hdr.setup_data;
while (ptr) {
struct mem_vector avoid;

Expand Down Expand Up @@ -706,7 +706,7 @@ static inline bool memory_type_is_free(efi_memory_desc_t *md)
static bool
process_efi_entries(unsigned long minimum, unsigned long image_size)
{
struct efi_info *e = &boot_params->efi_info;
struct efi_info *e = &boot_params_ptr->efi_info;
bool efi_mirror_found = false;
struct mem_vector region;
efi_memory_desc_t *md;
Expand Down Expand Up @@ -777,8 +777,8 @@ static void process_e820_entries(unsigned long minimum,
struct boot_e820_entry *entry;

/* Verify potential e820 positions, appending to slots list. */
for (i = 0; i < boot_params->e820_entries; i++) {
entry = &boot_params->e820_table[i];
for (i = 0; i < boot_params_ptr->e820_entries; i++) {
entry = &boot_params_ptr->e820_table[i];
/* Skip non-RAM entries. */
if (entry->type != E820_TYPE_RAM)
continue;
Expand Down Expand Up @@ -852,7 +852,7 @@ void choose_random_location(unsigned long input,
return;
}

boot_params->hdr.loadflags |= KASLR_FLAG;
boot_params_ptr->hdr.loadflags |= KASLR_FLAG;

if (IS_ENABLED(CONFIG_X86_32))
mem_limit = KERNEL_IMAGE_SIZE;
Expand Down
6 changes: 3 additions & 3 deletions arch/x86/boot/compressed/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@ bool init_unaccepted_memory(void)
enum efi_type et;
int ret;

et = efi_get_type(boot_params);
et = efi_get_type(boot_params_ptr);
if (et == EFI_TYPE_NONE)
return false;

ret = efi_get_conf_table(boot_params, &cfg_table_pa, &cfg_table_len);
ret = efi_get_conf_table(boot_params_ptr, &cfg_table_pa, &cfg_table_len);
if (ret) {
warn("EFI config table not found.");
return false;
}

table = (void *)efi_find_vendor_table(boot_params, cfg_table_pa,
table = (void *)efi_find_vendor_table(boot_params_ptr, cfg_table_pa,
cfg_table_len, guid);
if (!table)
return false;
Expand Down
24 changes: 12 additions & 12 deletions arch/x86/boot/compressed/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void *memmove(void *dest, const void *src, size_t n);
/*
* This is set up by the setup-routine at boot-time
*/
struct boot_params *boot_params;
struct boot_params *boot_params_ptr;

struct port_io_ops pio_ops;

Expand Down Expand Up @@ -132,8 +132,8 @@ void __putstr(const char *s)
if (lines == 0 || cols == 0)
return;

x = boot_params->screen_info.orig_x;
y = boot_params->screen_info.orig_y;
x = boot_params_ptr->screen_info.orig_x;
y = boot_params_ptr->screen_info.orig_y;

while ((c = *s++) != '\0') {
if (c == '\n') {
Expand All @@ -154,8 +154,8 @@ void __putstr(const char *s)
}
}

boot_params->screen_info.orig_x = x;
boot_params->screen_info.orig_y = y;
boot_params_ptr->screen_info.orig_x = x;
boot_params_ptr->screen_info.orig_y = y;

pos = (x + cols * y) * 2; /* Update cursor position */
outb(14, vidport);
Expand Down Expand Up @@ -382,23 +382,23 @@ asmlinkage __visible void *extract_kernel(void *rmode, unsigned char *output)
size_t entry_offset;

/* Retain x86 boot parameters pointer passed from startup_32/64. */
boot_params = rmode;
boot_params_ptr = rmode;

/* Clear flags intended for solely in-kernel use. */
boot_params->hdr.loadflags &= ~KASLR_FLAG;
boot_params_ptr->hdr.loadflags &= ~KASLR_FLAG;

sanitize_boot_params(boot_params);
sanitize_boot_params(boot_params_ptr);

if (boot_params->screen_info.orig_video_mode == 7) {
if (boot_params_ptr->screen_info.orig_video_mode == 7) {
vidmem = (char *) 0xb0000;
vidport = 0x3b4;
} else {
vidmem = (char *) 0xb8000;
vidport = 0x3d4;
}

lines = boot_params->screen_info.orig_video_lines;
cols = boot_params->screen_info.orig_video_cols;
lines = boot_params_ptr->screen_info.orig_video_lines;
cols = boot_params_ptr->screen_info.orig_video_cols;

init_default_io_ops();

Expand All @@ -417,7 +417,7 @@ asmlinkage __visible void *extract_kernel(void *rmode, unsigned char *output)
* so that early debugging output from the RSDP parsing code can be
* collected.
*/
boot_params->acpi_rsdp_addr = get_rsdp_addr();
boot_params_ptr->acpi_rsdp_addr = get_rsdp_addr();

debug_putstr("early console in extract_kernel\n");

Expand Down
1 change: 0 additions & 1 deletion arch/x86/boot/compressed/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ extern memptr free_mem_ptr;
extern memptr free_mem_end_ptr;
void *malloc(int size);
void free(void *where);
extern struct boot_params *boot_params;
void __putstr(const char *s);
void __puthex(unsigned long value);
#define error_putstr(__x) __putstr(__x)
Expand Down
9 changes: 4 additions & 5 deletions arch/x86/boot/compressed/pgtable_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ static char trampoline_save[TRAMPOLINE_32BIT_SIZE];
*/
unsigned long *trampoline_32bit __section(".data");

extern struct boot_params *boot_params;
int cmdline_find_option_bool(const char *option);

static unsigned long find_trampoline_placement(void)
Expand All @@ -49,7 +48,7 @@ static unsigned long find_trampoline_placement(void)
*
* Only look for values in the legacy ROM for non-EFI system.
*/
signature = (char *)&boot_params->efi_info.efi_loader_signature;
signature = (char *)&boot_params_ptr->efi_info.efi_loader_signature;
if (strncmp(signature, EFI32_LOADER_SIGNATURE, 4) &&
strncmp(signature, EFI64_LOADER_SIGNATURE, 4)) {
ebda_start = *(unsigned short *)0x40e << 4;
Expand All @@ -65,10 +64,10 @@ static unsigned long find_trampoline_placement(void)
bios_start = round_down(bios_start, PAGE_SIZE);

/* Find the first usable memory region under bios_start. */
for (i = boot_params->e820_entries - 1; i >= 0; i--) {
for (i = boot_params_ptr->e820_entries - 1; i >= 0; i--) {
unsigned long new = bios_start;

entry = &boot_params->e820_table[i];
entry = &boot_params_ptr->e820_table[i];

/* Skip all entries above bios_start. */
if (bios_start <= entry->addr)
Expand Down Expand Up @@ -107,7 +106,7 @@ asmlinkage void configure_5level_paging(struct boot_params *bp, void *pgtable)
bool l5_required = false;

/* Initialize boot_params. Required for cmdline_find_option_bool(). */
boot_params = bp;
boot_params_ptr = bp;

/*
* Check if LA57 is desired and supported.
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/boot/compressed/sev.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ void sev_prep_identity_maps(unsigned long top_level_pgt)
* accessed after switchover.
*/
if (sev_snp_enabled()) {
unsigned long cc_info_pa = boot_params->cc_blob_address;
unsigned long cc_info_pa = boot_params_ptr->cc_blob_address;
struct cc_blob_sev_info *cc_info;

kernel_add_identity_map(cc_info_pa, cc_info_pa + sizeof(*cc_info));
Expand Down
6 changes: 4 additions & 2 deletions arch/x86/boot/compressed/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ SECTIONS
*(.rodata.*)
_erodata = . ;
}
.data : {
.data : ALIGN(0x1000) {
_data = . ;
*(.data)
*(.data.*)
*(.bss.efistub)

/* Add 4 bytes of extra space for a CRC-32 checksum */
. = ALIGN(. + 4, 0x200);
_edata = . ;
}
. = ALIGN(L1_CACHE_BYTES);
Expand Down
Loading