Skip to content

Commit f689b74

Browse files
committed
Merge tag 'powerpc-4.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc updates from Michael Ellerman: "Core: - Ground work for the new Power9 MMU from Aneesh Kumar K.V - Optimise FP/VMX/VSX context switching from Anton Blanchard Misc: - Various cleanups from Krzysztof Kozlowski, John Ogness, Rashmica Gupta, Russell Currey, Gavin Shan, Daniel Axtens, Michael Neuling, Andrew Donnellan - Allow wrapper to work on non-english system from Laurent Vivier - Add rN aliases to the pt_regs_offset table from Rashmica Gupta - Fix module autoload for rackmeter & axonram drivers from Luis de Bethencourt - Include KVM guest test in all interrupt vectors from Paul Mackerras - Fix DSCR inheritance over fork() from Anton Blanchard - Make value-returning atomics & {cmp}xchg* & their atomic_ versions fully ordered from Boqun Feng - Print MSR TM bits in oops messages from Michael Neuling - Add TM signal return & invalid stack selftests from Michael Neuling - Limit EPOW reset event warnings from Vipin K Parashar - Remove the Cell QPACE code from Rashmica Gupta - Append linux_banner to exception information in xmon from Rashmica Gupta - Add selftest to check if VSRs are corrupted from Rashmica Gupta - Remove broken GregorianDay() from Daniel Axtens - Import Anton's context_switch2 benchmark into selftests from Michael Ellerman - Add selftest script to test HMI functionality from Daniel Axtens - Remove obsolete OPAL v2 support from Stewart Smith - Make enter_rtas() private from Michael Ellerman - PPR exception cleanups from Michael Ellerman - Add page soft dirty tracking from Laurent Dufour - Add support for Nvlink NPUs from Alistair Popple - Add support for kexec on 476fpe from Alistair Popple - Enable kernel CPU dlpar from sysfs from Nathan Fontenot - Copy only required pieces of the mm_context_t to the paca from Michael Neuling - Add a kmsg_dumper that flushes OPAL console output on panic from Russell Currey - Implement save_stack_trace_regs() to enable kprobe stack tracing from Steven Rostedt - Add HWCAP bits for Power9 from Michael Ellerman - Fix _PAGE_PTE breaking swapoff from Aneesh Kumar K.V - Fix _PAGE_SWP_SOFT_DIRTY breaking swapoff from Hugh Dickins - scripts/recordmcount.pl: support data in text section on powerpc from Ulrich Weigand - Handle R_PPC64_ENTRY relocations in modules from Ulrich Weigand cxl: - cxl: Fix possible idr warning when contexts are released from Vaibhav Jain - cxl: use correct operator when writing pcie config space values from Andrew Donnellan - cxl: Fix DSI misses when the context owning task exits from Vaibhav Jain - cxl: fix build for GCC 4.6.x from Brian Norris - cxl: use -Werror only with CONFIG_PPC_WERROR from Brian Norris - cxl: Enable PCI device ID for future IBM CXL adapter from Uma Krishnan Freescale: - Freescale updates from Scott: Highlights include moving QE code out of arch/powerpc (to be shared with arm), device tree updates, and minor fixes" * tag 'powerpc-4.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (149 commits) powerpc/module: Handle R_PPC64_ENTRY relocations scripts/recordmcount.pl: support data in text section on powerpc powerpc/powernv: Fix OPAL_CONSOLE_FLUSH prototype and usages powerpc/mm: fix _PAGE_SWP_SOFT_DIRTY breaking swapoff powerpc/mm: Fix _PAGE_PTE breaking swapoff cxl: Enable PCI device ID for future IBM CXL adapter cxl: use -Werror only with CONFIG_PPC_WERROR cxl: fix build for GCC 4.6.x powerpc: Add HWCAP bits for Power9 powerpc/powernv: Reserve PE#0 on NPU powerpc/powernv: Change NPU PE# assignment powerpc/powernv: Fix update of NVLink DMA mask powerpc/powernv: Remove misleading comment in pci.c powerpc: Implement save_stack_trace_regs() to enable kprobe stack tracing powerpc: Fix build break due to paca mm_context_t changes cxl: Fix DSI misses when the context owning task exits MAINTAINERS: Update Scott Wood's e-mail address powerpc/powernv: Fix minor off-by-one error in opal_mce_check_early_recovery() powerpc: Fix style of self-test config prompts powerpc/powernv: Only delay opal_rtc_read() retry when necessary ...
2 parents 37cea93 + be6bfc2 commit f689b74

251 files changed

Lines changed: 6827 additions & 3848 deletions

File tree

Some content is hidden

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

‎Documentation/devicetree/bindings/serial/8250.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Required properties:
1414
tegra132, or tegra210.
1515
- "nxp,lpc3220-uart"
1616
- "ralink,rt2880-uart"
17-
- "ibm,qpace-nwp-serial"
1817
- "altr,16550-FIFO32"
1918
- "altr,16550-FIFO64"
2019
- "altr,16550-FIFO128"
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
* Thermal Monitoring Unit (TMU) on Freescale QorIQ SoCs
2+
3+
Required properties:
4+
- compatible : Must include "fsl,qoriq-tmu". The version of the device is
5+
determined by the TMU IP Block Revision Register (IPBRR0) at
6+
offset 0x0BF8.
7+
Table of correspondences between IPBRR0 values and example chips:
8+
Value Device
9+
---------- -----
10+
0x01900102 T1040
11+
- reg : Address range of TMU registers.
12+
- interrupts : Contains the interrupt for TMU.
13+
- fsl,tmu-range : The values to be programmed into TTRnCR, as specified by
14+
the SoC reference manual. The first cell is TTR0CR, the second is
15+
TTR1CR, etc.
16+
- fsl,tmu-calibration : A list of cell pairs containing temperature
17+
calibration data, as specified by the SoC reference manual.
18+
The first cell of each pair is the value to be written to TTCFGR,
19+
and the second is the value to be written to TSCFGR.
20+
21+
Example:
22+
23+
tmu@f0000 {
24+
compatible = "fsl,qoriq-tmu";
25+
reg = <0xf0000 0x1000>;
26+
interrupts = <18 2 0 0>;
27+
fsl,tmu-range = <0x000a0000 0x00090026 0x0008004a 0x0001006a>;
28+
fsl,tmu-calibration = <0x00000000 0x00000025
29+
0x00000001 0x00000028
30+
0x00000002 0x0000002d
31+
0x00000003 0x00000031
32+
0x00000004 0x00000036
33+
0x00000005 0x0000003a
34+
0x00000006 0x00000040
35+
0x00000007 0x00000044
36+
0x00000008 0x0000004a
37+
0x00000009 0x0000004f
38+
0x0000000a 0x00000054
39+
40+
0x00010000 0x0000000d
41+
0x00010001 0x00000013
42+
0x00010002 0x00000019
43+
0x00010003 0x0000001f
44+
0x00010004 0x00000025
45+
0x00010005 0x0000002d
46+
0x00010006 0x00000033
47+
0x00010007 0x00000043
48+
0x00010008 0x0000004b
49+
0x00010009 0x00000053
50+
51+
0x00020000 0x00000010
52+
0x00020001 0x00000017
53+
0x00020002 0x0000001f
54+
0x00020003 0x00000029
55+
0x00020004 0x00000031
56+
0x00020005 0x0000003c
57+
0x00020006 0x00000042
58+
0x00020007 0x0000004d
59+
0x00020008 0x00000056
60+
61+
0x00030000 0x00000012
62+
0x00030001 0x0000001d>;
63+
};

‎Documentation/kernel-parameters.txt‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2993,6 +2993,12 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
29932993
may be specified.
29942994
Format: <port>,<port>....
29952995

2996+
ppc_strict_facility_enable
2997+
[PPC] This option catches any kernel floating point,
2998+
Altivec, VSX and SPE outside of regions specifically
2999+
allowed (eg kernel_enable_fpu()/kernel_disable_fpu()).
3000+
There is some performance impact when enabling this.
3001+
29963002
print-fatal-signals=
29973003
[KNL] debug: print fatal signals
29983004

‎MAINTAINERS‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4490,8 +4490,9 @@ F: include/linux/fs_enet_pd.h
44904490
FREESCALE QUICC ENGINE LIBRARY
44914491
L: linuxppc-dev@lists.ozlabs.org
44924492
S: Orphan
4493-
F: arch/powerpc/sysdev/qe_lib/
4494-
F: arch/powerpc/include/asm/*qe.h
4493+
F: drivers/soc/fsl/qe/
4494+
F: include/soc/fsl/*qe*.h
4495+
F: include/soc/fsl/*ucc*.h
44954496

44964497
FREESCALE USB PERIPHERAL DRIVERS
44974498
M: Li Yang <leoli@freescale.com>
@@ -6444,7 +6445,7 @@ S: Maintained
64446445
F: arch/powerpc/platforms/8xx/
64456446

64466447
LINUX FOR POWERPC EMBEDDED PPC83XX AND PPC85XX
6447-
M: Scott Wood <scottwood@freescale.com>
6448+
M: Scott Wood <oss@buserror.net>
64486449
M: Kumar Gala <galak@kernel.crashing.org>
64496450
W: http://www.penguinppc.org/
64506451
L: linuxppc-dev@lists.ozlabs.org

‎arch/powerpc/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ choice
560560

561561
config PPC_4K_PAGES
562562
bool "4k page size"
563+
select HAVE_ARCH_SOFT_DIRTY if CHECKPOINT_RESTORE && PPC_BOOK3S
563564

564565
config PPC_16K_PAGES
565566
bool "16k page size"
@@ -568,6 +569,7 @@ config PPC_16K_PAGES
568569
config PPC_64K_PAGES
569570
bool "64k page size"
570571
depends on !PPC_FSL_BOOK3E && (44x || PPC_STD_MMU_64 || PPC_BOOK3E_64)
572+
select HAVE_ARCH_SOFT_DIRTY if CHECKPOINT_RESTORE && PPC_BOOK3S
571573

572574
config PPC_256K_PAGES
573575
bool "256k page size"
@@ -1075,8 +1077,6 @@ source "drivers/Kconfig"
10751077

10761078
source "fs/Kconfig"
10771079

1078-
source "arch/powerpc/sysdev/qe_lib/Kconfig"
1079-
10801080
source "lib/Kconfig"
10811081

10821082
source "arch/powerpc/Kconfig.debug"

‎arch/powerpc/Kconfig.debug‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ config PPC_EMULATED_STATS
6464
emulated.
6565

6666
config CODE_PATCHING_SELFTEST
67-
bool "Run self-tests of the code-patching code."
67+
bool "Run self-tests of the code-patching code"
6868
depends on DEBUG_KERNEL
6969
default n
7070

7171
config FTR_FIXUP_SELFTEST
72-
bool "Run self-tests of the feature-fixup code."
72+
bool "Run self-tests of the feature-fixup code"
7373
depends on DEBUG_KERNEL
7474
default n
7575

7676
config MSI_BITMAP_SELFTEST
77-
bool "Run self-tests of the MSI bitmap code."
77+
bool "Run self-tests of the MSI bitmap code"
7878
depends on DEBUG_KERNEL
7979
default n
8080

‎arch/powerpc/boot/Makefile‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ src-plat-$(CONFIG_EPAPR_BOOT) += epapr.c epapr-wrapper.c
113113
src-plat-$(CONFIG_PPC_PSERIES) += pseries-head.S
114114
src-plat-$(CONFIG_PPC_POWERNV) += pseries-head.S
115115
src-plat-$(CONFIG_PPC_IBM_CELL_BLADE) += pseries-head.S
116-
src-plat-$(CONFIG_PPC_CELL_QPACE) += pseries-head.S
117116

118117
src-wlib := $(sort $(src-wlib-y))
119118
src-plat := $(sort $(src-plat-y))
@@ -217,7 +216,6 @@ image-$(CONFIG_PPC_POWERNV) += zImage.pseries
217216
image-$(CONFIG_PPC_MAPLE) += zImage.maple
218217
image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries
219218
image-$(CONFIG_PPC_PS3) += dtbImage.ps3
220-
image-$(CONFIG_PPC_CELL_QPACE) += zImage.pseries
221219
image-$(CONFIG_PPC_CHRP) += zImage.chrp
222220
image-$(CONFIG_PPC_EFIKA) += zImage.chrp
223221
image-$(CONFIG_PPC_PMAC) += zImage.pmac

‎arch/powerpc/boot/dts/fsl/b4si-post.dtsi‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,11 @@
474474
fman@400000 {
475475
interrupts = <96 2 0 0>, <16 2 1 30>;
476476

477+
muram@0 {
478+
compatible = "fsl,fman-muram";
479+
reg = <0x0 0x80000>;
480+
};
481+
477482
enet0: ethernet@e0000 {
478483
};
479484

‎arch/powerpc/boot/dts/fsl/bsc9132qds.dts‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,21 @@
2929
soc: soc@ff700000 {
3030
ranges = <0x0 0x0 0xff700000 0x100000>;
3131
};
32+
33+
pci0: pcie@ff70a000 {
34+
reg = <0 0xff70a000 0 0x1000>;
35+
ranges = <0x2000000 0x0 0x90000000 0 0x90000000 0x0 0x20000000
36+
0x1000000 0x0 0x00000000 0 0xc0010000 0x0 0x10000>;
37+
pcie@0 {
38+
ranges = <0x2000000 0x0 0x90000000
39+
0x2000000 0x0 0x90000000
40+
0x0 0x20000000
41+
42+
0x1000000 0x0 0x0
43+
0x1000000 0x0 0x0
44+
0x0 0x100000>;
45+
};
46+
};
3247
};
3348

3449
/include/ "bsc9132qds.dtsi"

‎arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,34 @@
4040
interrupts = <16 2 0 0 20 2 0 0>;
4141
};
4242

43+
/* controller at 0xa000 */
44+
&pci0 {
45+
compatible = "fsl,bsc9132-pcie", "fsl,qoriq-pcie-v2.2";
46+
device_type = "pci";
47+
#size-cells = <2>;
48+
#address-cells = <3>;
49+
bus-range = <0 255>;
50+
interrupts = <16 2 0 0>;
51+
52+
pcie@0 {
53+
reg = <0 0 0 0 0>;
54+
#interrupt-cells = <1>;
55+
#size-cells = <2>;
56+
#address-cells = <3>;
57+
device_type = "pci";
58+
interrupts = <16 2 0 0>;
59+
interrupt-map-mask = <0xf800 0 0 7>;
60+
61+
interrupt-map = <
62+
/* IDSEL 0x0 */
63+
0000 0x0 0x0 0x1 &mpic 0x0 0x2 0x0 0x0
64+
0000 0x0 0x0 0x2 &mpic 0x1 0x2 0x0 0x0
65+
0000 0x0 0x0 0x3 &mpic 0x2 0x2 0x0 0x0
66+
0000 0x0 0x0 0x4 &mpic 0x3 0x2 0x0 0x0
67+
>;
68+
};
69+
};
70+
4371
&soc {
4472
#address-cells = <1>;
4573
#size-cells = <1>;

0 commit comments

Comments
 (0)