-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatic merge of 'master' into merge-test (2023-08-31 11:23)
Conflicts: arch/powerpc/Kconfig drivers/net/ethernet/freescale/fs_enet/fs_enet.h
- Loading branch information
Showing
8,593 changed files
with
299,748 additions
and
126,301 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
What: /sys/kernel/debug/qat_<device>_<BDF>/qat/fw_counters | ||
Date: November 2023 | ||
KernelVersion: 6.6 | ||
Contact: [email protected] | ||
Description: (RO) Read returns the number of requests sent to the FW and the number of responses | ||
received from the FW for each Acceleration Engine | ||
Reported firmware counters:: | ||
|
||
<N>: Number of requests sent from Acceleration Engine N to FW and responses | ||
Acceleration Engine N received from FW | ||
|
||
What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/config | ||
Date: November 2023 | ||
KernelVersion: 6.6 | ||
Contact: [email protected] | ||
Description: (RW) Read returns value of the Heartbeat update period. | ||
Write to the file changes this period value. | ||
|
||
This period should reflect planned polling interval of device | ||
health status. High frequency Heartbeat monitoring wastes CPU cycles | ||
but minimizes the customer’s system downtime. Also, if there are | ||
large service requests that take some time to complete, high frequency | ||
Heartbeat monitoring could result in false reports of unresponsiveness | ||
and in those cases, period needs to be increased. | ||
|
||
This parameter is effective only for c3xxx, c62x, dh895xcc devices. | ||
4xxx has this value internally fixed to 200ms. | ||
|
||
Default value is set to 500. Minimal allowed value is 200. | ||
All values are expressed in milliseconds. | ||
|
||
What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/queries_failed | ||
Date: November 2023 | ||
KernelVersion: 6.6 | ||
Contact: [email protected] | ||
Description: (RO) Read returns the number of times the device became unresponsive. | ||
|
||
Attribute returns value of the counter which is incremented when | ||
status query results negative. | ||
|
||
What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/queries_sent | ||
Date: November 2023 | ||
KernelVersion: 6.6 | ||
Contact: [email protected] | ||
Description: (RO) Read returns the number of times the control process checked | ||
if the device is responsive. | ||
|
||
Attribute returns value of the counter which is incremented on | ||
every status query. | ||
|
||
What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/status | ||
Date: November 2023 | ||
KernelVersion: 6.6 | ||
Contact: [email protected] | ||
Description: (RO) Read returns the device health status. | ||
|
||
Returns 0 when device is healthy or -1 when is unresponsive | ||
or the query failed to send. | ||
|
||
The driver does not monitor for Heartbeat. It is left for a user | ||
to poll the status periodically. |
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 |
---|---|---|
|
@@ -110,3 +110,11 @@ Description: | |
link is created for memory section 9 on node0. | ||
|
||
/sys/devices/system/node/node0/memory9 -> ../../memory/memory9 | ||
|
||
What: /sys/devices/system/memory/crash_hotplug | ||
Date: Aug 2023 | ||
Contact: Linux kernel mailing list <[email protected]> | ||
Description: | ||
(RO) indicates whether or not the kernel directly supports | ||
modifying the crash elfcorehdr for memory hot un/plug and/or | ||
on/offline changes. |
81 changes: 81 additions & 0 deletions
81
Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs
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,81 @@ | ||
What: /sys/devices/platform/HISI04Bx:00/chipX/all_linked | ||
What: /sys/devices/platform/HISI04Bx:00/chipX/linked_full_lane | ||
What: /sys/devices/platform/HISI04Bx:00/chipX/crc_err_cnt | ||
Date: November 2023 | ||
KernelVersion: 6.6 | ||
Contact: Huisong Li <[email protected]> | ||
Description: | ||
The /sys/devices/platform/HISI04Bx:00/chipX/ directory | ||
contains read-only attributes exposing some summarization | ||
information of all HCCS ports under a specified chip. | ||
The X in 'chipX' indicates the Xth chip on platform. | ||
|
||
There are following attributes in this directory: | ||
|
||
================= ==== ========================================= | ||
all_linked: (RO) if all enabled ports on this chip are | ||
linked (bool). | ||
linked_full_lane: (RO) if all linked ports on this chip are full | ||
lane (bool). | ||
crc_err_cnt: (RO) total CRC err count for all ports on this | ||
chip. | ||
================= ==== ========================================= | ||
|
||
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/all_linked | ||
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/linked_full_lane | ||
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/crc_err_cnt | ||
Date: November 2023 | ||
KernelVersion: 6.6 | ||
Contact: Huisong Li <[email protected]> | ||
Description: | ||
The /sys/devices/platform/HISI04Bx:00/chipX/dieY/ directory | ||
contains read-only attributes exposing some summarization | ||
information of all HCCS ports under a specified die. | ||
The Y in 'dieY' indicates the hardware id of the die on chip who | ||
has chip id X. | ||
|
||
There are following attributes in this directory: | ||
|
||
================= ==== ========================================= | ||
all_linked: (RO) if all enabled ports on this die are | ||
linked (bool). | ||
linked_full_lane: (RO) if all linked ports on this die are full | ||
lane (bool). | ||
crc_err_cnt: (RO) total CRC err count for all ports on this | ||
die. | ||
================= ==== ========================================= | ||
|
||
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/type | ||
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/lane_mode | ||
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/enable | ||
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/cur_lane_num | ||
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/link_fsm | ||
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/lane_mask | ||
What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/crc_err_cnt | ||
Date: November 2023 | ||
KernelVersion: 6.6 | ||
Contact: Huisong Li <[email protected]> | ||
Description: | ||
The /sys/devices/platform/HISI04Bx/chipX/dieX/hccsN/ directory | ||
contains read-only attributes exposing information about | ||
a HCCS port. The N value in 'hccsN' indicates this port id. | ||
The X in 'chipX' indicates the ID of the chip to which the | ||
HCCS port belongs. For example, X ranges from to 'n - 1' if the | ||
chip number on platform is n. | ||
The Y in 'dieY' indicates the hardware id of the die to which | ||
the hccs port belongs. | ||
Note: type, lane_mode and enable are fixed attributes on running | ||
platform. | ||
|
||
The HCCS port have the following attributes: | ||
|
||
============= ==== ============================================= | ||
type: (RO) port type (string), e.g. HCCS-v1 -> H32 | ||
lane_mode: (RO) the lane mode of this port (string), e.g. x8 | ||
enable: (RO) indicate if this port is enabled (bool). | ||
cur_lane_num: (RO) current lane number of this port. | ||
link_fsm: (RO) link finite state machine of this port. | ||
lane_mask: (RO) current lane mask of this port, every bit | ||
indicates a lane. | ||
crc_err_cnt: (RO) CRC err count on this port. | ||
============= ==== ============================================= |
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 |
---|---|---|
|
@@ -688,3 +688,11 @@ Description: | |
(RO) the list of CPUs that are isolated and don't | ||
participate in load balancing. These CPUs are set by | ||
boot parameter "isolcpus=". | ||
|
||
What: /sys/devices/system/cpu/crash_hotplug | ||
Date: Aug 2023 | ||
Contact: Linux kernel mailing list <[email protected]> | ||
Description: | ||
(RO) indicates whether or not the kernel directly supports | ||
modifying the crash elfcorehdr for CPU hot un/plug and/or | ||
on/offline changes. |
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 |
---|---|---|
|
@@ -85,3 +85,21 @@ Description: | |
Possible values: | ||
0: Not enforced | ||
1: Enforced | ||
|
||
What: /sys/bus/pci/devices/<BDF>/bootloader_version | ||
Date: June 2023 | ||
KernelVersion: 6.4 | ||
Contact: [email protected] | ||
Description: | ||
The /sys/bus/pci/devices/<BDF>/bootloader_version | ||
file reports the firmware version of the AMD AGESA | ||
bootloader. | ||
|
||
What: /sys/bus/pci/devices/<BDF>/tee_version | ||
Date: June 2023 | ||
KernelVersion: 6.4 | ||
Contact: [email protected] | ||
Description: | ||
The /sys/bus/pci/devices/<BDF>/tee_version | ||
file reports the firmware version of the AMD Trusted | ||
Execution Environment (TEE). |
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 |
---|---|---|
|
@@ -29,8 +29,10 @@ Description: Writing 'on' or 'off' to this file makes the kdamond starts or | |
file updates contents of schemes stats files of the kdamond. | ||
Writing 'update_schemes_tried_regions' to the file updates | ||
contents of 'tried_regions' directory of every scheme directory | ||
of this kdamond. Writing 'clear_schemes_tried_regions' to the | ||
file removes contents of the 'tried_regions' directory. | ||
of this kdamond. Writing 'update_schemes_tried_bytes' to the | ||
file updates only '.../tried_regions/total_bytes' files of this | ||
kdamond. Writing 'clear_schemes_tried_regions' to the file | ||
removes contents of the 'tried_regions' directory. | ||
|
||
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/pid | ||
Date: Mar 2022 | ||
|
@@ -269,8 +271,10 @@ What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/ | |
Date: Dec 2022 | ||
Contact: SeongJae Park <[email protected]> | ||
Description: Writing to and reading from this file sets and gets the type of | ||
the memory of the interest. 'anon' for anonymous pages, or | ||
'memcg' for specific memory cgroup can be written and read. | ||
the memory of the interest. 'anon' for anonymous pages, | ||
'memcg' for specific memory cgroup, 'addr' for address range | ||
(an open-ended interval), or 'target' for DAMON monitoring | ||
target can be written and read. | ||
|
||
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/memcg_path | ||
Date: Dec 2022 | ||
|
@@ -279,6 +283,27 @@ Description: If 'memcg' is written to the 'type' file, writing to and | |
reading from this file sets and gets the path to the memory | ||
cgroup of the interest. | ||
|
||
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/addr_start | ||
Date: Jul 2023 | ||
Contact: SeongJae Park <[email protected]> | ||
Description: If 'addr' is written to the 'type' file, writing to or reading | ||
from this file sets or gets the start address of the address | ||
range for the filter. | ||
|
||
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/addr_end | ||
Date: Jul 2023 | ||
Contact: SeongJae Park <[email protected]> | ||
Description: If 'addr' is written to the 'type' file, writing to or reading | ||
from this file sets or gets the end address of the address | ||
range for the filter. | ||
|
||
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/target_idx | ||
Date: Dec 2022 | ||
Contact: SeongJae Park <[email protected]> | ||
Description: If 'target' is written to the 'type' file, writing to or | ||
reading from this file sets or gets the index of the DAMON | ||
monitoring target of the interest. | ||
|
||
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/matching | ||
Date: Dec 2022 | ||
Contact: SeongJae Park <[email protected]> | ||
|
@@ -317,6 +342,13 @@ Contact: SeongJae Park <[email protected]> | |
Description: Reading this file returns the number of the exceed events of | ||
the scheme's quotas. | ||
|
||
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/total_bytes | ||
Date: Jul 2023 | ||
Contact: SeongJae Park <[email protected]> | ||
Description: Reading this file returns the total amount of memory that | ||
corresponding DAMON-based Operation Scheme's action has tried | ||
to be applied. | ||
|
||
What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/start | ||
Date: Oct 2022 | ||
Contact: SeongJae Park <[email protected]> | ||
|
Oops, something went wrong.