freebsd-dev/sys/powerpc/mpc85xx
Justin Hibbits 0d69f00b4d powerpc/mpc85xx: Synchronize timebase the platform correct way
Summary:
To safely synchronize timebase we need to disable the timebase on all
cores, set timebase, and resynchronize.  This adds two new devices, mutually
exclusive, which attach on the SoC simplebus, to freeze and unfreeze the
timebase.  The devices are singletons, and platform-specific, so no reason
to make them optional and in separate files.

This was found to be necessary for top(1) to work correctly on an AmigaOne
X5000 (P5020 SoC).  It also fixes bufdaemon and bufspacedaemon hangs at
shutdown.

Test Plan: Regression test on various Book-E hardware.

Reviewed by:	nwhitehorn
Tested by:	Brandon Bergren (git_bdragon.rtk0.net)
MFC after:	2 weeks
Differential Revision: https://reviews.freebsd.org/D19208
2019-02-27 03:30:49 +00:00
..
atpic.c Add ISA PNP tables to ISA drivers. Fix a few incidental comments. 2018-01-29 00:22:30 +00:00
ds1553_bus_fdt.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
ds1553_core.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
ds1553_reg.h sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
fsl_diu.c Use a resource hint instead of environment variable for DIU mode 2018-04-16 04:02:53 +00:00
fsl_espi.c Add Freescale eSPI driver found on QorIQ SoCs 2017-04-02 01:21:35 +00:00
fsl_sata.c Make fsl_sata driver work on P1022 2018-01-16 04:50:23 +00:00
fsl_sata.h Add Freescale QorIQ SATA controller support. 2017-11-05 02:47:46 +00:00
i2c.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
isa.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
lbc.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
lbc.h sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mpc85xx_cache.c Only look for L2 cache controllers for mpc85xx_cache 2018-02-04 20:07:08 +00:00
mpc85xx_gpio.c Don't bother checking core version 2017-03-24 01:52:10 +00:00
mpc85xx.c Remove dead errata fixup code 2018-05-01 04:31:17 +00:00
mpc85xx.h Remove dead errata fixup code 2018-05-01 04:31:17 +00:00
pci_mpc85xx_pcib.c powerpc/mpc85xx: Make Freescale PCI bridge driver a subclass of ofw_pcib_pci 2018-10-21 02:39:13 +00:00
pci_mpc85xx.c powerpc/mpc85xx: Reset the PCIe bus on attach 2018-10-30 00:47:40 +00:00
platform_mpc85xx.c powerpc/mpc85xx: Synchronize timebase the platform correct way 2019-02-27 03:30:49 +00:00
qoriq_gpio.c Switch qoriq_gpio over to using ofw_bus_search_compatible 2017-03-24 01:30:18 +00:00