Skip to content

Commit ad952db

Browse files
committed
Merge tag 'powerpc-6.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc updates from Michael Ellerman: - Restore clearing of MSR[RI] at interrupt/syscall exit on 32-bit - Fix unpaired stwcx on interrupt exit on 32-bit - Fix race condition leading to double list-add in mac_hid_toggle_emumouse() - Fix mprotect on book3s 32-bit - Fix SLB multihit issue during SLB preload with 64-bit hash MMU - Add support for crashkernel CMA reservation - Add die_id and die_cpumask for Power10 & later to expose chip hemispheres - A series of minor fixes and improvements to the hash SLB code Thanks to Antonio Alvarez Feijoo, Ben Collins, Bhaskar Chowdhury, Christophe Leroy, Daniel Thompson, Dave Vasilevsky, Donet Tom, J. Neuschäfer, Kunwu Chan, Long Li, Naresh Kamboju, Nathan Chancellor, Ritesh Harjani (IBM), Shirisha G, Shrikanth Hegde, Sourabh Jain, Srikar Dronamraju, Stephen Rothwell, Thomas Zimmermann, Venkat Rao Bagalkote, and Vishal Chourasia. * tag 'powerpc-6.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (32 commits) macintosh/via-pmu-backlight: Include <linux/fb.h> and <linux/of.h> powerpc/powermac: backlight: Include <linux/of.h> powerpc/64s/slb: Add no_slb_preload early cmdline param powerpc/64s/slb: Make preload_add return type as void powerpc/ptdump: Dump PXX level info for kernel_page_tables powerpc/64s/pgtable: Enable directMap counters in meminfo for Hash powerpc/64s/hash: Update directMap page counters for Hash powerpc/64s/hash: Hash hpt_order should be only available with Hash MMU powerpc/64s/hash: Improve hash mmu printk messages powerpc/64s/hash: Fix phys_addr_t printf format in htab_initialize() powerpc/64s/ptdump: Fix kernel_hash_pagetable dump for ISA v3.00 HPTE format powerpc/64s/hash: Restrict stress_hpt_struct memblock region to within RMA limit powerpc/64s/slb: Fix SLB multihit issue during SLB preload powerpc, mm: Fix mprotect on book3s 32-bit powerpc/smp: Expose die_id and die_cpumask powerpc/83xx: Add a null pointer check to mcu_gpiochip_add arch:powerpc:tools This file was missing shebang line, so added it kexec: Include kernel-end even without crashkernel powerpc: p2020: Rename wdt@ nodes to watchdog@ powerpc: 86xx: Rename wdt@ nodes to watchdog@ ...
2 parents 87c9e88 + 9b36c7f commit ad952db

49 files changed

Lines changed: 270 additions & 197 deletions

Some content is hidden

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

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ Kernel parameters
11111111
It will be ignored when crashkernel=X,high is not used
11121112
or memory reserved is below 4G.
11131113
crashkernel=size[KMG],cma
1114-
[KNL, X86] Reserve additional crash kernel memory from
1114+
[KNL, X86, ppc] Reserve additional crash kernel memory from
11151115
CMA. This reservation is usable by the first system's
11161116
userspace memory and kernel movable allocations (memory
11171117
balloon, zswap). Pages allocated from this memory range
@@ -7304,6 +7304,9 @@ Kernel parameters
73047304
them frequently to increase the rate of SLB faults
73057305
on kernel addresses.
73067306

7307+
no_slb_preload [PPC,EARLY]
7308+
Disables slb preloading for userspace.
7309+
73077310
sunrpc.min_resvport=
73087311
sunrpc.max_resvport=
73097312
[NFS,SUNRPC]

arch/powerpc/boot/addnote.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ static int e_class = ELFCLASS32;
6868
#define PUT_16BE(off, v)(buf[off] = ((v) >> 8) & 0xff, \
6969
buf[(off) + 1] = (v) & 0xff)
7070
#define PUT_32BE(off, v)(PUT_16BE((off), (v) >> 16L), PUT_16BE((off) + 2, (v)))
71-
#define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \
72-
PUT_32BE((off) + 4, (v))))
71+
#define PUT_64BE(off, v)((PUT_32BE((off), (unsigned long long)(v) >> 32L), \
72+
PUT_32BE((off) + 4, (unsigned long long)(v))))
7373

7474
#define GET_16LE(off) ((buf[off]) + (buf[(off)+1] << 8))
7575
#define GET_32LE(off) (GET_16LE(off) + (GET_16LE((off)+2U) << 16U))
@@ -78,7 +78,8 @@ static int e_class = ELFCLASS32;
7878
#define PUT_16LE(off, v) (buf[off] = (v) & 0xff, \
7979
buf[(off) + 1] = ((v) >> 8) & 0xff)
8080
#define PUT_32LE(off, v) (PUT_16LE((off), (v)), PUT_16LE((off) + 2, (v) >> 16L))
81-
#define PUT_64LE(off, v) (PUT_32LE((off), (v)), PUT_32LE((off) + 4, (v) >> 32L))
81+
#define PUT_64LE(off, v) (PUT_32LE((off), (unsigned long long)(v)), \
82+
PUT_32LE((off) + 4, (unsigned long long)(v) >> 32L))
8283

8384
#define GET_16(off) (e_data == ELFDATA2MSB ? GET_16BE(off) : GET_16LE(off))
8485
#define GET_32(off) (e_data == ELFDATA2MSB ? GET_32BE(off) : GET_32LE(off))

arch/powerpc/boot/dts/asp834x-redboot.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
reg = <0xff000000 0x00000200>;
7373
bus-frequency = <0>;
7474

75-
wdt@200 {
75+
watchdog@200 {
7676
device_type = "watchdog";
7777
compatible = "mpc83xx_wdt";
7878
reg = <0x200 0x100>;

arch/powerpc/boot/dts/fsl/ge_imp3a.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
gpio-controller;
9595
};
9696

97-
wdt@4,800 {
97+
watchdog@4,800 {
9898
compatible = "ge,imp3a-fpga-wdt", "gef,fpga-wdt-1.00",
9999
"gef,fpga-wdt";
100100
reg = <0x4 0x800 0x8>;
@@ -103,7 +103,7 @@
103103
};
104104

105105
/* Second watchdog available, driver currently supports one.
106-
wdt@4,808 {
106+
watchdog@4,808 {
107107
compatible = "gef,imp3a-fpga-wdt", "gef,fpga-wdt-1.00",
108108
"gef,fpga-wdt";
109109
reg = <0x4 0x808 0x8>;

arch/powerpc/boot/dts/fsl/gef_ppc9a.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@
8282
reg = <0x4 0x0 0x40>;
8383
};
8484

85-
wdt@4,2000 {
85+
watchdog@4,2000 {
8686
compatible = "gef,ppc9a-fpga-wdt", "gef,fpga-wdt-1.00",
8787
"gef,fpga-wdt";
8888
reg = <0x4 0x2000 0x8>;
8989
interrupts = <0x1a 0x4>;
9090
interrupt-parent = <&gef_pic>;
9191
};
9292
/* Second watchdog available, driver currently supports one.
93-
wdt@4,2010 {
93+
watchdog@4,2010 {
9494
compatible = "gef,ppc9a-fpga-wdt", "gef,fpga-wdt-1.00",
9595
"gef,fpga-wdt";
9696
reg = <0x4 0x2010 0x8>;

arch/powerpc/boot/dts/fsl/gef_sbc310.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@
7979
reg = <0x4 0x0 0x40>;
8080
};
8181

82-
wdt@4,2000 {
82+
watchdog@4,2000 {
8383
compatible = "gef,sbc310-fpga-wdt", "gef,fpga-wdt-1.00",
8484
"gef,fpga-wdt";
8585
reg = <0x4 0x2000 0x8>;
8686
interrupts = <0x1a 0x4>;
8787
interrupt-parent = <&gef_pic>;
8888
};
8989
/*
90-
wdt@4,2010 {
90+
watchdog@4,2010 {
9191
compatible = "gef,sbc310-fpga-wdt", "gef,fpga-wdt-1.00",
9292
"gef,fpga-wdt";
9393
reg = <0x4 0x2010 0x8>;

arch/powerpc/boot/dts/fsl/gef_sbc610.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@
8282
reg = <0x4 0x0 0x40>;
8383
};
8484

85-
wdt@4,2000 {
85+
watchdog@4,2000 {
8686
compatible = "gef,fpga-wdt";
8787
reg = <0x4 0x2000 0x8>;
8888
interrupts = <0x1a 0x4>;
8989
interrupt-parent = <&gef_pic>;
9090
};
9191
/* Second watchdog available, driver currently supports one.
92-
wdt@4,2010 {
92+
watchdog@4,2010 {
9393
compatible = "gef,fpga-wdt";
9494
reg = <0x4 0x2010 0x8>;
9595
interrupts = <0x1b 0x4>;

arch/powerpc/boot/dts/mpc5121.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
};
113113

114114
/* Watchdog timer */
115-
wdt@900 {
115+
watchdog@900 {
116116
compatible = "fsl,mpc5121-wdt";
117117
reg = <0x900 0x100>;
118118
};

arch/powerpc/boot/dts/mpc8313erdb.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
reg = <0xe0000000 0x00000200>;
100100
bus-frequency = <0>;
101101

102-
wdt@200 {
102+
watchdog@200 {
103103
device_type = "watchdog";
104104
compatible = "mpc83xx_wdt";
105105
reg = <0x200 0x100>;

arch/powerpc/boot/dts/mpc8315erdb.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
reg = <0xe0000000 0x00000200>;
101101
bus-frequency = <0>;
102102

103-
wdt@200 {
103+
watchdog@200 {
104104
device_type = "watchdog";
105105
compatible = "mpc83xx_wdt";
106106
reg = <0x200 0x100>;

0 commit comments

Comments
 (0)