History log of /netbsd/sys/arch/powerpc/oea/cpu_subr.c (Results 1 – 25 of 108)
Revision Date Author Comments
# 7b8fac09 21-Mar-2021 rin <rin@NetBSD.org>

Fix copy-paste.


# 77a65f26 26-Feb-2021 thorpej <thorpej@NetBSD.org>

Split cpu_model_init() into cpu_features_probe() and cpu_features_enable()
so that early bootstrap can do those two steps independently, if needed.

Continue to provide a cpu_model_init() wrapper for

Split cpu_model_init() into cpu_features_probe() and cpu_features_enable()
so that early bootstrap can do those two steps independently, if needed.

Continue to provide a cpu_model_init() wrapper for now.

show more ...


# d074464c 26-Feb-2021 thorpej <thorpej@NetBSD.org>

Declare oeacpufeat once, in powerpc/oea/cpu_subr.c, rather than in
N different locore.S files.


# 800148fb 24-Feb-2021 thorpej <thorpej@NetBSD.org>

Add a provision for a per-cpu battable. Each CPU starts with the global
one, but this allows CPUs to temporarily switch to an alternate battable
if needed.


# ccd41970 06-Jul-2020 rin <rin@NetBSD.org>

Include missing opt_ppcarch.h.


# 45cb1d76 06-Jul-2020 rin <rin@NetBSD.org>

Style and cosmetic changes. No binary changes intended.


# dee3b177 25-Oct-2019 macallan <macallan@NetBSD.org>

register the IPI before spinning up CPUs, and make sure to do it exactly once
with this, and previous commits, G5s with four CPUs work
tested by Romain Dolbeau


# 02334677 20-Sep-2019 macallan <macallan@NetBSD.org>

don't enable NAP mode on 7450 CPUs - my Quicksilver has two of those and we
hang hard shortly after boot with NAP enabled, even on UP kernels


# 07b3df4b 02-Aug-2019 macallan <macallan@NetBSD.org>

first step to address PR54331:
poll h->hatch_running for a bit instead of blindly relying on a fixed timeout
for secondary CPUs to wake up and get ready

needs more testing, possibly pullup


# f6848df7 06-Feb-2019 mrg <mrg@NetBSD.org>

- add or adjust fallthru comments


# 8a15b46b 06-Jan-2019 phx <phx@NetBSD.org>

Only execute dssall when the CPU has the Altivec instruction set extension.


# 17178879 15-Jun-2018 uwe <uwe@NetBSD.org>

Fix fmttab value for L2CR_L2PE (parity enabled) so that we don't print
self-contradictory "no parity parity enabled".


# 8d57cfd9 08-Jun-2018 macallan <macallan@NetBSD.org>

when switching CPU speed using DFS, only use xcalls on MULTIPROCESSOR kernels


# 84e3c817 01-Jun-2018 macallan <macallan@NetBSD.org>

add clock speed control for 970MP CPUs


# 8853e0b0 25-May-2018 macallan <macallan@NetBSD.org>

copy HID1 from the boot CPU to secondary CPUs as well on 64bit CPUs
now the 2nd CPU on my G5s runs at full speed


# 06e24e05 04-May-2018 macallan <macallan@NetBSD.org>

save & restore HID4 and HID5, zero SPR_HIOR on 970


# f1e9b6bd 29-Mar-2018 macallan <macallan@NetBSD.org>

fix build for 32bit non-bridge SMP kernels


# 4ba1f53b 22-Mar-2018 macallan <macallan@NetBSD.org>

first step towards G5 SMP:
- only save/restore BATs on CPUs that have them
- treat HID0 as 64bit on 64bit CPUs


# 77490fd5 04-Mar-2018 mrg <mrg@NetBSD.org>

avoid 32 bit only code in 64 bit mode.


# 34495f22 16-Feb-2018 macallan <macallan@NetBSD.org>

use mtspr64() in bridge mode


# bada5665 21-Jan-2018 mrg <mrg@NetBSD.org>

fix ofppc/pegasosII (and maybe others).

don't assume PPC_OEA64_BRIDGE means we have a 64 bit cpu (code
for 64 bit in bridge and normal 32 bit can co-exist due to
fixups the early boot code does has,

fix ofppc/pegasosII (and maybe others).

don't assume PPC_OEA64_BRIDGE means we have a 64 bit cpu (code
for 64 bit in bridge and normal 32 bit can co-exist due to
fixups the early boot code does has, and ofppc builds GENERIC
this way):
- fix mtmsr()/mfmsr() to use the right method based upon the
actually cpu booted on.
- fix cpu_setup() to have 32 bit and 64 bit hid0 variables
and operate on the right one based upon the current cpu.
restore a minor optimisation of not writing hid0 if it
didn't change.

in set_timebase() check if OF_finddevice("/cpus/@0") failed
and returned -1 before using it for OF_getprop().

show more ...


# 8fa3c870 06-Jan-2018 snj <snj@NetBSD.org>

fix a few typos in comments


# 3bbeccce 30-Sep-2017 macallan <macallan@NetBSD.org>

use 7450 HID0 bitmask on 7447A and 7448 as well


# 7c013b07 11-Jul-2017 maya <maya@NetBSD.org>

inline HAVE_64BIT_HID0 and remove macro definition.

Fixes llvm INSTALL kernel build, which failed with:
error: macro expansion producing 'defined' has undefined behavior


# 4bce1e31 07-Jul-2017 macallan <macallan@NetBSD.org>

remove accidential debug printf()


12345