-
Notifications
You must be signed in to change notification settings - Fork 55.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'f4bcd8ccddb02833340652e9f46f5127828eb79d' into x86/build
Bring in upstream merge of x86/kaslr for future patches. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
- Loading branch information
Showing
1,223 changed files
with
31,193 additions
and
13,655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
What: /sys/firmware/efi/fw_vendor | ||
Date: December 2013 | ||
Contact: Dave Young <dyoung@redhat.com> | ||
Description: It shows the physical address of firmware vendor field in the | ||
EFI system table. | ||
Users: Kexec | ||
|
||
What: /sys/firmware/efi/runtime | ||
Date: December 2013 | ||
Contact: Dave Young <dyoung@redhat.com> | ||
Description: It shows the physical address of runtime service table entry in | ||
the EFI system table. | ||
Users: Kexec | ||
|
||
What: /sys/firmware/efi/config_table | ||
Date: December 2013 | ||
Contact: Dave Young <dyoung@redhat.com> | ||
Description: It shows the physical address of config table entry in the EFI | ||
system table. | ||
Users: Kexec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
What: /sys/firmware/efi/runtime-map/ | ||
Date: December 2013 | ||
Contact: Dave Young <dyoung@redhat.com> | ||
Description: Switching efi runtime services to virtual mode requires | ||
that all efi memory ranges which have the runtime attribute | ||
bit set to be mapped to virtual addresses. | ||
|
||
The efi runtime services can only be switched to virtual | ||
mode once without rebooting. The kexec kernel must maintain | ||
the same physical to virtual address mappings as the first | ||
kernel. The mappings are exported to sysfs so userspace tools | ||
can reassemble them and pass them into the kexec kernel. | ||
|
||
/sys/firmware/efi/runtime-map/ is the directory the kernel | ||
exports that information in. | ||
|
||
subdirectories are named with the number of the memory range: | ||
|
||
/sys/firmware/efi/runtime-map/0 | ||
/sys/firmware/efi/runtime-map/1 | ||
/sys/firmware/efi/runtime-map/2 | ||
/sys/firmware/efi/runtime-map/3 | ||
... | ||
|
||
Each subdirectory contains five files: | ||
|
||
attribute : The attributes of the memory range. | ||
num_pages : The size of the memory range in pages. | ||
phys_addr : The physical address of the memory range. | ||
type : The type of the memory range. | ||
virt_addr : The virtual address of the memory range. | ||
|
||
Above values are all hexadecimal numbers with the '0x' prefix. | ||
Users: Kexec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
What: /sys/kernel/boot_params | ||
Date: December 2013 | ||
Contact: Dave Young <dyoung@redhat.com> | ||
Description: The /sys/kernel/boot_params directory contains two | ||
files: "data" and "version" and one subdirectory "setup_data". | ||
It is used to export the kernel boot parameters of an x86 | ||
platform to userspace for kexec and debugging purpose. | ||
|
||
If there's no setup_data in boot_params the subdirectory will | ||
not be created. | ||
|
||
"data" file is the binary representation of struct boot_params. | ||
|
||
"version" file is the string representation of boot | ||
protocol version. | ||
|
||
"setup_data" subdirectory contains the setup_data data | ||
structure in boot_params. setup_data is maintained in kernel | ||
as a link list. In "setup_data" subdirectory there's one | ||
subdirectory for each link list node named with the number | ||
of the list nodes. The list node subdirectory contains two | ||
files "type" and "data". "type" file is the string | ||
representation of setup_data type. "data" file is the binary | ||
representation of setup_data payload. | ||
|
||
The whole boot_params directory structure is like below: | ||
/sys/kernel/boot_params | ||
|__ data | ||
|__ setup_data | ||
| |__ 0 | ||
| | |__ data | ||
| | |__ type | ||
| |__ 1 | ||
| |__ data | ||
| |__ type | ||
|__ version | ||
|
||
Users: Kexec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,6 +159,8 @@ clock which they consume. | |
mixer 343 | ||
hdmi 344 | ||
g2d 345 | ||
mdma0 346 | ||
smmu_mdma0 347 | ||
|
||
|
||
[Clock Muxes] | ||
|
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Allwinner SoCs High Speed Timer Controller | ||
|
||
Required properties: | ||
|
||
- compatible : should be "allwinner,sun5i-a13-hstimer" or | ||
"allwinner,sun7i-a20-hstimer" | ||
- reg : Specifies base physical address and size of the registers. | ||
- interrupts : The interrupts of these timers (2 for the sun5i IP, 4 for the sun7i | ||
one) | ||
- clocks: phandle to the source clock (usually the AHB clock) | ||
|
||
Example: | ||
|
||
timer@01c60000 { | ||
compatible = "allwinner,sun7i-a20-hstimer"; | ||
reg = <0x01c60000 0x1000>; | ||
interrupts = <0 51 1>, | ||
<0 52 1>, | ||
<0 53 1>, | ||
<0 54 1>; | ||
clocks = <&ahb1_gates 19>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.