[PATCH 0/5] mm/treewide: Replace pXd_large() with pXd_leaf()

2024-02-28 Thread peterx
From: Peter Xu [based on latest akpm/mm-unstable, commit 1274e7646240] These two APIs are mostly always the same. It's confusing to have both of them. Merge them into one. Here I used pXd_leaf() only because pXd_leaf() is a global API which is always defined, while pXd_large() is not. We hav

[PATCH 1/5] mm/ppc: Define pXd_large() with pXd_leaf()

2024-02-28 Thread peterx
From: Peter Xu The two definitions are the same. The only difference is that pXd_large() is only defined with THP selected, and only on book3s 64bits. Instead of implementing it twice, make pXd_large() a macro to pXd_leaf(). Define it unconditionally just like pXd_leaf(). This helps to prepare

[PATCH 2/5] mm/x86: Replace p4d_large() with p4d_leaf()

2024-02-28 Thread peterx
From: Peter Xu p4d_large() is always defined as p4d_leaf(). Merge their usages. Chose p4d_leaf() because p4d_leaf() is a global API, while p4d_large() is not. Only x86 has p4d_leaf() defined as of now. So it also means after this patch we removed all p4d_large() usages. Cc: Thomas Gleixner

[PATCH 4/5] mm/treewide: Replace pud_large() with pud_leaf()

2024-02-28 Thread peterx
From: Peter Xu pud_large() is always defined as pud_leaf(). Merge their usages. Chose pud_leaf() because pud_leaf() is a global API, while pud_large() is not. Signed-off-by: Peter Xu --- arch/powerpc/mm/book3s64/pgtable.c | 2 +- arch/s390/boot/vmem.c | 2 +- arch/s390/include/a

[PATCH 5/5] mm/treewide: Drop pXd_large()

2024-02-28 Thread peterx
From: Peter Xu They're not used anymore, drop all of them. Signed-off-by: Peter Xu --- arch/arm/include/asm/pgtable-2level.h| 1 - arch/arm/include/asm/pgtable-3level.h| 1 - arch/powerpc/include/asm/book3s/64/pgtable.h | 2 -- arch/powerpc/include/asm/pgtable.h |

[PATCH 3/5] mm/treewide: Replace pmd_large() with pmd_leaf()

2024-02-28 Thread peterx
From: Peter Xu pmd_large() is always defined as pmd_leaf(). Merge their usages. Chose pmd_leaf() because pmd_leaf() is a global API, while pmd_large() is not. Signed-off-by: Peter Xu --- arch/arm/mm/dump.c | 4 ++-- arch/powerpc/mm/book3s64/pgtable.c | 2 +- arc

Re: [PATCH 0/5] mm/treewide: Replace pXd_large() with pXd_leaf()

2024-02-28 Thread Christophe Leroy
Le 28/02/2024 à 09:53, pet...@redhat.com a écrit : > From: Peter Xu > > [based on latest akpm/mm-unstable, commit 1274e7646240] > > These two APIs are mostly always the same. It's confusing to have both of > them. Merge them into one. Here I used pXd_leaf() only because pXd_leaf() > is a gl

Re: [PATCH 0/5] mm/treewide: Replace pXd_large() with pXd_leaf()

2024-02-28 Thread Peter Xu
On Wed, Feb 28, 2024 at 09:50:52AM +, Christophe Leroy wrote: > Le 28/02/2024 à 09:53, pet...@redhat.com a écrit : > > From: Peter Xu > > > > [based on latest akpm/mm-unstable, commit 1274e7646240] > > > > These two APIs are mostly always the same. It's confusing to have both of > > them.

[revert 0d60d8df6f49] [net/net-next] [6.8-rc5] Build Failure

2024-02-28 Thread Tasmiya Nalatwad
Greetings, [revert 0d60d8df6f49] [net/net-next] [6.8-rc5] Build Failure Reverting below commit fixes the issue commit 0d60d8df6f493bb46bf5db40d39dd60a1bafdd4e     dpll: rely on rcu for netdev_dpll_pin() --- Traces --- ./include/linux/dpll.h: In function ‘netdev_dpll_pin’: ./include/linux/rcup

Re: [revert 0d60d8df6f49] [netdev/net] [6.8-rc5] Build Failure

2024-02-28 Thread Tasmiya Nalatwad
Greetings, [revert 0d60d8df6f49] [net/net-next] [6.8-rc5] Build Failure Reverting below commit fixes the issue commit 0d60d8df6f493bb46bf5db40d39dd60a1bafdd4e     dpll: rely on rcu for netdev_dpll_pin() --- Traces --- ./include/linux/dpll.h: In function ‘netdev_dpll_pin’: ./include/linux/rcup

[netdev] Build failure on powerpc

2024-02-28 Thread Tasmiya Nalatwad
Greetings, [netdev] Build failure on powerpc latest netdev 6.8.0-rc5-auto-g1ce7d306ea63 fails to build on powerpc below traces --- Traces--- ./include/linux/dpll.h: In function ‘netdev_dpll_pin’: ./include/linux/rcupdate.h:439:9: error: dereferencing pointer to incomplete type ‘struct dpll_p

Re: [kvm-unit-tests PATCH 04/32] powerpc: interrupt stack backtracing

2024-02-28 Thread Andrew Jones
On Mon, Feb 26, 2024 at 08:11:50PM +1000, Nicholas Piggin wrote: > Add support for backtracing across interrupt stacks, and > add interrupt frame backtrace for unhandled interrupts. > > Signed-off-by: Nicholas Piggin > --- > lib/powerpc/processor.c | 4 ++- > lib/ppc64/asm/stack.h | 3 +++ >

Re: [kvm-unit-tests PATCH 09/32] scripts: allow machine option to be specified in unittests.cfg

2024-02-28 Thread Andrew Jones
On Mon, Feb 26, 2024 at 08:11:55PM +1000, Nicholas Piggin wrote: > This allows different machines with different requirements to be > supported by run_tests.sh, similarly to how different accelerators > are handled. > > Acked-by: Thomas Huth > Signed-off-by: Nicholas Piggin > --- > scripts/comm

Re: [kvm-unit-tests PATCH 17/32] arch-run: Fix handling multiple exit status messages

2024-02-28 Thread Andrew Jones
On Mon, Feb 26, 2024 at 08:12:03PM +1000, Nicholas Piggin wrote: > In SMP tests, it's possible for multiple CPUs to print an exit > message if they abort concurrently, confusing the harness: > > EXIT: STATUS=127 > > EXIT: STATUS=127 > scripts/arch-run.bash: line 85: [: too many arguments >

Re: [kvm-unit-tests PATCH 10/32] scripts: Accommodate powerpc powernv machine differences

2024-02-28 Thread Andrew Jones
On Mon, Feb 26, 2024 at 08:11:56PM +1000, Nicholas Piggin wrote: > The QEMU powerpc powernv machine has minor differences that must be > accommodated for in output parsing: > > - Summary parsing must search more lines of output for the summary > line, to accommodate OPAL message on shutdown. > -

Re: [PATCH v2 5/9] mm: Initialize struct vm_unmapped_area_info

2024-02-28 Thread Kirill A. Shutemov
On Mon, Feb 26, 2024 at 11:09:47AM -0800, Rick Edgecombe wrote: > diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c > index 5db88b627439..dd6801bb9240 100644 > --- a/arch/alpha/kernel/osf_sys.c > +++ b/arch/alpha/kernel/osf_sys.c > @@ -1218,7 +1218,7 @@ static unsigned long >

Re: [kvm-unit-tests PATCH 23/32] powerpc: Add MMU support

2024-02-28 Thread Andrew Jones
On Mon, Feb 26, 2024 at 08:12:09PM +1000, Nicholas Piggin wrote: > Add support for radix MMU, 4kB and 64kB pages. > > This also adds MMU interrupt test cases, and runs the interrupts > test entirely with MMU enabled if it is available (aside from > machine check tests). > > Signed-off-by: Nichola

Re: [kvm-unit-tests PATCH 24/32] common/sieve: Use vmalloc.h for setup_mmu definition

2024-02-28 Thread Andrew Jones
On Mon, Feb 26, 2024 at 08:12:10PM +1000, Nicholas Piggin wrote: > There is no good reason to put setup_vm in libcflat.h when it's > defined in vmalloc.h. > > Cc: Paolo Bonzini > Cc: Thomas Huth > Cc: Andrew Jones > Cc: Janosch Frank > Cc: Claudio Imbrenda > Cc: Nico Böhr > Cc: David Hildenb

Re: [kvm-unit-tests PATCH 25/32] common/sieve: Support machines without MMU

2024-02-28 Thread Andrew Jones
On Mon, Feb 26, 2024 at 08:12:11PM +1000, Nicholas Piggin wrote: > Not all powerpc CPUs provide MMU support. Define vm_available() that is > true by default but archs can override it. Use this to run VM tests. > > Cc: Paolo Bonzini > Cc: Thomas Huth > Cc: Andrew Jones > Cc: k...@vger.kernel.org

Re: [kvm-unit-tests PATCH 29/32] configure: Fail on unknown arch

2024-02-28 Thread Andrew Jones
On Mon, Feb 26, 2024 at 08:12:15PM +1000, Nicholas Piggin wrote: > configure will accept an unknown arch, and if it is the name of a > directory in the source tree the command will silently succeed. Make > it only accept supported arch names. > > Also print the full path of a missing test director

Re: [kvm-unit-tests PATCH 30/32] configure: Make arch_libdir a first-class entity

2024-02-28 Thread Andrew Jones
On Mon, Feb 26, 2024 at 08:12:16PM +1000, Nicholas Piggin wrote: > arch_libdir was brought in to improve the heuristic determination of > the lib/ directory based on arch and testdir names, but it did not > entirely clean that mess up. > > Remove the arch_libdir->arch->testdir heuristic and just r

Re: [kvm-unit-tests PATCH 32/32] powerpc: gitlab CI update

2024-02-28 Thread Andrew Jones
On Mon, Feb 26, 2024 at 08:12:18PM +1000, Nicholas Piggin wrote: > This adds testing for the powernv machine, and adds a gitlab-ci test > group instead of specifying all tests in .gitlab-ci.yml. > > Signed-off-by: Nicholas Piggin > --- > .gitlab-ci.yml| 16 ++-- > powerpc/uni

Re: [PATCH v2 5/9] mm: Initialize struct vm_unmapped_area_info

2024-02-28 Thread Christophe Leroy
Le 27/02/2024 à 21:25, Edgecombe, Rick P a écrit : > On Tue, 2024-02-27 at 18:16 +, Christophe Leroy wrote: Why doing a full init of the struct when all fields are re- written a few lines after ? >>> >>> It's a nice change for robustness and makes future changes easier. >>> It'

Re: [PATCH linux-next v2 0/3] powerpc/kexec: split CONFIG_CRASH_DUMP out from CONFIG_KEXEC_CORE

2024-02-28 Thread Baoquan He
On 02/26/24 at 04:00pm, Hari Bathini wrote: > This patch series is a follow-up to [1] based on discussions at [2] > about additional work needed to get it working on powerpc. > > The first patch in the series makes struct crash_mem available with or > without CONFIG_CRASH_DUMP enabled. The next pa

Re: [revert 0d60d8df6f49] [net/net-next] [6.8-rc5] Build Failure

2024-02-28 Thread Vadim Fedorenko
On 28/02/2024 11:09, Tasmiya Nalatwad wrote: Greetings, [revert 0d60d8df6f49] [net/net-next] [6.8-rc5] Build Failure Reverting below commit fixes the issue commit 0d60d8df6f493bb46bf5db40d39dd60a1bafdd4e     dpll: rely on rcu for netdev_dpll_pin() --- Traces --- ./include/linux/dpll.h: In f

Re: [revert 0d60d8df6f49] [net/net-next] [6.8-rc5] Build Failure

2024-02-28 Thread Eric Dumazet
On Wed, Feb 28, 2024 at 3:07 PM Vadim Fedorenko wrote: > > On 28/02/2024 11:09, Tasmiya Nalatwad wrote: > > Greetings, > > > > [revert 0d60d8df6f49] [net/net-next] [6.8-rc5] Build Failure > > > > Reverting below commit fixes the issue > > > > commit 0d60d8df6f493bb46bf5db40d39dd60a1bafdd4e > >

[kvm-unit-tests PATCH 03/13] treewide: lib/stack: Fix backtrace

2024-02-28 Thread Andrew Jones
We should never pass the result of __builtin_frame_address(0) to another function since the compiler is within its rights to pop the frame to which it points before making the function call, as may be done for tail calls. Nobody has complained about backtrace(), so likely all compilations have been

[kvm-unit-tests PATCH 04/13] treewide: lib/stack: Make base_address arch specific

2024-02-28 Thread Andrew Jones
Calculating the offset of an address is image specific, which is architecture specific. Until now, all architectures and architecture configurations which select CONFIG_RELOC were able to subtract _etext, but the EFI configuration of riscv cannot (it must subtract ImageBase). Make this function arc

Re: [revert 0d60d8df6f49] [net/net-next] [6.8-rc5] Build Failure

2024-02-28 Thread Christophe Leroy
Le 28/02/2024 à 15:43, Eric Dumazet a écrit : > On Wed, Feb 28, 2024 at 3:07 PM Vadim Fedorenko > wrote: >> >> On 28/02/2024 11:09, Tasmiya Nalatwad wrote: >>> Greetings, >>> >>> [revert 0d60d8df6f49] [net/net-next] [6.8-rc5] Build Failure >>> >>> Reverting below commit fixes the issue >>> >>> c

[RFC] sched/eevdf: sched feature to dismiss lag on wakeup

2024-02-28 Thread Tobias Huschle
The previously used CFS scheduler gave tasks that were woken up an enhanced chance to see runtime immediately by deducting a certain value from its vruntime on runqueue placement during wakeup. This property was used by some, at least vhost, to ensure, that certain kworkers are scheduled immediate

[RFC] sched/eevdf: avoid task starvation in cgroups

2024-02-28 Thread Tobias Huschle
When running update_curr, it is checked whether the current task has missed its deadline (update_deadline). If the deadline has been crossed, the task is set to be rescheduled if there are other tasks available on its cfs_rq. This can cause task starvation in some cgroup configurations. Assume the

Re: [PATCH v2 5/9] mm: Initialize struct vm_unmapped_area_info

2024-02-28 Thread Edgecombe, Rick P
On Wed, 2024-02-28 at 13:22 +, Christophe Leroy wrote: > > Any preference? Or maybe am I missing your point and talking > > nonsense? > > > > So my preference would go to the addition of: > > info.new_field = 0; > > But that's very minor and if you think it is easier to manage and

Re: [PATCH v2 5/9] mm: Initialize struct vm_unmapped_area_info

2024-02-28 Thread Kees Cook
On Wed, Feb 28, 2024 at 01:22:09PM +, Christophe Leroy wrote: > [...] > My worry with initialisation at declaration is it often hides missing > assignments. Let's take following simple exemple: > > char *colour(int num) > { > char *name; > > if (num == 0) { > name =

Re: [kvm-unit-tests PATCH 03/13] treewide: lib/stack: Fix backtrace

2024-02-28 Thread Claudio Imbrenda
On Wed, 28 Feb 2024 16:04:19 +0100 Andrew Jones wrote: > We should never pass the result of __builtin_frame_address(0) to > another function since the compiler is within its rights to pop the > frame to which it points before making the function call, as may be > done for tail calls. Nobody has c

Re: [PATCH 3/4] arch: define CONFIG_PAGE_SIZE_*KB on all architectures

2024-02-28 Thread Stafford Horne
On Mon, Feb 26, 2024 at 05:14:13PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Most architectures only support a single hardcoded page size. In order > to ensure that each one of these sets the corresponding Kconfig symbols, > change over the PAGE_SHIFT definition to the common one and

[Bug 207129] PowerMac G4 DP (5.6.2 debug kernel + inline KASAN) freezes shortly after booting with "do_IRQ: stack overflow: 1760"

2024-02-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207129 Erhard F. (erhar...@mailbox.org) changed: What|Removed |Added Status|REOPENED|RESOLVED Resol

Re: Boot failure with ppc64 port on iMacs G5

2024-02-28 Thread tuxayo
On 24-02-20 10:16, John Paul Adrian Glaubitz wrote: There seems to be a regression in the kernel which affects PowerPC 970 machines, i.e. PowerMac G5 CPUs. The issue needs to be bisected and reported upstream. If you have the time, I would really appreciate if you could test the various snapshot

Re: [PATCHv11 2/4] genirq: Provide a snapshot mechanism for interrupt statistics

2024-02-28 Thread Doug Anderson
Hi, On Tue, Feb 27, 2024 at 11:22 PM Bitao Hu wrote: > > The soft lockup detector lacks a mechanism to identify interrupt storms > as root cause of a lockup. To enable this the detector needs a > mechanism to snapshot the interrupt count statistics on a CPU when the > detector observes a potentia

Re: [PATCHv11 3/4] genirq: Avoid summation loops for /proc/interrupts

2024-02-28 Thread Doug Anderson
Hi, On Tue, Feb 27, 2024 at 11:22 PM Bitao Hu wrote: > > show_interrupts() unconditionally accumulates the per CPU interrupt > statistics to determine whether an interrupt was ever raised. > > This can be avoided for all interrupts which are not strictly per CPU > and not of type NMI because thos

Re: [PATCHv11 4/4] watchdog/softlockup: report the most frequent interrupts

2024-02-28 Thread Doug Anderson
Hi, On Tue, Feb 27, 2024 at 11:22 PM Bitao Hu wrote: > > When the watchdog determines that the current soft lockup is due > to an interrupt storm based on CPU utilization, reporting the > most frequent interrupts could be good enough for further > troubleshooting. > > Below is an example of inter

Re: [PATCH v2 5/9] mm: Initialize struct vm_unmapped_area_info

2024-02-28 Thread Christophe Leroy
Le 28/02/2024 à 18:01, Edgecombe, Rick P a écrit : > On Wed, 2024-02-28 at 13:22 +, Christophe Leroy wrote: >>> Any preference? Or maybe am I missing your point and talking >>> nonsense? >>> >> >> So my preference would go to the addition of: >> >> info.new_field = 0; >> >> But that'

linux-next: manual merge of the powerpc tree with the mm-stable tree

2024-02-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the powerpc tree got a conflict in: arch/powerpc/mm/pgtable_32.c between commit: a5e8131a0329 ("arm64, powerpc, riscv, s390, x86: ptdump: refactor CONFIG_DEBUG_WX") from the mm-stable tree and commit: 8f17bd2f4196 ("powerpc: Handle error in mark_roda

Re: KASAN debug kernel fails to boot at early stage when CONFIG_SMP=y is set (kernel 6.5-rc5, PowerMac G4 3,6)

2024-02-28 Thread Erhard Furtner
On Thu, 14 Sep 2023 04:54:17 + Christophe Leroy wrote: > Le 12/09/2023 à 19:39, Christophe Leroy a écrit : > > > > > > Le 12/09/2023 à 17:59, Erhard Furtner a écrit : > >> > >> printk: bootconsole [udbg0] enabled > >> Total memory = 2048MB; using 4096kB for hash table > >> mapin_ram:125 >

[powerpc:next-test] BUILD SUCCESS cb615bbe55268cc25a181e903862423670f97408

2024-02-28 Thread kernel test robot
randconfig-002-20240229 clang i386 allmodconfig gcc i386 allnoconfig gcc i386 allyesconfig gcc i386 buildonly-randconfig-001-20240228 clang i386 buildonly-randconfig-001

[powerpc:merge] BUILD SUCCESS 91ff6ca1e126332196bb331387d97b0a02aef93f

2024-02-28 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git merge branch HEAD: 91ff6ca1e126332196bb331387d97b0a02aef93f Automatic merge of 'next' into merge (2024-02-26 17:03) elapsed time: 773m configs tested: 163 configs skipped: 3 The following configs have been built su

Re: [netdev] Build failure on powerpc

2024-02-28 Thread Michael Ellerman
Tasmiya Nalatwad writes: > Greetings, > > [netdev] Build failure on powerpc > latest netdev 6.8.0-rc5-auto-g1ce7d306ea63 fails to build on powerpc > below traces Please include the defconfig you're building, and the toolchain versions, in reports like this. I wasn't able to reproduce this failu

Re: [kvm-unit-tests PATCH 03/13] treewide: lib/stack: Fix backtrace

2024-02-28 Thread Nicholas Piggin
On Thu Feb 29, 2024 at 1:04 AM AEST, Andrew Jones wrote: > We should never pass the result of __builtin_frame_address(0) to > another function since the compiler is within its rights to pop the > frame to which it points before making the function call, as may be > done for tail calls. Nobody has c

Re: [RFC] sched/eevdf: sched feature to dismiss lag on wakeup

2024-02-28 Thread K Prateek Nayak
(+ Xuewen Yan, Ke Wang) Hello Tobias, On 2/28/2024 9:40 PM, Tobias Huschle wrote: > The previously used CFS scheduler gave tasks that were woken up an > enhanced chance to see runtime immediately by deducting a certain value > from its vruntime on runqueue placement during wakeup. > > This prope

Re: [kvm-unit-tests PATCH 04/13] treewide: lib/stack: Make base_address arch specific

2024-02-28 Thread Nicholas Piggin
On Thu Feb 29, 2024 at 1:04 AM AEST, Andrew Jones wrote: > Calculating the offset of an address is image specific, which is > architecture specific. Until now, all architectures and architecture > configurations which select CONFIG_RELOC were able to subtract > _etext, but the EFI configuration of

Re: [kvm-unit-tests PATCH 04/32] powerpc: interrupt stack backtracing

2024-02-28 Thread Nicholas Piggin
On Wed Feb 28, 2024 at 9:46 PM AEST, Andrew Jones wrote: > On Mon, Feb 26, 2024 at 08:11:50PM +1000, Nicholas Piggin wrote: > > Add support for backtracing across interrupt stacks, and > > add interrupt frame backtrace for unhandled interrupts. > > > > Signed-off-by: Nicholas Piggin > > --- > >

Re: [PATCH] powerpc/mm: Code cleanup for __hash_page_thp

2024-02-28 Thread Aneesh Kumar K . V
Michael Ellerman writes: > Kunwu Chan writes: >> Thanks for the reply. >> >> On 2024/2/26 18:49, Michael Ellerman wrote: >>> Kunwu Chan writes: This part was commented from commit 6d492ecc6489 ("powerpc/THP: Add code to handle HPTE faults for hugepages") in about 11 years before.

Re: [kvm-unit-tests PATCH 09/32] scripts: allow machine option to be specified in unittests.cfg

2024-02-28 Thread Nicholas Piggin
On Wed Feb 28, 2024 at 9:47 PM AEST, Andrew Jones wrote: > On Mon, Feb 26, 2024 at 08:11:55PM +1000, Nicholas Piggin wrote: > > This allows different machines with different requirements to be > > supported by run_tests.sh, similarly to how different accelerators > > are handled. > > > > Acked-by:

Re: [kvm-unit-tests PATCH 32/32] powerpc: gitlab CI update

2024-02-28 Thread Nicholas Piggin
On Wed Feb 28, 2024 at 10:16 PM AEST, Andrew Jones wrote: > On Mon, Feb 26, 2024 at 08:12:18PM +1000, Nicholas Piggin wrote: > > This adds testing for the powernv machine, and adds a gitlab-ci test > > group instead of specifying all tests in .gitlab-ci.yml. > > > > Signed-off-by: Nicholas Piggin

Re: [PATCH v17 2/6] crash: add a new kexec flag for hotplug support

2024-02-28 Thread Sourabh Jain
Hello Baoquan, Do you have any comments or suggestions for this patch series, especially for this patch? Thanks, Sourabh On 26/02/24 14:11, Sourabh Jain wrote: Commit a72bbec70da2 ("crash: hotplug support for kexec_load()") introduced a new kexec flag, `KEXEC_UPDATE_ELFCOREHDR`. Kexec tool u

Re: [PATCH v8 1/3] powerpc: make fadump resilient with memory add/remove events

2024-02-28 Thread Sourabh Jain
Hello Michael and Aneesh, Please let me know if you have any comments or suggestions for this patch series. Thanks, Sourabh On 17/02/24 12:50, Sourabh Jain wrote: Due to changes in memory resources caused by either memory hotplug or online/offline events, the elfcorehdr, which describes the

Re: [PATCH 5/5] mm/treewide: Drop pXd_large()

2024-02-28 Thread kernel test robot
Hi, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/peterx-redhat-com/mm-ppc-Define-pXd_large-with-pXd_leaf/20240228-170049 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm

Re: [PATCH v17 2/6] crash: add a new kexec flag for hotplug support

2024-02-28 Thread Baoquan He
On 02/29/24 at 10:35am, Sourabh Jain wrote: > Hello Baoquan, > > Do you have any comments or suggestions for this patch series, especially > for this patch? Have applied this series and reviewing, will ack or add comment if any concern. Thanks. > On 26/02/24 14:11, Sourabh Jain wrote: > > Commit

Re: [PATCH] powerpc/mm: Code cleanup for __hash_page_thp

2024-02-28 Thread Michael Ellerman
Aneesh Kumar K.V writes: > Michael Ellerman writes: >> Kunwu Chan writes: >>> On 2024/2/26 18:49, Michael Ellerman wrote: Kunwu Chan writes: > This part was commented from commit 6d492ecc6489 > ("powerpc/THP: Add code to handle HPTE faults for hugepages") > in about 11 years be

Re: linux-next: manual merge of the powerpc tree with the mm-stable tree

2024-02-28 Thread Michael Ellerman
Stephen Rothwell writes: > Hi all, > > Today's linux-next merge of the powerpc tree got a conflict in: > > arch/powerpc/mm/pgtable_32.c > > between commit: > > a5e8131a0329 ("arm64, powerpc, riscv, s390, x86: ptdump: refactor > CONFIG_DEBUG_WX") > > from the mm-stable tree and commit: > > 8

Re: Boot failure with ppc64 port on iMacs G5

2024-02-28 Thread Michael Ellerman
John Paul Adrian Glaubitz writes: > On Tue, 2024-02-20 at 04:16 +0100, tuxayo wrote: >> I tried snapshots/2024-01-31/debian-12.0.0-ppc64-NETINST-1.iso >> >> And was able to start booting from usb with: >> boot usb0/disk@1:,\boot\grub\powerpc.elf >> (typed in Open Firmware shell) >> (usb0 is the t

Re: [PATCH v17 2/6] crash: add a new kexec flag for hotplug support

2024-02-28 Thread Baoquan He
On 02/26/24 at 02:11pm, Sourabh Jain wrote: ..snip... > diff --git a/kernel/crash_core.c b/kernel/crash_core.c > index 70fa8111a9d6..630c4fd7ea39 100644 > --- a/kernel/crash_core.c > +++ b/kernel/crash_core.c > @@ -496,7 +496,7 @@ static DEFINE_MUTEX(__crash_hotplug_lock); > * It reflects the

Re: [PATCH 5/5] mm/treewide: Drop pXd_large()

2024-02-28 Thread Peter Xu
On Thu, Feb 29, 2024 at 01:17:36PM +0800, kernel test robot wrote: > >> arch/x86/include/asm/pgtable.h:1099:19: error: redefinition of 'pud_leaf' > 1099 | static inline int pud_leaf(pud_t pud) > | ^ >include/asm-generic/pgtable-nopmd.h:34:19: note: previous defini