Message ID | 20230411102838.512859-1-mpe@ellerman.id.au (mailing list archive) |
---|---|
State | Accepted |
Commit | 9ab9de2f3aa99ab6245203236d66a057d73b7e9f |
Headers | show |
Series | powerpc/corenet: Add PPC_QEMU_E500 to corenet configs | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/github-powerpc_selftests | success | Successfully ran 8 jobs. |
snowpatch_ozlabs/github-powerpc_ppctests | success | Successfully ran 8 jobs. |
snowpatch_ozlabs/github-powerpc_sparse | success | Successfully ran 4 jobs. |
snowpatch_ozlabs/github-powerpc_clang | success | Successfully ran 6 jobs. |
snowpatch_ozlabs/github-powerpc_kernel_qemu | success | Successfully ran 24 jobs. |
On Tue, 11 Apr 2023 20:28:38 +1000, Michael Ellerman wrote: > Add PPC_QEMU_E500 to corenet_base.config, which is then used to generate > corenet64_smp_defconfig and corenet32_smp_defconfig. > > That then allows both those configs to build kernels that boot in qemu > using the ppce500 machine type and respectively -cpu e5500 or -cpu > e500mc. > > [...] Applied to powerpc/next. [1/1] powerpc/corenet: Add PPC_QEMU_E500 to corenet configs https://git.kernel.org/powerpc/c/9ab9de2f3aa99ab6245203236d66a057d73b7e9f cheers
diff --git a/arch/powerpc/configs/corenet_base.config b/arch/powerpc/configs/corenet_base.config index b568d465e59e..1c40de1e764b 100644 --- a/arch/powerpc/configs/corenet_base.config +++ b/arch/powerpc/configs/corenet_base.config @@ -1 +1,2 @@ CONFIG_CORENET_GENERIC=y +CONFIG_PPC_QEMU_E500=y
Add PPC_QEMU_E500 to corenet_base.config, which is then used to generate corenet64_smp_defconfig and corenet32_smp_defconfig. That then allows both those configs to build kernels that boot in qemu using the ppce500 machine type and respectively -cpu e5500 or -cpu e500mc. The code that is added by PPC_QEMU_E500 just defines another machine with a probe function that recognises qemu, so there should be no change when booting on actual hardware supported by CORENET_GENERIC. The increase in vmlinux size is less than 1KB. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> --- arch/powerpc/configs/corenet_base.config | 1 + 1 file changed, 1 insertion(+)