Skip to content

Commit b286ced

Browse files
committed
Merge tag 'powerpc-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull more powerpc updates from Michael Ellerman: "Highlights include: - an update of the disassembly code used by xmon to the latest versions in binutils. We've received permission from all the authors of the relevant binutils changes to relicense their changes to the relevant files from GPLv3 to GPLv2, for inclusion in Linux. Thanks to Peter Bergner for doing the leg work to get permission from everyone. - addition of the "architected" Power9 CPU table entry, allowing us to boot in Power9 architected mode under a hypervisor. - updates to the Power9 PMU code. - implementation of clear_bit_unlock_is_negative_byte() to optimise unlock_page(). - Freescale updates from Scott: "Highlights include 8xx breakpoints and perf, t1042rdb display support, and board updates." Thanks to: Al Viro, Andrew Donnellan, Aneesh Kumar K.V, Balbir Singh, Douglas Miller, Frédéric Weisbecker, Gavin Shan, Madhavan Srinivasan, Michael Roth, Nathan Fontenot, Naveen N. Rao, Nicholas Piggin, Peter Bergner, Paul E. McKenney, Rashmica Gupta, Russell Currey, Sahil Mehta, Stewart Smith" * tag 'powerpc-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (48 commits) powerpc: Remove leftover cputime_to_nsecs call causing build error powerpc/mm/hash: Always clear UPRT and Host Radix bits when setting up CPU powerpc/optprobes: Fix TOC handling in optprobes trampoline powerpc/pseries: Advertise Hot Plug Event support to firmware cxl: fix nested locking hang during EEH hotplug powerpc/xmon: Dump memory in CPU endian format powerpc/pseries: Revert 'Auto-online hotplugged memory' powerpc/powernv: Make PCI non-optional powerpc/64: Implement clear_bit_unlock_is_negative_byte() powerpc/powernv: Remove unused variable in pnv_pci_sriov_disable() powerpc/kernel: Remove error message in pcibios_setup_phb_resources() powerpc/mm: Fix typo in set_pte_at() pci/hotplug/pnv-php: Disable MSI and PCI device properly pci/hotplug/pnv-php: Disable surprise hotplug capability on conflicts pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot() powerpc: Add POWER9 architected mode to cputable powerpc/perf: use is_kernel_addr macro in perf_get_misc_flags() powerpc/perf: Avoid FAB_*_MATCH checks for power9 powerpc/perf: Add restrictions to PMC5 in power9 DD1 powerpc/perf: Use Instruction Counter value ...
2 parents 522214d + 9f3768e commit b286ced

56 files changed

Lines changed: 7867 additions & 4342 deletions

Some content is hidden

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

‎MAINTAINERS‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7483,18 +7483,24 @@ L: linuxppc-dev@lists.ozlabs.org
74837483
Q: http://patchwork.ozlabs.org/project/linuxppc-dev/list/
74847484
T: git git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git
74857485
S: Supported
7486+
F: Documentation/ABI/stable/sysfs-firmware-opal-*
7487+
F: Documentation/devicetree/bindings/powerpc/opal/
7488+
F: Documentation/devicetree/bindings/rtc/rtc-opal.txt
7489+
F: Documentation/devicetree/bindings/i2c/i2c-opal.txt
74867490
F: Documentation/powerpc/
74877491
F: arch/powerpc/
74887492
F: drivers/char/tpm/tpm_ibmvtpm*
74897493
F: drivers/crypto/nx/
74907494
F: drivers/crypto/vmx/
7495+
F: drivers/i2c/busses/i2c-opal.c
74917496
F: drivers/net/ethernet/ibm/ibmveth.*
74927497
F: drivers/net/ethernet/ibm/ibmvnic.*
74937498
F: drivers/pci/hotplug/pnv_php.c
74947499
F: drivers/pci/hotplug/rpa*
7500+
F: drivers/rtc/rtc-opal.c
74957501
F: drivers/scsi/ibmvscsi/
7502+
F: drivers/tty/hvc/hvc_opal.c
74967503
F: tools/testing/selftests/powerpc
7497-
N: opal
74987504
N: /pmac
74997505
N: powermac
75007506
N: powernv

‎arch/powerpc/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ config PPC
115115
select HAVE_PERF_REGS
116116
select HAVE_PERF_USER_STACK_DUMP
117117
select HAVE_REGS_AND_STACK_ACCESS_API
118-
select HAVE_HW_BREAKPOINT if PERF_EVENTS && PPC_BOOK3S_64
118+
select HAVE_HW_BREAKPOINT if PERF_EVENTS && (PPC_BOOK3S || PPC_8xx)
119119
select ARCH_WANT_IPC_PARSE_VERSION
120120
select SPARSE_IRQ
121121
select IRQ_DOMAIN
Lines changed: 303 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,303 @@
1+
/*
2+
* Keymile kmcent2 Device Tree Source, based on T1040RDB DTS
3+
*
4+
* (C) Copyright 2016
5+
* Valentin Longchamp, Keymile AG, valentin.longchamp@keymile.com
6+
*
7+
* Copyright 2014 - 2015 Freescale Semiconductor Inc.
8+
*
9+
* This program is free software; you can redistribute it and/or modify it
10+
* under the terms of the GNU General Public License as published by the
11+
* Free Software Foundation; either version 2 of the License, or (at your
12+
* option) any later version.
13+
*/
14+
15+
/include/ "t104xsi-pre.dtsi"
16+
17+
/ {
18+
model = "keymile,kmcent2";
19+
compatible = "keymile,kmcent2";
20+
21+
aliases {
22+
front_phy = &front_phy;
23+
};
24+
25+
reserved-memory {
26+
#address-cells = <2>;
27+
#size-cells = <2>;
28+
ranges;
29+
30+
bman_fbpr: bman-fbpr {
31+
size = <0 0x1000000>;
32+
alignment = <0 0x1000000>;
33+
};
34+
qman_fqd: qman-fqd {
35+
size = <0 0x400000>;
36+
alignment = <0 0x400000>;
37+
};
38+
qman_pfdr: qman-pfdr {
39+
size = <0 0x2000000>;
40+
alignment = <0 0x2000000>;
41+
};
42+
};
43+
44+
ifc: localbus@ffe124000 {
45+
reg = <0xf 0xfe124000 0 0x2000>;
46+
ranges = <0 0 0xf 0xe8000000 0x04000000
47+
1 0 0xf 0xfa000000 0x00010000
48+
2 0 0xf 0xfb000000 0x00010000
49+
4 0 0xf 0xc0000000 0x08000000
50+
6 0 0xf 0xd0000000 0x08000000
51+
7 0 0xf 0xd8000000 0x08000000>;
52+
53+
nor@0,0 {
54+
#address-cells = <1>;
55+
#size-cells = <1>;
56+
compatible = "cfi-flash";
57+
reg = <0x0 0x0 0x04000000>;
58+
bank-width = <2>;
59+
device-width = <2>;
60+
};
61+
62+
nand@1,0 {
63+
#address-cells = <1>;
64+
#size-cells = <1>;
65+
compatible = "fsl,ifc-nand";
66+
reg = <0x1 0x0 0x10000>;
67+
};
68+
69+
board-control@2,0 {
70+
compatible = "keymile,qriox";
71+
reg = <0x2 0x0 0x80>;
72+
};
73+
74+
chassis-mgmt@6,0 {
75+
compatible = "keymile,bfticu";
76+
reg = <6 0 0x100>;
77+
interrupt-controller;
78+
interrupt-parent = <&mpic>;
79+
interrupts = <11 1 0 0>;
80+
#interrupt-cells = <1>;
81+
};
82+
83+
};
84+
85+
memory {
86+
device_type = "memory";
87+
};
88+
89+
dcsr: dcsr@f00000000 {
90+
ranges = <0x00000000 0xf 0x00000000 0x01072000>;
91+
};
92+
93+
bportals: bman-portals@ff4000000 {
94+
ranges = <0x0 0xf 0xf4000000 0x2000000>;
95+
};
96+
97+
qportals: qman-portals@ff6000000 {
98+
ranges = <0x0 0xf 0xf6000000 0x2000000>;
99+
};
100+
101+
soc: soc@ffe000000 {
102+
ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
103+
reg = <0xf 0xfe000000 0 0x00001000>;
104+
105+
spi@110000 {
106+
network-clock@1 {
107+
compatible = "zarlink,zl30364";
108+
reg = <1>;
109+
spi-max-frequency = <1000000>;
110+
};
111+
};
112+
113+
sdhc@114000 {
114+
status = "disabled";
115+
};
116+
117+
i2c@118000 {
118+
clock-frequency = <100000>;
119+
120+
mux@70 {
121+
compatible = "nxp,pca9547";
122+
reg = <0x70>;
123+
#address-cells = <1>;
124+
#size-cells = <0>;
125+
i2c-mux-idle-disconnect;
126+
127+
i2c@0 {
128+
reg = <0>;
129+
#address-cells = <1>;
130+
#size-cells = <0>;
131+
132+
eeprom@54 {
133+
compatible = "24c02";
134+
reg = <0x54>;
135+
pagesize = <2>;
136+
read-only;
137+
label = "ddr3-spd";
138+
};
139+
};
140+
141+
i2c@7 {
142+
reg = <7>;
143+
#address-cells = <1>;
144+
#size-cells = <0>;
145+
146+
temp-sensor@48 {
147+
compatible = "national,lm75";
148+
reg = <0x48>;
149+
label = "SENSOR_0";
150+
};
151+
temp-sensor@4a {
152+
compatible = "national,lm75";
153+
reg = <0x4a>;
154+
label = "SENSOR_2";
155+
};
156+
temp-sensor@4b {
157+
compatible = "national,lm75";
158+
reg = <0x4b>;
159+
label = "SENSOR_3";
160+
};
161+
};
162+
};
163+
};
164+
165+
i2c@118100 {
166+
clock-frequency = <100000>;
167+
168+
eeprom@50 {
169+
compatible = "atmel,24c08";
170+
reg = <0x50>;
171+
pagesize = <16>;
172+
};
173+
174+
eeprom@54 {
175+
compatible = "atmel,24c08";
176+
reg = <0x54>;
177+
pagesize = <16>;
178+
};
179+
};
180+
181+
i2c@119000 {
182+
status = "disabled";
183+
};
184+
185+
i2c@119100 {
186+
status = "disabled";
187+
};
188+
189+
serial2: serial@11d500 {
190+
status = "disabled";
191+
};
192+
193+
serial3: serial@11d600 {
194+
status = "disabled";
195+
};
196+
197+
usb0: usb@210000 {
198+
status = "disabled";
199+
};
200+
usb1: usb@211000 {
201+
status = "disabled";
202+
};
203+
204+
display@180000 {
205+
status = "disabled";
206+
};
207+
208+
sata@220000 {
209+
status = "disabled";
210+
};
211+
sata@221000 {
212+
status = "disabled";
213+
};
214+
215+
fman@400000 {
216+
ethernet@e0000 {
217+
fixed-link = <0 1 1000 0 0>;
218+
phy-connection-type = "sgmii";
219+
};
220+
221+
ethernet@e2000 {
222+
fixed-link = <1 1 1000 0 0>;
223+
phy-connection-type = "sgmii";
224+
};
225+
226+
ethernet@e4000 {
227+
status = "disabled";
228+
};
229+
230+
ethernet@e6000 {
231+
status = "disabled";
232+
};
233+
234+
ethernet@e8000 {
235+
phy-handle = <&front_phy>;
236+
phy-connection-type = "rgmii";
237+
};
238+
239+
mdio0: mdio@fc000 {
240+
front_phy: ethernet-phy@11 {
241+
reg = <0x11>;
242+
};
243+
};
244+
};
245+
};
246+
247+
248+
pci0: pcie@ffe240000 {
249+
reg = <0xf 0xfe240000 0 0x10000>;
250+
ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
251+
0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
252+
pcie@0 {
253+
ranges = <0x02000000 0 0xe0000000
254+
0x02000000 0 0xe0000000
255+
0 0x20000000
256+
257+
0x01000000 0 0x00000000
258+
0x01000000 0 0x00000000
259+
0 0x00010000>;
260+
};
261+
};
262+
263+
pci1: pcie@ffe250000 {
264+
status = "disabled";
265+
};
266+
267+
pci2: pcie@ffe260000 {
268+
status = "disabled";
269+
};
270+
271+
pci3: pcie@ffe270000 {
272+
status = "disabled";
273+
};
274+
275+
qe: qe@ffe140000 {
276+
ranges = <0x0 0xf 0xfe140000 0x40000>;
277+
reg = <0xf 0xfe140000 0 0x480>;
278+
brg-frequency = <0>;
279+
bus-frequency = <0>;
280+
281+
si1: si@700 {
282+
compatible = "fsl,t1040-qe-si";
283+
reg = <0x700 0x80>;
284+
};
285+
286+
siram1: siram@1000 {
287+
compatible = "fsl,t1040-qe-siram";
288+
reg = <0x1000 0x800>;
289+
};
290+
291+
ucc_hdlc: ucc@2000 {
292+
device_type = "hdlc";
293+
compatible = "fsl,ucc-hdlc";
294+
rx-clock-name = "clk9";
295+
tx-clock-name = "clk9";
296+
fsl,tx-timeslot-mask = <0xfffffffe>;
297+
fsl,rx-timeslot-mask = <0xfffffffe>;
298+
fsl,siram-entry-id = <0>;
299+
};
300+
};
301+
};
302+
303+
#include "t1040si-post.dtsi"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@
8383
};
8484
};
8585

86+
sdhc@114000 {
87+
status = "disabled";
88+
};
89+
8690
i2c@119000 {
8791
status = "disabled";
8892
};

0 commit comments

Comments
 (0)