Skip to content

Commit e6251f0

Browse files
committed
Merge tag 'arc-4.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
Pull ARC fixes from Vineet Gupta: - mmap handler for dma ops as generic handler no longer works for us [Alexey] - Fixes for EZChip platform [Noam] - Fix RTC clocksource driver build issue - ARC IRQ handling fixes [Yuriy] - Revert a recent makefile change which doesn't go well with oldish tools out in the wild * tag 'arc-4.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc: ARCv2: MCIP: Use IDU_M_DISTRI_DEST mode if there is only 1 destination core ARC: IRQ: Do not use hwirq as virq and vice versa ARC: [plat-eznps] set default baud for early console ARC: [plat-eznps] remove IPI clear from SMP operations Revert "ARC: build: retire old toggles" ARC: timer: rtc: implement read loop in "C" vs. inline asm ARC: change return value of userspace cmpxchg assist syscall arc: Implement arch-specific dma_map_ops.mmap ARC: [SMP] avoid overriding present cpumask ARC: Enable PERF_EVENTS in nSIM driven platforms
2 parents e3d183c + 0a0a047 commit e6251f0

19 files changed

Lines changed: 104 additions & 49 deletions

arch/arc/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ atleast_gcc44 := $(call cc-ifversion, -ge, 0404, y)
5050

5151
cflags-$(atleast_gcc44) += -fsection-anchors
5252

53+
cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock
54+
cflags-$(CONFIG_ARC_HAS_SWAPE) += -mswape
55+
5356
ifdef CONFIG_ISA_ARCV2
5457

5558
ifndef CONFIG_ARC_HAS_LL64

arch/arc/boot/dts/axc001.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
reg-io-width = <4>;
7272
};
7373

74-
arcpmu0: pmu {
74+
arcpct0: pct {
7575
compatible = "snps,arc700-pct";
7676
};
7777
};

arch/arc/boot/dts/nsim_700.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
};
7070
};
7171

72-
arcpmu0: pmu {
72+
arcpct0: pct {
7373
compatible = "snps,arc700-pct";
7474
};
7575
};

arch/arc/boot/dts/nsimosci.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,9 @@
8383
reg = <0xf0003000 0x44>;
8484
interrupts = <7>;
8585
};
86+
87+
arcpct0: pct {
88+
compatible = "snps,arc700-pct";
89+
};
8690
};
8791
};

arch/arc/configs/nsim_700_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
1414
CONFIG_INITRAMFS_SOURCE="../arc_initramfs/"
1515
CONFIG_KALLSYMS_ALL=y
1616
CONFIG_EMBEDDED=y
17+
CONFIG_PERF_EVENTS=y
1718
# CONFIG_SLUB_DEBUG is not set
1819
# CONFIG_COMPAT_BRK is not set
1920
CONFIG_KPROBES=y

arch/arc/configs/nsim_hs_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
1414
CONFIG_INITRAMFS_SOURCE="../../arc_initramfs_hs/"
1515
CONFIG_KALLSYMS_ALL=y
1616
CONFIG_EMBEDDED=y
17+
CONFIG_PERF_EVENTS=y
1718
# CONFIG_SLUB_DEBUG is not set
1819
# CONFIG_COMPAT_BRK is not set
1920
CONFIG_KPROBES=y

arch/arc/configs/nsim_hs_smp_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CONFIG_BLK_DEV_INITRD=y
1212
CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/"
1313
CONFIG_KALLSYMS_ALL=y
1414
CONFIG_EMBEDDED=y
15+
CONFIG_PERF_EVENTS=y
1516
# CONFIG_SLUB_DEBUG is not set
1617
# CONFIG_COMPAT_BRK is not set
1718
CONFIG_KPROBES=y

arch/arc/configs/nsimosci_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
1414
CONFIG_INITRAMFS_SOURCE="../arc_initramfs/"
1515
CONFIG_KALLSYMS_ALL=y
1616
CONFIG_EMBEDDED=y
17+
CONFIG_PERF_EVENTS=y
1718
# CONFIG_SLUB_DEBUG is not set
1819
# CONFIG_COMPAT_BRK is not set
1920
CONFIG_KPROBES=y

arch/arc/configs/nsimosci_hs_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
1414
CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/"
1515
CONFIG_KALLSYMS_ALL=y
1616
CONFIG_EMBEDDED=y
17+
CONFIG_PERF_EVENTS=y
1718
# CONFIG_SLUB_DEBUG is not set
1819
# CONFIG_COMPAT_BRK is not set
1920
CONFIG_KPROBES=y

arch/arc/configs/nsimosci_hs_smp_defconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ CONFIG_IKCONFIG_PROC=y
1010
# CONFIG_PID_NS is not set
1111
CONFIG_BLK_DEV_INITRD=y
1212
CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/"
13+
CONFIG_PERF_EVENTS=y
1314
# CONFIG_COMPAT_BRK is not set
1415
CONFIG_KPROBES=y
1516
CONFIG_MODULES=y
@@ -34,7 +35,6 @@ CONFIG_INET=y
3435
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
3536
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
3637
# CONFIG_INET_XFRM_MODE_BEET is not set
37-
# CONFIG_INET_LRO is not set
3838
# CONFIG_IPV6 is not set
3939
# CONFIG_WIRELESS is not set
4040
CONFIG_DEVTMPFS=y
@@ -72,7 +72,6 @@ CONFIG_SERIAL_OF_PLATFORM=y
7272
# CONFIG_HWMON is not set
7373
CONFIG_DRM=y
7474
CONFIG_DRM_ARCPGU=y
75-
CONFIG_FRAMEBUFFER_CONSOLE=y
7675
CONFIG_LOGO=y
7776
# CONFIG_HID is not set
7877
# CONFIG_USB_SUPPORT is not set

0 commit comments

Comments
 (0)