Thread (3 messages) flat view 3 messages, 2 authors, 2021-10-14

Re: [PATCH] powerpc/64s: Default to 64K pages for 64 bit book3s

From: Joel Stanley <joel@jms.id.au>
Date: 2021-10-14 07:15:11

On Thu, 14 Oct 2021 at 07:03, LEROY Christophe
[off-list ref] wrote:


Le 14/10/2021 à 01:31, Joel Stanley a écrit :
quoted
For 64-bit book3s the default should be 64K as that's what modern CPUs
are designed for.

The following defconfigs already set CONFIG_PPC_64K_PAGES:

  cell_defconfig
  pasemi_defconfig
  powernv_defconfig
  ppc64_defconfig
  pseries_defconfig
  skiroot_defconfig

The have the option removed from the defconfig, as it is now the
default.

The defconfigs that now need to set CONFIG_PPC_4K_PAGES to maintain
their existing behaviour are:

  g5_defconfig
  maple_defconfig
  microwatt_defconfig
  ps3_defconfig

Link: https://github.com/linuxppc/issues/issues/109
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
  arch/powerpc/Kconfig                     | 1 +
  arch/powerpc/configs/cell_defconfig      | 1 -
  arch/powerpc/configs/g5_defconfig        | 1 +
  arch/powerpc/configs/maple_defconfig     | 1 +
  arch/powerpc/configs/microwatt_defconfig | 2 +-
  arch/powerpc/configs/pasemi_defconfig    | 1 -
  arch/powerpc/configs/powernv_defconfig   | 1 -
  arch/powerpc/configs/ppc64_defconfig     | 1 -
  arch/powerpc/configs/ps3_defconfig       | 1 +
  arch/powerpc/configs/pseries_defconfig   | 1 -
  arch/powerpc/configs/skiroot_defconfig   | 1 -
  11 files changed, 5 insertions(+), 7 deletions(-)
quoted
diff --git a/arch/powerpc/configs/microwatt_defconfig b/arch/powerpc/configs/microwatt_defconfig
index 9465209b8c5b..556ec5eec684 100644
--- a/arch/powerpc/configs/microwatt_defconfig
+++ b/arch/powerpc/configs/microwatt_defconfig
@@ -1,7 +1,6 @@
  # CONFIG_SWAP is not set
  # CONFIG_CROSS_MEMORY_ATTACH is not set
  CONFIG_HIGH_RES_TIMERS=y
-CONFIG_PREEMPT_VOLUNTARY=y
This seems unrelated.
It is, thanks for catching that.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help