Commit 7b667acd authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull powerpc updates from Madhavan Srinivasan:

 - Remove support for IBM Cell Blades

 - SMP support for microwatt platform

 - Support for inline static calls on PPC32

 - Enable pmu selftests for power11 platform

 - Enable hardware trace macro (HTM) hcall support

 - Support for limited address mode capability

 - Changes to RMA size from 512 MB to 768 MB to handle fadump

 - Misc fixes and cleanups

Thanks to Abhishek Dubey, Amit Machhiwal, Andreas Schwab, Arnd Bergmann,
Athira Rajeev, Avnish Chouhan, Christophe Leroy, Disha Goel, Donet Tom,
Gaurav Batra, Gautam Menghani, Hari Bathini, Kajol Jain, Kees Cook,
Mahesh Salgaonkar, Michael Ellerman, Paul Mackerras, Ritesh Harjani
(IBM), Sathvika Vasireddy, Segher Boessenkool, Sourabh Jain, Vaibhav
Jain, and Venkat Rao Bagalkote.

* tag 'powerpc-6.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (61 commits)
  powerpc/kexec: fix physical address calculation in clear_utlb_entry()
  crypto: powerpc: Mark ghashp8-ppc.o as an OBJECT_FILES_NON_STANDARD
  powerpc: Fix 'intra_function_call not a direct call' warning
  powerpc/perf: Fix ref-counting on the PMU 'vpa_pmu'
  KVM: PPC: Enable CAP_SPAPR_TCE_VFIO on pSeries KVM guests
  powerpc/prom_init: Fixup missing #size-cells on PowerBook6,7
  powerpc/microwatt: Add SMP support
  powerpc: Define config option for processors with broadcast TLBIE
  powerpc/microwatt: Define an idle power-save function
  powerpc/microwatt: Device-tree updates
  powerpc/microwatt: Select COMMON_CLK in order to get the clock framework
  net: toshiba: Remove reference to PPC_IBM_CELL_BLADE
  net: spider_net: Remove powerpc Cell driver
  cpufreq: ppc_cbe: Remove powerpc Cell driver
  genirq: Remove IRQ_EDGE_EOI_HANDLER
  docs: Remove reference to removed CBE_CPUFREQ_SPU_GOVERNOR
  powerpc: Remove UDBG_RTAS_CONSOLE
  powerpc/io: Use standard barrier macros in io.c
  powerpc/io: Rename _insw_ns() etc.
  powerpc/io: Use generic raw accessors
  ...
parents a7e135fe 861efb8a
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2187,6 +2187,10 @@ D: Various ACPI fixes, keeping correct battery state through suspend
D: various lockdep annotations, autofs and other random bugfixes
S: Prague, Czech Republic

N: Ishizaki Kou
E: kou.ishizaki@toshiba.co.jp
D: Spidernet driver for PowerPC Cell platforms

N: Gene Kozin
E: 74604.152@compuserve.com
W: https://www.sangoma.com
@@ -2197,6 +2201,9 @@ S: Markham, Ontario
S: L3R 8B2
S: Canada

N: Christian Krafft
D: PowerPC Cell support

N: Maxim Krasnyansky
E: maxk@qualcomm.com
W: http://vtun.sf.net
@@ -2389,6 +2396,10 @@ S: ICP vortex GmbH
S: Neckarsulm
S: Germany

N: Geoff Levand
E: geoff@infradead.org
D: Spidernet driver for PowerPC Cell platforms

N: Phil Lewis
E: beans@bucket.ualr.edu
D: Promised to send money if I would put his name in the source tree.
+2 −1
Original line number Diff line number Diff line
@@ -55,4 +55,5 @@ Date: May 2024
Contact:	linuxppc-dev@lists.ozlabs.org
Description:	read/write
		This is a special sysfs file available to setup additional
		parameters to be passed to capture kernel.
		parameters to be passed to capture kernel. For HASH MMU it
		is exported only if RMA size higher than 768MB.
+1 −6
Original line number Diff line number Diff line
@@ -278,12 +278,7 @@ To reduce its OS jitter, do any of the following:
		due to the rtas_event_scan() function.
		WARNING:  Please check your CPU specifications to
		make sure that this is safe on your particular system.
	e.	If running on Cell Processor, build your kernel with
		CBE_CPUFREQ_SPU_GOVERNOR=n to avoid OS jitter from
		spu_gov_work().
		WARNING:  Please check your CPU specifications to
		make sure that this is safe on your particular system.
	f.	If running on PowerMAC, build your kernel with
	e.	If running on PowerMAC, build your kernel with
		CONFIG_PMAC_RACKMETER=n to disable the CPU-meter,
		avoiding OS jitter from rackmeter_do_timer().

+22 −0
Original line number Diff line number Diff line
@@ -120,6 +120,28 @@ to ensure that crash data is preserved to process later.
   e.g.
     # echo 1 > /sys/firmware/opal/mpipl/release_core

-- Support for Additional Kernel Arguments in Fadump
   Fadump has a feature that allows passing additional kernel arguments
   to the fadump kernel. This feature was primarily designed to disable
   kernel functionalities that are not required for the fadump kernel
   and to reduce its memory footprint while collecting the dump.

  Command to Add Additional Kernel Parameters to Fadump:
  e.g.
  # echo "nr_cpus=16" > /sys/kernel/fadump/bootargs_append

  The above command is sufficient to add additional arguments to fadump.
  An explicit service restart is not required.

  Command to Retrieve the Additional Fadump Arguments:
  e.g.
  # cat /sys/kernel/fadump/bootargs_append

Note: Additional kernel arguments for fadump with HASH MMU is only
      supported if the RMA size is greater than 768 MB. If the RMA
      size is less than 768 MB, the kernel does not export the
      /sys/kernel/fadump/bootargs_append sysfs node.

Implementation details:
-----------------------

+11 −0
Original line number Diff line number Diff line
@@ -289,6 +289,17 @@ to be issued multiple times in order to be completely serviced. The
subsequent hcalls to the hypervisor until the hcall is completely serviced
at which point H_SUCCESS or other error is returned by the hypervisor.

**H_HTM**

| Input: flags, target, operation (op), op-param1, op-param2, op-param3
| Out: *dumphtmbufferdata*
| Return Value: *H_Success,H_Busy,H_LongBusyOrder,H_Partial,H_Parameter,
		 H_P2,H_P3,H_P4,H_P5,H_P6,H_State,H_Not_Available,H_Authority*

H_HTM supports setup, configuration, control and dumping of Hardware Trace
Macro (HTM) function and its data. HTM buffer stores tracing data for functions
like core instruction, core LLAT and nest.

References
==========
.. [1] "Power Architecture Platform Reference"
Loading