forked from torvalds/linux
-
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 'linus' into locking/core, to pick up fixes
Signed-off-by: Ingo Molnar <[email protected]>
- Loading branch information
Showing
414 changed files
with
5,894 additions
and
2,121 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 |
---|---|---|
|
@@ -244,3 +244,11 @@ Description: read only | |
Returns 1 if the psl timebase register is synchronized | ||
with the core timebase register, 0 otherwise. | ||
Users: https://github.com/ibm-capi/libcxl | ||
|
||
What: /sys/class/cxl/<card>/tunneled_ops_supported | ||
Date: May 2018 | ||
Contact: [email protected] | ||
Description: read only | ||
Returns 1 if tunneled operations are supported in capi mode, | ||
0 otherwise. | ||
Users: https://github.com/ibm-capi/libcxl |
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 |
---|---|---|
|
@@ -478,6 +478,7 @@ What: /sys/devices/system/cpu/vulnerabilities | |
/sys/devices/system/cpu/vulnerabilities/meltdown | ||
/sys/devices/system/cpu/vulnerabilities/spectre_v1 | ||
/sys/devices/system/cpu/vulnerabilities/spectre_v2 | ||
/sys/devices/system/cpu/vulnerabilities/spec_store_bypass | ||
Date: January 2018 | ||
Contact: Linux kernel mailing list <[email protected]> | ||
Description: Information about CPU vulnerabilities | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
=================== | ||
Speculation Control | ||
=================== | ||
|
||
Quite some CPUs have speculation-related misfeatures which are in | ||
fact vulnerabilities causing data leaks in various forms even across | ||
privilege domains. | ||
|
||
The kernel provides mitigation for such vulnerabilities in various | ||
forms. Some of these mitigations are compile-time configurable and some | ||
can be supplied on the kernel command line. | ||
|
||
There is also a class of mitigations which are very expensive, but they can | ||
be restricted to a certain set of processes or tasks in controlled | ||
environments. The mechanism to control these mitigations is via | ||
:manpage:`prctl(2)`. | ||
|
||
There are two prctl options which are related to this: | ||
|
||
* PR_GET_SPECULATION_CTRL | ||
|
||
* PR_SET_SPECULATION_CTRL | ||
|
||
PR_GET_SPECULATION_CTRL | ||
----------------------- | ||
|
||
PR_GET_SPECULATION_CTRL returns the state of the speculation misfeature | ||
which is selected with arg2 of prctl(2). The return value uses bits 0-3 with | ||
the following meaning: | ||
|
||
==== ===================== =================================================== | ||
Bit Define Description | ||
==== ===================== =================================================== | ||
0 PR_SPEC_PRCTL Mitigation can be controlled per task by | ||
PR_SET_SPECULATION_CTRL. | ||
1 PR_SPEC_ENABLE The speculation feature is enabled, mitigation is | ||
disabled. | ||
2 PR_SPEC_DISABLE The speculation feature is disabled, mitigation is | ||
enabled. | ||
3 PR_SPEC_FORCE_DISABLE Same as PR_SPEC_DISABLE, but cannot be undone. A | ||
subsequent prctl(..., PR_SPEC_ENABLE) will fail. | ||
==== ===================== =================================================== | ||
|
||
If all bits are 0 the CPU is not affected by the speculation misfeature. | ||
|
||
If PR_SPEC_PRCTL is set, then the per-task control of the mitigation is | ||
available. If not set, prctl(PR_SET_SPECULATION_CTRL) for the speculation | ||
misfeature will fail. | ||
|
||
PR_SET_SPECULATION_CTRL | ||
----------------------- | ||
|
||
PR_SET_SPECULATION_CTRL allows to control the speculation misfeature, which | ||
is selected by arg2 of :manpage:`prctl(2)` per task. arg3 is used to hand | ||
in the control value, i.e. either PR_SPEC_ENABLE or PR_SPEC_DISABLE or | ||
PR_SPEC_FORCE_DISABLE. | ||
|
||
Common error codes | ||
------------------ | ||
======= ================================================================= | ||
Value Meaning | ||
======= ================================================================= | ||
EINVAL The prctl is not implemented by the architecture or unused | ||
prctl(2) arguments are not 0. | ||
|
||
ENODEV arg2 is selecting a not supported speculation misfeature. | ||
======= ================================================================= | ||
|
||
PR_SET_SPECULATION_CTRL error codes | ||
----------------------------------- | ||
======= ================================================================= | ||
Value Meaning | ||
======= ================================================================= | ||
0 Success | ||
|
||
ERANGE arg3 is incorrect, i.e. it's neither PR_SPEC_ENABLE nor | ||
PR_SPEC_DISABLE nor PR_SPEC_FORCE_DISABLE. | ||
|
||
ENXIO Control of the selected speculation misfeature is not possible. | ||
See PR_GET_SPECULATION_CTRL. | ||
|
||
EPERM Speculation was disabled with PR_SPEC_FORCE_DISABLE and caller | ||
tried to enable it again. | ||
======= ================================================================= | ||
|
||
Speculation misfeature controls | ||
------------------------------- | ||
- PR_SPEC_STORE_BYPASS: Speculative Store Bypass | ||
|
||
Invocations: | ||
* prctl(PR_GET_SPECULATION_CTRL, PR_SPEC_STORE_BYPASS, 0, 0, 0); | ||
* prctl(PR_SET_SPECULATION_CTRL, PR_SPEC_STORE_BYPASS, PR_SPEC_ENABLE, 0, 0); | ||
* prctl(PR_SET_SPECULATION_CTRL, PR_SPEC_STORE_BYPASS, PR_SPEC_DISABLE, 0, 0); | ||
* prctl(PR_SET_SPECULATION_CTRL, PR_SPEC_STORE_BYPASS, PR_SPEC_FORCE_DISABLE, 0, 0); |
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 |
---|---|---|
|
@@ -4309,7 +4309,7 @@ F: Documentation/driver-api/dma-buf.rst | |
T: git git://anongit.freedesktop.org/drm/drm-misc | ||
|
||
DMA GENERIC OFFLOAD ENGINE SUBSYSTEM | ||
M: Vinod Koul <[email protected]> | ||
M: Vinod Koul <[email protected]> | ||
L: [email protected] | ||
Q: https://patchwork.kernel.org/project/linux-dmaengine/list/ | ||
S: Maintained | ||
|
@@ -5388,7 +5388,6 @@ S: Maintained | |
F: drivers/iommu/exynos-iommu.c | ||
|
||
EZchip NPS platform support | ||
M: Elad Kanfi <[email protected]> | ||
M: Vineet Gupta <[email protected]> | ||
S: Supported | ||
F: arch/arc/plat-eznps | ||
|
@@ -7698,6 +7697,7 @@ KERNEL SELFTEST FRAMEWORK | |
M: Shuah Khan <[email protected]> | ||
L: [email protected] | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git | ||
Q: https://patchwork.kernel.org/project/linux-kselftest/list/ | ||
S: Maintained | ||
F: tools/testing/selftests/ | ||
F: Documentation/dev-tools/kselftest* | ||
|
@@ -9021,7 +9021,6 @@ Q: http://patchwork.ozlabs.org/project/netdev/list/ | |
F: drivers/net/ethernet/mellanox/mlx5/core/en_* | ||
|
||
MELLANOX ETHERNET INNOVA DRIVER | ||
M: Ilan Tayari <[email protected]> | ||
R: Boris Pismenny <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
|
@@ -9031,7 +9030,6 @@ F: drivers/net/ethernet/mellanox/mlx5/core/fpga/* | |
F: include/linux/mlx5/mlx5_ifc_fpga.h | ||
|
||
MELLANOX ETHERNET INNOVA IPSEC DRIVER | ||
M: Ilan Tayari <[email protected]> | ||
R: Boris Pismenny <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
|
@@ -9087,7 +9085,6 @@ F: include/uapi/rdma/mlx4-abi.h | |
|
||
MELLANOX MLX5 core VPI driver | ||
M: Saeed Mahameed <[email protected]> | ||
M: Matan Barak <[email protected]> | ||
M: Leon Romanovsky <[email protected]> | ||
L: [email protected] | ||
L: [email protected] | ||
|
@@ -9098,7 +9095,6 @@ F: drivers/net/ethernet/mellanox/mlx5/core/ | |
F: include/linux/mlx5/ | ||
|
||
MELLANOX MLX5 IB driver | ||
M: Matan Barak <[email protected]> | ||
M: Leon Romanovsky <[email protected]> | ||
L: [email protected] | ||
W: http://www.mellanox.com | ||
|
@@ -9832,7 +9828,6 @@ F: net/netfilter/xt_CONNSECMARK.c | |
F: net/netfilter/xt_SECMARK.c | ||
|
||
NETWORKING [TLS] | ||
M: Ilya Lesokhin <[email protected]> | ||
M: Aviad Yehezkel <[email protected]> | ||
M: Dave Watson <[email protected]> | ||
L: [email protected] | ||
|
@@ -12221,7 +12216,7 @@ F: Documentation/s390/vfio-ccw.txt | |
F: include/uapi/linux/vfio_ccw.h | ||
|
||
S390 ZCRYPT DRIVER | ||
M: Harald Freudenberger <freude@de.ibm.com> | ||
M: Harald Freudenberger <freude@linux.ibm.com> | ||
L: [email protected] | ||
W: http://www.ibm.com/developerworks/linux/linux390/ | ||
S: Supported | ||
|
@@ -13265,6 +13260,12 @@ M: Jan-Benedict Glaw <[email protected]> | |
S: Maintained | ||
F: arch/alpha/kernel/srm_env.c | ||
|
||
ST STM32 I2C/SMBUS DRIVER | ||
M: Pierre-Yves MORDRET <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: drivers/i2c/busses/i2c-stm32* | ||
|
||
STABLE BRANCH | ||
M: Greg Kroah-Hartman <[email protected]> | ||
L: [email protected] | ||
|
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.