-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'powerpc-6.6-1' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/powerpc/linux Pull powerpc updates from Michael Ellerman: - Add HOTPLUG_SMT support (/sys/devices/system/cpu/smt) and honour the configured SMT state when hotplugging CPUs into the system - Combine final TLB flush and lazy TLB mm shootdown IPIs when using the Radix MMU to avoid a broadcast TLBIE flush on exit - Drop the exclusion between ptrace/perf watchpoints, and drop the now unused associated arch hooks - Add support for the "nohlt" command line option to disable CPU idle - Add support for -fpatchable-function-entry for ftrace, with GCC >= 13.1 - Rework memory block size determination, and support 256MB size on systems with GPUs that have hotpluggable memory - Various other small features and fixes Thanks to Andrew Donnellan, Aneesh Kumar K.V, Arnd Bergmann, Athira Rajeev, Benjamin Gray, Christophe Leroy, Frederic Barrat, Gautam Menghani, Geoff Levand, Hari Bathini, Immad Mir, Jialin Zhang, Joel Stanley, Jordan Niethe, Justin Stitt, Kajol Jain, Kees Cook, Krzysztof Kozlowski, Laurent Dufour, Liang He, Linus Walleij, Mahesh Salgaonkar, Masahiro Yamada, Michal Suchanek, Nageswara R Sastry, Nathan Chancellor, Nathan Lynch, Naveen N Rao, Nicholas Piggin, Nick Desaulniers, Omar Sandoval, Randy Dunlap, Reza Arbab, Rob Herring, Russell Currey, Sourabh Jain, Thomas Gleixner, Trevor Woerner, Uwe Kleine-König, Vaibhav Jain, Xiongfeng Wang, Yuan Tan, Zhang Rui, and Zheng Zengkai. * tag 'powerpc-6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (135 commits) macintosh/ams: linux/platform_device.h is needed powerpc/xmon: Reapply "Relax frame size for clang" powerpc/mm/book3s64: Use 256M as the upper limit with coherent device memory attached powerpc/mm/book3s64: Fix build error with SPARSEMEM disabled powerpc/iommu: Fix notifiers being shared by PCI and VIO buses powerpc/mpc5xxx: Add missing fwnode_handle_put() powerpc/config: Disable SLAB_DEBUG_ON in skiroot powerpc/pseries: Remove unused hcall tracing instruction powerpc/pseries: Fix hcall tracepoints with JUMP_LABEL=n powerpc: dts: add missing space before { powerpc/eeh: Use pci_dev_id() to simplify the code powerpc/64s: Move CPU -mtune options into Kconfig powerpc/powermac: Fix unused function warning powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT powerpc: Don't include lppaca.h in paca.h powerpc/pseries: Move hcall_vphn() prototype into vphn.h powerpc/pseries: Move VPHN constants into vphn.h cxl: Drop unused detach_spa() powerpc: Drop zalloc_maybe_bootmem() powerpc/powernv: Use struct opal_prd_msg in more places ...
- Loading branch information
Showing
305 changed files
with
4,042 additions
and
3,290 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 |
---|---|---|
|
@@ -80,3 +80,163 @@ Contact: Linux on PowerPC Developer List <[email protected]> | |
Description: read only | ||
This sysfs file exposes the cpumask which is designated to make | ||
HCALLs to retrieve hv-gpci pmu event counter data. | ||
|
||
What: /sys/devices/hv_gpci/interface/processor_bus_topology | ||
Date: July 2023 | ||
Contact: Linux on PowerPC Developer List <[email protected]> | ||
Description: admin read only | ||
This sysfs file exposes the system topology information by making HCALL | ||
H_GET_PERF_COUNTER_INFO. The HCALL is made with counter request value | ||
PROCESSOR_BUS_TOPOLOGY(0xD0). | ||
|
||
* This sysfs file will be created only for power10 and above platforms. | ||
|
||
* User needs root privileges to read data from this sysfs file. | ||
|
||
* This sysfs file will be created, only when the HCALL returns "H_SUCCESS", | ||
"H_AUTHORITY" or "H_PARAMETER" as the return type. | ||
|
||
HCALL with return error type "H_AUTHORITY" can be resolved during | ||
runtime by setting "Enable Performance Information Collection" option. | ||
|
||
* The end user reading this sysfs file must decode the content as per | ||
underlying platform/firmware. | ||
|
||
Possible error codes while reading this sysfs file: | ||
|
||
* "-EPERM" : Partition is not permitted to retrieve performance information, | ||
required to set "Enable Performance Information Collection" option. | ||
|
||
* "-EIO" : Can't retrieve system information because of invalid buffer length/invalid address | ||
or because of some hardware error. Refer to getPerfCountInfo documentation for | ||
more information. | ||
|
||
* "-EFBIG" : System information exceeds PAGE_SIZE. | ||
|
||
What: /sys/devices/hv_gpci/interface/processor_config | ||
Date: July 2023 | ||
Contact: Linux on PowerPC Developer List <[email protected]> | ||
Description: admin read only | ||
This sysfs file exposes the system topology information by making HCALL | ||
H_GET_PERF_COUNTER_INFO. The HCALL is made with counter request value | ||
PROCESSOR_CONFIG(0x90). | ||
|
||
* This sysfs file will be created only for power10 and above platforms. | ||
|
||
* User needs root privileges to read data from this sysfs file. | ||
|
||
* This sysfs file will be created, only when the HCALL returns "H_SUCCESS", | ||
"H_AUTHORITY" or "H_PARAMETER" as the return type. | ||
|
||
HCALL with return error type "H_AUTHORITY" can be resolved during | ||
runtime by setting "Enable Performance Information Collection" option. | ||
|
||
* The end user reading this sysfs file must decode the content as per | ||
underlying platform/firmware. | ||
|
||
Possible error codes while reading this sysfs file: | ||
|
||
* "-EPERM" : Partition is not permitted to retrieve performance information, | ||
required to set "Enable Performance Information Collection" option. | ||
|
||
* "-EIO" : Can't retrieve system information because of invalid buffer length/invalid address | ||
or because of some hardware error. Refer to getPerfCountInfo documentation for | ||
more information. | ||
|
||
* "-EFBIG" : System information exceeds PAGE_SIZE. | ||
|
||
What: /sys/devices/hv_gpci/interface/affinity_domain_via_virtual_processor | ||
Date: July 2023 | ||
Contact: Linux on PowerPC Developer List <[email protected]> | ||
Description: admin read only | ||
This sysfs file exposes the system topology information by making HCALL | ||
H_GET_PERF_COUNTER_INFO. The HCALL is made with counter request value | ||
AFFINITY_DOMAIN_INFORMATION_BY_VIRTUAL_PROCESSOR(0xA0). | ||
|
||
* This sysfs file will be created only for power10 and above platforms. | ||
|
||
* User needs root privileges to read data from this sysfs file. | ||
|
||
* This sysfs file will be created, only when the HCALL returns "H_SUCCESS", | ||
"H_AUTHORITY" or "H_PARAMETER" as the return type. | ||
|
||
HCALL with return error type "H_AUTHORITY" can be resolved during | ||
runtime by setting "Enable Performance Information Collection" option. | ||
|
||
* The end user reading this sysfs file must decode the content as per | ||
underlying platform/firmware. | ||
|
||
Possible error codes while reading this sysfs file: | ||
|
||
* "-EPERM" : Partition is not permitted to retrieve performance information, | ||
required to set "Enable Performance Information Collection" option. | ||
|
||
* "-EIO" : Can't retrieve system information because of invalid buffer length/invalid address | ||
or because of some hardware error. Refer to getPerfCountInfo documentation for | ||
more information. | ||
|
||
* "-EFBIG" : System information exceeds PAGE_SIZE. | ||
|
||
What: /sys/devices/hv_gpci/interface/affinity_domain_via_domain | ||
Date: July 2023 | ||
Contact: Linux on PowerPC Developer List <[email protected]> | ||
Description: admin read only | ||
This sysfs file exposes the system topology information by making HCALL | ||
H_GET_PERF_COUNTER_INFO. The HCALL is made with counter request value | ||
AFFINITY_DOMAIN_INFORMATION_BY_DOMAIN(0xB0). | ||
|
||
* This sysfs file will be created only for power10 and above platforms. | ||
|
||
* User needs root privileges to read data from this sysfs file. | ||
|
||
* This sysfs file will be created, only when the HCALL returns "H_SUCCESS", | ||
"H_AUTHORITY" or "H_PARAMETER" as the return type. | ||
|
||
HCALL with return error type "H_AUTHORITY" can be resolved during | ||
runtime by setting "Enable Performance Information Collection" option. | ||
|
||
* The end user reading this sysfs file must decode the content as per | ||
underlying platform/firmware. | ||
|
||
Possible error codes while reading this sysfs file: | ||
|
||
* "-EPERM" : Partition is not permitted to retrieve performance information, | ||
required to set "Enable Performance Information Collection" option. | ||
|
||
* "-EIO" : Can't retrieve system information because of invalid buffer length/invalid address | ||
or because of some hardware error. Refer to getPerfCountInfo documentation for | ||
more information. | ||
|
||
* "-EFBIG" : System information exceeds PAGE_SIZE. | ||
|
||
What: /sys/devices/hv_gpci/interface/affinity_domain_via_partition | ||
Date: July 2023 | ||
Contact: Linux on PowerPC Developer List <[email protected]> | ||
Description: admin read only | ||
This sysfs file exposes the system topology information by making HCALL | ||
H_GET_PERF_COUNTER_INFO. The HCALL is made with counter request value | ||
AFFINITY_DOMAIN_INFORMATION_BY_PARTITION(0xB1). | ||
|
||
* This sysfs file will be created only for power10 and above platforms. | ||
|
||
* User needs root privileges to read data from this sysfs file. | ||
|
||
* This sysfs file will be created, only when the HCALL returns "H_SUCCESS", | ||
"H_AUTHORITY" or "H_PARAMETER" as the return type. | ||
|
||
HCALL with return error type "H_AUTHORITY" can be resolved during | ||
runtime by setting "Enable Performance Information Collection" option. | ||
|
||
* The end user reading this sysfs file must decode the content as per | ||
underlying platform/firmware. | ||
|
||
Possible error codes while reading this sysfs file: | ||
|
||
* "-EPERM" : Partition is not permitted to retrieve performance information, | ||
required to set "Enable Performance Information Collection" option. | ||
|
||
* "-EIO" : Can't retrieve system information because of invalid buffer length/invalid address | ||
or because of some hardware error. Refer to getPerfCountInfo documentation for | ||
more information. | ||
|
||
* "-EFBIG" : System information exceeds PAGE_SIZE. |
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
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.