Skip to content

Commit 3c3ff7b

Browse files
committed
Merge tag 'powerpc-6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc updates from Michael Ellerman: - Remove support for 40x CPUs & platforms - Add support to the 64-bit BPF JIT for cpu v4 instructions - Fix PCI hotplug driver crash on powernv - Fix doorbell emulation for KVM on PAPR guests (nestedv2) - Fix KVM nested guest handling of some less used SPRs - Online NUMA nodes with no CPU/memory if they have a PCI device attached - Reduce memory overhead of enabling kfence on 64-bit Radix MMU kernels - Reimplement the iommu table_group_ops for pseries for VFIO SPAPR TCE Thanks to: Anjali K, Artem Savkov, Athira Rajeev, Breno Leitao, Brian King, Celeste Liu, Christophe Leroy, Esben Haabendal, Gaurav Batra, Gautam Menghani, Haren Myneni, Hari Bathini, Jeff Johnson, Krishna Kumar, Krzysztof Kozlowski, Nathan Lynch, Nicholas Piggin, Nick Bowler, Nilay Shroff, Rob Herring (Arm), Shawn Anastasio, Shivaprasad G Bhat, Sourabh Jain, Srikar Dronamraju, Timothy Pearson, Uwe Kleine-König, and Vaibhav Jain. * tag 'powerpc-6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (57 commits) Documentation/powerpc: Mention 40x is removed powerpc: Remove 40x leftovers macintosh/therm_windtunnel: fix module unload. powerpc: Check only single values are passed to CPU/MMU feature checks powerpc/xmon: Fix disassembly CPU feature checks powerpc: Drop clang workaround for builtin constant checks powerpc64/bpf: jit support for signed division and modulo powerpc64/bpf: jit support for sign extended mov powerpc64/bpf: jit support for sign extended load powerpc64/bpf: jit support for unconditional byte swap powerpc64/bpf: jit support for 32bit offset jmp instruction powerpc/pci: Hotplug driver bridge support pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv powerpc/configs: Update defconfig with now user-visible CONFIG_FSL_IFC powerpc: add missing MODULE_DESCRIPTION() macros macintosh/mac_hid: add MODULE_DESCRIPTION() KVM: PPC: add missing MODULE_DESCRIPTION() macros powerpc/kexec: Use of_property_read_reg() powerpc/64s/radix/kfence: map __kfence_pool at page granularity powerpc/pseries/iommu: Define spapr_tce_table_group_ops only with CONFIG_IOMMU_API ...
2 parents 3f386cb + 9ff0251 commit 3c3ff7b

File tree

158 files changed

+1464
-5776
lines changed

Some content is hidden

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

158 files changed

+1464
-5776
lines changed

Documentation/arch/powerpc/cpu_families.rst

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -128,24 +128,6 @@ IBM BookE
128128
- All 32 bit::
129129

130130
+--------------+
131-
| 401 |
132-
+--------------+
133-
|
134-
|
135-
v
136-
+--------------+
137-
| 403 |
138-
+--------------+
139-
|
140-
|
141-
v
142-
+--------------+
143-
| 405 |
144-
+--------------+
145-
|
146-
|
147-
v
148-
+--------------+
149131
| 440 |
150132
+--------------+
151133
|

Documentation/arch/powerpc/elf_hwcaps.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ PPC_FEATURE_HAS_MMU
9191

9292
PPC_FEATURE_HAS_4xxMAC
9393
The processor is 40x or 44x family.
94+
Unused in the kernel since 732b32daef80 ("powerpc: Remove core support for 40x")
9495

9596
PPC_FEATURE_UNIFIED_CACHE
9697
The processor has a unified L1 cache for instructions and data, as

Documentation/arch/powerpc/kvm-nested.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,9 @@ table information.
546546
+--------+-------+----+--------+----------------------------------+
547547
| 0x1052 | 0x08 | RW | T | CTRL |
548548
+--------+-------+----+--------+----------------------------------+
549-
| 0x1053-| | | | Reserved |
549+
| 0x1053 | 0x08 | RW | T | DPDES |
550+
+--------+-------+----+--------+----------------------------------+
551+
| 0x1054-| | | | Reserved |
550552
| 0x1FFF | | | | |
551553
+--------+-------+----+--------+----------------------------------+
552554
| 0x2000 | 0x04 | RW | T | CR |

Documentation/virt/kvm/api.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2439,8 +2439,11 @@ registers, find a list below:
24392439
PPC KVM_REG_PPC_PSSCR 64
24402440
PPC KVM_REG_PPC_DEC_EXPIRY 64
24412441
PPC KVM_REG_PPC_PTCR 64
2442+
PPC KVM_REG_PPC_HASHKEYR 64
2443+
PPC KVM_REG_PPC_HASHPKEYR 64
24422444
PPC KVM_REG_PPC_DAWR1 64
24432445
PPC KVM_REG_PPC_DAWRX1 64
2446+
PPC KVM_REG_PPC_DEXCR 64
24442447
PPC KVM_REG_PPC_TM_GPR0 64
24452448
...
24462449
PPC KVM_REG_PPC_TM_GPR31 64

MAINTAINERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12924,7 +12924,6 @@ F: arch/powerpc/platforms/52xx/
1292412924
LINUX FOR POWERPC EMBEDDED PPC4XX
1292512925
1292612926
S: Orphan
12927-
F: arch/powerpc/platforms/40x/
1292812927
F: arch/powerpc/platforms/44x/
1292912928

1293012929
LINUX FOR POWERPC EMBEDDED PPC85XX

arch/powerpc/Kconfig

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ config PPC
149149
select ARCH_HAS_PTE_SPECIAL
150150
select ARCH_HAS_SCALED_CPUTIME if VIRT_CPU_ACCOUNTING_NATIVE && PPC_BOOK3S_64
151151
select ARCH_HAS_SET_MEMORY
152-
select ARCH_HAS_STRICT_KERNEL_RWX if (PPC_BOOK3S || PPC_8xx || 40x) && !HIBERNATION
152+
select ARCH_HAS_STRICT_KERNEL_RWX if (PPC_BOOK3S || PPC_8xx) && !HIBERNATION
153153
select ARCH_HAS_STRICT_KERNEL_RWX if PPC_85xx && !HIBERNATION && !RANDOMIZE_BASE
154154
select ARCH_HAS_STRICT_MODULE_RWX if ARCH_HAS_STRICT_KERNEL_RWX
155155
select ARCH_HAS_SYSCALL_WRAPPER if !SPU_BASE && !COMPAT
@@ -167,7 +167,7 @@ config PPC
167167
select ARCH_SPLIT_ARG64 if PPC32
168168
select ARCH_STACKWALK
169169
select ARCH_SUPPORTS_ATOMIC_RMW
170-
select ARCH_SUPPORTS_DEBUG_PAGEALLOC if PPC_BOOK3S || PPC_8xx || 40x
170+
select ARCH_SUPPORTS_DEBUG_PAGEALLOC if PPC_BOOK3S || PPC_8xx
171171
select ARCH_USE_BUILTIN_BSWAP
172172
select ARCH_USE_CMPXCHG_LOCKREF if PPC64
173173
select ARCH_USE_MEMTEST
@@ -389,7 +389,7 @@ config ARCH_SUSPEND_POSSIBLE
389389
def_bool y
390390
depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
391391
(PPC_85xx && !PPC_E500MC) || PPC_86xx || PPC_PSERIES \
392-
|| 44x || 40x
392+
|| 44x
393393

394394
config ARCH_SUSPEND_NONZERO_CPU
395395
def_bool y
@@ -443,7 +443,7 @@ config ARCH_SUPPORTS_UPROBES
443443

444444
config PPC_ADV_DEBUG_REGS
445445
bool
446-
depends on 40x || BOOKE
446+
depends on BOOKE
447447
default y
448448

449449
config PPC_ADV_DEBUG_IACS
@@ -490,7 +490,7 @@ source "kernel/Kconfig.hz"
490490

491491
config MATH_EMULATION
492492
bool "Math emulation"
493-
depends on 4xx || PPC_8xx || PPC_MPC832x || BOOKE || PPC_MICROWATT
493+
depends on 44x || PPC_8xx || PPC_MPC832x || BOOKE || PPC_MICROWATT
494494
select PPC_FPU_REGS
495495
help
496496
Some PowerPC chips designed for embedded applications do not have
@@ -1077,7 +1077,7 @@ config GENERIC_ISA_DMA
10771077
config PPC_INDIRECT_PCI
10781078
bool
10791079
depends on PCI
1080-
default y if 40x || 44x
1080+
default y if 44x
10811081

10821082
config SBUS
10831083
bool
@@ -1102,15 +1102,12 @@ config FSL_PMC
11021102
config PPC4xx_CPM
11031103
bool
11041104
default y
1105-
depends on SUSPEND && (44x || 40x)
1105+
depends on SUSPEND && 44x
11061106
help
11071107
PPC4xx Clock Power Management (CPM) support (suspend/resume).
11081108
It also enables support for two different idle states (idle-wait
11091109
and idle-doze).
11101110

1111-
config 4xx_SOC
1112-
bool
1113-
11141111
config FSL_LBC
11151112
bool "Freescale Local Bus support"
11161113
help

arch/powerpc/Kconfig.debug

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -244,14 +244,6 @@ config PPC_EARLY_DEBUG_44x
244244
inbuilt serial port. If you enable this, ensure you set
245245
PPC_EARLY_DEBUG_44x_PHYSLOW below to suit your target board.
246246

247-
config PPC_EARLY_DEBUG_40x
248-
bool "Early serial debugging for IBM/AMCC 40x CPUs"
249-
depends on 40x
250-
help
251-
Select this to enable early debugging for IBM 40x chips via the
252-
inbuilt serial port. This works on chips with a 16550 compatible
253-
UART.
254-
255247
config PPC_EARLY_DEBUG_CPM
256248
bool "Early serial debugging for Freescale CPM-based serial ports"
257249
depends on SERIAL_CPM=y
@@ -356,11 +348,6 @@ config PPC_EARLY_DEBUG_44x_PHYSHIGH
356348
depends on PPC_EARLY_DEBUG_44x
357349
default "0x1"
358350

359-
config PPC_EARLY_DEBUG_40x_PHYSADDR
360-
hex "Early debug UART physical address"
361-
depends on PPC_EARLY_DEBUG_40x
362-
default "0xef600300"
363-
364351
config PPC_EARLY_DEBUG_CPM_ADDR
365352
hex "CPM UART early debug transmit descriptor address"
366353
depends on PPC_EARLY_DEBUG_CPM

arch/powerpc/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,6 @@ ppc32_allmodconfig:
301301
$(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/book3s_32.config \
302302
-f $(srctree)/Makefile allmodconfig
303303

304-
generated_configs += ppc40x_allmodconfig
305-
ppc40x_allmodconfig:
306-
$(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/40x.config \
307-
-f $(srctree)/Makefile allmodconfig
308-
309304
generated_configs += ppc44x_allmodconfig
310305
ppc44x_allmodconfig:
311306
$(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/44x.config \

0 commit comments

Comments
 (0)