Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: UltraSPARC III/IIe cpufreq drivers, please test



On Mon, Sep 29, 2014 at 02:19:00PM +1000, matthew green wrote:
> this is some what tricky.  ideally, it should be derived from
> the cpu device, and that should find and talk to the schizo
> device that controls it.

Since mainbus device detection is mostly hardcoded, can't we rely on all
cpus to attach their autoconfig device node before any pci root hub is
attached?

That should allow the cpu_attach() code to set a device property like
"pciA-address" and "pciB-address" and then schizo/psycho/whatever
attach code to simply iterate over all CPUs and find the one it would
controll (or none).

Martin


Home | Main Index | Thread Index | Old Index