linux_dsm_epyc7002/Documentation/devicetree/bindings
Doug Anderson 65b5732d24 clocksource: arch_timer: Allow the device tree to specify uninitialized timer registers
Some 32-bit (ARMv7) systems are architected like this:

* The firmware doesn't know and doesn't care about hypervisor mode and
  we don't want to add the complexity of hypervisor there.

* The firmware isn't involved in SMP bringup or resume.

* The ARCH timer come up with an uninitialized offset (CNTVOFF)
  between the virtual and physical counters.  Each core gets a
  different random offset.

* The device boots in "Secure SVC" mode.

* Nothing has touched the reset value of CNTHCTL.PL1PCEN or
  CNTHCTL.PL1PCTEN (both default to 1 at reset)

On systems like the above, it doesn't make sense to use the virtual
counter.  There's nobody managing the offset and each time a core goes
down and comes back up it will get reinitialized to some other random
value.

This adds an optional property which can inform the kernel of this
situation, and firmware is free to remove the property if it is going
to initialize the CNTVOFF registers when each CPU comes out of reset.

Currently, the best course of action in this case is to use the
physical timer, which is why it is important that CNTHCTL hasn't been
changed from its reset value and it's a reasonable assumption given
that the firmware has never entered HYP mode.

Note that it's been said that on ARMv8 systems the firmware and
kernel really can't be architected as described above.  That means
using the physical timer like this really only makes sense for ARMv7
systems.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2014-12-04 23:31:55 -08:00
..
arc
arm clocksource: arch_timer: Allow the device tree to specify uninitialized timer registers 2014-12-04 23:31:55 -08:00
ata ata: qcom: Add device tree bindings information 2014-09-23 09:16:56 -04:00
bus bcma: use chipcommon node from DT for SoC GPIO chip 2014-09-30 13:17:14 -04:00
c6x
clock The clk tree changes for 3.18 are dominated by clock drivers. Mostly 2014-10-15 07:05:03 +02:00
cpufreq cpufreq: cpu0: rename driver and internals to 'cpufreq_dt' 2014-10-03 15:37:54 +02:00
crypto Documentation: treewide: fix typos and grammar 2014-08-26 09:35:51 +02:00
dma Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2014-10-18 18:11:04 -07:00
drm drm/tilcdc: panel: Add support for enable GPIO 2014-09-17 10:55:27 +10:00
extcon dt-bindings: extcon: Add support for Richtek RT8973A MUIC device 2014-09-22 11:43:08 +09:00
fb
fuse
gpio power supply and reset changes for the v3.18 series 2014-10-15 06:56:23 +02:00
gpu ARM: SoC device-tree changes for 3.17 2014-08-08 11:16:58 -07:00
hid
hsi
hwmon hwmon: (ntc_thermistor) Add ntc thermistor to thermal subsystem as a sensor. 2014-09-22 11:14:52 -07:00
hwrng
i2c Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2014-10-19 12:50:44 -07:00
iio Staging patches for 3.18-rc1 2014-10-08 06:50:18 -04:00
input Merge branch 'next' into for-linus 2014-10-03 11:24:46 -07:00
interrupt-controller Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-10-09 06:42:04 -04:00
iommu iommu/arm-smmu: support MMU-401 2014-09-16 19:15:23 +01:00
leds leds: add device tree bindings for register bit LEDs 2014-09-26 00:27:19 +02:00
lpddr2
mailbox Documentation: dt: add omap mailbox bindings 2014-09-11 11:39:14 -07:00
media [media] rc: Add DT bindings for hix5hd2 2014-09-23 16:13:51 -03:00
memory-controllers Documentation: devicetree: Add binding for Synopsys DDR controller 2014-09-16 12:55:05 +02:00
metag
mfd Changes to existing drivers: 2014-10-15 06:58:16 +02:00
mipi
mips
misc
mmc mmc: tmio-mmc: Add support for SDHI on new R-Car Gen2 SoCs 2014-09-09 13:59:19 +02:00
mtd MTD updates for 3.18 2014-10-18 11:48:03 -07:00
net stmmac: dwmac-sti: review the glue-logic for STi4xx and STiD127 SoCs 2014-10-14 16:40:06 -04:00
nvec
panel drm/panel/simple: add optronics B101XTN01.0 (v3) 2014-09-10 11:19:07 -04:00
pci Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux 2014-10-11 20:34:00 -04:00
phy USB patches for 3.18-rc1 2014-10-08 06:47:31 -04:00
pinctrl This is the bulk of pin control changes for the v3.18 2014-10-07 20:56:28 -04:00
power power supply and reset changes for the v3.18 series 2014-10-15 06:56:23 +02:00
power_supply Documentation: treewide: fix typos and grammar 2014-08-26 09:35:51 +02:00
powerpc powerpc/85xx: Add binding for CPLD 2014-07-31 00:10:45 -05:00
pps
pwm pwm: rockchip: document RK3288 SoC compatible 2014-08-08 13:12:46 +02:00
regmap regmap: Add the DT binding documentation for endianness 2014-08-16 16:56:23 -05:00
regulator ARM: SoC DT updates for 3.18 2014-10-08 17:22:23 -04:00
reserved-memory
reset
rng Documentation: rng: Add X-Gene SoC RNG driver documentation 2014-08-29 21:46:40 +08:00
rtc Documentation: dt-bindings: trickle charger dt binding document for ds1339 2014-10-14 02:18:18 +02:00
serial DTS: serial: Add bindings documention for the Mediatek UARTs 2014-09-10 06:59:41 -07:00
serio
soc Documentation: dt: soc: add Keystone Navigator DMA bindings 2014-09-24 09:49:15 -04:00
sound sound updates for 3.18-rc1 2014-10-10 22:13:25 -04:00
spi Merge remote-tracking branches 'spi/topic/pl022', 'spi/topic/pxa2xx', 'spi/topic/rspi', 'spi/topic/sh-msiof' and 'spi/topic/sirf' into spi-next 2014-10-03 16:33:42 +01:00
spmi
staging Staging patches for 3.18-rc1 2014-10-08 06:50:18 -04:00
thermal
timer Renesas Clocksource Updates for v3.18 2014-09-29 01:59:51 +02:00
ufs ufs: Add freq-table-hz property for UFS device 2014-10-01 13:11:25 +02:00
usb usb3503: fix typos in devicetree binding documentation 2014-09-23 22:15:18 -07:00
video fbdev changes for 3.18 2014-10-18 18:03:02 -07:00
virtio
w1
watchdog watchdog: imx2_wdt: adds big endianness support. 2014-08-05 22:43:11 +02:00
x86
xillybus xillybus: Move out of staging 2014-09-23 23:44:16 -07:00
ABI.txt
eeprom.txt
graph.txt
marvell.txt
open-pic.txt
resource-names.txt
submitting-patches.txt
vendor-prefixes.txt Merge tag 'qcom-dt-for-3.18-3' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom into fixes 2014-10-19 13:39:08 -07:00
xilinx.txt