* [PATCH 0/2] arm_pmuv3: Add support for Samsung Mongoose PMU
@ 2024-10-26 20:28 Markuss Broks
2024-10-26 20:28 ` [PATCH 1/2] dt-bindings: arm: pmu: Add Samsung Mongoose core compatible Markuss Broks
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Markuss Broks @ 2024-10-26 20:28 UTC (permalink / raw)
To: Will Deacon, Mark Rutland, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-kernel, devicetree, linux-kernel, Ivaylo Ivanov,
Maksym Holovach, Markuss Broks
Hello,
This series adds support to performance monitoring unit of
the Samsung Mongoose CPU cores. They were released between
2016 and 2020, and they were used in Samsung Exynos SoCs,
such as Exynos 8890, 8895, 9810, 9820 and 990 (9830).
They implement ARMv8.2-A ISA and they are used as a fast
cluster (big in the big.little scheme).
This series consists of a patch adding the support and
a patch for the dt-bindings.
---
Markuss Broks (2):
dt-bindings: arm: pmu: Add Samsung Mongoose core compatible
perf: arm_pmuv3: Add support for Samsung Mongoose PMU
Documentation/devicetree/bindings/arm/pmu.yaml | 1 +
drivers/perf/arm_pmuv3.c | 3 +++
2 files changed, 4 insertions(+)
---
base-commit: f2493655d2d3d5c6958ed996b043c821c23ae8d3
change-id: 20241026-mongoose-pmu-52240ed310cd
Best regards,
--
Markuss Broks <markuss.broks@gmail.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] dt-bindings: arm: pmu: Add Samsung Mongoose core compatible
2024-10-26 20:28 [PATCH 0/2] arm_pmuv3: Add support for Samsung Mongoose PMU Markuss Broks
@ 2024-10-26 20:28 ` Markuss Broks
2024-10-27 21:06 ` Krzysztof Kozlowski
2024-10-26 20:28 ` [PATCH 2/2] perf: arm_pmuv3: Add support for Samsung Mongoose PMU Markuss Broks
2024-10-29 16:15 ` [PATCH 0/2] " Will Deacon
2 siblings, 1 reply; 5+ messages in thread
From: Markuss Broks @ 2024-10-26 20:28 UTC (permalink / raw)
To: Will Deacon, Mark Rutland, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-kernel, devicetree, linux-kernel, Ivaylo Ivanov,
Maksym Holovach, Markuss Broks
Add the compatible for the Samsung Mongoose CPU PMU to the schema.
Co-developed-by: Maksym Holovach <nergzd@nergzd723.xyz>
Signed-off-by: Maksym Holovach <nergzd@nergzd723.xyz>
Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
---
Documentation/devicetree/bindings/arm/pmu.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/pmu.yaml b/Documentation/devicetree/bindings/arm/pmu.yaml
index 528544d0a1614c9f9bddaafa8dac4782d09ac7e9..a148ff54f2b8a92fa3fcfa78c1bcc525dba1c6dd 100644
--- a/Documentation/devicetree/bindings/arm/pmu.yaml
+++ b/Documentation/devicetree/bindings/arm/pmu.yaml
@@ -74,6 +74,7 @@ properties:
- qcom,krait-pmu
- qcom,scorpion-pmu
- qcom,scorpion-mp-pmu
+ - samsung,mongoose-pmu
interrupts:
# Don't know how many CPUs, so no constraints to specify
--
2.46.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] perf: arm_pmuv3: Add support for Samsung Mongoose PMU
2024-10-26 20:28 [PATCH 0/2] arm_pmuv3: Add support for Samsung Mongoose PMU Markuss Broks
2024-10-26 20:28 ` [PATCH 1/2] dt-bindings: arm: pmu: Add Samsung Mongoose core compatible Markuss Broks
@ 2024-10-26 20:28 ` Markuss Broks
2024-10-29 16:15 ` [PATCH 0/2] " Will Deacon
2 siblings, 0 replies; 5+ messages in thread
From: Markuss Broks @ 2024-10-26 20:28 UTC (permalink / raw)
To: Will Deacon, Mark Rutland, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-kernel, devicetree, linux-kernel, Ivaylo Ivanov,
Maksym Holovach, Markuss Broks
Add support for the Samsung Mongoose CPU core PMU.
This just adds the names and links to DT compatible strings.
Co-developed-by: Maksym Holovach <nergzd@nergzd723.xyz>
Signed-off-by: Maksym Holovach <nergzd@nergzd723.xyz>
Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
---
drivers/perf/arm_pmuv3.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/perf/arm_pmuv3.c b/drivers/perf/arm_pmuv3.c
index 0afe02f879b45a8600b9cea1bfd88e6a68096a67..9eb5603e1dda18c4bdd2745304737932a27fde8a 100644
--- a/drivers/perf/arm_pmuv3.c
+++ b/drivers/perf/arm_pmuv3.c
@@ -1364,6 +1364,8 @@ PMUV3_INIT_SIMPLE(armv8_neoverse_v3ae)
PMUV3_INIT_SIMPLE(armv8_nvidia_carmel)
PMUV3_INIT_SIMPLE(armv8_nvidia_denver)
+PMUV3_INIT_SIMPLE(armv8_samsung_mongoose)
+
PMUV3_INIT_MAP_EVENT(armv8_cortex_a35, armv8_a53_map_event)
PMUV3_INIT_MAP_EVENT(armv8_cortex_a53, armv8_a53_map_event)
PMUV3_INIT_MAP_EVENT(armv8_cortex_a57, armv8_a57_map_event)
@@ -1409,6 +1411,7 @@ static const struct of_device_id armv8_pmu_of_device_ids[] = {
{.compatible = "brcm,vulcan-pmu", .data = armv8_brcm_vulcan_pmu_init},
{.compatible = "nvidia,carmel-pmu", .data = armv8_nvidia_carmel_pmu_init},
{.compatible = "nvidia,denver-pmu", .data = armv8_nvidia_denver_pmu_init},
+ {.compatible = "samsung,mongoose-pmu", .data = armv8_samsung_mongoose_pmu_init},
{},
};
--
2.46.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: pmu: Add Samsung Mongoose core compatible
2024-10-26 20:28 ` [PATCH 1/2] dt-bindings: arm: pmu: Add Samsung Mongoose core compatible Markuss Broks
@ 2024-10-27 21:06 ` Krzysztof Kozlowski
0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-27 21:06 UTC (permalink / raw)
To: Markuss Broks
Cc: Will Deacon, Mark Rutland, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-kernel, devicetree, linux-kernel,
Ivaylo Ivanov, Maksym Holovach
On Sat, Oct 26, 2024 at 11:28:08PM +0300, Markuss Broks wrote:
> Add the compatible for the Samsung Mongoose CPU PMU to the schema.
>
> Co-developed-by: Maksym Holovach <nergzd@nergzd723.xyz>
> Signed-off-by: Maksym Holovach <nergzd@nergzd723.xyz>
> Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
> ---
> Documentation/devicetree/bindings/arm/pmu.yaml | 1 +
> 1 file changed, 1 insertion(+)
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] arm_pmuv3: Add support for Samsung Mongoose PMU
2024-10-26 20:28 [PATCH 0/2] arm_pmuv3: Add support for Samsung Mongoose PMU Markuss Broks
2024-10-26 20:28 ` [PATCH 1/2] dt-bindings: arm: pmu: Add Samsung Mongoose core compatible Markuss Broks
2024-10-26 20:28 ` [PATCH 2/2] perf: arm_pmuv3: Add support for Samsung Mongoose PMU Markuss Broks
@ 2024-10-29 16:15 ` Will Deacon
2 siblings, 0 replies; 5+ messages in thread
From: Will Deacon @ 2024-10-29 16:15 UTC (permalink / raw)
To: Mark Rutland, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Markuss Broks
Cc: catalin.marinas, kernel-team, Will Deacon, linux-arm-kernel,
devicetree, linux-kernel, Ivaylo Ivanov, Maksym Holovach
On Sat, 26 Oct 2024 23:28:07 +0300, Markuss Broks wrote:
> This series adds support to performance monitoring unit of
> the Samsung Mongoose CPU cores. They were released between
> 2016 and 2020, and they were used in Samsung Exynos SoCs,
> such as Exynos 8890, 8895, 9810, 9820 and 990 (9830).
> They implement ARMv8.2-A ISA and they are used as a fast
> cluster (big in the big.little scheme).
>
> [...]
Applied to will (for-next/perf), thanks!
[1/2] dt-bindings: arm: pmu: Add Samsung Mongoose core compatible
https://git.kernel.org/will/c/3930c88ad0a5
[2/2] perf: arm_pmuv3: Add support for Samsung Mongoose PMU
https://git.kernel.org/will/c/9643aaa19473
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-10-29 18:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-26 20:28 [PATCH 0/2] arm_pmuv3: Add support for Samsung Mongoose PMU Markuss Broks
2024-10-26 20:28 ` [PATCH 1/2] dt-bindings: arm: pmu: Add Samsung Mongoose core compatible Markuss Broks
2024-10-27 21:06 ` Krzysztof Kozlowski
2024-10-26 20:28 ` [PATCH 2/2] perf: arm_pmuv3: Add support for Samsung Mongoose PMU Markuss Broks
2024-10-29 16:15 ` [PATCH 0/2] " Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).