Home
last modified time | relevance | path

Searched hist:"40 a0de1972bc9a12470b10bc08b7174e4990b30c" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/arm/board/arm_fpga/
H A Dfpga_bl31_setup.c40a0de1972bc9a12470b10bc08b7174e4990b30c Mon Aug 03 11:55:28 UTC 2020 Andre Przywara <andre.przywara@arm.com> arm_fpga: Remove SPE PMU DT node if SPE is not available

The Statistical Profiling Extension (SPE) is an architectural feature we
can safely detect at runtime. However it still relies on one piece of
platform-specific information: the interrupt line it is connected
to. This requires SPE to be described in a devicetree node.

Since SPE support varies with the CPU cores found on an FPGA image, we
should detect the presence of SPE at runtime, and remove a potentially
existing SPE PMU node from the DT.

This allows to always have the SPE node in a generic devicetree file,
without risking exposing it on a CPU without this feature.

Change-Id: I73d83ea8509b03fe7bba20b9cce8d1335035fa31
Signed-off-by: Andre Przywara <andre.przywara@arm.com>