Skip to content

x86: UV runtime bios calls

Russ Anderson lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7x86: Add UV EFI table entryarch/x86/kernel/efi.c include/linux/efi.h+8 -00 replies
2/7x86: Add UV bios call infrastructurearch/x86/kernel/bios_uv.c arch/x86/kernel/genx2apic_uv_x.c include/asm-x86/efi.h +1 more+136 -530 replies
3/7x86: Add UV partition callarch/x86/kernel/bios_uv.c arch/x86/kernel/genx2apic_uv_x.c include/asm-x86/uv/bios.h+66 -140 replies
4/7x86: Add UV sysfs entriesarch/x86/kernel/Makefile arch/x86/kernel/uv_sysfs.c include/asm-x86/uv/bios.h+74 -10 replies
5/7x86: Add UV watchlist bios callarch/x86/kernel/bios_uv.c include/asm-x86/uv/bios.h+49 -10 replies
6/7x86: Add UV memory protection bios callarch/x86/kernel/bios_uv.c include/asm-x86/uv/bios.h+17 -10 replies
7/7x86: Add UV reserved page bios callarch/x86/kernel/bios_uv.c include/asm-x86/uv/bios.h+15 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] x86: UV runtime bios calls

[PATCH 0/7] x86: UV runtime bios calls

Resubmit four patches (per Ingo's request) with three additional patches.

Purpose:
Create an interface to allow calls into bios to return platform specific information. The interface adds a new EFI table entry for UV. EFI provides a mechanism for defining function pointers to firmware routines. This patchset builds on the EFI mechanism to provide access to those firmware routines for UV.

Patches:
[1/7] uv_efi_bios: Look for UV entry in EFI tables.

[2/7] uv_bios_common: Add the EFI callback function using the EFI
table entry. Create associated wrapper code. Initialize UV system table entry info at boot time.

[3/7] uv_bios_call_partition: Add call to get partitioning related info.

[4/7] uv_sysfs: Create sysfs entrys in /sys/firmware/sgi_uv/ for
partitioning related information.

[5/7] uv_bios_call_watchlist: Access UV watchlists.
[6/7] uv_bios_call_memprotect: Modify UV memory protection. [7/7] uv_bios_call_reserve_page: Access UV reserve page.

Implementation comments:

This patch adds a new EFI entry type (uv_systab).

The location in sysfs (/sys/firmware/sgi_uv/) is based on community feedback. The interface is documented in Documentation/ABI/testing/sysfs-firmware-sgi_uv.

If EFI is not configured (CONFIG_EFI), the calls will return -ENOSYS. If run on a system with a bios that does not support EFI UV, the calls will return -ENOSYS.

Paul Jackson assisted in the development of this code.

Signature · 2 lines
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          [email protected]