x86: UV runtime bios calls v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | x86: Add UV EFI table entry v2arch/ include/ | +8 | 1 reply | |
| 2/4 | x86: Add UV bios call infrastructure v2arch/ arch/ include/ +1 more | +136 | 9 replies | |
| 3/4 | x86: Add UV partition call v2arch/ arch/ include/ | +66 | 0 replies | |
| 4/4 | x86: Add sysfs entries for UV v2arch/ arch/ include/ | +74 | 3 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Huang Ying |
|---|---|
| 1/4 | A-b |
| 2/4 | A-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] x86: UV runtime bios calls v2
[PATCH 0/4] x86: UV runtime bios calls
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.
Version 2 changes:
Add uv_systab to efi struct.
Define efi_call* stubs in include/asm-x86/uv/bios.h. Made symbols EXPORT_SYMBOL_GPL().
Added check for failure on sysfs_create_file() calls. Other code style changes.
Patches:
uv_efi_bios: Look for UV entry in EFI tables.
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.
uv_bios_call_partition: Add call to get partitioning related info.
uv_sysfs: Create sysfs entrys in /sys/firmware/sgi_uv/ for
partitioning related information.
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 supportes 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]