1. 21 May, 2019 1 commit
    • Thomas Gleixner's avatar
      treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 · 1ccea77e
      Thomas Gleixner authored
      Based on 2 normalized pattern(s):
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version this program is distributed in the
        hope that it will be useful but without any warranty without even
        the implied warranty of merchantability or fitness for a particular
        purpose see the gnu general public license for more details you
        should have received a copy of the gnu general public license along
        with this program if not see http www gnu org licenses
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version this program is distributed in the
        hope that it will be useful but without any warranty without even
        the implied warranty of merchantability or fitness for a particular
        purpose see the gnu general public license for more details [based]
        [from] [clk] [highbank] [c] you should have received a copy of the
        gnu general public license along with this program if not see http
        www gnu org licenses
      
      extracted by the scancode license scanner the SPDX license identifier
      
        GPL-2.0-or-later
      
      has been chosen to replace the boilerplate/reference in 355 file(s).
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Reviewed-by: default avatarKate Stewart <kstewart@linuxfoundation.org>
      Reviewed-by: default avatarJilayne Lovejoy <opensource@jilayne.com>
      Reviewed-by: default avatarSteve Winslow <swinslow@gmail.com>
      Reviewed-by: default avatarAllison Randal <allison@lohutok.net>
      Cc: linux-spdx@vger.kernel.org
      Link: https://lkml.kernel.org/r/20190519154041.837383322@linutronix.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1ccea77e
  2. 31 Jan, 2019 1 commit
  3. 21 Jan, 2019 1 commit
    • Andrew Murray's avatar
      perf/drivers: Strengthen exclusion checks with PERF_PMU_CAP_NO_EXCLUDE · a66b0010
      Andrew Murray authored
      For drivers that do not support context exclusion let's advertise the
      PERF_PMU_CAP_NO_EXCLUDE capability. This ensures that perf will
      prevent us from handling events where any exclusion flags are set.
      Let's also remove the now unnecessary check for exclusion flags.
      
      This change means that qcom_{l2|l3}_pmu will now also indicate that
      they do not support exclude_{host|guest} and that xgene_pmu does
      not also support exclude_idle and exclude_hv.
      
      Note that for qcom_l2_pmu we now implictly return -EINVAL instead
      of -EOPNOTSUPP. This change will result in the perf userspace
      utility retrying the perf_event_open system call with fallback
      event attributes that do not fail.
      Signed-off-by: default avatarAndrew Murray <andrew.murray@arm.com>
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Acked-by: default avatarWill Deacon <will.deacon@arm.com>
      Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Matt Turner <mattst88@gmail.com>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: robin.murphy@arm.com
      Cc: suzuki.poulose@arm.com
      Link: https://lkml.kernel.org/r/1547128414-50693-9-git-send-email-andrew.murray@arm.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      a66b0010
  4. 21 Nov, 2018 1 commit
    • Hoan Tran's avatar
      drivers/perf: xgene: Add CPU hotplug support · cbb72a3c
      Hoan Tran authored
      If the CPU assigned to the xgene PMU is taken offline, then subsequent
      perf invocations on the PMU will fail:
      
        # echo 0 > /sys/devices/system/cpu/cpu0/online
        # perf stat -a -e l3c0/cycle-count/,l3c0/write/ sleep 1
          Error:
          The sys_perf_event_open() syscall returned with 19 (No such device) for event (l3c0/cycle-count/).
          /bin/dmesg may provide additional information.
          No CONFIG_PERF_EVENTS=y kernel support configured?
      
      This patch implements a hotplug notifier in the xgene PMU driver so that
      the PMU context is migrated to another online CPU should its assigned
      CPU disappear.
      Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
      Signed-off-by: default avatarHoan Tran <hoan.tran@amperecomputing.com>
      [will: Made naming of new cpuhp_state enum entry consistent]
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      cbb72a3c
  5. 18 Jun, 2018 1 commit
  6. 16 Mar, 2018 2 commits
  7. 12 Mar, 2018 1 commit
    • Peter Zijlstra's avatar
      perf/core: Remove perf_event::group_entry · 8343aae6
      Peter Zijlstra authored
      Now that all the grouping is done with RB trees, we no longer need
      group_entry and can replace the whole thing with sibling_list.
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
      Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
      Cc: David Carrillo-Cisneros <davidcc@google.com>
      Cc: Dmitri Prokhorov <Dmitry.Prohorov@intel.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Kan Liang <kan.liang@intel.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Valery Cherepennikov <valery.cherepennikov@intel.com>
      Cc: Vince Weaver <vincent.weaver@maine.edu>
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      8343aae6
  8. 08 Aug, 2017 1 commit
  9. 22 Jun, 2017 3 commits
  10. 03 Feb, 2017 1 commit
    • Stephen Boyd's avatar
      perf: xgene: Include module.h · c0bfc549
      Stephen Boyd authored
      I ran into a build error when I disabled CONFIG_ACPI and tried to
      compile this driver:
      
      drivers/perf/xgene_pmu.c:1242:1: warning: data definition has no type or storage class
       MODULE_DEVICE_TABLE(of, xgene_pmu_of_match);
       ^
      drivers/perf/xgene_pmu.c:1242:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
      
      Include module.h for the MODULE_DEVICE_TABLE macro that's
      implicitly included through ACPI.
      Tested-by: default avatarTai Nguyen <ttnguyen@apm.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      c0bfc549
  11. 17 Oct, 2016 1 commit
  12. 15 Sep, 2016 1 commit