-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/irqchip/Kconfig | 8 +
drivers/irqchip/Makefile| 1 +
drivers/irqchip/qcom-irq-combiner.c | 344
3 files changed, 353 insertions(+)
create mode 100644 drivers/i
This allows irqchip drivers to associate an ACPI DSDT device to
an IRQ domain and provides support for using the ResourceSource
in Extended IRQ Resources to find the domain and map the IRQs
specified on that domain.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
driver
PIO library for the combiner
* Refactor to use fwnode/ResourceSource to IRQ domain mapping
introduced in ACPI core
Changes V2 -> V3:
* Removed parsing of _PRS to find IRQs
* Removed acpi_irq_domain_create and acpi_irq_domain_remove
Agustin Vega-Frias (2):
ACPI: Add support for ResourceSour
Hi Andy,
On 2017-01-25 19:44, Andy Shevchenko wrote:
On Fri, Jan 20, 2017 at 4:34 AM, Agustin Vega-Frias
<agust...@codeaurora.org> wrote:
Driver for interrupt combiners in the Top-level Control and Status
Registers (TCSR) hardware block in Qualcomm Technologies chips.
An interrupt co
scan.
* Make some public APIs private to drivers/acpi/irq.c since they are no
longer used on other modules.
Agustin Vega-Frias (3):
ACPI: Generic GSI: Do not attempt to map non-GSI IRQs during bus scan
ACPI: Add support for ResourceSource/IRQ domain mapping
irqchip: qcom: Add IRQ com
IRQ resource, and
provides proper behavior for probe deferral when the domain is not
yet present when called.
Acked-by: Rafael J. Wysocki <raf...@kernel.org>
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/Makefile | 2 +-
drivers/acpi/{gsi.c =&g
to keep the current behavior on x86 platforms,
in case some existing ACPI tables are using this incorrectly.
Acked-by: Rafael J. Wysocki <raf...@kernel.org>
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/resource.c | 18 +-
1 file changed, 1
-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/irqchip/Kconfig | 9 ++
drivers/irqchip/Makefile| 1 +
drivers/irqchip/qcom-irq-combiner.c | 296
3 files changed, 306 insertions(+)
create mode 100644 drivers/i
Hi Rafael,
On 2017-01-31 17:10, Rafael J. Wysocki wrote:
On Wed, Jan 18, 2017 at 5:46 PM, Agustin Vega-Frias
<agust...@codeaurora.org> wrote:
ACPI extended IRQ resources may contain a ResourceSource to specify
an alternate interrupt controller. Introduce acpi_irq_get and use it
to imp
-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/perf/Kconfig | 9 +
drivers/perf/Makefile | 1 +
drivers/perf/qcom_l3_pmu.c | 931 +
include/linux/cpuhotplug.h | 1 +
4 files changed, 942 insertions(+)
create mode
Hey Mark,
On 2017-02-16 11:41, Mark Rutland wrote:
Hi,
On Thu, Feb 16, 2017 at 10:03:05AM -0500, Agustin Vega-Frias wrote:
This adds a new dynamic PMU to the Perf Events framework to program
and control the L3 cache PMUs in some Qualcomm Technologies SOCs.
The driver supports a distributed
Hi Hanjun,
On 2017-01-17 07:15, Hanjun Guo wrote:
On 2016/12/15 6:10, Agustin Vega-Frias wrote:
ACPI extended IRQ resources may contain a Resource Source field to
specify
an alternate interrupt controller, attempting to map them as GSIs is
incorrect, so just disable the platform resource
Hi Hanjun,
On 2017-01-17 07:47, Hanjun Guo wrote:
On 2016/12/15 6:10, Agustin Vega-Frias wrote:
ACPI extended IRQ resources may contain a ResourceSource to specify
an alternate interrupt controller. Introduce acpi_irq_get and use it
to implement ResourceSource/IRQ domain mapping.
The new API
Hi Rafael,
On 2017-01-03 16:56, Rafael J. Wysocki wrote:
On Tue, Jan 3, 2017 at 4:19 PM, Agustin Vega-Frias
<agust...@codeaurora.org> wrote:
Hi,
Is there any more feedback on this beyond Lorenzo's suggestion to drop
the conditional check on the first patch?
How can we move f
-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/irqchip/Kconfig | 9 +
drivers/irqchip/Makefile| 1 +
drivers/irqchip/qcom-irq-combiner.c | 319
3 files changed, 329 insertions(+)
create mode 100644 drivers/i
to keep the current behavior on x86 platforms,
in case some existing ACPI tables are using this incorrectly.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/resource.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/driver
e some public APIs private to drivers/acpi/irq.c since they are no
longer used on other modules.
Changes V7 -> V8:
* Reorder patches to allow all new code to be under drivers/acpi/irq.c.
* Change acpi_irq_get implementation to be more similar to of_irq_get
to improve maintainability.
Agu
IRQ resource, and
provides proper behavior for probe deferral when the domain is not
yet present when called.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/Makefile | 2 +-
drivers/acpi/gsi.c | 98 -
drivers/acpi/irq.c
Hi Andy,
On 2017-01-18 13:00, Andy Shevchenko wrote:
On Wed, Jan 18, 2017 at 6:46 PM, Agustin Vega-Frias
<agust...@codeaurora.org> wrote:
ACPI extended IRQ resources may contain a ResourceSource to specify
an alternate interrupt controller. Introduce acpi_irq_get and use it
to imp
IRQ resource, and
provides proper behavior for probe deferral when the domain is not
yet present when called.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/Makefile | 2 +-
drivers/acpi/{gsi.c => irq
r modules.
Agustin Vega-Frias (3):
ACPI: Generic GSI: Do not attempt to map non-GSI IRQs during bus scan
ACPI: Add support for ResourceSource/IRQ domain mapping
irqchip: qcom: Add IRQ combiner driver
drivers/acpi/Makefile | 2 +-
drivers/acpi/{gsi.c => irq.c}
-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/irqchip/Kconfig | 9 +
drivers/irqchip/Makefile| 1 +
drivers/irqchip/qcom-irq-combiner.c | 320
3 files changed, 330 insertions(+)
create mode 100644 drivers/i
IRQ resource, and
provides proper behavior for probe deferral when the domain is not
yet present when called.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/Makefile | 2 +-
drivers/acpi/{gsi.c => irq.c}
to keep the current behavior on x86 platforms,
in case some existing ACPI tables are using this incorrectly.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/resource.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/driver
Hi Andy,
On 2017-01-18 14:45, Andy Shevchenko wrote:
On Wed, Jan 18, 2017 at 9:04 PM, Agustin Vega-Frias
<agust...@codeaurora.org> wrote:
[...]
+ */
+static struct fwnode_handle *
+acpi_get_irq_source_fwhandle(const struct acpi_resource_source
*source)
+{
+ struct fwnode_
On 2017-01-19 07:36, Lorenzo Pieralisi wrote:
On Wed, Jan 18, 2017 at 09:45:56PM +0200, Andy Shevchenko wrote:
[...]
> +/**
> + * acpi_irq_get - Look for the ACPI IRQ resource with the given index and
> + *use it to initialize the given Linux IRQ resource.
> + * @handle ACPI
combiner registers as ACPI Register resources
Agustin Vega-Frias (3):
ACPI: Retry IRQ conversion if it failed previously
ACPI: Add support for ResourceSource/IRQ domain mapping
irqchip: qcom: Add IRQ combiner driver
drivers/acpi/Makefile | 1 +
drivers/acpi/ir
This allows irqchip drivers to associate an ACPI DSDT device to
an IRQ domain and provides support for using the ResourceSource
in Extended IRQ Resources to find the domain and map the IRQs
specified on that domain.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
driver
-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/irqchip/Kconfig | 8 +
drivers/irqchip/Makefile| 1 +
drivers/irqchip/qcom-irq-combiner.c | 337
3 files changed, 346 insertions(+)
create mode 100644 drivers/i
This allows irqchip drivers to associate an ACPI DSDT device to
an IRQ domain and provides support for using the ResourceSource
in Extended IRQ Resources to find the domain and map the IRQs
specified on that domain.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
driver
-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/irqchip/Kconfig | 8 +
drivers/irqchip/Makefile| 1 +
drivers/irqchip/qcom-irq-combiner.c | 332
3 files changed, 341 insertions(+)
create mode 100644 drivers/i
to probe DSDT IRQ chips
as necessary when converting HW IRQs to Linux IRQs
* Describe IRQ combiner registers as ACPI Register resources
Changes V4 -> V5:
* Fix issues flagged by the 0-DAY build bot
* Fix some minor style issues raised by Timur
Agustin Vega-Frias (2):
ACPI:
Hi Rafael,
Can you chime in on Lorenzo's feedback and the discussion below?
It would be great if you can comment on the reason ACPI does things
in a certain way.
Hi Lorenzo,
On 2016-11-25 06:40, Lorenzo Pieralisi wrote:
Hi Agustin,
On Thu, Nov 24, 2016 at 04:15:48PM +, Lorenzo Pieralisi
Hi Lorenzo,
On 2016-11-15 10:48, Lorenzo Pieralisi wrote:
On Sun, Nov 13, 2016 at 04:59:33PM -0500, Agustin Vega-Frias wrote:
This allows probe deferral to work properly when a dependent device
fails to get a valid IRQ because the IRQ domain was not registered
at the time the resources were
Hi Lorenzo,
On 2016-11-16 12:18, Lorenzo Pieralisi wrote:
On Tue, Nov 15, 2016 at 12:43:38PM -0500, Agustin Vega-Frias wrote:
Hi Lorenzo,
On 2016-11-15 10:48, Lorenzo Pieralisi wrote:
>On Sun, Nov 13, 2016 at 04:59:33PM -0500, Agustin Vega-Frias wrote:
>>This allows probe deferra
-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/irqchip/Kconfig | 8 +
drivers/irqchip/Makefile| 1 +
drivers/irqchip/qcom-irq-combiner.c | 337
3 files changed, 346 insertions(+)
create mode 100644 drivers/i
gsi in
terms of the new acpi_register_irq API.
Changes V5 -> V6:
* Drop probe table and on-demand probing based on resource_source
* Add patch to fix probe deferral
* Change back combiner driver to use the platform_device/platform_driver
APIs
Agustin Vega-Frias (3):
ACPI: Retry IRQ conv
This allows probe deferral to work properly when a dependent device
fails to get a valid IRQ because the IRQ domain was not registered
at the time the resources were added to the platform_device.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/resource.
dependent devices are probed these
changes allow the ACPI core find the domain and map the IRQ.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/Makefile | 2 +-
drivers/acpi/{gsi.c => irq.c} | 98 +--
dri
This allows probe deferral to work properly when a dependent device
fails to get a valid IRQ because the IRQ domain was not registered
at the time the resources were added to the platform_device.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/resource.
This allows irqchip drivers to associate an ACPI DSDT device to
an IRQ domain and provides support for using the ResourceSource
in Extended IRQ Resources to find the domain and map the IRQs
specified on that domain.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
driver
to probe DSDT IRQ chips
as necessary when converting HW IRQs to Linux IRQs
* Describe IRQ combiner registers as ACPI Register resources
Agustin Vega-Frias (2):
ACPI: Add support for ResourceSource/IRQ domain mapping
irqchip: qcom: Add IRQ combiner driver
drivers/acpi/Makefile
-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/irqchip/Kconfig | 8 +
drivers/irqchip/Makefile| 1 +
drivers/irqchip/qcom-irq-combiner.c | 332
3 files changed, 341 insertions(+)
create mode 100644 drivers/i
enting acpi_register_gsi in
terms of the new acpi_register_irq API.
Changes V5 -> V6:
* Drop probe table and on-demand probing based on resource_source
* Add patch to fix probe deferral
* Change back combiner driver to use the platform_device/platform_driver
APIs
Agustin Vega-Frias (3):
ACPI: Ad
This allows probe deferral to work properly when a dependent device
fails to get a valid IRQ because the IRQ domain was not registered
at the time the resources were added to the platform_device.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/irq.c
-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/irqchip/Kconfig | 8 +
drivers/irqchip/Makefile| 1 +
drivers/irqchip/qcom-irq-combiner.c | 337
3 files changed, 346 insertions(+)
create mode 100644 drivers/i
dependent devices are probed these
changes allow the ACPI core find the domain and map the IRQ.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/Makefile | 2 +-
drivers/acpi/{gsi.c => irq.c} | 99 +--
dri
On 2016-12-07 13:16, Marc Zyngier wrote:
Hi Agustin,
On 29/11/16 22:57, Agustin Vega-Frias wrote:
Driver for interrupt combiners in the Top-level Control and Status
Registers (TCSR) hardware block in Qualcomm Technologies chips.
An interrupt combiner in this block combines a set of interrupts
Hi Lorenzo,
On 2016-12-08 06:05, Lorenzo Pieralisi wrote:
Hi Agustin,
please CC me for next version.
On Tue, Nov 29, 2016 at 05:57:37PM -0500, Agustin Vega-Frias wrote:
When an Extended IRQ Resource contains a valid ResourceSource
use it to map the IRQ on the domain associated with the ACPI
to keep the current behavior on x86 platforms,
in case some existing ACPI tables are using this incorrectly.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/resource.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/driver
IRQ resource, and
provides proper behavior for probe deferral when the domain is not
yet present when called.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/acpi/Makefile | 2 +-
drivers/acpi/{gsi.c => irq
-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/irqchip/Kconfig | 9 +
drivers/irqchip/Makefile| 1 +
drivers/irqchip/qcom-irq-combiner.c | 322
3 files changed, 332 insertions(+)
create mode 100644 drivers/i
w code to be under drivers/acpi/irq.c.
* Change acpi_irq_get implementation to be more similar to of_irq_get
to improve maintainability.
Agustin Vega-Frias (3):
ACPI: Generic GSI: Do not attempt to map non-GSI IRQs during bus scan
ACPI: Add support for ResourceSource/IRQ domain mapping
i
Hi Lorenzo,
On 2016-12-16 11:24, Lorenzo Pieralisi wrote:
On Wed, Dec 14, 2016 at 05:10:36PM -0500, Agustin Vega-Frias wrote:
ACPI extended IRQ resources may contain a Resource Source field to
specify
an alternate interrupt controller, attempting to map them as GSIs is
incorrect, so just
Hi Hanjun,
On 2016-11-29 06:31, Hanjun Guo wrote:
Hi Agustin,
On 2016/11/14 5:59, Agustin Vega-Frias wrote:
Add support for IRQ combiners in the Top-level Control and Status
Registers (TCSR) hardware block in Qualcomm Technologies chips.
The first patch fixes IRQ probe deferral by allowing
Hi Rafael,
On 2016-11-29 07:43, Rafael J. Wysocki wrote:
On Tue, Nov 29, 2016 at 1:11 PM, Lorenzo Pieralisi
<lorenzo.pieral...@arm.com> wrote:
Hi Agustin,
On Mon, Nov 28, 2016 at 05:40:24PM -0500, Agustin Vega-Frias wrote:
Hi Rafael,
Can you chime in on Lorenzo's feedback and the disc
Hi Lorenzo,
On 2016-11-29 07:11, Lorenzo Pieralisi wrote:
Hi Agustin,
On Mon, Nov 28, 2016 at 05:40:24PM -0500, Agustin Vega-Frias wrote:
Hi Rafael,
Can you chime in on Lorenzo's feedback and the discussion below?
It would be great if you can comment on the reason ACPI does things
Hey Marc,
On 2017-01-05 11:48, Marc Zyngier wrote:
Hi Agustin,
On 14/12/16 22:10, Agustin Vega-Frias wrote:
Driver for interrupt combiners in the Top-level Control and Status
Registers (TCSR) hardware block in Qualcomm Technologies chips.
An interrupt combiner in this block combines a set
On 2017-01-03 16:56, Rafael J. Wysocki wrote:
On Tue, Jan 3, 2017 at 4:19 PM, Agustin Vega-Frias
<agust...@codeaurora.org> wrote:
Hi,
Is there any more feedback on this beyond Lorenzo's suggestion to drop
the conditional check on the first patch?
How can we move forward on this
Hi,
Is there any more feedback on this beyond Lorenzo's suggestion to drop
the conditional check on the first patch?
How can we move forward on this series?
Thanks.
On 2016-12-14 17:10, Agustin Vega-Frias wrote:
Add support for IRQ combiners in the Top-level Control and Status
Registers (TCSR
l3cache_0_0/read-miss/
perf stat -a -e l3cache_0_0/event=0x21/
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
Documentation/perf/qcom_l3_pmu.txt | 25 ++
drivers/perf/Kconfig | 10 +
drivers/perf/Makefile | 1 +
drivers/perf/qcom_l3_pmu.c
l3cache_0_0/read-miss/
perf stat -a -e l3cache_0_0/event=0x21/
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
Documentation/perf/qcom_l3_pmu.txt | 25 ++
drivers/perf/Kconfig | 10 +
drivers/perf/Makefile | 1 +
drivers/perf/qcom_l3_pmu.c
On 2017-03-23 11:33, Mark Rutland wrote:
Hi Agustin,
Structurally, this looks good to me.
I have a few minor comments below; with those fixed up I think this is
ready to merge.
Thanks Mark, I'll spin V5 ASAP.
Agustin
--
Qualcomm Datacenter Technologies, Inc. on behalf of the Qualcomm
On 2017-03-17 10:24, Agustin Vega-Frias wrote:
This adds a new dynamic PMU to the Perf Events framework to program
and control the L3 cache PMUs in some Qualcomm Technologies SOCs.
The driver supports a distributed cache architecture where the overall
cache for a socket is comprised of multiple
l3cache_0_0/read-miss/
perf stat -a -e l3cache_0_0/event=0x21/
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
Documentation/perf/qcom_l3_pmu.txt | 25 ++
drivers/perf/Kconfig | 10 +
drivers/perf/Makefile | 1 +
drivers/perf/qcom_l3_pmu.c
Hi Mark,
On 2017-03-03 09:50, Mark Rutland wrote:
Hi Augustin,
On Thu, Mar 02, 2017 at 03:58:32PM -0500, Agustin Vega-Frias wrote:
This adds a new dynamic PMU to the Perf Events framework to program
and control the L3 cache PMUs in some Qualcomm Technologies SOCs.
The driver supports
l3cache_0_0/read-miss/
perf stat -a -e l3cache_0_0/event=0x21/
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/perf/Kconfig | 10 +
drivers/perf/Makefile | 1 +
drivers/perf/qcom_l3_pmu.c | 755 +
include
Hey Mark,
On 2017-03-31 09:59, Mark Rutland wrote:
Hi Agustin,
On Thu, Mar 23, 2017 at 05:03:17PM -0400, Agustin Vega-Frias wrote:
This adds a new dynamic PMU to the Perf Events framework to program
and control the L3 cache PMUs in some Qualcomm Technologies SOCs.
The driver supports
function is called after the default PMU initialization and is
passed a pointer to the arm_pmu structure and a pointer to the PMU device.
The init function can then override arm_pmu callbacks and attributes and
query more properties from the PMU device.
Signed-off-by: Agustin Vega-Frias
---
table.
If this found to be a reasonable extension approach other patches will be
added to the series to build on the base QCOM extensions.
[1] https://lkml.org/lkml/2017/3/1/540
Changes since V1:
- Redesign as a separate module by adding variant detection support.
Agustin Vega-Frias (3):
ACPI
)
{
Name (_HID, "ACPI0007" /* Processor Device */)
...
Device (PMU0)
{
Name (_HID, "QCOM8150") /* Qualcomm Falkor PMU device */
...
}
}
Signed-off-by: Agustin Vega-Frias
---
drivers/perf/Makefile |
at the end of the probe table. This
section can be used to add a sentinel for tables that require it.
Signed-off-by: Agustin Vega-Frias
---
include/asm-generic/vmlinux.lds.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/asm-generic/vmlinux.lds.h
b/include/asm-generic
Hi Mark,
On 2018-06-12 10:40, Mark Rutland wrote:
Hi,
On Thu, Jun 07, 2018 at 09:56:48AM -0400, Agustin Vega-Frias wrote:
Selection of these events can be envisioned as indexing them from
a 3D matrix:
- the first index selects a Region Event Selection Register
(PMRESRx_EL0)
- the second
Hi,
On 2018-06-13 09:02, Will Deacon wrote:
On Wed, Jun 13, 2018 at 01:59:58PM +0100, Marc Zyngier wrote:
On 13/06/18 11:35, Will Deacon wrote:
[...]
> Great :( We need to make sure we disable EL0 access during boot then, but
> that means we need to prove for the existence of this thing in
function is called after the default PMU initialization and is
passed a pointer to the arm_pmu structure and a pointer to the PMU device.
The init function can then override arm_pmu callbacks and attributes and
query more properties from the PMU device.
Signed-off-by: Agustin Vega-Frias
---
:
- Redesign as a separate module by adding variant detection support.
Agustin Vega-Frias (3):
ACPI: add support for sentinel-delimited probe tables
arm_pmu: acpi: add support for CPU PMU variant detection
perf: qcom: Add Falkor CPU PMU IMPLEMENTATION DEFINED event support
drivers/perf/Makefile
I0007" /* Processor Device */)
...
Device (PMU0)
{
Name (_HID, "QCOM8150") /* Qualcomm Falkor PMU device */
...
}
}
Signed-off-by: Agustin Vega-Frias
---
drivers/perf/Makefile | 2 +-
drivers/perf/
at the end of the probe table. This
section can be used to add a sentinel for tables that require it.
Signed-off-by: Agustin Vega-Frias
---
include/asm-generic/vmlinux.lds.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/asm-generic/vmlinux.lds.h
b/include/asm-generic
I0007" /* Processor Device */)
...
Device (PMU0)
{
Name (_HID, "QCOM8150") /* Qualcomm Falkor PMU device */
...
}
}
Signed-off-by: Agustin Vega-Frias
---
drivers/perf/Makefile | 2 +-
drivers/perf/
at the end of the probe table. This
section can be used to add a sentinel for tables that require it.
Signed-off-by: Agustin Vega-Frias
---
include/asm-generic/vmlinux.lds.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/asm-generic/vmlinux.lds.h
b/include/asm-generic
function is called after the default PMU initialization and is
passed a pointer to the arm_pmu structure and a pointer to the PMU device.
The init function can then override arm_pmu callbacks and attributes and
query more properties from the PMU device.
Signed-off-by: Agustin Vega-Frias
---
On 2018-04-02 02:37, Yisheng Xie wrote:
Hi Neil,
On 2018/4/1 13:44, Neil Leeder wrote:
Hi Yisheng Xie,
On 3/29/2018 03:03 AM, Yisheng Xie wrote:
Hi Neil,
On 2017/8/5 3:59, Neil Leeder wrote:
+mem_resource_0 = platform_get_resource(pdev, IORESOURCE_MEM,
0);
+mem_map_0 =
When the interrupts for a combiner span multiple registers we need
to check if any interrupts have been asserted on each register
before checking for spurious interrupts.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
drivers/irqchip/qcom-irq-combiner.c | 4 ++--
1 file c
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () {
Package () {"qcom,pmu-pcc-support", 1},
}
})
}
}
Signed-off-by: Agustin Vega-Frias
---
arch/arm64/include/asm/perf_event.h | 18 ++
arc
function is called after the default PMU initialization and is
passed a pointer to the arm_pmu structure and a pointer to the PMU device.
The init function can then override arm_pmu callbacks and attributes and
query more properties from the PMU device.
Signed-off-by: Agustin Vega-Frias
---
uses of the PMU lock.
Agustin Vega-Frias (3):
ACPI: add support for sentinel-delimited probe tables
arm_pmu: acpi: add support for CPU PMU variant detection
perf: qcom: Add Falkor CPU PMU IMPLEMENTATION DEFINED event support
drivers/perf/Makefile | 2 +-
drivers/perf
I0007" /* Processor Device */)
...
Device (PMU0)
{
Name (_HID, "QCOM8150") /* Qualcomm Falkor PMU device */
...
}
}
Signed-off-by: Agustin Vega-Frias
---
drivers/perf/qcom_arm_pmu.c | 306
at the end of the probe table. This
section can be used to add a sentinel for tables that require it.
Signed-off-by: Agustin Vega-Frias
---
include/asm-generic/vmlinux.lds.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/asm-generic/vmlinux.lds.h
b/include/asm-generic
On 2018-03-07 14:39, Arnaldo Carvalho de Melo wrote:
Em Wed, Mar 07, 2018 at 04:05:43PM -0300, Arnaldo Carvalho de Melo
escreveu:
Em Wed, Mar 07, 2018 at 04:05:09PM -0300, Arnaldo Carvalho de Melo
escreveu:
> Em Wed, Mar 07, 2018 at 10:54:15AM -0800, Andi Kleen escreveu:
> > > Sorry about
On 2018-03-07 14:58, Arnaldo Carvalho de Melo wrote:
Em Wed, Mar 07, 2018 at 02:49:50PM -0500, Agustin Vega-Frias escreveu:
On 2018-03-07 14:39, Arnaldo Carvalho de Melo wrote:
> Em Wed, Mar 07, 2018 at 04:05:43PM -0300, Arnaldo Carvalho de Melo
> escreveu:
> > Em Wed, Mar 07, 2
be passed.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
tools/perf/Documentation/perf-list.txt | 8 +++-
tools/perf/Documentation/perf-stat.txt | 13 +
tools/perf/util/parse-events.l | 2 +-
tools/perf/util/parse-events.y | 14 --
4
On 2018-03-08 08:03, Arnaldo Carvalho de Melo wrote:
Em Wed, Mar 07, 2018 at 03:35:47PM -0500, Agustin Vega-Frias escreveu:
+++ b/tools/perf/util/parse-events.y
@@ -8,6 +8,7 @@
#define YYDEBUG 1
+#include
#include
#include
#include
@@ -234,6 +235,10 @@ PE_NAME opt_event_config
On 2018-03-07 11:02, Arnaldo Carvalho de Melo wrote:
Em Tue, Mar 06, 2018 at 09:04:42AM -0500, Agustin Vega-Frias escreveu:
[snip]
This breaks the build in at least Alpine Linux 3.4, 3.5 and 3.6 and
android-ndk:r15c-arm
Alpine 3.6 build failure:
CC /tmp/build/perf/util/parse-events
l3cache/read-miss/
63 l3cache/read-miss/
60 l3cache/read-miss/
1.002622192 seconds time elapsed
Change-Id: I0a47eed54c05e1982ca964d743b37f50f60c508c
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
tool
sample output to the third patch.
Agustin Vega-Frias (3):
perf, tools: Support wildcards on pmu name in dynamic pmu events
perf, tools: Display pmu name when printing unmerged events in stat
perf pmu: Auto-merge PMU events created by prefix or glob match
tools/perf/Documentation/perf-list.txt
he_read_miss [l3cache_0_0]
0.001661305 seconds time elapsed
Change-Id: I8056b9eda74bda33e95065056167ad96e97cb1fb
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
tools/perf/builtin-stat.c | 29 -
tools/perf/util/evsel.c| 1 +
tools
be passed.
Change-Id: Icb25653fc5d5239c20f3bffdfdf4ab4c9c9bb20b
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
tools/perf/Documentation/perf-list.txt | 8 +++-
tools/perf/Documentation/perf-stat.txt | 13 +
tools/perf/util/parse-events.l | 2 +-
tools/per
On 2018-03-04 13:10, Jiri Olsa wrote:
On Sun, Mar 04, 2018 at 09:12:45AM -0800, Andi Kleen wrote:
> > +#include
> > #include
> > #include
> > #include
> > @@ -241,7 +242,7 @@ PE_NAME opt_event_config
> > if (!strncmp(name, "uncore_", 7) &&
> >
On 2018-03-05 14:09, Jiri Olsa wrote:
On Mon, Mar 05, 2018 at 10:08:18AM -0500, Agustin Vega-Frias wrote:
On 2018-03-04 13:10, Jiri Olsa wrote:
> On Sun, Mar 04, 2018 at 09:12:45AM -0800, Andi Kleen wrote:
> > > > +#include
> > > > #include
> >
be passed.
Signed-off-by: Agustin Vega-Frias <agust...@codeaurora.org>
---
tools/perf/Documentation/perf-list.txt | 8 +++-
tools/perf/Documentation/perf-stat.txt | 12
tools/perf/util/parse-events.l | 2 +-
tools/perf/util/parse-events.y | 3 ++-
4 files chang
1 - 100 of 224 matches
Mail list logo