[OpenBIOS] Patch:Add 7447a support.
Segher Boessenkool
segher at kernel.crashing.org
Sat Jan 20 16:51:36 CET 2018
On Sat, Jan 20, 2018 at 09:38:21AM -0500, Jd Lyons via OpenBIOS wrote:
> This patch should get all 7447a cpus working with openbios, needs a corresponding patch to Qemu-ppc for the v1.5
>
> diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c
> index 5ce080c..09b2db4 100644
> --- a/arch/ppc/qemu/init.c
> +++ b/arch/ppc/qemu/init.c
> @@ -550,6 +550,18 @@ static const struct cpudef ppc_defs[] = {
> .tlb_size = 0x80,
> .initfn = cpu_g4_init,
> },
> + .iu_version = 0x80030000,
> + .name = "PowerPC,G4",
> + .icache_size = 0x8000,
> + .dcache_size = 0x8000,
> + .icache_sets = 0x80,
> + .dcache_sets = 0x80,
> + .icache_block_size = 0x20,
> + .dcache_block_size = 0x20,
> + .tlb_sets = 0x40,
> + .tlb_size = 0x80,
> + .initfn = cpu_g4_init,
> +},
These numbers are all correct (I checked against the manual).
Should there be something for L2 as well?
Segher
More information about the OpenBIOS
mailing list