Skip to content

Commit 2084bec

Browse files
committed
Merge tag 'armsoc-for-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson: "A surprisingly small batch of fixes for -rc3. Suspiciously small, I'd say. Anyway, most of this are a few defconfig updates. Some for omap to deal with kernel binary size (moving ipv6 to module, etc). A larger one for socfpga that refreshes with some churn, but also turns on a few options that makes the newly-added board in my bootfarm usable for testing. OMAP3 will also now warn when booted with legacy (non-DT) boot protocols, hopefully encouraging those who still care about some of those platforms to submit DT support and report bugs where needed. Nothing stops working though, this is just to warn for future deprecation. Beyond this, very few actual bugfixes. A PXA fix for DEBUG_LL boot hangs, a missing terminting entry in a dt_match array on RealView a MTD fix on OMAP with NAND" [ Obviously missed rc3, will make rc4 instead ;) ] * tag 'armsoc-for-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: MAINTAINERS: drop list entry for davinci ARM: OMAP2+: Warn about deprecated legacy booting mode ARM: omap2plus_defconfig: Fix errors with NAND BCH ARM: multi_v7_defconfig: fix support for APQ8084 soc: versatile: Add terminating entry for realview_soc_of_match ARM: ixp4xx: remove compilation warnings in io.h MAINTAINERS: Add Soren as reviewer for Zynq ARM: omap2plus_defconfig: Fix bloat caused by having ipv6 built-in ARM: socfpga_defconfig: Update defconfig for SoCFPGA ARM: pxa: fix hang on startup with DEBUG_LL
2 parents 0df1f24 + 4257412 commit 2084bec

File tree

9 files changed

+46
-50
lines changed

9 files changed

+46
-50
lines changed

MAINTAINERS

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,6 +1543,7 @@ F: arch/arm/mach-pxa/include/mach/z2.h
15431543

15441544
ARM/ZYNQ ARCHITECTURE
15451545
M: Michal Simek <[email protected]>
1546+
R: Sören Brinkmann <[email protected]>
15461547
L: [email protected] (moderated for non-subscribers)
15471548
W: http://wiki.xilinx.com
15481549
T: git git://git.xilinx.com/linux-xlnx.git
@@ -8483,7 +8484,6 @@ F: arch/arm/mach-s3c24xx/bast-irq.c
84838484
TI DAVINCI MACHINE SUPPORT
84848485
M: Sekhar Nori <[email protected]>
84858486
M: Kevin Hilman <[email protected]>
8486-
L: [email protected] (moderated for non-subscribers)
84878487
T: git git://gitorious.org/linux-davinci/linux-davinci.git
84888488
Q: http://patchwork.kernel.org/project/linux-davinci/list/
84898489
S: Supported
@@ -8493,7 +8493,6 @@ F: drivers/i2c/busses/i2c-davinci.c
84938493
TI DAVINCI SERIES MEDIA DRIVER
84948494
M: Lad, Prabhakar <[email protected]>
84958495
8496-
L: [email protected] (moderated for non-subscribers)
84978496
W: http://linuxtv.org/
84988497
Q: http://patchwork.linuxtv.org/project/linux-media/list/
84998498
T: git git://linuxtv.org/mhadli/v4l-dvb-davinci_devices.git

arch/arm/Kconfig.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ config DEBUG_UART_VIRT
11871187
default 0xf1c28000 if DEBUG_SUNXI_UART0
11881188
default 0xf1c28400 if DEBUG_SUNXI_UART1
11891189
default 0xf1f02800 if DEBUG_SUNXI_R_UART
1190-
default 0xf2100000 if DEBUG_PXA_UART1
1190+
default 0xf6200000 if DEBUG_PXA_UART1
11911191
default 0xf4090000 if ARCH_LPC32XX
11921192
default 0xf4200000 if ARCH_GEMINI
11931193
default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \

arch/arm/configs/multi_v7_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ CONFIG_SPI_TEGRA20_SLINK=y
235235
CONFIG_SPI_XILINX=y
236236
CONFIG_PINCTRL_AS3722=y
237237
CONFIG_PINCTRL_PALMAS=y
238+
CONFIG_PINCTRL_APQ8084=y
238239
CONFIG_GPIO_SYSFS=y
239240
CONFIG_GPIO_GENERIC_PLATFORM=y
240241
CONFIG_GPIO_DWAPB=y
@@ -411,6 +412,7 @@ CONFIG_NVEC_POWER=y
411412
CONFIG_NVEC_PAZ00=y
412413
CONFIG_QCOM_GSBI=y
413414
CONFIG_COMMON_CLK_QCOM=y
415+
CONFIG_APQ_MMCC_8084=y
414416
CONFIG_MSM_GCC_8660=y
415417
CONFIG_MSM_MMCC_8960=y
416418
CONFIG_MSM_MMCC_8974=y

arch/arm/configs/omap2plus_defconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ CONFIG_IP_PNP_DHCP=y
8686
CONFIG_IP_PNP_BOOTP=y
8787
CONFIG_IP_PNP_RARP=y
8888
# CONFIG_INET_LRO is not set
89-
CONFIG_IPV6=y
9089
CONFIG_NETFILTER=y
9190
CONFIG_CAN=m
9291
CONFIG_CAN_C_CAN=m
@@ -112,6 +111,7 @@ CONFIG_MTD_OOPS=y
112111
CONFIG_MTD_CFI=y
113112
CONFIG_MTD_CFI_INTELEXT=y
114113
CONFIG_MTD_NAND=y
114+
CONFIG_MTD_NAND_ECC_BCH=y
115115
CONFIG_MTD_NAND_OMAP2=y
116116
CONFIG_MTD_ONENAND=y
117117
CONFIG_MTD_ONENAND_VERIFY_WRITE=y
@@ -317,7 +317,7 @@ CONFIG_EXT4_FS=y
317317
CONFIG_FANOTIFY=y
318318
CONFIG_QUOTA=y
319319
CONFIG_QFMT_V2=y
320-
CONFIG_AUTOFS4_FS=y
320+
CONFIG_AUTOFS4_FS=m
321321
CONFIG_MSDOS_FS=y
322322
CONFIG_VFAT_FS=y
323323
CONFIG_TMPFS=y

arch/arm/configs/socfpga_defconfig

Lines changed: 28 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
CONFIG_EXPERIMENTAL=y
21
CONFIG_SYSVIPC=y
2+
CONFIG_FHANDLE=y
3+
CONFIG_HIGH_RES_TIMERS=y
34
CONFIG_IKCONFIG=y
45
CONFIG_IKCONFIG_PROC=y
56
CONFIG_LOG_BUF_SHIFT=14
@@ -11,23 +12,17 @@ CONFIG_PROFILING=y
1112
CONFIG_OPROFILE=y
1213
CONFIG_MODULES=y
1314
CONFIG_MODULE_UNLOAD=y
14-
CONFIG_HOTPLUG=y
1515
# CONFIG_LBDAF is not set
1616
# CONFIG_BLK_DEV_BSG is not set
1717
# CONFIG_IOSCHED_DEADLINE is not set
1818
# CONFIG_IOSCHED_CFQ is not set
1919
CONFIG_ARCH_SOCFPGA=y
20-
CONFIG_MACH_SOCFPGA_CYCLONE5=y
2120
CONFIG_ARM_THUMBEE=y
22-
# CONFIG_ARCH_VEXPRESS_CORTEX_A5_A9_ERRATA is not set
23-
# CONFIG_CACHE_L2X0 is not set
24-
CONFIG_HIGH_RES_TIMERS=y
2521
CONFIG_SMP=y
2622
CONFIG_NR_CPUS=2
2723
CONFIG_AEABI=y
2824
CONFIG_ZBOOT_ROM_TEXT=0x0
2925
CONFIG_ZBOOT_ROM_BSS=0x0
30-
CONFIG_CMDLINE=""
3126
CONFIG_VFP=y
3227
CONFIG_NEON=y
3328
CONFIG_NET=y
@@ -41,38 +36,30 @@ CONFIG_IP_PNP=y
4136
CONFIG_IP_PNP_DHCP=y
4237
CONFIG_IP_PNP_BOOTP=y
4338
CONFIG_IP_PNP_RARP=y
39+
CONFIG_IPV6=y
40+
CONFIG_NETWORK_PHY_TIMESTAMPING=y
41+
CONFIG_VLAN_8021Q=y
42+
CONFIG_VLAN_8021Q_GVRP=y
4443
CONFIG_CAN=y
45-
CONFIG_CAN_RAW=y
46-
CONFIG_CAN_BCM=y
47-
CONFIG_CAN_GW=y
48-
CONFIG_CAN_DEV=y
49-
CONFIG_CAN_CALC_BITTIMING=y
5044
CONFIG_CAN_C_CAN=y
5145
CONFIG_CAN_C_CAN_PLATFORM=y
5246
CONFIG_CAN_DEBUG_DEVICES=y
5347
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
5448
CONFIG_DEVTMPFS=y
55-
CONFIG_PROC_DEVICETREE=y
49+
CONFIG_DEVTMPFS_MOUNT=y
5650
CONFIG_BLK_DEV_RAM=y
5751
CONFIG_BLK_DEV_RAM_COUNT=2
5852
CONFIG_BLK_DEV_RAM_SIZE=8192
53+
CONFIG_SRAM=y
5954
CONFIG_SCSI=y
6055
# CONFIG_SCSI_PROC_FS is not set
6156
CONFIG_BLK_DEV_SD=y
6257
# CONFIG_SCSI_LOWLEVEL is not set
6358
CONFIG_NETDEVICES=y
6459
CONFIG_STMMAC_ETH=y
60+
CONFIG_DWMAC_SOCFPGA=y
6561
CONFIG_MICREL_PHY=y
66-
# CONFIG_STMMAC_PHY_ID_ZERO_WORKAROUND is not set
6762
CONFIG_INPUT_EVDEV=y
68-
CONFIG_DWMAC_SOCFPGA=y
69-
CONFIG_PPS=y
70-
CONFIG_NETWORK_PHY_TIMESTAMPING=y
71-
CONFIG_PTP_1588_CLOCK=y
72-
CONFIG_VLAN_8021Q=y
73-
CONFIG_VLAN_8021Q_GVRP=y
74-
CONFIG_GARP=y
75-
CONFIG_IPV6=y
7663
# CONFIG_SERIO_SERPORT is not set
7764
CONFIG_SERIO_AMBAKMI=y
7865
CONFIG_LEGACY_PTY_COUNT=16
@@ -81,45 +68,43 @@ CONFIG_SERIAL_8250_CONSOLE=y
8168
CONFIG_SERIAL_8250_NR_UARTS=2
8269
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
8370
CONFIG_SERIAL_8250_DW=y
71+
CONFIG_I2C=y
72+
CONFIG_I2C_CHARDEV=y
73+
CONFIG_I2C_DESIGNWARE_PLATFORM=y
8474
CONFIG_GPIOLIB=y
8575
CONFIG_GPIO_SYSFS=y
8676
CONFIG_GPIO_DWAPB=y
87-
# CONFIG_RTC_HCTOSYS is not set
77+
CONFIG_PMBUS=y
78+
CONFIG_SENSORS_LTC2978=y
79+
CONFIG_SENSORS_LTC2978_REGULATOR=y
8880
CONFIG_WATCHDOG=y
8981
CONFIG_DW_WATCHDOG=y
82+
CONFIG_REGULATOR=y
83+
CONFIG_REGULATOR_FIXED_VOLTAGE=y
84+
CONFIG_USB=y
85+
CONFIG_USB_DWC2=y
86+
CONFIG_USB_DWC2_HOST=y
87+
CONFIG_MMC=y
88+
CONFIG_MMC_DW=y
9089
CONFIG_EXT2_FS=y
9190
CONFIG_EXT2_FS_XATTR=y
9291
CONFIG_EXT2_FS_POSIX_ACL=y
9392
CONFIG_EXT3_FS=y
94-
CONFIG_NFS_FS=y
95-
CONFIG_ROOT_NFS=y
96-
# CONFIG_DNOTIFY is not set
97-
# CONFIG_INOTIFY_USER is not set
98-
CONFIG_FHANDLE=y
93+
CONFIG_EXT4_FS=y
9994
CONFIG_VFAT_FS=y
10095
CONFIG_NTFS_FS=y
10196
CONFIG_NTFS_RW=y
10297
CONFIG_TMPFS=y
103-
CONFIG_JFFS2_FS=y
98+
CONFIG_CONFIGFS_FS=y
99+
CONFIG_NFS_FS=y
100+
CONFIG_ROOT_NFS=y
104101
CONFIG_NLS_CODEPAGE_437=y
105102
CONFIG_NLS_ISO8859_1=y
103+
CONFIG_PRINTK_TIME=y
104+
CONFIG_DEBUG_INFO=y
106105
CONFIG_MAGIC_SYSRQ=y
107106
CONFIG_DETECT_HUNG_TASK=y
108107
# CONFIG_SCHED_DEBUG is not set
109-
CONFIG_DEBUG_INFO=y
110108
CONFIG_ENABLE_DEFAULT_TRACERS=y
111109
CONFIG_DEBUG_USER=y
112110
CONFIG_XZ_DEC=y
113-
CONFIG_I2C=y
114-
CONFIG_I2C_DESIGNWARE_CORE=y
115-
CONFIG_I2C_DESIGNWARE_PLATFORM=y
116-
CONFIG_I2C_CHARDEV=y
117-
CONFIG_MMC=y
118-
CONFIG_MMC_DW=y
119-
CONFIG_PM=y
120-
CONFIG_SUSPEND=y
121-
CONFIG_MMC_UNSAFE_RESUME=y
122-
CONFIG_USB=y
123-
CONFIG_USB_DWC2=y
124-
CONFIG_USB_DWC2_HOST=y
125-
CONFIG_USB_DWC2_PLATFORM=y

arch/arm/mach-ixp4xx/include/mach/io.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ static inline void __indirect_writeb(u8 value, volatile void __iomem *p)
7676
u32 n, byte_enables, data;
7777

7878
if (!is_pci_memory(addr)) {
79-
__raw_writeb(value, addr);
79+
__raw_writeb(value, p);
8080
return;
8181
}
8282

@@ -141,7 +141,7 @@ static inline unsigned char __indirect_readb(const volatile void __iomem *p)
141141
u32 n, byte_enables, data;
142142

143143
if (!is_pci_memory(addr))
144-
return __raw_readb(addr);
144+
return __raw_readb(p);
145145

146146
n = addr % 4;
147147
byte_enables = (0xf & ~BIT(n)) << IXP4XX_PCI_NP_CBE_BESL;

arch/arm/mach-omap2/omap_device.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,10 @@ static int __init omap_device_late_idle(struct device *dev, void *data)
917917
static int __init omap_device_late_init(void)
918918
{
919919
bus_for_each_dev(&platform_bus_type, NULL, NULL, omap_device_late_idle);
920+
921+
WARN(!of_have_populated_dt(),
922+
"legacy booting deprecated, please update to boot with .dts\n");
923+
920924
return 0;
921925
}
922926
omap_late_initcall_sync(omap_device_late_init);

arch/arm/mach-pxa/include/mach/addr-map.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@
3838
#define DMEMC_VIRT IOMEM(0xf6100000)
3939
#define DMEMC_SIZE 0x00100000
4040

41+
/*
42+
* Reserved space for low level debug virtual addresses within
43+
* 0xf6200000..0xf6201000
44+
*/
45+
4146
/*
4247
* Internal Memory Controller (PXA27x and later)
4348
*/

drivers/soc/versatile/soc-realview.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ static const struct of_device_id realview_soc_of_match[] = {
2626
{ .compatible = "arm,realview-pb11mp-soc", },
2727
{ .compatible = "arm,realview-pba8-soc", },
2828
{ .compatible = "arm,realview-pbx-soc", },
29+
{ }
2930
};
3031

3132
static u32 realview_coreid;

0 commit comments

Comments
 (0)