Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6227e9f0 authored by Alexey Brodkin's avatar Alexey Brodkin Committed by Vineet Gupta
Browse files

ARC: Enable PERF_EVENTS in nSIM driven platforms



Now when we have properly working performance counters in nSIM
even with interrupt support (fix should be a part of upcoming
nSIM engineering build 2016.12-005) we may enable perf support
by default for all platforms that use nSIM for ARC cores simulation.

Note 1: PCT node was missing for some reason in nsimosci.dts
        while all other nSIM-related .dts files already had
        PCT node for quite some time, so adding it now.

Note 2: All defconfigs were regenerated with "make savedefconfig"
        which led to some clean-ups in nsimosci_hs_smp_defconfig:
        CONFIG_FRAMEBUFFER_CONSOLE=y was removed because it is
        automatically selected now by DRM.

Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent a909d3e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -71,7 +71,7 @@
			reg-io-width = <4>;
			reg-io-width = <4>;
		};
		};


		arcpmu0: pmu {
		arcpct0: pct {
			compatible = "snps,arc700-pct";
			compatible = "snps,arc700-pct";
		};
		};
	};
	};
+1 −1
Original line number Original line Diff line number Diff line
@@ -69,7 +69,7 @@
			};
			};
		};
		};


		arcpmu0: pmu {
		arcpct0: pct {
			compatible = "snps,arc700-pct";
			compatible = "snps,arc700-pct";
		};
		};
	};
	};
+4 −0
Original line number Original line Diff line number Diff line
@@ -83,5 +83,9 @@
			reg = <0xf0003000 0x44>;
			reg = <0xf0003000 0x44>;
			interrupts = <7>;
			interrupts = <7>;
		};
		};

		arcpct0: pct {
			compatible = "snps,arc700-pct";
		};
	};
	};
};
};
+1 −0
Original line number Original line Diff line number Diff line
@@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="../arc_initramfs/"
CONFIG_INITRAMFS_SOURCE="../arc_initramfs/"
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_ALL=y
CONFIG_EMBEDDED=y
CONFIG_EMBEDDED=y
CONFIG_PERF_EVENTS=y
# CONFIG_SLUB_DEBUG is not set
# CONFIG_SLUB_DEBUG is not set
# CONFIG_COMPAT_BRK is not set
# CONFIG_COMPAT_BRK is not set
CONFIG_KPROBES=y
CONFIG_KPROBES=y
+1 −0
Original line number Original line Diff line number Diff line
@@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="../../arc_initramfs_hs/"
CONFIG_INITRAMFS_SOURCE="../../arc_initramfs_hs/"
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_ALL=y
CONFIG_EMBEDDED=y
CONFIG_EMBEDDED=y
CONFIG_PERF_EVENTS=y
# CONFIG_SLUB_DEBUG is not set
# CONFIG_SLUB_DEBUG is not set
# CONFIG_COMPAT_BRK is not set
# CONFIG_COMPAT_BRK is not set
CONFIG_KPROBES=y
CONFIG_KPROBES=y
Loading