Skip to content

Commit cc3ee4b

Browse files
committed
Merge tag 'x86-urgent-2025-12-06' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar: "Miscellaneous documentation fixes" * tag 'x86-urgent-2025-12-06' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/boot/Documentation: Prefix hexadecimal literals with 0x x86/boot/Documentation: Spell 'ID' consistently x86/platform: Fix and extend kernel-doc comments in <asm/x86_init.h>
2 parents 09bcd5e + 1c3377b commit cc3ee4b

2 files changed

Lines changed: 40 additions & 36 deletions

File tree

Documentation/arch/x86/boot.rst

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ Offset/size: 0x210/1
416416
Protocol: 2.00+
417417
============ ==================
418418

419-
If your boot loader has an assigned id (see table below), enter
419+
If your boot loader has an assigned ID (see table below), enter
420420
0xTV here, where T is an identifier for the boot loader and V is
421421
a version number. Otherwise, enter 0xFF here.
422422

@@ -431,31 +431,31 @@ Protocol: 2.00+
431431
ext_loader_type <- 0x05
432432
ext_loader_ver <- 0x23
433433

434-
Assigned boot loader ids (hexadecimal):
434+
Assigned boot loader IDs:
435435

436436
== =======================================
437-
0 LILO
438-
(0x00 reserved for pre-2.00 bootloader)
439-
1 Loadlin
440-
2 bootsect-loader
441-
(0x20, all other values reserved)
442-
3 Syslinux
443-
4 Etherboot/gPXE/iPXE
444-
5 ELILO
445-
7 GRUB
446-
8 U-Boot
447-
9 Xen
448-
A Gujin
449-
B Qemu
450-
C Arcturus Networks uCbootloader
451-
D kexec-tools
452-
E Extended (see ext_loader_type)
453-
F Special (0xFF = undefined)
454-
10 Reserved
455-
11 Minimal Linux Bootloader
456-
<http://sebastian-plotz.blogspot.de>
457-
12 OVMF UEFI virtualization stack
458-
13 barebox
437+
0x0 LILO
438+
(0x00 reserved for pre-2.00 bootloader)
439+
0x1 Loadlin
440+
0x2 bootsect-loader
441+
(0x20, all other values reserved)
442+
0x3 Syslinux
443+
0x4 Etherboot/gPXE/iPXE
444+
0x5 ELILO
445+
0x7 GRUB
446+
0x8 U-Boot
447+
0x9 Xen
448+
0xA Gujin
449+
0xB Qemu
450+
0xC Arcturus Networks uCbootloader
451+
0xD kexec-tools
452+
0xE Extended (see ext_loader_type)
453+
0xF Special (0xFF = undefined)
454+
0x10 Reserved
455+
0x11 Minimal Linux Bootloader
456+
<http://sebastian-plotz.blogspot.de>
457+
0x12 OVMF UEFI virtualization stack
458+
0x13 barebox
459459
== =======================================
460460

461461
Please contact <hpa@zytor.com> if you need a bootloader ID value assigned.

arch/x86/include/asm/x86_init.h

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ struct x86_init_paging {
7979

8080
/**
8181
* struct x86_init_timers - platform specific timer setup
82-
* @setup_perpcu_clockev: set up the per cpu clock event device for the
82+
* @setup_percpu_clockev: set up the per cpu clock event device for the
8383
* boot cpu
8484
* @timer_init: initialize the platform timer (default PIT/HPET)
8585
* @wallclock_init: init the wallclock device
@@ -132,7 +132,7 @@ struct x86_hyper_init {
132132

133133
/**
134134
* struct x86_init_acpi - x86 ACPI init functions
135-
* @set_root_poitner: set RSDP address
135+
* @set_root_pointer: set RSDP address
136136
* @get_root_pointer: get RSDP address
137137
* @reduced_hw_early_init: hardware reduced platform early init
138138
*/
@@ -145,14 +145,14 @@ struct x86_init_acpi {
145145
/**
146146
* struct x86_guest - Functions used by misc guest incarnations like SEV, TDX, etc.
147147
*
148-
* @enc_status_change_prepare Notify HV before the encryption status of a range is changed
149-
* @enc_status_change_finish Notify HV after the encryption status of a range is changed
150-
* @enc_tlb_flush_required Returns true if a TLB flush is needed before changing page encryption status
151-
* @enc_cache_flush_required Returns true if a cache flush is needed before changing page encryption status
152-
* @enc_kexec_begin Begin the two-step process of converting shared memory back
148+
* @enc_status_change_prepare: Notify HV before the encryption status of a range is changed
149+
* @enc_status_change_finish: Notify HV after the encryption status of a range is changed
150+
* @enc_tlb_flush_required: Returns true if a TLB flush is needed before changing page encryption status
151+
* @enc_cache_flush_required: Returns true if a cache flush is needed before changing page encryption status
152+
* @enc_kexec_begin: Begin the two-step process of converting shared memory back
153153
* to private. It stops the new conversions from being started
154154
* and waits in-flight conversions to finish, if possible.
155-
* @enc_kexec_finish Finish the two-step process of converting shared memory to
155+
* @enc_kexec_finish: Finish the two-step process of converting shared memory to
156156
* private. All memory is private after the call when
157157
* the function returns.
158158
* It is called on only one CPU while the others are shut down
@@ -229,7 +229,7 @@ struct x86_legacy_devices {
229229
* given platform/subarch.
230230
* @X86_LEGACY_I8042_FIRMWARE_ABSENT: firmware reports that the controller
231231
* is absent.
232-
* @X86_LEGACY_i8042_EXPECTED_PRESENT: the controller is likely to be
232+
* @X86_LEGACY_I8042_EXPECTED_PRESENT: the controller is likely to be
233233
* present, the i8042 driver should probe for controller existence.
234234
*/
235235
enum x86_legacy_i8042_state {
@@ -244,6 +244,8 @@ enum x86_legacy_i8042_state {
244244
* @i8042: indicated if we expect the device to have i8042 controller
245245
* present.
246246
* @rtc: this device has a CMOS real-time clock present
247+
* @warm_reset: 1 if platform allows warm reset, else 0
248+
* @no_vga: 1 if (FADT.boot_flags & ACPI_FADT_NO_VGA) is set, else 0
247249
* @reserve_bios_regions: boot code will search for the EBDA address and the
248250
* start of the 640k - 1M BIOS region. If false, the platform must
249251
* ensure that its memory map correctly reserves sub-1MB regions as needed.
@@ -290,9 +292,10 @@ struct x86_hyper_runtime {
290292
* @calibrate_tsc: calibrate TSC, if different from CPU
291293
* @get_wallclock: get time from HW clock like RTC etc.
292294
* @set_wallclock: set time back to HW clock
293-
* @is_untracked_pat_range exclude from PAT logic
294-
* @nmi_init enable NMI on cpus
295-
* @get_nmi_reason get the reason an NMI was received
295+
* @iommu_shutdown: set by an IOMMU driver for shutdown if necessary
296+
* @is_untracked_pat_range: exclude from PAT logic
297+
* @nmi_init: enable NMI on cpus
298+
* @get_nmi_reason: get the reason an NMI was received
296299
* @save_sched_clock_state: save state for sched_clock() on suspend
297300
* @restore_sched_clock_state: restore state for sched_clock() on resume
298301
* @apic_post_init: adjust apic if needed
@@ -307,6 +310,7 @@ struct x86_hyper_runtime {
307310
* @realmode_reserve: reserve memory for realmode trampoline
308311
* @realmode_init: initialize realmode trampoline
309312
* @hyper: x86 hypervisor specific runtime callbacks
313+
* @guest: guest incarnations callbacks
310314
*/
311315
struct x86_platform_ops {
312316
unsigned long (*calibrate_cpu)(void);

0 commit comments

Comments
 (0)