<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm64/kernel/perf_event.c, branch linux-4.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-04-25T14:05:24Z</updated>
<entry>
<title>arm64: perf: don't expose CHAIN event in sysfs</title>
<updated>2016-04-25T14:05:24Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2016-04-25T14:05:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ba2578fa7b557012b8f59ad7a9284ff15394338'/>
<id>urn:sha1:4ba2578fa7b557012b8f59ad7a9284ff15394338</id>
<content type='text'>
The CHAIN event allows two 32-bit counters to be treated as a single
64-bit counter, under certain allocation restrictions on the PMU.

Whilst userspace could theoretically create CHAIN events using the raw
event syntax, we don't really want to advertise this in sysfs, since
it's useless in isolation. This patch removes the event from our /sys
entries.

Reported-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64/perf: Add Broadcom Vulcan PMU support</title>
<updated>2016-04-25T13:11:30Z</updated>
<author>
<name>Ashok Kumar</name>
</author>
<published>2016-04-21T12:58:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=201a72b2829fa6d58443fb9857db944b52d77062'/>
<id>urn:sha1:201a72b2829fa6d58443fb9857db944b52d77062</id>
<content type='text'>
Broadcom Vulcan uses ARMv8 PMUv3 and supports most of
the ARMv8 recommended implementation defined events.

Added Vulcan events mapping for perf and perf_cache map.

Acked-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Signed-off-by: Ashok Kumar &lt;ashoks@broadcom.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64/perf: Filter common events based on PMCEIDn_EL0</title>
<updated>2016-04-25T13:11:10Z</updated>
<author>
<name>Ashok Kumar</name>
</author>
<published>2016-04-21T12:58:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b1a9e6934ec6e38138c66c2f73cf6f3695a9c6c'/>
<id>urn:sha1:4b1a9e6934ec6e38138c66c2f73cf6f3695a9c6c</id>
<content type='text'>
The complete common architectural and micro-architectural
event number structure is filtered based on PMCEIDn_EL0 and
exposed to /sys using is_visibile function pointer in events
attribute_group.
To filter the events in is_visible function, pmceid based bitmap
is stored in arm_pmu structure and the id field from
perf_pmu_events_attr is used to check against the bitmap.

The function which derives event bitmap from PMCEIDn_EL0 is
executed in the cpus, which has the pmu being initialized,
for heterogeneous pmu support.

Acked-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Signed-off-by: Ashok Kumar &lt;ashoks@broadcom.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64/perf: Access pmu register using &lt;read/write&gt;_sys_reg</title>
<updated>2016-04-25T13:11:06Z</updated>
<author>
<name>Ashok Kumar</name>
</author>
<published>2016-04-21T12:58:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bf2d4782e7500b6e3e6f606b17b596751bc14013'/>
<id>urn:sha1:bf2d4782e7500b6e3e6f606b17b596751bc14013</id>
<content type='text'>
changed pmu register access to make use of &lt;read/write&gt;_sys_reg
from sysreg.h instead of accessing them directly.

Signed-off-by: Ashok Kumar &lt;ashoks@broadcom.com&gt;
Reviewed-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64/perf: Define complete ARMv8 recommended implementation defined events</title>
<updated>2016-04-25T13:11:06Z</updated>
<author>
<name>Ashok Kumar</name>
</author>
<published>2016-04-21T12:58:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0893f74545e615eda796c8d443cafee1959f3a73'/>
<id>urn:sha1:0893f74545e615eda796c8d443cafee1959f3a73</id>
<content type='text'>
Defined all the ARMv8 recommended implementation defined events
from J3 - "ARM recommendations for IMPLEMENTATION DEFINED event numbers"
in ARM DDI 0487A.g.

Signed-off-by: Ashok Kumar &lt;ashoks@broadcom.com&gt;
Reviewed-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64/perf: Changed events naming as per the ARM ARM</title>
<updated>2016-04-25T13:11:06Z</updated>
<author>
<name>Ashok Kumar</name>
</author>
<published>2016-04-21T12:58:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=03598fdbc9deaecde3d981d42cd36f108fab4aa2'/>
<id>urn:sha1:03598fdbc9deaecde3d981d42cd36f108fab4aa2</id>
<content type='text'>
changed all the common events name definition as per the document
ARM DDI 0487A.g

SoC specific event names follow the general naming style in
the file and doesn't reflect any document.
changed ARMV8_A53_PERFCTR_PREFETCH_LINEFILL to
ARMV8_A53_PERFCTR_PREF_LINEFILL to match with other SoC specific
event names which use _PREF_ style.

corrected typo l21 to l2i.

Signed-off-by: Ashok Kumar &lt;ashoks@broadcom.com&gt;
Reviewed-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: perf: Move PMU register related defines to asm/perf_event.h</title>
<updated>2016-03-29T15:04:57Z</updated>
<author>
<name>Shannon Zhao</name>
</author>
<published>2016-03-24T16:01:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b8cfadfcefdc8c306ca2c0b1bdbdd4e01f0155e3'/>
<id>urn:sha1:b8cfadfcefdc8c306ca2c0b1bdbdd4e01f0155e3</id>
<content type='text'>
To use the ARMv8 PMU related register defines from the KVM code, we move
the relevant definitions to asm/perf_event.h header file and rename them
with prefix ARMV8_PMU_. This allows us to get rid of kvm_perf_event.h.

Signed-off-by: Anup Patel &lt;anup.patel@linaro.org&gt;
Signed-off-by: Shannon Zhao &lt;shannon.zhao@linaro.org&gt;
Acked-by: Marc Zyngier &lt;marc.zyngier@arm.com&gt;
Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Marc Zyngier &lt;marc.zyngier@arm.com&gt;
Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'arm64-perf' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux</title>
<updated>2016-03-21T20:14:16Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2016-03-21T20:14:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c856e14dad8cb1b085ae1f30c5e125c6d46019b'/>
<id>urn:sha1:2c856e14dad8cb1b085ae1f30c5e125c6d46019b</id>
<content type='text'>
Pull arm[64] perf updates from Will Deacon:
 "I have another mixed bag of ARM-related perf patches here.

  It's about 25% CPU and 75% interconnect, but with drivers/bus/
  languishing without an obvious maintainer or tree, Olof and I agreed
  to keep all of these PMU patches together.  I suspect a whole load of
  code from drivers/bus/arm-* can be moved under drivers/perf/, so
  that's on the radar for the future.

  Summary:

   - Initial support for ARMv8.1 CPU PMUs

   - Support for the CPU PMU in Cavium ThunderX

   - CPU PMU support for systems running 32-bit Linux in secure mode

   - Support for the system PMU in ARM CCI-550 (Cache Coherent Interconnect)"

* tag 'arm64-perf' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (26 commits)
  drivers/perf: arm_pmu: avoid NULL dereference when not using devicetree
  arm64: perf: Extend ARMV8_EVTYPE_MASK to include PMCR.LC
  arm-cci: remove unused variable
  arm-cci: don't return value from void function
  arm-cci: make private functions static
  arm-cci: CoreLink CCI-550 PMU driver
  arm-cci500: Rearrange PMU driver for code sharing with CCI-550 PMU
  arm-cci: CCI-500: Work around PMU counter writes
  arm-cci: Provide hook for writing to PMU counters
  arm-cci: Add helper to enable PMU without synchornising counters
  arm-cci: Add routines to save/restore all counters
  arm-cci: Get the status of a counter
  arm-cci: write_counter: Remove redundant check
  arm-cci: Delay PMU counter writes to pmu::pmu_enable
  arm-cci: Refactor CCI PMU enable/disable methods
  arm-cci: Group writes to counter
  arm-cci: fix handling cpumask_any_but return value
  arm-cci: simplify sysfs attr handling
  drivers/perf: arm_pmu: implement CPU_PM notifier
  arm64: dts: Add Cavium ThunderX specific PMU
  ...
</content>
</entry>
<entry>
<title>arm64: perf: Extend ARMV8_EVTYPE_MASK to include PMCR.LC</title>
<updated>2016-02-29T23:23:59Z</updated>
<author>
<name>Will Deacon</name>
</author>
<published>2016-02-29T23:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe638401a091f4473e9e30942ea3cecc0c0b2b94'/>
<id>urn:sha1:fe638401a091f4473e9e30942ea3cecc0c0b2b94</id>
<content type='text'>
Commit 7175f0591eb9 ("arm64: perf: Enable PMCR long cycle counter bit")
added initial support for a 64-bit cycle counter enabled using PMCR.LC.

Unfortunately, that patch doesn't extend ARMV8_EVTYPE_MASK, so any
attempts to set the enable bit are ignored by armv8pmu_pmcr_write.

This patch extends the mask to include the new bit.

Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
</content>
</entry>
<entry>
<title>arm64: perf: Count EL2 events if the kernel is running in HYP</title>
<updated>2016-02-29T18:34:18Z</updated>
<author>
<name>Marc Zyngier</name>
</author>
<published>2016-01-25T17:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d98ecdaca296815b3c4d11032b3699af6b49b70b'/>
<id>urn:sha1:d98ecdaca296815b3c4d11032b3699af6b49b70b</id>
<content type='text'>
When the kernel is running in HYP (with VHE), it is necessary to
include EL2 events if the user requests counting kernel or
hypervisor events.

Reviewed-by: Christoffer Dall &lt;christoffer.dall@linaro.org&gt;
Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Acked-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Marc Zyngier &lt;marc.zyngier@arm.com&gt;
</content>
</entry>
</feed>
