mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
To: Alexey Brodkin <Alexey.Brodkin@synopsys.com>,
	<linux-snps-arc@lists.infradead.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ARC: Enable PERF_EVENTS in nSIM driven platforms
Date: Fri, 28 Oct 2016 13:16:17 -0700	[thread overview]
Message-ID: <0039882f-8c0e-d72c-a052-77b857f50826@synopsys.com> (raw)
In-Reply-To: <1477644065-23644-1-git-send-email-abrodkin@synopsys.com>

On 10/28/2016 01:41 AM, Alexey Brodkin wrote:
> 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 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: Alexey Brodkin <abrodkin@synopsys.com>
> ---
>  arch/arc/configs/nsim_700_defconfig        | 1 +
>  arch/arc/configs/nsim_hs_defconfig         | 1 +
>  arch/arc/configs/nsim_hs_smp_defconfig     | 1 +
>  arch/arc/configs/nsimosci_defconfig        | 1 +

The DTB corresponding to nsimosci_defconfig needs to include snps,arc700-pct ?

>  arch/arc/configs/nsimosci_hs_defconfig     | 1 +
>  arch/arc/configs/nsimosci_hs_smp_defconfig | 3 +--
>  6 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arc/configs/nsim_700_defconfig b/arch/arc/configs/nsim_700_defconfig
> index 7314f538847b..b0066a749d4c 100644
> --- a/arch/arc/configs/nsim_700_defconfig
> +++ b/arch/arc/configs/nsim_700_defconfig
> @@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
>  CONFIG_INITRAMFS_SOURCE="../arc_initramfs/"
>  CONFIG_KALLSYMS_ALL=y
>  CONFIG_EMBEDDED=y
> +CONFIG_PERF_EVENTS=y
>  # CONFIG_SLUB_DEBUG is not set
>  # CONFIG_COMPAT_BRK is not set
>  CONFIG_KPROBES=y
> diff --git a/arch/arc/configs/nsim_hs_defconfig b/arch/arc/configs/nsim_hs_defconfig
> index 65ab9fbf83f2..ebe9ebb92933 100644
> --- a/arch/arc/configs/nsim_hs_defconfig
> +++ b/arch/arc/configs/nsim_hs_defconfig
> @@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
>  CONFIG_INITRAMFS_SOURCE="../../arc_initramfs_hs/"
>  CONFIG_KALLSYMS_ALL=y
>  CONFIG_EMBEDDED=y
> +CONFIG_PERF_EVENTS=y
>  # CONFIG_SLUB_DEBUG is not set
>  # CONFIG_COMPAT_BRK is not set
>  CONFIG_KPROBES=y
> diff --git a/arch/arc/configs/nsim_hs_smp_defconfig b/arch/arc/configs/nsim_hs_smp_defconfig
> index 3b3990cddbe1..4bde43278be6 100644
> --- a/arch/arc/configs/nsim_hs_smp_defconfig
> +++ b/arch/arc/configs/nsim_hs_smp_defconfig
> @@ -12,6 +12,7 @@ CONFIG_BLK_DEV_INITRD=y
>  CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/"
>  CONFIG_KALLSYMS_ALL=y
>  CONFIG_EMBEDDED=y
> +CONFIG_PERF_EVENTS=y
>  # CONFIG_SLUB_DEBUG is not set
>  # CONFIG_COMPAT_BRK is not set
>  CONFIG_KPROBES=y
> diff --git a/arch/arc/configs/nsimosci_defconfig b/arch/arc/configs/nsimosci_defconfig
> index 98cf20933bbb..f6fb3d26557e 100644
> --- a/arch/arc/configs/nsimosci_defconfig
> +++ b/arch/arc/configs/nsimosci_defconfig
> @@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
>  CONFIG_INITRAMFS_SOURCE="../arc_initramfs/"
>  CONFIG_KALLSYMS_ALL=y
>  CONFIG_EMBEDDED=y
> +CONFIG_PERF_EVENTS=y
>  # CONFIG_SLUB_DEBUG is not set
>  # CONFIG_COMPAT_BRK is not set
>  CONFIG_KPROBES=y
> diff --git a/arch/arc/configs/nsimosci_hs_defconfig b/arch/arc/configs/nsimosci_hs_defconfig
> index ddf8b96d494e..b9f0fe00044b 100644
> --- a/arch/arc/configs/nsimosci_hs_defconfig
> +++ b/arch/arc/configs/nsimosci_hs_defconfig
> @@ -14,6 +14,7 @@ CONFIG_BLK_DEV_INITRD=y
>  CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/"
>  CONFIG_KALLSYMS_ALL=y
>  CONFIG_EMBEDDED=y
> +CONFIG_PERF_EVENTS=y
>  # CONFIG_SLUB_DEBUG is not set
>  # CONFIG_COMPAT_BRK is not set
>  CONFIG_KPROBES=y
> diff --git a/arch/arc/configs/nsimosci_hs_smp_defconfig b/arch/arc/configs/nsimosci_hs_smp_defconfig
> index ceb90745326e..6da71ba253a9 100644
> --- a/arch/arc/configs/nsimosci_hs_smp_defconfig
> +++ b/arch/arc/configs/nsimosci_hs_smp_defconfig
> @@ -10,6 +10,7 @@ CONFIG_IKCONFIG_PROC=y
>  # CONFIG_PID_NS is not set
>  CONFIG_BLK_DEV_INITRD=y
>  CONFIG_INITRAMFS_SOURCE="../arc_initramfs_hs/"
> +CONFIG_PERF_EVENTS=y
>  # CONFIG_COMPAT_BRK is not set
>  CONFIG_KPROBES=y
>  CONFIG_MODULES=y
> @@ -34,7 +35,6 @@ CONFIG_INET=y
>  # CONFIG_INET_XFRM_MODE_TRANSPORT is not set
>  # CONFIG_INET_XFRM_MODE_TUNNEL is not set
>  # CONFIG_INET_XFRM_MODE_BEET is not set
> -# CONFIG_INET_LRO is not set
>  # CONFIG_IPV6 is not set
>  # CONFIG_WIRELESS is not set
>  CONFIG_DEVTMPFS=y
> @@ -72,7 +72,6 @@ CONFIG_SERIAL_OF_PLATFORM=y
>  # CONFIG_HWMON is not set
>  CONFIG_DRM=y
>  CONFIG_DRM_ARCPGU=y
> -CONFIG_FRAMEBUFFER_CONSOLE=y
>  CONFIG_LOGO=y
>  # CONFIG_HID is not set
>  # CONFIG_USB_SUPPORT is not set
> 

      reply	other threads:[~2016-10-28 20:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-28  8:41 Alexey Brodkin
2016-10-28 20:16 ` Vineet Gupta [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0039882f-8c0e-d72c-a052-77b857f50826@synopsys.com \
    --to=vineet.gupta1@synopsys.com \
    --cc=Alexey.Brodkin@synopsys.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-snps-arc@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®