-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux…
…/kernel/git/gregkh/driver-core-2.6 * 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (44 commits) debugfs: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warning sysfs: remove "last sysfs file:" line from the oops messages drivers/base/memory.c: fix warning due to "memory hotplug: Speed up add/remove when blocks are larger than PAGES_PER_SECTION" memory hotplug: Speed up add/remove when blocks are larger than PAGES_PER_SECTION SYSFS: Fix erroneous comments for sysfs_update_group(). driver core: remove the driver-model structures from the documentation driver core: Add the device driver-model structures to kerneldoc Translated Documentation/email-clients.txt RAW driver: Remove call to kobject_put(). reboot: disable usermodehelper to prevent fs access efivars: prevent oops on unload when efi is not enabled Allow setting of number of raw devices as a module parameter Introduce CONFIG_GOOGLE_FIRMWARE driver: Google Memory Console driver: Google EFI SMI x86: Better comments for get_bios_ebda() x86: get_bios_ebda_length() misc: fix ti-st build issues params.c: Use new strtobool function to process boolean inputs debugfs: move to new strtobool ... Fix up trivial conflicts in fs/debugfs/file.c due to the same patch being applied twice, and an unrelated cleanup nearby.
- Loading branch information
Showing
45 changed files
with
1,847 additions
and
365 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
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,58 @@ | ||
What: /sys/firmware/gsmi | ||
Date: March 2011 | ||
Contact: Mike Waychison <mikew@google.com> | ||
Description: | ||
Some servers used internally at Google have firmware | ||
that provides callback functionality via explicit SMI | ||
triggers. Some of the callbacks are similar to those | ||
provided by the EFI runtime services page, but due to | ||
historical reasons this different entry-point has been | ||
used. | ||
|
||
The gsmi driver implements the kernel's abstraction for | ||
these firmware callbacks. Currently, this functionality | ||
is limited to handling the system event log and getting | ||
access to EFI-style variables stored in nvram. | ||
|
||
Layout: | ||
|
||
/sys/firmware/gsmi/vars: | ||
|
||
This directory has the same layout (and | ||
underlying implementation as /sys/firmware/efi/vars. | ||
See Documentation/ABI/*/sysfs-firmware-efi-vars | ||
for more information on how to interact with | ||
this structure. | ||
|
||
/sys/firmware/gsmi/append_to_eventlog - write-only: | ||
|
||
This file takes a binary blob and passes it onto | ||
the firmware to be timestamped and appended to | ||
the system eventlog. The binary format is | ||
interpreted by the firmware and may change from | ||
platform to platform. The only kernel-enforced | ||
requirement is that the blob be prefixed with a | ||
32bit host-endian type used as part of the | ||
firmware call. | ||
|
||
/sys/firmware/gsmi/clear_config - write-only: | ||
|
||
Writing any value to this file will cause the | ||
entire firmware configuration to be reset to | ||
"factory defaults". Callers should assume that | ||
a reboot is required for the configuration to be | ||
cleared. | ||
|
||
/sys/firmware/gsmi/clear_eventlog - write-only: | ||
|
||
This file is used to clear out a portion/the | ||
whole of the system event log. Values written | ||
should be values between 1 and 100 inclusive (in | ||
ASCII) representing the fraction of the log to | ||
clear. Not all platforms support fractional | ||
clearing though, and this writes to this file | ||
will error out if the firmware doesn't like your | ||
submitted fraction. | ||
|
||
Callers should assume that a reboot is needed | ||
for this operation to complete. |
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,7 @@ | ||
What: /sys/firmware/log | ||
Date: February 2011 | ||
Contact: Mike Waychison <mikew@google.com> | ||
Description: | ||
The /sys/firmware/log is a binary file that represents a | ||
read-only copy of the firmware's log if one is | ||
available. |
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,8 @@ | ||
What: /sys/kernel/fscaps | ||
Date: February 2011 | ||
KernelVersion: 2.6.38 | ||
Contact: Ludwig Nussel <ludwig.nussel@suse.de> | ||
Description | ||
Shows whether file system capabilities are honored | ||
when executing a binary | ||
|
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
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.