forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'v5.7-rc1' into locking/kcsan, to resolve conflicts and ref…
…resh Resolve these conflicts: arch/x86/Kconfig arch/x86/kernel/Makefile Do a minor "evil merge" to move the KCSAN entry up a bit by a few lines in the Kconfig to reduce the probability of future conflicts. Signed-off-by: Ingo Molnar <[email protected]>
- Loading branch information
Showing
10,907 changed files
with
534,607 additions
and
268,887 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
output | ||
*.pyc |
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,9 @@ | ||
This ABI is renamed and moved to a new location /sys/kernel/fadump/enabled. | ||
|
||
What: /sys/kernel/fadump_enabled | ||
Date: Feb 2012 | ||
Contact: [email protected] | ||
Description: read only | ||
Primarily used to identify whether the FADump is enabled in | ||
the kernel or not. | ||
User: Kdump service |
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,10 @@ | ||
This ABI is renamed and moved to a new location /sys/kernel/fadump/registered.¬ | ||
|
||
What: /sys/kernel/fadump_registered | ||
Date: Feb 2012 | ||
Contact: [email protected] | ||
Description: read/write | ||
Helps to control the dump collect feature from userspace. | ||
Setting 1 to this file enables the system to collect the | ||
dump and 0 to disable it. | ||
User: Kdump service |
10 changes: 10 additions & 0 deletions
10
Documentation/ABI/obsolete/sysfs-kernel-fadump_release_mem
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,10 @@ | ||
This ABI is renamed and moved to a new location /sys/kernel/fadump/release_mem.¬ | ||
|
||
What: /sys/kernel/fadump_release_mem | ||
Date: Feb 2012 | ||
Contact: [email protected] | ||
Description: write only | ||
This is a special sysfs file and only available when | ||
the system is booted to capture the vmcore using FADump. | ||
It is used to release the memory reserved by FADump to | ||
save the crash dump. |
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,23 @@ | ||
What: /sys/fs/selinux/checkreqprot | ||
Date: April 2005 (predates git) | ||
KernelVersion: 2.6.12-rc2 (predates git) | ||
Contact: [email protected] | ||
Description: | ||
|
||
The selinuxfs "checkreqprot" node allows SELinux to be configured | ||
to check the protection requested by userspace for mmap/mprotect | ||
calls instead of the actual protection applied by the kernel. | ||
This was a compatibility mechanism for legacy userspace and | ||
for the READ_IMPLIES_EXEC personality flag. However, if set to | ||
1, it weakens security by allowing mappings to be made executable | ||
without authorization by policy. The default value of checkreqprot | ||
at boot was changed starting in Linux v4.4 to 0 (i.e. check the | ||
actual protection), and Android and Linux distributions have been | ||
explicitly writing a "0" to /sys/fs/selinux/checkreqprot during | ||
initialization for some time. Support for setting checkreqprot to 1 | ||
will be removed in a future kernel release, at which point the kernel | ||
will always cease using checkreqprot internally and will always | ||
check the actual protections being applied upon mmap/mprotect calls. | ||
The checkreqprot selinuxfs node will remain for backward compatibility | ||
but will discard writes of the "0" value and will reject writes of the | ||
"1" value when this mechanism is removed. |
9 changes: 9 additions & 0 deletions
9
Documentation/ABI/removed/sysfs-kernel-fadump_release_opalcore
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,9 @@ | ||
This ABI is moved to /sys/firmware/opal/mpipl/release_core. | ||
|
||
What: /sys/kernel/fadump_release_opalcore | ||
Date: Sep 2019 | ||
Contact: [email protected] | ||
Description: write only | ||
The sysfs file is available when the system is booted to | ||
collect the dump on OPAL based machine. It used to release | ||
the memory used to collect the opalcore. |
2 changes: 1 addition & 1 deletion
2
Documentation/ABI/testing/sysfs-kernel-uids → Documentation/ABI/removed/sysfs-kernel-uids
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
What: /sys/kernel/uids/<uid>/cpu_shares | ||
Date: December 2007 | ||
Date: December 2007, finally removed in kernel v2.6.34-rc1 | ||
Contact: Dhaval Giani <[email protected]> | ||
Srivatsa Vaddagiri <[email protected]> | ||
Description: | ||
|
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,196 @@ | ||
What: /sys/kernel/config/most_<component> | ||
Date: March 8, 2019 | ||
KernelVersion: 5.2 | ||
Description: Interface is used to configure and connect device channels | ||
to component drivers. | ||
|
||
Attributes are visible only when configfs is mounted. To mount | ||
configfs in /sys/kernel/config directory use: | ||
# mount -t configfs none /sys/kernel/config/ | ||
|
||
|
||
What: /sys/kernel/config/most_cdev/<link> | ||
Date: March 8, 2019 | ||
KernelVersion: 5.2 | ||
Description: | ||
The attributes: | ||
|
||
buffer_size configure the buffer size for this channel | ||
|
||
subbuffer_size configure the sub-buffer size for this channel | ||
(needed for synchronous and isochrnous data) | ||
|
||
|
||
num_buffers configure number of buffers used for this | ||
channel | ||
|
||
datatype configure type of data that will travel over | ||
this channel | ||
|
||
direction configure whether this link will be an input | ||
or output | ||
|
||
dbr_size configure DBR data buffer size (this is used | ||
for MediaLB communication only) | ||
|
||
packets_per_xact | ||
configure the number of packets that will be | ||
collected from the network before being | ||
transmitted via USB (this is used for USB | ||
communication only) | ||
|
||
device name of the device the link is to be attached to | ||
|
||
channel name of the channel the link is to be attached to | ||
|
||
comp_params pass parameters needed by some components | ||
|
||
create_link write '1' to this attribute to trigger the | ||
creation of the link. In case of speculative | ||
configuration, the creation is post-poned until | ||
a physical device is being attached to the bus. | ||
|
||
destroy_link write '1' to this attribute to destroy an | ||
active link | ||
|
||
What: /sys/kernel/config/most_video/<link> | ||
Date: March 8, 2019 | ||
KernelVersion: 5.2 | ||
Description: | ||
The attributes: | ||
|
||
buffer_size configure the buffer size for this channel | ||
|
||
subbuffer_size configure the sub-buffer size for this channel | ||
(needed for synchronous and isochrnous data) | ||
|
||
|
||
num_buffers configure number of buffers used for this | ||
channel | ||
|
||
datatype configure type of data that will travel over | ||
this channel | ||
|
||
direction configure whether this link will be an input | ||
or output | ||
|
||
dbr_size configure DBR data buffer size (this is used | ||
for MediaLB communication only) | ||
|
||
packets_per_xact | ||
configure the number of packets that will be | ||
collected from the network before being | ||
transmitted via USB (this is used for USB | ||
communication only) | ||
|
||
device name of the device the link is to be attached to | ||
|
||
channel name of the channel the link is to be attached to | ||
|
||
comp_params pass parameters needed by some components | ||
|
||
create_link write '1' to this attribute to trigger the | ||
creation of the link. In case of speculative | ||
configuration, the creation is post-poned until | ||
a physical device is being attached to the bus. | ||
|
||
destroy_link write '1' to this attribute to destroy an | ||
active link | ||
|
||
What: /sys/kernel/config/most_net/<link> | ||
Date: March 8, 2019 | ||
KernelVersion: 5.2 | ||
Description: | ||
The attributes: | ||
|
||
buffer_size configure the buffer size for this channel | ||
|
||
subbuffer_size configure the sub-buffer size for this channel | ||
(needed for synchronous and isochrnous data) | ||
|
||
|
||
num_buffers configure number of buffers used for this | ||
channel | ||
|
||
datatype configure type of data that will travel over | ||
this channel | ||
|
||
direction configure whether this link will be an input | ||
or output | ||
|
||
dbr_size configure DBR data buffer size (this is used | ||
for MediaLB communication only) | ||
|
||
packets_per_xact | ||
configure the number of packets that will be | ||
collected from the network before being | ||
transmitted via USB (this is used for USB | ||
communication only) | ||
|
||
device name of the device the link is to be attached to | ||
|
||
channel name of the channel the link is to be attached to | ||
|
||
comp_params pass parameters needed by some components | ||
|
||
create_link write '1' to this attribute to trigger the | ||
creation of the link. In case of speculative | ||
configuration, the creation is post-poned until | ||
a physical device is being attached to the bus. | ||
|
||
destroy_link write '1' to this attribute to destroy an | ||
active link | ||
|
||
What: /sys/kernel/config/most_sound/<card> | ||
Date: March 8, 2019 | ||
KernelVersion: 5.2 | ||
Description: | ||
The attributes: | ||
|
||
create_card write '1' to this attribute to trigger the | ||
registration of the sound card with the ALSA | ||
subsystem. | ||
|
||
What: /sys/kernel/config/most_sound/<card>/<link> | ||
Date: March 8, 2019 | ||
KernelVersion: 5.2 | ||
Description: | ||
The attributes: | ||
|
||
buffer_size configure the buffer size for this channel | ||
|
||
subbuffer_size configure the sub-buffer size for this channel | ||
(needed for synchronous and isochrnous data) | ||
|
||
|
||
num_buffers configure number of buffers used for this | ||
channel | ||
|
||
datatype configure type of data that will travel over | ||
this channel | ||
|
||
direction configure whether this link will be an input | ||
or output | ||
|
||
dbr_size configure DBR data buffer size (this is used | ||
for MediaLB communication only) | ||
|
||
packets_per_xact | ||
configure the number of packets that will be | ||
collected from the network before being | ||
transmitted via USB (this is used for USB | ||
communication only) | ||
|
||
device name of the device the link is to be attached to | ||
|
||
channel name of the channel the link is to be attached to | ||
|
||
comp_params pass parameters needed by some components | ||
|
||
create_link write '1' to this attribute to trigger the | ||
creation of the link. In case of speculative | ||
configuration, the creation is post-poned until | ||
a physical device is being attached to the bus. | ||
|
||
destroy_link write '1' to this attribute to destroy an | ||
active link |
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 |
---|---|---|
|
@@ -43,6 +43,20 @@ Description: Allows the root user to read or write directly through the | |
If the IOMMU is disabled, it also allows the root user to read | ||
or write from the host a device VA of a host mapped memory | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/data64 | ||
Date: Jan 2020 | ||
KernelVersion: 5.6 | ||
Contact: [email protected] | ||
Description: Allows the root user to read or write 64 bit data directly | ||
through the device's PCI bar. Writing to this file generates a | ||
write transaction while reading from the file generates a read | ||
transaction. This custom interface is needed (instead of using | ||
the generic Linux user-space PCI mapping) because the DDR bar | ||
is very small compared to the DDR memory and only the driver can | ||
move the bar before and after the transaction. | ||
If the IOMMU is disabled, it also allows the root user to read | ||
or write from the host a device VA of a host mapped memory | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/device | ||
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
|
Oops, something went wrong.