Port-arm archive

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

Re: cpu_fdt.c.diff take 2: hangs on mpstart



bad%bsd.de@localhost (Christoph Badura) writes:

[...]
>The reason for those hangs is that cache operations can't be used that
>early on ARM v8/AArch64.  There the cache ops depend on curcpu()'s
>ci_cacheinfo which requires ci_package_id being initialized before
>aarch_getcacheinfo() is called, which isn't done until cpu_attach() runs
>much later during autoconfigure.

Early cache operations are needed in other places too. I've made a patch
that initializes ci_cacheinfo for the boot processor.

http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/wbinv.diff

Please have a look.
-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index