Skip to content

Commit

Permalink
kernel: add ppc64le fragments
Browse files Browse the repository at this point in the history
Adding support for ppc64le kernel fragments.

Fixes: kata-containers#1898

Signed-off-by: Amulyam24 <amulmek1@in.ibm.com>
  • Loading branch information
Amulyam24 committed May 21, 2021
1 parent 8490618 commit 7dde0b5
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/packaging/kernel/configs/fragments/powerpc/base.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CONFIG_PPC64=y
CONFIG_PPC_PSERIES=y
CONFIG_64BIT=y
CONFIG_HW_RANDOM_PSERIES=y

CONFIG_HAS_IOMEM=y
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
CONFIG_VIRTUALIZATION=y
CONFIG_PPC_OF_BOOT_TRAMPOLINE=y
6 changes: 6 additions & 0 deletions tools/packaging/kernel/configs/fragments/powerpc/cpu.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Items related to CPU

CONFIG_POWER8_CPU=y
CONFIG_CPU_LITTLE_ENDIAN=y
CONFIG_CPU_ISOLATION=y
CONFIG_PPC_DT_CPU_FTRS=y
11 changes: 11 additions & 0 deletions tools/packaging/kernel/configs/fragments/powerpc/mmu.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ppc64le specific memory related items

CONFIG_SPARSEMEM=y
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_PPC_TRANSACTIONAL_MEM=y
CONFIG_PPC64_SUPPORTS_MEMORY_FAILURE=y
CONFIG_NUMA=y
CONFIG_NODES_SHIFT=8
CONFIG_PPC_RADIX_MMU_DEFAULT=y
CONFIG_PPC_RADIX_MMU=y
3 changes: 3 additions & 0 deletions tools/packaging/kernel/configs/fragments/powerpc/ptp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# PTP clock support

CONFIG_PTP_1588_CLOCK=y

0 comments on commit 7dde0b5

Please sign in to comment.