Re: [RFC PATCH 0/4] Remove some e300/MPC83xx evaluation platforms

2023-02-24 Thread Christophe Leroy
Le 20/02/2023 à 12:59, Paul Gortmaker a écrit : > [This RFC is proposed for v6.4 and hence is based off linux-next.] > > This series removes support for four e300 (MPC83xx) Freescale processor > family evaluation boards that were added to the kernel in the 2006 era. > > These boards were all

Kconfig unmet dependency warning

2023-02-24 Thread Randy Dunlap
Hi, I see this every few weeks(?) and don't know what to do about it. Any ideas/suggestions? WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: -

RE: [RFC PATCH 0/4] Remove some e300/MPC83xx evaluation platforms

2023-02-24 Thread Leo Li
> -Original Message- > From: Paul Gortmaker > Sent: Monday, February 20, 2023 5:59 AM > To: linuxppc-dev@lists.ozlabs.org > Cc: Leo Li ; Claudiu Manoil ; > Paul Gortmaker ; Scott Wood > ; Michael Ellerman ; Benjamin > Herrenschmidt ; Paul Mackerras > > Subject: [RFC PATCH 0/4] Remove

[PATCH 1/3] powerpc: drop MPC8272_ADS platform support

2023-02-24 Thread Paul Gortmaker
The MPC8272-ADS also supported other 82xx CPU variants, had 64MB RAM, 8MB flash, and like the 85xx ADS platforms, was on a fairly large PCB in order to have space for breakout connectors for all the features. These 82xx platforms are two decades old, and originally made for a small group of

[PATCH 2/3] powerpc: drop PowerQUICC II Family ADS platform support

2023-02-24 Thread Paul Gortmaker
Based on documentation revision dates, this MPC82xx pq2fads system predates the MPC8272-ADS variant by about a year and only has 1/2 the amount of RAM (32MB) -- largely making it useless with a modern v6.x kernel from today. Similar to the MPC8272-ADS the pq2fads also supported other 82xx CPU

[PATCH 3/3] powerpc: drop MPC8272-ADS and PowerQUICC II FADS shared code.

2023-02-24 Thread Paul Gortmaker
With the two platforms depending on this shared code, and no others, we can remove the orphaned code and Kconfigs Cc: Scott Wood Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Paul Gortmaker --- arch/powerpc/include/asm/mpc8260.h | 4 -

[RFC PATCH 0/3] Remove some PQ2/MPC82xx evaluation platforms

2023-02-24 Thread Paul Gortmaker
[This RFC is proposed for v6.4 and hence is based off linux-next.] This series removes support for two PowerQUICC II (MPC82xx) Freescale processor family evaluation boards that were added to the kernel in approximately the 2003 era. I couldn't easily find a reference picture, but there are line

Re: [PATCH v3 17/35] mm/mmap: write-lock VMA before shrinking or expanding it

2023-02-24 Thread Suren Baghdasaryan
On Fri, Feb 24, 2023 at 8:14 AM Liam R. Howlett wrote: > > * Suren Baghdasaryan [230223 21:06]: > > On Thu, Feb 23, 2023 at 5:46 PM Liam R. Howlett > > wrote: > > > > > > * Suren Baghdasaryan [230223 16:16]: > > > > On Thu, Feb 23, 2023 at 12:28 PM Liam R. Howlett > > > > wrote: > > > > > >

Re: [PATCH v3 17/35] mm/mmap: write-lock VMA before shrinking or expanding it

2023-02-24 Thread Liam R. Howlett
* Suren Baghdasaryan [230223 21:06]: > On Thu, Feb 23, 2023 at 5:46 PM Liam R. Howlett > wrote: > > > > * Suren Baghdasaryan [230223 16:16]: > > > On Thu, Feb 23, 2023 at 12:28 PM Liam R. Howlett > > > wrote: > > > > > > > > > > > > Wait, I figured a better place to do this. > > > > > > > >

[PATCH 2/2] powerpc: dts: t1040rdb: enable both CPU ports

2023-02-24 Thread Vladimir Oltean
Since commit eca70102cfb1 ("net: dsa: felix: add support for changing DSA master") included in kernel v6.1, the driver supports 2 CPU ports, and they can be put in a LAG, for example (see Documentation/networking/dsa/configuration.rst for more details). Defining the second CPU port in the device

[PATCH 1/2] powerpc: dts: t1040rdb: fix compatible string for Rev A boards

2023-02-24 Thread Vladimir Oltean
It looks like U-Boot fails to start the kernel properly when the compatible string of the board isn't fsl,T1040RDB, so stop overriding it from the rev-a.dts. Fixes: 5ebb74749202 ("powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch") Signed-off-by: Vladimir Oltean ---

[PATCH 0/2] Freescale T1040RDB DTS updates

2023-02-24 Thread Vladimir Oltean
This contains a fix for the new device tree for the T1040RDB rev A board, which never worked, and an update to enable multiple CPU port support for all revisions of the T1040RDB. Vladimir Oltean (2): powerpc: dts: t1040rdb: fix compatible string for Rev A boards powerpc: dts: t1040rdb: enable

Re: [PATCH v8 1/3] riscv: Introduce CONFIG_RELOCATABLE

2023-02-24 Thread Björn Töpel
Alexandre Ghiti writes: > +cc linux-kbuild, llvm, Nathan, Nick > > On 2/15/23 15:36, Alexandre Ghiti wrote: >> From: Alexandre Ghiti >> >> This config allows to compile 64b kernel as PIE and to relocate it at >> any virtual address at runtime: this paves the way to KASLR. >> Runtime relocation

Re: microwatt_defconfig broken: fined reference to `hash__tlb_flush'

2023-02-24 Thread Jan-Benedict Glaw
Hi! On Fri, 2023-02-17 19:44:27 +, Christophe Leroy wrote: > Le 17/02/2023 à 18:14, Jan-Benedict Glaw a écrit : > > My CI builds showed that the microwatt_defconfig broke somewhere between > > (upstream Linus) 6d796c50f84ca79f1722bb131799e5a5710c4700 (last known good, > > log > > at [1])

[powerpc:merge] BUILD SUCCESS ec0a1b360aec1ba0bdfad3dd69e300b028529c0d

2023-02-24 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git merge branch HEAD: ec0a1b360aec1ba0bdfad3dd69e300b028529c0d Automatic merge of 'master' into merge (2023-02-24 13:22) elapsed time: 733m configs tested: 24 configs skipped: 3 The following configs have been built

[powerpc:fixes-test] BUILD SUCCESS aef2599afe184cb32ea592185adf7065ece0743f

2023-02-24 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git fixes-test branch HEAD: aef2599afe184cb32ea592185adf7065ece0743f powerpc: Avoid dead code/data elimination when using recordmcount elapsed time: 733m configs tested: 19 configs skipped: 3 The following configs

Possible bug in linux-6.2/tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_thresh_marked_sample_test.c

2023-02-24 Thread David Binderman
Hello there, I ran the static analyser cppcheck over the linux-6.2 source code and got this: linux-6.2/tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_thresh_marked_sample_test.c:68:10: style: Same expression '0x3' found multiple times in chain of '&' operators. [duplicateExpression]

[PATCH] powerpc/atomics: Remove unused function

2023-02-24 Thread Nysal Jan K.A
Remove arch_atomic_try_cmpxchg_lock function as it is no longer used since commit 9f61521c7a28 ("powerpc/qspinlock: powerpc qspinlock implementation") Signed-off-by: Nysal Jan K.A --- arch/powerpc/include/asm/atomic.h | 29 - 1 file changed, 29 deletions(-) diff

Re: [PATCH 1/2] arch/powerpc/kvm: kvmppc_hv_entry: remove .global scope

2023-02-24 Thread Sathvika Vasireddy
On 23/02/23 10:39, Kautuk Consul wrote: Hi Sathvika, Just one question though. Went through the code again and I think that this place shouldn't be proper to insert a SYM_FUNC_END because we haven't entered the guest at this point and the name of the function is kvmppc_hv_entry which I think

Re: [PATCH] powerpc/atomics: Remove unused function

2023-02-24 Thread Christophe Leroy
Le 24/02/2023 à 11:39, Nysal Jan K.A a écrit : > [Vous ne recevez pas souvent de courriers de ny...@linux.ibm.com. Découvrez > pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] > > Remove arch_atomic_try_cmpxchg_lock function as it is no longer used > since commit