Skip to content

Commit c2264be

Browse files
authored
Merge 857f126 into 8bf1a52
2 parents 8bf1a52 + 857f126 commit c2264be

File tree

9,532 files changed

+493566
-229746
lines changed

Some content is hidden

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

9,532 files changed

+493566
-229746
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ ForEachMacros:
190190
- 'for_each_active_dev_scope'
191191
- 'for_each_active_drhd_unit'
192192
- 'for_each_active_iommu'
193+
- 'for_each_active_route'
193194
- 'for_each_aggr_pgid'
194195
- 'for_each_available_child_of_node'
195196
- 'for_each_bench'

.gitattributes

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*.c diff=cpp
2-
*.h diff=cpp
3-
*.dtsi diff=dts
4-
*.dts diff=dts
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
*.[ch] diff=cpp
3+
*.dts diff=dts
4+
*.dts[io] diff=dts

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# subdirectories here. Add them in the ".gitignore" file
55
# in that subdirectory instead.
66
#
7-
# NOTE! Please use 'git ls-files -i --exclude-standard'
7+
# NOTE! Please use 'git ls-files -i -c --exclude-per-directory=.gitignore'
88
# command after changing this file, to see if there are
99
# any tracked files which get ignored after the change.
1010
#
@@ -16,6 +16,7 @@
1616
*.bin
1717
*.bz2
1818
*.c.[012]*.*
19+
*.cover
1920
*.dt.yaml
2021
*.dtb
2122
*.dtbo
@@ -33,6 +34,7 @@
3334
*.lz4
3435
*.lzma
3536
*.lzo
37+
*.mbx
3638
*.mod
3739
*.mod.c
3840
*.o

CREDITS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1852,11 +1852,11 @@ E: ajoshi@shell.unixbox.com
18521852
D: fbdev hacking
18531853

18541854
N: Jesper Juhl
1855-
E: jj@chaosbits.net
1855+
E: jesperjuhl76@gmail.com
18561856
D: Various fixes, cleanups and minor features all over the tree.
18571857
D: Wrote initial version of the hdaps driver (since passed on to others).
1858-
S: Lemnosvej 1, 3.tv
1859-
S: 2300 Copenhagen S.
1858+
S: Titangade 5G, 2.tv
1859+
S: 2200 Copenhagen N.
18601860
S: Denmark
18611861

18621862
N: Jozsef Kadlecsik

Documentation/ABI/stable/sysfs-devices-node

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,42 @@ Date: November 2021
182182
Contact: Jarkko Sakkinen <jarkko@kernel.org>
183183
Description:
184184
The total amount of SGX physical memory in bytes.
185+
186+
What: /sys/devices/system/node/nodeX/memory_failure/total
187+
Date: January 2023
188+
Contact: Jiaqi Yan <jiaqiyan@google.com>
189+
Description:
190+
The total number of raw poisoned pages (pages containing
191+
corrupted data due to memory errors) on a NUMA node.
192+
193+
What: /sys/devices/system/node/nodeX/memory_failure/ignored
194+
Date: January 2023
195+
Contact: Jiaqi Yan <jiaqiyan@google.com>
196+
Description:
197+
Of the raw poisoned pages on a NUMA node, how many pages are
198+
ignored by memory error recovery attempt, usually because
199+
support for this type of pages is unavailable, and kernel
200+
gives up the recovery.
201+
202+
What: /sys/devices/system/node/nodeX/memory_failure/failed
203+
Date: January 2023
204+
Contact: Jiaqi Yan <jiaqiyan@google.com>
205+
Description:
206+
Of the raw poisoned pages on a NUMA node, how many pages are
207+
failed by memory error recovery attempt. This usually means
208+
a key recovery operation failed.
209+
210+
What: /sys/devices/system/node/nodeX/memory_failure/delayed
211+
Date: January 2023
212+
Contact: Jiaqi Yan <jiaqiyan@google.com>
213+
Description:
214+
Of the raw poisoned pages on a NUMA node, how many pages are
215+
delayed by memory error recovery attempt. Delayed poisoned
216+
pages usually will be retried by kernel.
217+
218+
What: /sys/devices/system/node/nodeX/memory_failure/recovered
219+
Date: January 2023
220+
Contact: Jiaqi Yan <jiaqiyan@google.com>
221+
Description:
222+
Of the raw poisoned pages on a NUMA node, how many pages are
223+
recovered by memory error recovery attempt.

Documentation/ABI/stable/sysfs-driver-mlxreg-io

Lines changed: 121 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,6 @@ Description: These files allow to each of ASICs by writing 1.
522522

523523
The files are write only.
524524

525-
526525
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/comm_chnl_ready
527526
Date: July 2022
528527
KernelVersion: 5.20
@@ -542,3 +541,124 @@ Description: The file indicates COME module hardware configuration.
542541
The purpose is to expose some minor BOM changes for the same system SKU.
543542

544543
The file is read only.
544+
545+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_pwr_converter_fail
546+
Date: February 2023
547+
KernelVersion: 6.3
548+
Contact: Vadim Pasternak <vadimp@nvidia.com>
549+
Description: This file shows the system reset cause due to power converter
550+
devices failure.
551+
Value 1 in file means this is reset cause, 0 - otherwise.
552+
553+
The file is read only.
554+
555+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot1_ap_reset
556+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot2_ap_reset
557+
Date: February 2023
558+
KernelVersion: 6.3
559+
Contact: Vadim Pasternak <vadimp@nvidia.com>
560+
Description: These files aim to monitor the status of the External Root of Trust (EROT)
561+
processor's RESET output to the Application Processor (AP).
562+
By reading this file, could be determined if the EROT has invalidated or
563+
revoked AP Firmware, at which point it will hold the AP in RESET until a
564+
valid firmware is loaded. This protects the AP from running an
565+
unauthorized firmware. In the normal flow, the AP reset should be released
566+
after the EROT validates the integrity of the FW, and it should be done so
567+
as quickly as possible so that the AP boots before the CPU starts to
568+
communicate to each ASIC.
569+
570+
The files are read only.
571+
572+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot1_recovery
573+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot2_recovery
574+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot1_reset
575+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot2_reset
576+
Date: February 2023
577+
KernelVersion: 6.3
578+
Contact: Vadim Pasternak <vadimp@nvidia.com>
579+
Description: These files aim to perform External Root of Trust (EROT) recovery
580+
sequence after EROT device failure.
581+
These EROT devices protect ASICs from unauthorized access and in normal
582+
flow their reset should be released with system power – earliest power
583+
up stage, so that EROTs can begin boot and authentication process before
584+
CPU starts to communicate to ASICs.
585+
Issuing a reset to the EROT while asserting the recovery signal will cause
586+
the EROT Application Processor to enter recovery mode so that the EROT FW
587+
can be updated/recovered.
588+
For reset/recovery the related file should be toggled by 1/0.
589+
590+
The files are read/write.
591+
592+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot1_wp
593+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/erot2_wp
594+
Date: February 2023
595+
KernelVersion: 6.3
596+
Contact: Vadim Pasternak <vadimp@nvidia.com>
597+
Description: These files allow access to External Root of Trust (EROT) for reset
598+
and recovery sequence after EROT device failure.
599+
Default is 0 (programming disabled).
600+
If the system is in locked-down mode writing this file will not be allowed.
601+
602+
The files are read/write.
603+
604+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/spi_chnl_select
605+
Date: February 2023
606+
KernelVersion: 6.3
607+
Contact: Vadim Pasternak <vadimp@nvidia.com>
608+
Description: This file allows SPI chip selection for External Root of Trust (EROT)
609+
device Out-of-Band recovery.
610+
File can be written with 0 or with 1. It selects which EROT can be accessed
611+
through SPI device.
612+
613+
The file is read/write.
614+
615+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_pg_fail
616+
Date: February 2023
617+
KernelVersion: 6.3
618+
Contact: Vadim Pasternak vadimp@nvidia.com
619+
Description: This file shows ASIC Power Good status.
620+
Value 1 in file means ASIC Power Good failed, 0 - otherwise.
621+
622+
The file is read only.
623+
624+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/clk_brd1_boot_fail
625+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/clk_brd2_boot_fail
626+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/clk_brd_fail
627+
Date: February 2023
628+
KernelVersion: 6.3
629+
Contact: Vadim Pasternak vadimp@nvidia.com
630+
Description: These files are related to clock boards status in system.
631+
- clk_brd1_boot_fail: warning about 1-st clock board failed to boot from CI.
632+
- clk_brd2_boot_fail: warning about 2-nd clock board failed to boot from CI.
633+
- clk_brd_fail: error about common clock board boot failure.
634+
635+
The files are read only.
636+
637+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/clk_brd_prog_en
638+
Date: February 2023
639+
KernelVersion: 6.3
640+
Contact: Vadim Pasternak <vadimp@nvidia.com>
641+
Description: This file enables programming of clock boards.
642+
Default is 0 (programming disabled).
643+
If the system is in locked-down mode writing this file will not be allowed.
644+
645+
The file is read/write.
646+
647+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_converter_prog_en
648+
Date: February 2023
649+
KernelVersion: 6.3
650+
Contact: Vadim Pasternak <vadimp@nvidia.com>
651+
Description: This file enables programming of power converters.
652+
Default is 0 (programming disabled).
653+
If the system is in locked-down mode writing this file will not be allowed.
654+
655+
The file is read/write.
656+
657+
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_ac_ok_fail
658+
Date: February 2023
659+
KernelVersion: 6.3
660+
Contact: Vadim Pasternak <vadimp@nvidia.com>
661+
Description: This file shows the system reset cause due to AC power failure.
662+
Value 1 in file means this is reset cause, 0 - otherwise.
663+
664+
The file is read only.

Documentation/ABI/stable/sysfs-hypervisor-xen

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,16 @@ Contact: xen-devel@lists.xenproject.org
120120
Description: If running under Xen:
121121
The Xen version is in the format <major>.<minor><extra>
122122
This is the <minor> part of it.
123+
124+
What: /sys/hypervisor/start_flags/*
125+
Date: March 2023
126+
KernelVersion: 6.3.0
127+
Contact: xen-devel@lists.xenproject.org
128+
Description: If running under Xen:
129+
All bits in Xen's start-flags are represented as
130+
boolean files, returning '1' if set, '0' otherwise.
131+
This takes the place of the defunct /proc/xen/capabilities,
132+
which would contain "control_d" on dom0, and be empty
133+
otherwise. This flag is now exposed as "initdomain" in
134+
addition to the "privileged" flag; all other possible flags
135+
are accessible as "unknownXX".

Documentation/ABI/testing/configfs-usb-gadget

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,16 @@ Description:
143143
qw_sign an identifier to be reported as "OS String"
144144
proper
145145
============= ===============================================
146+
147+
What: /config/usb-gadget/gadget/webusb
148+
Date: Dec 2022
149+
KernelVersion: 6.3
150+
Description:
151+
This group contains "WebUSB" extension handling attributes.
152+
153+
============= ===============================================
154+
use flag turning "WebUSB" support on/off
155+
bcdVersion bcd WebUSB specification version number
156+
bVendorCode one-byte value used for custom per-device
157+
landingPage UTF-8 encoded URL of the device's landing page
158+
============= ===============================================

Documentation/ABI/testing/configfs-usb-gadget-uvc

Lines changed: 52 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ Date: Dec 2014
1515
KernelVersion: 4.0
1616
Description: Control descriptors
1717

18-
All attributes read only:
18+
All attributes read only except enable_interrupt_ep:
1919

20-
================ =============================
20+
=================== =============================
2121
bInterfaceNumber USB interface number for this
2222
streaming interface
23-
================ =============================
23+
enable_interrupt_ep flag to enable the interrupt
24+
endpoint for the VC interface
25+
=================== =============================
2426

2527
What: /config/usb-gadget/gadget/functions/uvc.name/control/class
2628
Date: Dec 2014
@@ -52,7 +54,7 @@ Date: Dec 2014
5254
KernelVersion: 4.0
5355
Description: Default output terminal descriptors
5456

55-
All attributes read only:
57+
All attributes read only except bSourceID:
5658

5759
============== =============================================
5860
iTerminal index of string descriptor
@@ -111,6 +113,34 @@ Description: Default processing unit descriptors
111113
bUnitID a non-zero id of this unit
112114
=============== ========================================
113115

116+
What: /config/usb-gadget/gadget/functions/uvc.name/control/extensions
117+
Date: Nov 2022
118+
KernelVersion: 6.1
119+
Description: Extension unit descriptors
120+
121+
What: /config/usb-gadget/gadget/functions/uvc.name/control/extensions/name
122+
Date: Nov 2022
123+
KernelVersion: 6.1
124+
Description: Extension Unit (XU) Descriptor
125+
126+
bLength, bUnitID and iExtension are read-only. All others are
127+
read-write.
128+
129+
================= ========================================
130+
bLength size of the descriptor in bytes
131+
bUnitID non-zero ID of this unit
132+
guidExtensionCode Vendor-specific code identifying the XU
133+
bNumControls number of controls in this XU
134+
bNrInPins number of input pins for this unit
135+
baSourceID list of the IDs of the units or terminals
136+
to which this XU is connected
137+
bControlSize size of the bmControls field in bytes
138+
bmControls list of bitmaps detailing which vendor
139+
specific controls are supported
140+
iExtension index of a string descriptor that describes
141+
this extension unit
142+
================= ========================================
143+
114144
What: /config/usb-gadget/gadget/functions/uvc.name/control/header
115145
Date: Dec 2014
116146
KernelVersion: 4.0
@@ -165,7 +195,24 @@ Date: Dec 2014
165195
KernelVersion: 4.0
166196
Description: Default color matching descriptors
167197

168-
All attributes read only:
198+
All attributes read/write:
199+
200+
======================== ======================================
201+
bMatrixCoefficients matrix used to compute luma and
202+
chroma values from the color primaries
203+
bTransferCharacteristics optoelectronic transfer
204+
characteristic of the source picture,
205+
also called the gamma function
206+
bColorPrimaries color primaries and the reference
207+
white
208+
======================== ======================================
209+
210+
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/name
211+
Date: Dec 2022
212+
KernelVersion: 6.3
213+
Description: Additional color matching descriptors
214+
215+
All attributes read/write:
169216

170217
======================== ======================================
171218
bMatrixCoefficients matrix used to compute luma and

0 commit comments

Comments
 (0)