Re: [PATCH] perf vendor events power10: Add metric events json file for power10 platform

2021-10-08 Thread kajoljain
On 10/6/21 11:02 PM, Paul A. Clarke wrote: > Kajol, > > On Wed, Oct 06, 2021 at 01:01:19PM +0530, Kajol Jain wrote: >> Add pmu metric json file for power10 platform. > > Thanks for producing this! A few minor corrections, plus a number of > stylistic comments below... Hi Paul, I will

Re: [PATCH 0/5] powerpc: various interrupt handling fixes

2021-10-08 Thread Michael Ellerman
On Tue, 5 Oct 2021 00:56:37 +1000, Nicholas Piggin wrote: > This fixes a number of bugs found mostly looking at a MCE handler issue, > which should be fixed in patch 5 of the series, previous attempt here > which Ganesh found to be wrong. > >

Re: [PATCH v2 00/10] powerpc/bpf: Various fixes

2021-10-08 Thread Michael Ellerman
On Wed, 6 Oct 2021 01:55:19 +0530, Naveen N. Rao wrote: > This is v2 of the series posted at: > http://lkml.kernel.org/r/cover.1633104510.git.naveen.n@linux.vnet.ibm.com > > Only patches from v1 that need to go into powerpc/fixes are included. > Other patches will be posted as a separate

Re: [PATCH] pseries/eeh: fix the kdump kernel crash during eeh_pseries_init

2021-10-08 Thread Michael Ellerman
On Mon, 20 Sep 2021 22:03:26 +0530, Mahesh Salgaonkar wrote: > On pseries lpar when an empty slot is assigned to partition OR on single > lpar mode, kdump kernel crashes during issuing PHB reset. In the kdump > scenario, we traverse all PHBs and issue reset using the pe_config_addr of > first

Re: [PATCH v6 19/22] powerpc/book3s64/hash/kuap: Enable kuap on hash

2021-10-08 Thread Christophe Leroy
Le 25/11/2020 à 06:16, Aneesh Kumar K.V a écrit : Reviewed-by: Sandipan Das Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/mm/book3s64/pkeys.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/mm/book3s64/pkeys.c b/arch/powerpc/mm/book3s64/pkeys.c

Re: [PATCH 07/12] powerpc: Use of_get_cpu_hwid()

2021-10-08 Thread Michael Ellerman
Rob Herring writes: > Replace open coded parsing of CPU nodes' 'reg' property with > of_get_cpu_hwid(). > > Cc: Michael Ellerman > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Rob Herring > --- > arch/powerpc/kernel/smp.c | 7 +-- >

Re: [PATCH] powerpc/32s: Fix kuap_kernel_restore()

2021-10-08 Thread Michael Ellerman
On Wed, 15 Sep 2021 16:12:24 +0200, Christophe Leroy wrote: > At interrupt exit, kuap_kernel_restore() calls kuap_unclok() with the > value contained in regs->kuap. However, when regs->kuap contains > 0x it means that KUAP was not unlocked so calling > kuap_unlock() is unrelevant and

Re: [PATCH] powerpc/pseries/msi: Add an empty irq_write_msi_msg() handler

2021-10-08 Thread Michael Ellerman
On Thu, 30 Sep 2021 12:25:35 +0200, Cédric Le Goater wrote: > The IPR drivers tests for MSI support at probe time with MSI vector 0 > and when done, frees the IRQ with free_irq(). This test was introduced > by 95fecd90397e ("ipr: add test for MSI interrupt support") as an > improvement of commit

[PATCH] lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()

2021-10-08 Thread Christophe Leroy
On a kernel without CONFIG_STRICT_KERNEL_RWX, running EXEC_RODATA test leads to "Illegal instruction" failure. Looking at the content of rodata_objcopy.o, we see that the function content zeroes only: Disassembly of section .rodata: <.lkdtm_rodata_do_nothing>:

[PATCH v2 06/16] powerpc/kuap: Add kuap_lock()

2021-10-08 Thread Christophe Leroy
Add kuap_lock() and call it when entering interrupts from user. It is called kuap_lock() as it is similar to kuap_save_and_lock() without the save. However book3s/32 already have a kuap_lock(). Rename it kuap_lock_addr(). Signed-off-by: Christophe Leroy ---

[PATCH v2 13/16] powerpc/kuap: Wire-up KUAP on 40x

2021-10-08 Thread Christophe Leroy
This adds KUAP support to 40x. This is done by checking the content of SPRN_PID at the time user pgtable is loaded. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_40x.S | 8 arch/powerpc/platforms/Kconfig.cputype | 1 + 2 files changed, 9 insertions(+) diff --git

[PATCH v2 16/16] powerpc: Remove CONFIG_PPC_HAVE_KUAP

2021-10-08 Thread Christophe Leroy
All platforms now have KUAP so remove CONFIG_PPC_HAVE_KUAP Signed-off-by: Christophe Leroy --- arch/powerpc/mm/nohash/kup.c | 1 - arch/powerpc/platforms/Kconfig.cputype | 11 --- 2 files changed, 12 deletions(-) diff --git a/arch/powerpc/mm/nohash/kup.c

[PATCH v2 01/16] powerpc/32s: Do kuep_lock() and kuep_unlock() in assembly

2021-10-08 Thread Christophe Leroy
When interrupt and syscall entries where converted to C, KUEP locking and unlocking was also converted. It improved performance by unrolling the loop, and allowed easily implementing boot time deactivation of KUEP. However, null_syscall selftest shows that KUEP is still heavy (361 cycles with

[PATCH v2 02/16] powerpc/32s: Save content of sr0 to avoid 'mfsr'

2021-10-08 Thread Christophe Leroy
Calling 'mfsr' to get the content of segment registers is heavy, in addition it requires clearing of the 'reserved' bits. In order to avoid this operation, save it in mm context and in thread struct. The saved sr0 is the one used by kernel, this means that on locking entry it can be used as is.

[PATCH 0/3] Update crashkernel offset to allow kernel to boot on large config LPARs

2021-10-08 Thread Sourabh Jain
As the crashkernel reserve memory at 128MB offset in the first memory block, it leaves less than 128MB memory to accommodate other essential system resources that need memory reservation in the same block. This creates kernel boot failure on large config LPARs having core count greater than 192.

[PATCH v2 09/16] powerpc/kuap: Prepare for supporting KUAP on BOOK3E/64

2021-10-08 Thread Christophe Leroy
Also call kuap_lock() and kuap_save_and_lock() from interrupt functions with CONFIG_PPC64. For book3s/64 we keep them empty as it is done in assembly. Also do the locked assert when switching task unless it is book3s/64. Signed-off-by: Christophe Leroy ---

[PATCH v2 11/16] powerpc: Add KUAP support for BOOKE and 40x

2021-10-08 Thread Christophe Leroy
On booke/40x we don't have segments like book3s/32. On booke/40x we don't have access protection groups like 8xx. Use the PID register to provide user access protection. Kernel address space can be accessed with any PID. User address space has to be accessed with the PID of the user. User PID is

[PATCH v2 00/16] powerpc: Add KUAP support for BOOKE and 40x

2021-10-08 Thread Christophe Leroy
On booke/40x we don't have segments like book3s/32. On booke/40x we don't have access protection groups like 8xx. Use the PID register to provide user access protection. Kernel address space can be accessed with any PID. User address space has to be accessed with the PID of the user. User PID is

[PATCH v2 03/16] powerpc/kuap: Add a generic intermediate layer

2021-10-08 Thread Christophe Leroy
Make the following functions generic to all platforms. - bad_kuap_fault() - kuap_assert_locked() - kuap_save_and_lock() (PPC32 only) - kuap_kernel_restore() - kuap_get_and_assert_locked() And for all platforms except book3s/64 - allow_user_access() - prevent_user_access() -

[PATCH v2 05/16] powerpc/kuap: Remove __kuap_assert_locked()

2021-10-08 Thread Christophe Leroy
__kuap_assert_locked() is redundant with __kuap_get_and_assert_locked(). Move the verification of CONFIG_PPC_KUAP_DEBUG in kuap_assert_locked() and make it call __kuap_get_and_assert_locked() directly. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/32/kup.h | 5 -

[PATCH v2 10/16] powerpc/kuap: Make PPC_KUAP_DEBUG depend on PPC_KUAP only

2021-10-08 Thread Christophe Leroy
PPC_KUAP_DEBUG is supported by all platforms doing PPC_KUAP, it doesn't depend on Radix on book3s/64. This will avoid adding one more dependency when implementing KUAP on book3e/64. Signed-off-by: Christophe Leroy --- v2: New --- arch/powerpc/platforms/Kconfig.cputype | 2 +- 1 file changed, 1

[PATCH v2 14/16] powerpc/kuap: Wire-up KUAP on 85xx in 32 bits mode.

2021-10-08 Thread Christophe Leroy
This adds KUAP support to 85xx in 32 bits mode. This is done by reading the content of SPRN_MAS1 and checking the TID at the time user pgtable is loaded. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_fsl_booke.S | 12 arch/powerpc/platforms/Kconfig.cputype | 1 +

[PATCH 1/3] fixup mmu_features immediately after getting cpu pa features.

2021-10-08 Thread Sourabh Jain
From: Mahesh Salgaonkar On system with radix support available, early_radix_enabled() starts returning true for a small window (until mmu_early_init_devtree() is called) even when radix mode disabled on kernel command line. This causes ppc64_bolted_size() to return ULONG_MAX in HPT mode instead

[PATCH v2 08/16] powerpc/config: Add CONFIG_BOOKE_OR_40x

2021-10-08 Thread Christophe Leroy
We have many functionnalities common to 40x and BOOKE, it leads to many places with #if defined(CONFIG_BOOKE) || defined(CONFIG_40x). We are going to add a few more with KUAP for booke/40x, so create a new symbol which is defined when either BOOKE or 40x is defined. Signed-off-by: Christophe

[PATCH v2 15/16] powerpc/kuap: Wire-up KUAP on book3e/64

2021-10-08 Thread Christophe Leroy
This adds KUAP support to book3e/64. This is done by reading the content of SPRN_MAS1 and checking the TID at the time user pgtable is loaded. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/nohash/tlb_low_64e.S | 40 ++ arch/powerpc/platforms/Kconfig.cputype | 1

[PATCH v2 12/16] powerpc/kuap: Wire-up KUAP on 44x

2021-10-08 Thread Christophe Leroy
This adds KUAP support to 44x. This is done by checking the content of SPRN_PID at the time it is read and written into SPRN_MMUCR. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_44x.S | 16 arch/powerpc/platforms/Kconfig.cputype | 1 + 2 files changed,

[PATCH v2 07/16] powerpc/nohash: Move setup_kuap out of 8xx.c

2021-10-08 Thread Christophe Leroy
In order to reuse it on booke/4xx, move KUAP setup routine out of 8xx.c Make them usable on SMP by removing the __init tag as it is called for each CPU. And use __prevent_user_access() instead of hard coding initial lock. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/nohash/8xx.c|

[PATCH v2 04/16] powerpc/kuap: Check KUAP activation in generic functions

2021-10-08 Thread Christophe Leroy
Today, every platform checks that KUAP is not de-activated before doing the real job. Move the verification out of platform specific functions. Signed-off-by: Christophe Leroy --- v2: Added missing check in bad_kuap_fault() --- arch/powerpc/include/asm/book3s/32/kup.h | 34 +++-

[PATCH 3/3] powerpc: Set crashkernel offset to mid of RMA region

2021-10-08 Thread Sourabh Jain
On large config LPARs (having 192 and more cores), Linux fails to boot due to insufficient memory in the first memblock. It is due to the memory reservation for the crash kernel which starts at 128MB offset of the first memblock. This memory reservation for the crash kernel doesn't leave enough

[PATCH 2/3] Remove 256MB limit restriction for boot cpu paca allocation

2021-10-08 Thread Sourabh Jain
From: Mahesh Salgaonkar At the time when we detect and allocate paca for boot cpu, we havn't yet detected mmu feature of 1T segments support (not until mmu_early_init_devtree() call). This causes ppc64_bolted_size() to return 256MB as limit forcing boot cpu paca allocation below 256MB always.

Re: [PATCH v3] PCI: Move pci_dev_is/assign_added() to pci.h

2021-10-08 Thread Bjorn Helgaas
On Tue, Jul 20, 2021 at 05:01:45PM +0200, Niklas Schnelle wrote: > The helper function pci_dev_is_added() from drivers/pci/pci.h is used in > PCI arch code of both s390 and powerpc leading to awkward relative > includes. Move it to the global include/linux/pci.h and get rid of these > includes

Re: [PATCH 1/5] dt-bindings: memory: fsl: convert ifc binding to yaml schema

2021-10-08 Thread Li Yang
On Mon, Oct 4, 2021 at 4:32 AM Krzysztof Kozlowski wrote: > > On 01/10/2021 18:17, Li Yang wrote: > > On Fri, Oct 1, 2021 at 5:01 AM Krzysztof Kozlowski > > wrote: > >> > > (...) > > >>> + > >>> + interrupts: > >>> +minItems: 1 > >>> +maxItems: 2 > >>> +description: | > >>> +

Re: [PATCH] lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()

2021-10-08 Thread Nick Desaulniers
On Fri, Oct 8, 2021 at 9:59 AM Christophe Leroy wrote: > > On a kernel without CONFIG_STRICT_KERNEL_RWX, running EXEC_RODATA > test leads to "Illegal instruction" failure. > > Looking at the content of rodata_objcopy.o, we see that the > function content zeroes only: > > Disassembly of

[PATCH v2 02/11] i2c: pasemi: Use io{read,write}32

2021-10-08 Thread Sven Peter
In preparation for splitting this driver up into a platform_driver and a pci_driver, replace outl/inl usage with pci_iomap and ioread32/iowrite32. Reviewed-by: Arnd Bergmann Signed-off-by: Sven Peter --- v1 -> v2: replaced ioport_map with pci_iomap drivers/i2c/busses/i2c-pasemi.c | 16

[PATCH v2 07/11] i2c: pasemi: Move common reset code to own function

2021-10-08 Thread Sven Peter
Split out common reset call to its own function so that we can later add support for selecting the clock frequency and an additional enable bit found in newer revisions. Reviewed-by: Arnd Bergmann Signed-off-by: Sven Peter --- v1 -> v2: no changes drivers/i2c/busses/i2c-pasemi-core.c | 15

[PATCH v2 06/11] i2c: pasemi: Split pci driver to its own file

2021-10-08 Thread Sven Peter
Split off the PCI driver so that we can reuse common code for the platform driver. Reviewed-by: Arnd Bergmann Signed-off-by: Sven Peter --- v1 -> v2: no changes drivers/i2c/busses/Makefile | 1 + .../{i2c-pasemi.c => i2c-pasemi-core.c} | 88 +

Re: Add Apple M1 support to PASemi i2c driver

2021-10-08 Thread Olof Johansson
Christian, Self-service available on lore: https://lore.kernel.org/all/20211008163532.75569-1-s...@svenpeter.dev/ There are links on there to download a whole thread as an mbox if needed. -Olof On Fri, Oct 8, 2021 at 1:20 PM Christian Zigotzky wrote: > > Hi Michael, > > Do you have a mbox

Re: [PATCH v2 00/11] Add Apple M1 support to PASemi i2c driver

2021-10-08 Thread Olof Johansson
Hi, On Fri, Oct 8, 2021 at 9:36 AM Sven Peter wrote: > > Hi, > > v1: > https://lore.kernel.org/linux-i2c/20210926095847.38261-1-s...@svenpeter.dev/ > > Changes for v2: > - Added reviewed-by/acks > - Switched from ioport_map to pci_iomap as suggested by Arnd Bergmann > - Renamed

Re: [PATCH] lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()

2021-10-08 Thread Kees Cook
On Fri, Oct 08, 2021 at 11:09:47AM -0700, Nick Desaulniers wrote: > On Fri, Oct 8, 2021 at 9:59 AM Christophe Leroy > wrote: > > > > On a kernel without CONFIG_STRICT_KERNEL_RWX, running EXEC_RODATA > > test leads to "Illegal instruction" failure. > > > > Looking at the content of

[PATCH v2 11/11] i2c: pasemi: Set enable bit for Apple variant

2021-10-08 Thread Sven Peter
Some later revisions after the original PASemi I2C controller introduce what likely is an enable bit to the CTL register. Without setting it the actual i2c transmission is never started. Reviewed-by: Arnd Bergmann Signed-off-by: Sven Peter --- v1 -> v2: no changes

[PATCH v2 10/11] i2c: pasemi: Add Apple platform driver

2021-10-08 Thread Sven Peter
With all the previous preparations we can now finally add the platform driver to support the PASemi-based controllers in Apple SoCs. This does not work on the M1 yet but should work on the early iPhones already. Reviewed-by: Arnd Bergmann Signed-off-by: Sven Peter --- v1 -> v2: - renamed

[PATCH v2 09/11] i2c: pasemi: Refactor _probe to use devm_*

2021-10-08 Thread Sven Peter
Using managed device resources means there's nothing left to be done in pasemi_smb_pci_remove and also allows to remove base and size from struct pasemi_smbus. Reviewed-by: Arnd Bergmann Signed-off-by: Sven Peter --- v1 -> v2: no changes drivers/i2c/busses/i2c-pasemi-core.c | 8 ++---

Re: [PATCH] lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()

2021-10-08 Thread Kees Cook
On Fri, 8 Oct 2021 18:58:40 +0200, Christophe Leroy wrote: > On a kernel without CONFIG_STRICT_KERNEL_RWX, running EXEC_RODATA > test leads to "Illegal instruction" failure. > > Looking at the content of rodata_objcopy.o, we see that the > function content zeroes only: > > Disassembly of

Re: Add Apple M1 support to PASemi i2c driver

2021-10-08 Thread Christian Zigotzky
Hi Michael, Do you have a mbox link for the v2 changes? I would like to test them on my AmigaOne X1000. Thanks, Christian On 27. Sep 2021, at 09:58, Michael Ellerman wrote: Christian, the whole series is downloadable as a single mbox here: https://patchwork.ozlabs.org/series/264134/mbox/

[PATCH v2 00/11] Add Apple M1 support to PASemi i2c driver

2021-10-08 Thread Sven Peter
Hi, v1: https://lore.kernel.org/linux-i2c/20210926095847.38261-1-s...@svenpeter.dev/ Changes for v2: - Added reviewed-by/acks - Switched from ioport_map to pci_iomap as suggested by Arnd Bergmann - Renamed i2c-pasemi-apple.c to i2c-pasemi-platform.c as suggested by Wolfram Sang - Replaced

[PATCH v2 01/11] dt-bindings: i2c: Add Apple I2C controller bindings

2021-10-08 Thread Sven Peter
The Apple I2C controller is based on the PASemi I2C controller. It is present on Apple SoCs such as the M1. Reviewed-by: Arnd Bergmann Reviewed-by: Rob Herring Signed-off-by: Sven Peter --- v1 -> v2: no changes .../devicetree/bindings/i2c/apple,i2c.yaml| 61 +++

[PATCH v2 03/11] i2c: pasemi: Use dev_name instead of port number

2021-10-08 Thread Sven Peter
Right now the i2c adapter name includes the port number which can indirectly be used to identify the device. Replace that with dev_name to directly identify the device and to also allow this to work correctly once we add platform support. Signed-off-by: Sven Peter --- v1 -> v2: new commit

[PATCH v2 04/11] i2c: pasemi: Remove usage of pci_dev

2021-10-08 Thread Sven Peter
Prepare to create a platform driver by removing all usages of pci_dev we can. Reviewed-by: Arnd Bergmann Signed-off-by: Sven Peter --- v1 -> v2: no changes drivers/i2c/busses/i2c-pasemi.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH v2 05/11] i2c: pasemi: Split off common probing code

2021-10-08 Thread Sven Peter
Split off common probing code that will be used by both the PCI and the platform device. Reviewed-by: Arnd Bergmann Signed-off-by: Sven Peter --- v1 -> v2: no changes drivers/i2c/busses/i2c-pasemi.c | 39 + 1 file changed, 25 insertions(+), 14 deletions(-)

[PATCH v2 08/11] i2c: pasemi: Allow to configure bus frequency

2021-10-08 Thread Sven Peter
Right now the bus frequency has always been hardcoded as 100 KHz with the specific reference clock used in the PASemi PCI controllers. Make this configurable to prepare for the platform driver. Reviewed-by: Arnd Bergmann Signed-off-by: Sven Peter --- v1 -> v2: no changes

Re: [PATCH 2/5] memory: fsl_ifc: populate child devices without relying on simple-bus

2021-10-08 Thread Li Yang
On Mon, Oct 4, 2021 at 12:14 PM Rob Herring wrote: > > On Thu, Sep 30, 2021 at 07:09:21PM -0500, Li Yang wrote: > > After we update the binding to not use simple-bus compatible for the > > controller, we need the driver to populate the child devices explicitly. > > > > Signed-off-by: Li Yang > >

[PATCH] powerpc/eeh: Fix docstrings in eeh.c

2021-10-08 Thread Kai Song
We fix the following warnings when building kernel with W=1: arch/powerpc/kernel/eeh.c:598: warning: Function parameter or member 'function' not described in 'eeh_pci_enable' arch/powerpc/kernel/eeh.c:774: warning: Function parameter or member 'edev' not described in 'eeh_set_dev_freset'

[powerpc:next-test] BUILD SUCCESS f9473a65719e59c45f1638cc04db7c80de8fcc1a

2021-10-08 Thread kernel test robot
allmodconfig i386 randconfig-c001-20211008 s390 debug_defconfig pariscgeneric-32bit_defconfig m68k bvme6000_defconfig armhisi_defconfig sh

[PATCH 2/2] sched: Centralize SCHED_{SMT, MC, CLUSTER} definitions

2021-10-08 Thread Valentin Schneider
Barry recently introduced a new CONFIG_SCHED_CLUSTER, and discussions around that highlighted that every architecture redefines its own help text and dependencies for CONFIG_SCHED_SMT and CONFIG_SCHED_MC. Move the definition of those to scheduler's Kconfig to centralize help text and generic

[PATCH 0/2] sched: cleanup CONFIG_SCHED_MC & friends

2021-10-08 Thread Valentin Schneider
Hi folks, This stems from Barry introducing a new CONFIG_SCHED_CLUSTER which highlighted the current state of similar Kconfigs isn't great: http://lore.kernel.org/r/cagsj_4xzd0sg0df666f0bvhozupmjnw0dn_marer5k1pj6l...@mail.gmail.com The changes happen all in one big patch; the alternative

[PATCH 1/2] sched: Move Kconfig.preempt to sched/Kconfig

2021-10-08 Thread Valentin Schneider
Kconfig.preempt already contains more than just preemption configs (see CONFIG_SCHED_CORE), and a subsequent patch will introduce more scheduler-specific configs. Move the file to the scheduler directory. Suggested-by: Peter Zijlstra Signed-off-by: Valentin Schneider --- init/Kconfig

Re: [PATCH] perf vendor events power10: Add metric events json file for power10 platform

2021-10-08 Thread James Clark
On 06/10/2021 08:31, Kajol Jain wrote: > Add pmu metric json file for power10 platform. > > Signed-off-by: Kajol Jain > --- > .../arch/powerpc/power10/metrics.json | 772 ++ I checked this with the new strict JSON parser from "[PATCH 0/3] perf tools: Enable strict

Re: [PATCH 2/2] sched: Centralize SCHED_{SMT, MC, CLUSTER} definitions

2021-10-08 Thread Barry Song
On Sat, Oct 9, 2021 at 12:54 AM Valentin Schneider wrote: > > Barry recently introduced a new CONFIG_SCHED_CLUSTER, and discussions > around that highlighted that every architecture redefines its own help text > and dependencies for CONFIG_SCHED_SMT and CONFIG_SCHED_MC. > > Move the definition of

Re: [PATCH 2/2] sched: Centralize SCHED_{SMT, MC, CLUSTER} definitions

2021-10-08 Thread Valentin Schneider
On 09/10/21 01:37, Barry Song wrote: > On Sat, Oct 9, 2021 at 12:54 AM Valentin Schneider > wrote: >> >> Barry recently introduced a new CONFIG_SCHED_CLUSTER, and discussions >> around that highlighted that every architecture redefines its own help text >> and dependencies for CONFIG_SCHED_SMT