HomeFreeBSD

powerpc/aim: Update timebase directly on resume instead of through platform

Description

powerpc/aim: Update timebase directly on resume instead of through platform

This only works on single-CPU G4 systems, and more work is needed for
dual-CPU systems. That said, platform sleep does not work, and this is
currently only used for PMU-based CPU speed change.

The elimination of the platform_smp_timebase_sync() call is so that the
timebase sync rendezvous can be enhanced to perform better
synchronization, which requires a full rendezvous. This would be
impossible to do on this single-threaded run.

(cherry picked from commit 921716186f121a2f6a27178cb302415f37412a79)

Details

Provenance
jhibbitsAuthored on Mar 31 2021, 4:54 PM
bdragonCommitted on Apr 20 2021, 4:13 AM
Parents
rGac42b63648b1: powerpc/powermac: Constrain 'cpu_sleep()' for AIM to mpc745x
Branches
Unknown
Tags
Unknown