forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
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.10-1' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/powerpc/linux Pull powerpc updates from Michael Ellerman: - Enable BPF Kernel Functions (kfuncs) in the powerpc BPF JIT. - Allow per-process DEXCR (Dynamic Execution Control Register) settings via prctl, notably NPHIE which controls hashst/hashchk for ROP protection. - Install powerpc selftests in sub-directories. Note this changes the way run_kselftest.sh needs to be invoked for powerpc selftests. - Change fadump (Firmware Assisted Dump) to better handle memory add/remove. - Add support for passing additional parameters to the fadump kernel. - Add support for updating the kdump image on CPU/memory add/remove events. - Other small features, cleanups and fixes. Thanks to Andrew Donnellan, Andy Shevchenko, Aneesh Kumar K.V, Arnd Bergmann, Benjamin Gray, Bjorn Helgaas, Christian Zigotzky, Christophe Jaillet, Christophe Leroy, Colin Ian King, Cédric Le Goater, Dr. David Alan Gilbert, Erhard Furtner, Frank Li, GUO Zihua, Ganesh Goudar, Geoff Levand, Ghanshyam Agrawal, Greg Kurz, Hari Bathini, Joel Stanley, Justin Stitt, Kunwu Chan, Li Yang, Lidong Zhong, Madhavan Srinivasan, Mahesh Salgaonkar, Masahiro Yamada, Matthias Schiffer, Naresh Kamboju, Nathan Chancellor, Nathan Lynch, Naveen N Rao, Nicholas Miehlbradt, Ran Wang, Randy Dunlap, Ritesh Harjani, Sachin Sant, Shirisha Ganta, Shrikanth Hegde, Sourabh Jain, Stephen Rothwell, sundar, Thorsten Blum, Vaibhav Jain, Xiaowei Bao, Yang Li, and Zhao Chenhui. * tag 'powerpc-6.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (85 commits) powerpc/fadump: Fix section mismatch warning powerpc/85xx: fix compile error without CONFIG_CRASH_DUMP powerpc/fadump: update documentation about bootargs_append powerpc/fadump: pass additional parameters when fadump is active powerpc/fadump: setup additional parameters for dump capture kernel powerpc/pseries/fadump: add support for multiple boot memory regions selftests/powerpc/dexcr: Fix spelling mistake "predicition" -> "prediction" KVM: PPC: Book3S HV nestedv2: Fix an error handling path in gs_msg_ops_kvmhv_nestedv2_config_fill_info() KVM: PPC: Fix documentation for ppc mmu caps KVM: PPC: code cleanup for kvmppc_book3s_irqprio_deliver KVM: PPC: Book3S HV nestedv2: Cancel pending DEC exception powerpc/xmon: Check cpu id in commands "c#", "dp#" and "dx#" powerpc/code-patching: Use dedicated memory routines for patching powerpc/code-patching: Test patch_instructions() during boot powerpc64/kasan: Pass virtual addresses to kasan_init_phys_region() powerpc: rename SPRN_HID2 define to SPRN_HID2_750FX powerpc: Fix typos powerpc/eeh: Fix spelling of the word "auxillary" and update comment macintosh/ams: Fix unused variable warning powerpc/Makefile: Remove bits related to the previous use of -mcmodel=large ...
- Loading branch information
Showing
199 changed files
with
3,053 additions
and
1,271 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 |
---|---|---|
|
@@ -423,7 +423,7 @@ What: /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats | |
/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/occ_reset | ||
Date: March 2016 | ||
Contact: Linux kernel mailing list <[email protected]> | ||
Linux for PowerPC mailing list <[email protected]> | ||
Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: POWERNV CPUFreq driver's frequency throttle stats directory and | ||
attributes | ||
|
||
|
@@ -473,7 +473,7 @@ What: /sys/devices/system/cpu/cpufreq/policyX/throttle_stats | |
/sys/devices/system/cpu/cpufreq/policyX/throttle_stats/occ_reset | ||
Date: March 2016 | ||
Contact: Linux kernel mailing list <[email protected]> | ||
Linux for PowerPC mailing list <[email protected]> | ||
Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: POWERNV CPUFreq driver's frequency throttle stats directory and | ||
attributes | ||
|
||
|
@@ -608,7 +608,7 @@ Description: Umwait control | |
What: /sys/devices/system/cpu/svm | ||
Date: August 2019 | ||
Contact: Linux kernel mailing list <[email protected]> | ||
Linux for PowerPC mailing list <[email protected]> | ||
Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: Secure Virtual Machine | ||
|
||
If 1, it means the system is using the Protected Execution | ||
|
@@ -617,7 +617,7 @@ Description: Secure Virtual Machine | |
|
||
What: /sys/devices/system/cpu/cpuX/purr | ||
Date: Apr 2005 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: PURR ticks for this CPU since the system boot. | ||
|
||
The Processor Utilization Resources Register (PURR) is | ||
|
@@ -628,7 +628,7 @@ Description: PURR ticks for this CPU since the system boot. | |
|
||
What: /sys/devices/system/cpu/cpuX/spurr | ||
Date: Dec 2006 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: SPURR ticks for this CPU since the system boot. | ||
|
||
The Scaled Processor Utilization Resources Register | ||
|
@@ -640,15 +640,15 @@ Description: SPURR ticks for this CPU since the system boot. | |
|
||
What: /sys/devices/system/cpu/cpuX/idle_purr | ||
Date: Apr 2020 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: PURR ticks for cpuX when it was idle. | ||
|
||
This sysfs interface exposes the number of PURR ticks | ||
for cpuX when it was idle. | ||
|
||
What: /sys/devices/system/cpu/cpuX/idle_spurr | ||
Date: Apr 2020 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: SPURR ticks for cpuX when it was idle. | ||
|
||
This sysfs interface exposes the number of SPURR ticks | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
What: /sys/firmware/opal/powercap | ||
Date: August 2017 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: Powercap directory for Powernv (P8, P9) servers | ||
|
||
Each folder in this directory contains a | ||
|
@@ -11,7 +11,7 @@ What: /sys/firmware/opal/powercap/system-powercap | |
/sys/firmware/opal/powercap/system-powercap/powercap-max | ||
/sys/firmware/opal/powercap/system-powercap/powercap-current | ||
Date: August 2017 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: System powercap directory and attributes applicable for | ||
Powernv (P8, P9) servers | ||
|
||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
What: /sys/firmware/opal/psr | ||
Date: August 2017 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: Power-Shift-Ratio directory for Powernv P9 servers | ||
|
||
Power-Shift-Ratio allows to provide hints the firmware | ||
|
@@ -10,7 +10,7 @@ Description: Power-Shift-Ratio directory for Powernv P9 servers | |
|
||
What: /sys/firmware/opal/psr/cpu_to_gpu_X | ||
Date: August 2017 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: PSR sysfs attributes for Powernv P9 servers | ||
|
||
Power-Shift-Ratio between CPU and GPU for a given chip | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
What: /sys/firmware/opal/sensor_groups | ||
Date: August 2017 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: Sensor groups directory for POWER9 powernv servers | ||
|
||
Each folder in this directory contains a sensor group | ||
|
@@ -11,7 +11,7 @@ Description: Sensor groups directory for POWER9 powernv servers | |
|
||
What: /sys/firmware/opal/sensor_groups/<sensor_group_name>/clear | ||
Date: August 2017 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: Sysfs file to clear the min-max of all the sensors | ||
belonging to the group. | ||
|
||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
What: /sys/firmware/papr/energy_scale_info | ||
Date: February 2022 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: Directory hosting a set of platform attributes like | ||
energy/frequency on Linux running as a PAPR guest. | ||
|
||
|
@@ -10,20 +10,20 @@ Description: Directory hosting a set of platform attributes like | |
|
||
What: /sys/firmware/papr/energy_scale_info/<id> | ||
Date: February 2022 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: Energy, frequency attributes directory for POWERVM servers | ||
|
||
What: /sys/firmware/papr/energy_scale_info/<id>/desc | ||
Date: February 2022 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: String description of the energy attribute of <id> | ||
|
||
What: /sys/firmware/papr/energy_scale_info/<id>/value | ||
Date: February 2022 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: Numeric value of the energy attribute of <id> | ||
|
||
What: /sys/firmware/papr/energy_scale_info/<id>/value_desc | ||
Date: February 2022 | ||
Contact: Linux for PowerPC mailing list <[email protected]> | ||
Contact: Linux for PowerPC mailing list <linuxppc-dev@lists.ozlabs.org> | ||
Description: String value of the energy attribute of <id> |
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 |
---|---|---|
|
@@ -38,3 +38,21 @@ Contact: [email protected] | |
Description: read only | ||
Provide information about the amount of memory reserved by | ||
FADump to save the crash dump in bytes. | ||
|
||
What: /sys/kernel/fadump/hotplug_ready | ||
Date: Apr 2024 | ||
Contact: [email protected] | ||
Description: read only | ||
Kdump udev rule re-registers fadump on memory add/remove events, | ||
primarily to update the elfcorehdr. This sysfs indicates the | ||
kdump udev rule that fadump re-registration is not required on | ||
memory add/remove events because elfcorehdr is now prepared in | ||
the second/fadump kernel. | ||
User: kexec-tools | ||
|
||
What: /sys/kernel/fadump/bootargs_append | ||
Date: May 2024 | ||
Contact: [email protected] | ||
Description: read/write | ||
This is a special sysfs file available to setup additional | ||
parameters to be passed to capture kernel. |
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.