summary refs log tree commit diff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorFu Wei <fu.wei@linaro.org>2017-04-01 01:51:03 +0800
committerMark Rutland <mark.rutland@arm.com>2017-04-19 16:59:59 +0100
commita712c3ed9b8a4565a200f3e8e09c42079b1666b3 (patch)
tree82353265fc016712c4fa008b30d8282c25368d84 /drivers/clocksource
parentf79d209405fada700047245ed1a152bab8d6535e (diff)
downloadlinux-a712c3ed9b8a4565a200f3e8e09c42079b1666b3.tar.gz
acpi/arm64: Add memory-mapped timer support in GTDT driver
On platforms booting with ACPI, architected memory-mapped timers'
configuration data is provided by firmware through the ACPI GTDT
static table.

The clocksource architected timer kernel driver requires a firmware
interface to collect timer configuration and configure its driver.
this infrastructure is present for device tree systems, but it is
missing on systems booting with ACPI.

Implement the kernel infrastructure required to parse the static
ACPI GTDT table so that the architected timer clocksource driver can
make use of it on systems booting with ACPI, therefore enabling
the corresponding timers configuration.

Signed-off-by: Fu Wei <fu.wei@linaro.org>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
[Mark: restructure error handling]
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions