1*6a2061fdSChris Frairecommit 3595fbc9 (HEAD -> master, origin/master, origin/HEAD) 2*6a2061fdSChris FraireAuthor: jhibbits <jhibbits@FreeBSD.org> 3*6a2061fdSChris FraireDate: Wed Feb 27 03:30:49 2019 +0000 4*6a2061fdSChris Fraire 5*6a2061fdSChris Fraire powerpc/mpc85xx: Synchronize timebase the platform correct way 6*6a2061fdSChris Fraire 7*6a2061fdSChris Fraire Summary: 8*6a2061fdSChris Fraire To safely synchronize timebase we need to disable the timebase on all 9*6a2061fdSChris Fraire cores, set timebase, and resynchronize. This adds two new devices, mutually 10*6a2061fdSChris Fraire exclusive, which attach on the SoC simplebus, to freeze and unfreeze the 11*6a2061fdSChris Fraire timebase. The devices are singletons, and platform-specific, so no reason 12*6a2061fdSChris Fraire to make them optional and in separate files. 13*6a2061fdSChris Fraire 14*6a2061fdSChris Fraire This was found to be necessary for top(1) to work correctly on an AmigaOne 15*6a2061fdSChris Fraire X5000 (P5020 SoC). It also fixes bufdaemon and bufspacedaemon hangs at 16*6a2061fdSChris Fraire shutdown. 17*6a2061fdSChris Fraire 18*6a2061fdSChris Fraire Test Plan: Regression test on various Book-E hardware. 19*6a2061fdSChris Fraire 20*6a2061fdSChris Fraire Reviewed by: nwhitehorn 21*6a2061fdSChris Fraire Tested by: Brandon Bergren (git_bdragon.rtk0.net) 22*6a2061fdSChris Fraire MFC after: 2 weeks 23*6a2061fdSChris Fraire Differential Revision: https://reviews.freebsd.org/D19208 24*6a2061fdSChris Fraire 25*6a2061fdSChris Frairecommit 90691f35 26*6a2061fdSChris FraireAuthor: ian <ian@FreeBSD.org> 27*6a2061fdSChris FraireDate: Tue Feb 26 22:52:41 2019 +0000 28*6a2061fdSChris Fraire 29*6a2061fdSChris Fraire Add a module dependency on fdt_slicer. Also, move the PNP_INFO to its more 30*6a2061fdSChris Fraire usual location, down near the DRIVER_MODULE() stuff. 31