Skip to content

Commit b746a1a

Browse files
author
Jiri Kosina
committed
Merge branch 'for-5.5/core' into for-linus
- hid_have_special_driver[] cleanup for LED devices (Heiner Kallweit) - HID parser improvements (Blaž Hrastnik, Candle Sun)
2 parents 8725aa4 + b03e577 commit b746a1a

File tree

2,806 files changed

+47847
-29808
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,806 files changed

+47847
-29808
lines changed

.mailmap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ Oleksij Rempel <[email protected]> <[email protected]>
196196
197197
Paolo 'Blaisorblade' Giarrusso <[email protected]>
198198
Patrick Mochel <[email protected]>
199-
199+
200+
200201
Peter A Jonsson <[email protected]>
201202
Peter Oruba <[email protected]>
202203
Peter Oruba <[email protected]>
@@ -229,6 +230,7 @@ Shuah Khan <[email protected]> <[email protected]>
229230
230231
231232
233+
232234
Simon Kelley <[email protected]>
233235
Stéphane Witzmann <[email protected]>
234236
Stephen Hemminger <[email protected]>

CREDITS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,6 +1637,10 @@ S: Panoramastrasse 18
16371637
S: D-69126 Heidelberg
16381638
S: Germany
16391639

1640+
N: Simon Horman
1641+
1642+
D: Renesas ARM/ARM64 SoC maintainer
1643+
16401644
N: Christopher Horn
16411645
16421646
D: Miscellaneous sysctl hacks

Documentation/ABI/testing/ima_policy

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Description:
3737
euid:= decimal value
3838
fowner:= decimal value
3939
lsm: are LSM specific
40-
option: appraise_type:= [imasig]
40+
option: appraise_type:= [imasig] [imasig|modsig]
4141
template:= name of a defined IMA template type
4242
(eg, ima-ng). Only valid when action is "measure".
4343
pcr:= decimal value
@@ -105,3 +105,7 @@ Description:
105105

106106
measure func=KEXEC_KERNEL_CHECK pcr=4
107107
measure func=KEXEC_INITRAMFS_CHECK pcr=5
108+
109+
Example of appraise rule allowing modsig appended signatures:
110+
111+
appraise func=KEXEC_KERNEL_CHECK appraise_type=imasig|modsig
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
What: /sys/class/backlight/<backlight>/scale
2+
Date: July 2019
3+
KernelVersion: 5.4
4+
Contact: Daniel Thompson <[email protected]>
5+
Description:
6+
Description of the scale of the brightness curve.
7+
8+
The human eye senses brightness approximately logarithmically,
9+
hence linear changes in brightness are perceived as being
10+
non-linear. To achieve a linear perception of brightness changes
11+
controls like sliders need to apply a logarithmic mapping for
12+
backlights with a linear brightness curve.
13+
14+
Possible values of the attribute are:
15+
16+
unknown
17+
The scale of the brightness curve is unknown.
18+
19+
linear
20+
The brightness changes linearly with each step. Brightness
21+
controls should apply a logarithmic mapping for a linear
22+
perception.
23+
24+
non-linear
25+
The brightness changes non-linearly with each step. Brightness
26+
controls should use a linear mapping for a linear perception.

Documentation/ABI/testing/sysfs-class-watchdog

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,37 @@ Description:
7272
It is a read/write file. When read, the currently assigned
7373
pretimeout governor is returned. When written, it sets
7474
the pretimeout governor.
75+
76+
What: /sys/class/watchdog/watchdog1/access_cs0
77+
Date: August 2019
78+
Contact: Ivan Mikhaylov <[email protected]>,
79+
Alexander Amelkin <[email protected]>
80+
Description:
81+
It is a read/write file. This attribute exists only if the
82+
system has booted from the alternate flash chip due to
83+
expiration of a watchdog timer of AST2400/AST2500 when
84+
alternate boot function was enabled with 'aspeed,alt-boot'
85+
devicetree option for that watchdog or with an appropriate
86+
h/w strapping (for WDT2 only).
87+
88+
At alternate flash the 'access_cs0' sysfs node provides:
89+
ast2400: a way to get access to the primary SPI flash
90+
chip at CS0 after booting from the alternate
91+
chip at CS1.
92+
ast2500: a way to restore the normal address mapping
93+
from (CS0->CS1, CS1->CS0) to (CS0->CS0,
94+
CS1->CS1).
95+
96+
Clearing the boot code selection and timeout counter also
97+
resets to the initial state the chip select line mapping. When
98+
the SoC is in normal mapping state (i.e. booted from CS0),
99+
clearing those bits does nothing for both versions of the SoC.
100+
For alternate boot mode (booted from CS1 due to wdt2
101+
expiration) the behavior differs as described above.
102+
103+
This option can be used with wdt2 (watchdog1) only.
104+
105+
When read, the current status of the boot code selection is
106+
shown. When written with any non-zero value, it clears
107+
the boot code selection and the timeout counter, which results
108+
in chipselect reset for AST2400/AST2500.

Documentation/ABI/testing/sysfs-kernel-slab

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,10 +429,15 @@ KernelVersion: 2.6.22
429429
Contact: Pekka Enberg <[email protected]>,
430430
Christoph Lameter <[email protected]>
431431
Description:
432-
The shrink file is written when memory should be reclaimed from
433-
a cache. Empty partial slabs are freed and the partial list is
434-
sorted so the slabs with the fewest available objects are used
435-
first.
432+
The shrink file is used to reclaim unused slab cache
433+
memory from a cache. Empty per-cpu or partial slabs
434+
are freed and the partial list is sorted so the slabs
435+
with the fewest available objects are used first.
436+
It only accepts a value of "1" on write for shrinking
437+
the cache. Other input values are considered invalid.
438+
Shrinking slab caches might be expensive and can
439+
adversely impact other running applications. So it
440+
should be used with care.
436441

437442
What: /sys/kernel/slab/cache/slab_size
438443
Date: May 2007

Documentation/admin-guide/cgroup-v1/memory.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,10 @@ Brief summary of control files.
8585
memory.oom_control set/show oom controls.
8686
memory.numa_stat show the number of memory usage per numa
8787
node
88-
8988
memory.kmem.limit_in_bytes set/show hard limit for kernel memory
89+
This knob is deprecated and shouldn't be
90+
used. It is planned that this be removed in
91+
the foreseeable future.
9092
memory.kmem.usage_in_bytes show current kernel memory allocation
9193
memory.kmem.failcnt show the number of kernel memory usage
9294
hits limits

Documentation/admin-guide/cgroup-v2.rst

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,8 @@ on an IO device and is an example of this type.
615615
Protections
616616
-----------
617617

618-
A cgroup is protected to be allocated upto the configured amount of
619-
the resource if the usages of all its ancestors are under their
618+
A cgroup is protected upto the configured amount of the resource
619+
as long as the usages of all its ancestors are under their
620620
protected levels. Protections can be hard guarantees or best effort
621621
soft boundaries. Protections can also be over-committed in which case
622622
only upto the amount available to the parent is protected among
@@ -1096,7 +1096,10 @@ PAGE_SIZE multiple when read back.
10961096
is within its effective min boundary, the cgroup's memory
10971097
won't be reclaimed under any conditions. If there is no
10981098
unprotected reclaimable memory available, OOM killer
1099-
is invoked.
1099+
is invoked. Above the effective min boundary (or
1100+
effective low boundary if it is higher), pages are reclaimed
1101+
proportionally to the overage, reducing reclaim pressure for
1102+
smaller overages.
11001103

11011104
Effective min boundary is limited by memory.min values of
11021105
all ancestor cgroups. If there is memory.min overcommitment
@@ -1118,7 +1121,10 @@ PAGE_SIZE multiple when read back.
11181121
Best-effort memory protection. If the memory usage of a
11191122
cgroup is within its effective low boundary, the cgroup's
11201123
memory won't be reclaimed unless memory can be reclaimed
1121-
from unprotected cgroups.
1124+
from unprotected cgroups. Above the effective low boundary (or
1125+
effective min boundary if it is higher), pages are reclaimed
1126+
proportionally to the overage, reducing reclaim pressure for
1127+
smaller overages.
11221128

11231129
Effective low boundary is limited by memory.low values of
11241130
all ancestor cgroups. If there is memory.low overcommitment
@@ -2482,8 +2488,10 @@ system performance due to overreclaim, to the point where the feature
24822488
becomes self-defeating.
24832489

24842490
The memory.low boundary on the other hand is a top-down allocated
2485-
reserve. A cgroup enjoys reclaim protection when it's within its low,
2486-
which makes delegation of subtrees possible.
2491+
reserve. A cgroup enjoys reclaim protection when it's within its
2492+
effective low, which makes delegation of subtrees possible. It also
2493+
enjoys having reclaim pressure proportional to its overage when
2494+
above its effective low.
24872495

24882496
The original high boundary, the hard limit, is defined as a strict
24892497
limit that can not budge, even if the OOM killer has to be called.

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,8 @@
809809
enables the feature at boot time. By default, it is
810810
disabled and the system will work mostly the same as a
811811
kernel built without CONFIG_DEBUG_PAGEALLOC.
812+
Note: to get most of debug_pagealloc error reports, it's
813+
useful to also enable the page_owner functionality.
812814
on: enable the feature
813815

814816
debugpat [X86] Enable PAT debugging
@@ -2274,6 +2276,15 @@
22742276
lockd.nlm_udpport=M [NFS] Assign UDP port.
22752277
Format: <integer>
22762278

2279+
lockdown= [SECURITY]
2280+
{ integrity | confidentiality }
2281+
Enable the kernel lockdown feature. If set to
2282+
integrity, kernel features that allow userland to
2283+
modify the running kernel are disabled. If set to
2284+
confidentiality, kernel features that allow userland
2285+
to extract confidential information from the kernel
2286+
are also disabled.
2287+
22772288
locktorture.nreaders_stress= [KNL]
22782289
Set the number of locking read-acquisition kthreads.
22792290
Defaults to being automatically set based on the
@@ -3465,12 +3476,13 @@
34653476
specify the device is described above.
34663477
If <order of align> is not specified,
34673478
PAGE_SIZE is used as alignment.
3468-
PCI-PCI bridge can be specified, if resource
3479+
A PCI-PCI bridge can be specified if resource
34693480
windows need to be expanded.
34703481
To specify the alignment for several
34713482
instances of a device, the PCI vendor,
34723483
device, subvendor, and subdevice may be
3473-
specified, e.g., 4096@pci:8086:9c22:103c:198f
3484+
specified, e.g., 12@pci:8086:9c22:103c:198f
3485+
for 4096-byte alignment.
34743486
ecrc= Enable/disable PCIe ECRC (transaction layer
34753487
end-to-end CRC checking).
34763488
bios: Use BIOS/firmware settings. This is the
@@ -5290,6 +5302,10 @@
52905302
the unplug protocol
52915303
never -- do not unplug even if version check succeeds
52925304

5305+
xen_legacy_crash [X86,XEN]
5306+
Crash from Xen panic notifier, without executing late
5307+
panic() code such as dumping handler.
5308+
52935309
xen_nopvspin [X86,XEN]
52945310
Disables the ticketlock slowpath using Xen PV
52955311
optimizations.

Documentation/arm64/memory.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,18 @@ return virtual addresses to userspace from a 48-bit range.
154154

155155
Software can "opt-in" to receiving VAs from a 52-bit space by
156156
specifying an mmap hint parameter that is larger than 48-bit.
157+
157158
For example:
158-
maybe_high_address = mmap(~0UL, size, prot, flags,...);
159+
160+
.. code-block:: c
161+
162+
maybe_high_address = mmap(~0UL, size, prot, flags,...);
159163
160164
It is also possible to build a debug kernel that returns addresses
161165
from a 52-bit space by enabling the following kernel config options:
166+
167+
.. code-block:: sh
168+
162169
CONFIG_EXPERT=y && CONFIG_ARM64_FORCE_52BIT=y
163170
164171
Note that this option is only intended for debugging applications

0 commit comments

Comments
 (0)