[PATCH] powerpc/pseries: add lparctl driver for platform-specific functions

2022-07-29 Thread Nathan Lynch
This adds a chardev+ioctl-based interface for user space to access pseries platform-specific functions which don't easily fit elsewhere. The immediate motivation is to unbreak librtas[1] with kernel lockdown enabled. librtas provides a thin root-only user-space API, allowing nearly direct access

Re: [RFC PATCH net-next 0/9] net: pcs: Add support for devices probed in the "usual" manner

2022-07-29 Thread Sean Anderson
On 7/21/22 5:41 PM, Sean Anderson wrote: > On 7/20/22 9:53 AM, Vladimir Oltean wrote: >> On Tue, Jul 19, 2022 at 03:34:45PM -0400, Sean Anderson wrote: >>> We could do it, but it'd be a pretty big hack. Something like the >>> following. Phylink would need to be modified to grab the lock before >>>

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.19-6 tag

2022-07-29 Thread pr-tracker-bot
The pull request you sent on Fri, 29 Jul 2022 22:49:59 +1000: > https://lore.kernel.org/amd-gfx/20220728203347.2019728-1-rodrigo.sique...@amd.com/ > cheers has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9d928d9b78beec5d4b8afde9c144919b979685f2 Thank you! --

Re: [PATCH 04/36] cpuidle,intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE

2022-07-29 Thread Paul E. McKenney
Or better yet, try the patch that Rafael proposed. ;-) Thanx, Paul On Fri, Jul 29, 2022 at 08:26:22AM -0700, Paul E. McKenney wrote: > On Fri, Jul 29, 2022 at 03:24:58AM -0700, Michel Lespinasse wrote: > > On Thu, Jul 28, 2022 at

Re: [PATCH 04/36] cpuidle,intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE

2022-07-29 Thread Paul E. McKenney
On Fri, Jul 29, 2022 at 03:24:58AM -0700, Michel Lespinasse wrote: > On Thu, Jul 28, 2022 at 10:20:53AM -0700, Paul E. McKenney wrote: > > On Mon, Jul 25, 2022 at 12:43:06PM -0700, Michel Lespinasse wrote: > > > On Wed, Jun 08, 2022 at 04:27:27PM +0200, Peter Zijlstra wrote: > > > > Commit

Re: [PATCH 04/36] cpuidle,intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE

2022-07-29 Thread Rafael J. Wysocki
On Fri, Jul 29, 2022 at 12:25 PM Michel Lespinasse wrote: > > On Thu, Jul 28, 2022 at 10:20:53AM -0700, Paul E. McKenney wrote: > > On Mon, Jul 25, 2022 at 12:43:06PM -0700, Michel Lespinasse wrote: > > > On Wed, Jun 08, 2022 at 04:27:27PM +0200, Peter Zijlstra wrote: > > > > Commit c227233ad64c

Re: [PATCH 04/36] cpuidle,intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE

2022-07-29 Thread Michel Lespinasse
On Thu, Jul 28, 2022 at 10:20:53AM -0700, Paul E. McKenney wrote: > On Mon, Jul 25, 2022 at 12:43:06PM -0700, Michel Lespinasse wrote: > > On Wed, Jun 08, 2022 at 04:27:27PM +0200, Peter Zijlstra wrote: > > > Commit c227233ad64c ("intel_idle: enable interrupts before C1 on > > > Xeons") wrecked

Re: [linux-next] Build failure drivers/cxl/cxl_pmem (powerpc)

2022-07-29 Thread Dan Williams
Michael Ellerman wrote: > Sachin Sant writes: > > Linux-next (5.19.0-rc8-next-20220728) fails to build on powerpc with > > following error: > > > > ERROR: modpost: "memory_add_physaddr_to_nid" [drivers/cxl/cxl_pmem.ko] > > undefined! > > make[1]: *** [scripts/Makefile.modpost:128:

Re: [PATCH] powerpc/85xx: P2020: Add law_trgt_if property to PCIe DT nodes

2022-07-29 Thread Rob Herring
On Fri, Jul 29, 2022 at 7:17 AM Michael Ellerman wrote: > > On Wed, 4 May 2022 20:08:22 +0200, Pali Rohár wrote: > > DT law_trgt_if property defines Local Access Window Target Interface. > > > > Local Access Window Target Interface is used for identifying individual > > peripheral and mapping its

Re: [PATCH -next v3 0/2] powerpc: add support for syscall stack randomization

2022-07-29 Thread Michael Ellerman
On Fri, 1 Jul 2022 16:24:33 +0800, Xiu Jianfeng wrote: > This patchset adds support for syscall stack randomization for > powerpc, which can make harder the various stack-based attacks that > rely on deterministic stack structure. > > Changes in v3: > -add a lead-up patch to move

Re: [PATCH] powerpc/sysdev: Fix comment typo

2022-07-29 Thread Michael Ellerman
On Fri, 15 Jul 2022 11:52:50 +0800, Jason Wang wrote: > The double `is' is duplicated in line 110, remove one. > > Applied to powerpc/next. [1/1] powerpc/sysdev: Fix comment typo https://git.kernel.org/powerpc/c/738f9dca0df3bb630e6f06a19573ab4e31bd443a cheers

Re: [PATCH] powerpc/pseries/vas: Fix comment typo

2022-07-29 Thread Michael Ellerman
On Mon, 18 Jul 2022 15:55:53 +0800, Jason Wang wrote: > The double `the' in line 807 is duplicated, remove one. > > Applied to powerpc/next. [1/1] powerpc/pseries/vas: Fix comment typo https://git.kernel.org/powerpc/c/901a30cf5f765a26f1308701d9df9e7f3d0023a5 cheers

Re: [PATCH] powerpc/52xx: Mark gpt driver as not removable

2022-07-29 Thread Michael Ellerman
On Sun, 12 Jun 2022 23:34:00 +0200, Uwe Kleine-König wrote: > Returning an error code (here -EBUSY) from a remove callback doesn't > prevent the driver from being unloaded. The only effect is that an error > message is emitted and the driver is removed anyhow. > > So instead drop the remove

Re: [PATCH 1/3] powerpc/platforms/83xx/suspend: Reorder to get rid of a forward declaration

2022-07-29 Thread Michael Ellerman
On Thu, 7 Jul 2022 08:14:39 +0200, Uwe Kleine-König wrote: > By moving up pmc_types and pmc_match, the forward declaration for pmc_match > can be dropped. > > Applied to powerpc/next. [1/3] powerpc/platforms/83xx/suspend: Reorder to get rid of a forward declaration

Re: [PATCH] macintosh:fix oob read in do_adb_query function

2022-07-29 Thread Michael Ellerman
On Wed, 13 Jul 2022 23:37:34 +0800, Ning Qiang wrote: > In do_adb_query function of drivers/macintosh/adb.c, req->data is copy > form userland. the parameter "req->data[2]" is Missing check, the > array size of adb_handler[] is 16, so "adb_handler[ > req->data[2]].original_address" and

Re: [PATCH] selftests/powerpc: Fix matrix multiply assist test

2022-07-29 Thread Michael Ellerman
On Fri, 17 Jun 2022 14:39:35 +1000, Rashmica Gupta wrote: > The ISA states: "when ACC[i] contains defined data, the contents of VSRs > 4×i to 4×i+3 are undefined until either a VSX Move From ACC instruction > is used to copy the contents of ACC[i] to VSRs 4×i to 4×i+3 or some other > instruction

Re: [PATCH] powerpc/signal: Update comment for clarity

2022-07-29 Thread Michael Ellerman
On Fri, 17 Jun 2022 14:31:35 +1000, Rashmica Gupta wrote: > The comment being referred to was deleted in commit af1bbc3dd3d5 ("powerpc: > Remove UP only lazy floating point and vector optimisations"). > > Add a bit more detail so it's clear why we need to clear the FP/VEC/VSX > bits here. > > >

Re: [PATCH] powerpc: make facility_unavailable_exception 64s

2022-07-29 Thread Michael Ellerman
On Fri, 17 Jun 2022 14:28:05 +1000, Rashmica Gupta wrote: > The facility unavailable exception is only available on ppc book3s > machines so use CONFIG_PPC_BOOK3S_64 rather than CONFIG_PPC64. > tm_unavailable is only called from facility_unavailable_exception so can > also be under this Kconfig

Re: [PATCH v2 1/2] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-07-29 Thread Michael Ellerman
On Wed, 6 Jul 2022 12:21:47 +0200, Pali Rohár wrote: > Since commit 63a72284b159 ("powerpc/pci: Assign fixed PHB number based on > device-tree properties"), powerpc kernel always fallback to PCI domain > assignment from OF / Device Tree 'reg' property of the PCI controller. > > In most cases

Re: [PATCH] powerpc/fsl-pci: Fix Class Code of PCIe Root Port

2022-07-29 Thread Michael Ellerman
On Wed, 6 Jul 2022 12:10:43 +0200, Pali Rohár wrote: > By default old pre-3.0 Freescale PCIe controllers reports invalid PCI Class > Code 0x0b20 for PCIe Root Port. It can be seen by lspci -b output on P2020 > board which has this pre-3.0 controller: > > $ lspci -bvnn > 00:00.0 Power PC

Re: [PATCH] powerpc: dts: turris1x.dts: Add CPLD reboot node

2022-07-29 Thread Michael Ellerman
On Wed, 13 Jul 2022 15:44:29 +0200, Pali Rohár wrote: > CPLD firmware can reset board by writing value 0x01 at CPLD memory offset > 0x0d. Define syscon-reboot node for this reset support. > > Applied to powerpc/next. [1/1] powerpc: dts: turris1x.dts: Add CPLD reboot node

Re: [PATCH] powerpc/85xx: P2020: Add law_trgt_if property to PCIe DT nodes

2022-07-29 Thread Michael Ellerman
On Wed, 4 May 2022 20:08:22 +0200, Pali Rohár wrote: > DT law_trgt_if property defines Local Access Window Target Interface. > > Local Access Window Target Interface is used for identifying individual > peripheral and mapping its memory to CPU. Interface id is defined by > hardware itself. > >

Re: [PATCH] powerpc/85xx: Fix description of MPC85xx and P1/P2 boards options

2022-07-29 Thread Michael Ellerman
On Sat, 9 Jul 2022 14:43:05 +0200, Pali Rohár wrote: > More MPC85xx and P1/P2 boards options have incorrect description. Fix them > to include list of all boards for which they enable/disable support. > > Applied to powerpc/next. [1/1] powerpc/85xx: Fix description of MPC85xx and P1/P2 boards

Re: [PATCH 0/5] powerpc/pci: Cleanup unused code and enable 256 PCI buses

2022-07-29 Thread Michael Ellerman
On Wed, 6 Jul 2022 12:43:03 +0200, Pali Rohár wrote: > This patch series cleanup unused code by eliminating it at compile time > and then enable usage of all 256 PCI buses per every PCI domain as > currently PCI bus numbers have to be unique across all PCI domains. > So first bus number of each

Re: [PATCH v2] powerpc: add documentation for HWCAPs

2022-07-29 Thread Michael Ellerman
On Fri, 15 Jul 2022 11:26:36 +1000, Nicholas Piggin wrote: > Take the arm64 HWCAP documentation file and adjust it for powerpc. > > Applied to powerpc/next. [1/1] powerpc: add documentation for HWCAPs https://git.kernel.org/powerpc/c/ef1911c6d26678b0e91fea33f076e98925997f0c cheers

Re: [PATCH] powerpc/vdso: Fix __kernel_sync_dicache sequence with coherent icache

2022-07-29 Thread Michael Ellerman
On Fri, 20 May 2022 22:36:49 +1000, Nicholas Piggin wrote: > Processors with coherent icache require the sequence sync ; icbi ; isync > to entire store->execute coherency. icbi (to any address) must be > executed to ensure isync flushes the pipeline. See "POWER9 Processor > User's Manual, 4.6.2.2

Re: [PATCH 1/2] powerpc/mce: mce_init use early_cpu_to_node

2022-07-29 Thread Michael Ellerman
On Mon, 11 Jul 2022 13:06:52 +1000, Nicholas Piggin wrote: > cpu_to_node is not available (setup_arch() is called before > setup_per_cpu_areas() by start_kernel()). > > Patch 1 applied to powerpc/next. [1/2] powerpc/mce: mce_init use early_cpu_to_node

Re: [PATCH 0/3] powerpc/64s: Restrict NMMU workarounds

2022-07-29 Thread Michael Ellerman
On Wed, 25 May 2022 12:23:55 +1000, Nicholas Piggin wrote: > POWER10 doesn't require the two Nest MMU workarounds according to the > workbook. Also remove the last vestige of the spurious fault flushing > for NMMU which shouldn't have been required anyway. > > Thanks, > Nick > > [...] Applied

Re: [PATCH v2 0/3] Provide PowerVM LPAR Platform KeyStore driver for Self Encrypting Drives

2022-07-29 Thread Michael Ellerman
On Sat, 23 Jul 2022 07:30:45 -0400, Nayna Jain wrote: > PowerVM provides an isolated Platform KeyStore(PKS)[1] storage allocation > for each partition(LPAR) with individually managed access controls to store > sensitive information securely. The Linux Kernel can access this storage by >

Re: [PATCH v6 1/3] powerpc/powernv: Avoid crashing if rng is NULL

2022-07-29 Thread Michael Ellerman
On Thu, 28 Jul 2022 00:32:17 +1000, Michael Ellerman wrote: > On a bare-metal Power8 system that doesn't have an "ibm,power-rng", a > malicious QEMU and guest that ignore the absence of the > KVM_CAP_PPC_HWRNG flag, and calls H_RANDOM anyway, will dereference a > NULL pointer. > > In practice all

Re: [PATCH] powerpc: Update reviewers

2022-07-29 Thread Michael Ellerman
On Wed, 29 Jun 2022 16:08:17 +1000, Michael Ellerman wrote: > Christophe and Nick have been active in recent years on the mailing list > and making contributions, add them as reviewers. > > Paul and Ben are no longer actively reviewing powerpc patches, remove > them from the reviewers, they're

Re: [PATCH] powerpc: Fix all occurences of duplicate words

2022-07-29 Thread Michael Ellerman
On Mon, 18 Jul 2022 19:51:58 +1000, Michael Ellerman wrote: > Since commit 87c78b612f4f ("powerpc: Fix all occurences of "the the"") > fixed "the the", there's now a steady stream of patches fixing other > duplicate words. > > Just fix them all at once, to save the overhead of dealing with >

Re: [PATCH 01/13] selftests/powerpc: Ensure 16-byte stack pointer alignment

2022-07-29 Thread Michael Ellerman
On Tue, 28 Jun 2022 00:02:27 +1000, Michael Ellerman wrote: > The PUSH/POP_BASIC_STACK helpers in basic_asm.h do not ensure that the > stack pointer is always 16-byte aligned, which is required per the ABI. > > Fix the macros to do the alignment if the caller fails to. > > Currently only one

Re: [PATCH v2] powerpc/purgatory: Omit use of bin2c

2022-07-29 Thread Michael Ellerman
On Mon, 25 Jul 2022 10:56:19 +0900, Masahiro Yamada wrote: > The .incbin assembler directive is much faster than bin2c + $(CC). > > Do similar refactoring as in commit 4c0f032d4963 ("s390/purgatory: > Omit use of bin2c"). > > Please note the .quad directive matches to size_t in C (both 8 byte) >

Re: [PATCH v5 0/4] Extending NMI watchdog during LPM

2022-07-29 Thread Michael Ellerman
On Wed, 13 Jul 2022 17:47:25 +0200, Laurent Dufour wrote: > When a partition is transferred, once it arrives at the destination node, > the partition is active but much of its memory must be transferred from the > start node. > > It depends on the activity in the partition, but the more CPU the

Re: [PATCH v2] powerpc/perf: Give generic PMU a nice name

2022-07-29 Thread Michael Ellerman
On Fri, 10 Jun 2022 14:10:06 +0930, Joel Stanley wrote: > When booting on a machine that uses the compat pmu driver we see this: > > [0.071192] GENERIC_COMPAT performance monitor hardware support registered > > Which is a bit shouty. Give it a nicer name. > > > [...] Applied to

Re: [PATCH v2] powerpc/crash: save cpu register data in crash_smp_send_stop()

2022-07-29 Thread Michael Ellerman
On Thu, 30 Jun 2022 12:19:42 +0530, Hari Bathini wrote: > During kdump, two set of NMI IPIs are sent to secondary CPUs, if > 'crash_kexec_post_notifiers' option is set. The first set of NMI IPIs > to stop the CPUs and the other set to collect register data. Instead, > capture register data for

Re: [PATCH v5 1/2] powerpc/perf: Use PVR rather than oprofile field to determine CPU version

2022-07-29 Thread Michael Ellerman
On Thu, 7 Jul 2022 16:37:17 +0200, Christophe Leroy wrote: > From: Rashmica Gupta > > Currently the perf CPU backend drivers detect what CPU they're on using > cur_cpu_spec->oprofile_cpu_type. > > Although that works, it's a bit crufty to be using oprofile related fields, > especially seeing as

Re: [PATCH v3 1/4] video: fbdev: offb: Include missing linux/platform_device.h

2022-07-29 Thread Michael Ellerman
On Fri, 8 Jul 2022 09:11:05 +0200, Christophe Leroy wrote: > A lot of drivers were getting platform and of headers > indirectly via headers like asm/pci.h or asm/prom.h > > Most of them were fixed during 5.19 cycle but a newissue was > introduced by commit 52b1b46c39ae ("of: Create platform

Re: [PATCH v1 1/5] powerpc/32: Do not allow selection of e5500 or e6500 CPUs on PPC32

2022-07-29 Thread Michael Ellerman
On Mon, 11 Jul 2022 16:19:29 +0200, Christophe Leroy wrote: > Commit 0e00a8c9fd92 ("powerpc: Allow CPU selection also on PPC32") > enlarged the CPU selection logic to PPC32 by removing depend to > PPC64, and failed to restrict that depend to E5500_CPU and E6500_CPU. > Fortunately that got

Re: [PATCH] powerpc/32s: Fix boot failure with KASAN + SMP + JUMP_LABEL_FEATURE_CHECK_DEBUG

2022-07-29 Thread Michael Ellerman
On Fri, 1 Jul 2022 08:06:15 +0200, Christophe Leroy wrote: > Since commit 4291d085b0b0 ("powerpc/32s: Make pte_update() non > atomic on 603 core"), pte_update() has been using > mmu_has_feature(MMU_FTR_HPTE_TABLE) to avoid a useless atomic > operation on 603 cores. > > When kasan_early_init()

Re: [PATCH 1/3] powerpc/probes: Remove ppc_opcode_t

2022-07-29 Thread Michael Ellerman
On Thu, 7 Jul 2022 16:55:14 +0200, Christophe Leroy wrote: > ppc_opcode_t is just an u32. There is no point in hiding u32 > behind such a typedef. Remove it. > > Applied to powerpc/next. [1/3] powerpc/probes: Remove ppc_opcode_t

Re: [PATCH 1/2] powerpc/32: Call mmu_mark_initmem_nx() regardless of data block mapping.

2022-07-29 Thread Michael Ellerman
On Tue, 14 Jun 2022 12:34:08 +0200, Christophe Leroy wrote: > mark_initmem_nx() calls either mmu_mark_initmem_nx() or > set_memory_attr() based on return from v_block_mapped() > of _sinittext. > > But we can now handle text and data independently, so that > text may be mapped by block even when

Re: [PATCH v3 0/4] pseries-wdt: initial support for H_WATCHDOG-based watchdog timers

2022-07-29 Thread Michael Ellerman
On Wed, 13 Jul 2022 15:23:31 -0500, Scott Cheloha wrote: > PAPR v2.12 defines a new hypercall, H_WATCHDOG. This patch series > adds support for this hypercall to powerpc/pseries kernels and > introduces a new watchdog driver, "pseries-wdt", for the virtual > timers exposed by the hypercall. > >

Re: [PATCH kernel] powerpc/iommu: Fix iommu_table_in_use for a small default DMA window case

2022-07-29 Thread Michael Ellerman
On Thu, 14 Jul 2022 18:11:19 +1000, Alexey Kardashevskiy wrote: > The existing iommu_table_in_use() helper checks if the kernel is using > any of TCEs. There are some reserved TCEs: > 1) the very first one if DMA window starts from 0 to avoid having a zero > but still valid DMA handle; > 2)

Re: [PATCH 0/3] Documentation: powerpc: documentation fixes for Documentation/powerpc/elf_hwcaps.rst

2022-07-29 Thread Michael Ellerman
On Thu, 28 Jul 2022 10:33:30 +0700, Bagas Sanjaya wrote: > After merging powerpc tree for linux-next integration testing, Stephen > Rothwell reported htmldocs warnings at [1]. Fix these with self-explanatory > fixes in the shortlog below. > > [1]: >

Re: [PATCH kernel v2] pseries/iommu/ddw: Fix kdump to work in absence of ibm,dma-window

2022-07-29 Thread Michael Ellerman
On Wed, 29 Jun 2022 16:06:14 +1000, Alexey Kardashevskiy wrote: > The pseries platform uses 32bit default DMA window (always 4K pages) and > optional 64bit DMA window available via DDW ("Dynamic DMA Windows"), > 64K or 2M pages. For ages the default one was not removed and a huge > window was

Re: [PATCH V3 1/2] powerpc/perf: Add support for caps under sysfs in powerpc

2022-07-29 Thread Michael Ellerman
On Fri, 20 May 2022 14:16:29 +0530, Athira Rajeev wrote: > Add caps support under "/sys/bus/event_source/devices//" > for powerpc. This directory can be used to expose some of the > specific features that powerpc PMU supports to the user. > Example: pmu_name. The name of PMU registered will depend

Re: [PATCH kernel] powerpc/ioda/iommu/debugfs: Generate unique debugfs entries

2022-07-29 Thread Michael Ellerman
On Thu, 14 Jul 2022 18:08:00 +1000, Alexey Kardashevskiy wrote: > The iommu_table::it_index is a LIOBN which is not initialized on PowerNV > as it is not used except IOMMU debugfs where it is used for a node name. > > This initializes it_index witn a unique number to avoid warnings and > have a

RE: [PATCH v4 00/25] net: dpaa: Cleanups in preparation for phylink conversion

2022-07-29 Thread Camelia Alexandra Groza
> -Original Message- > From: Sean Anderson > Sent: Monday, July 25, 2022 18:10 > To: David S . Miller ; Eric Dumazet > ; Jakub Kicinski ; Paolo Abeni > ; net...@vger.kernel.org > Cc: linuxppc-dev@lists.ozlabs.org; Camelia Alexandra Groza > ; open list ; > Madalin Bucur ; linux-arm- >

[GIT PULL] Please pull powerpc/linux.git powerpc-5.19-6 tag

2022-07-29 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull two more powerpc fixes for 5.19. Notably the re-enablement of the new amdgpu display engine, which was previously causing build errors. Restricting it to compilers using 128-bit long double seems to have fixed the build

Re: [PATCH kernel] powerpc/iommu: Add iommu_ops to report capabilities and allow blocking domains

2022-07-29 Thread Jason Gunthorpe
On Fri, Jul 29, 2022 at 04:24:36AM +, Tian, Kevin wrote: > > It is a POWER specific thing with one not-so-obvious consequence of each > > window having an independent page size (fixed at the moment or creation) > > and (most likely) different page size, like, 4K vs. 2M. > > page size is

Re: [linux-next] Build failure drivers/cxl/cxl_pmem (powerpc)

2022-07-29 Thread Sachin Sant
> From 8ca5b098b6ff1048953be748dbffc987996e2605 Mon Sep 17 00:00:00 2001 > From: Michael Ellerman > Date: Fri, 29 Jul 2022 16:13:55 +1000 > Subject: [PATCH] powerpc/mm: Export memory_add_physaddr_to_nid() for modules > > The cxl_pmem module wants to call memory_add_physaddr_to_nid(), so >

[Bug 215285] power9 le: amdgpu: *ERROR* hw_init of IP block failed -22

2022-07-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215285 Michael Ellerman (mich...@ellerman.id.au) changed: What|Removed |Added Status|RESOLVED|CLOSED --

[Bug 215285] power9 le: amdgpu: *ERROR* hw_init of IP block failed -22

2022-07-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215285 Michael Ellerman (mich...@ellerman.id.au) changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 216183] [bisected] Kernel 5.19-rc4 boots ok with CONFIG_PPC_RADIX_MMU=y but fails to boot with CONFIG_PPC_HASH_MMU_NATIVE=y

2022-07-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216183 --- Comment #9 from Michael Ellerman (mich...@ellerman.id.au) --- I can't make sense of that bisection result. I'm not saying it's wrong, but I can't see how that commit can cause this bug. -- You may reply to this email to add a comment. You

[Bug 206669] Little-endian kernel crashing on POWER8 on heavy big-endian PowerKVM load

2022-07-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206669 Michael Ellerman (mich...@ellerman.id.au) changed: What|Removed |Added Status|NEEDINFO|ASSIGNED --

[Bug 213079] [bisected] IRQ problems and crashes on a PowerMac G5 with 5.12.3

2022-07-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=213079 Michael Ellerman (mich...@ellerman.id.au) changed: What|Removed |Added Status|NEW |NEEDINFO

[Bug 216090] GCC12: printk.h:446:44: error: using a dangling pointer to '__str'

2022-07-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216090 Michael Ellerman (mich...@ellerman.id.au) changed: What|Removed |Added Status|RESOLVED|CLOSED --

[Bug 216090] GCC12: printk.h:446:44: error: using a dangling pointer to '__str'

2022-07-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216090 Michael Ellerman (mich...@ellerman.id.au) changed: What|Removed |Added CC|

Re: [PATCH v2] powerpc/85xx: Fix reference leak in xes_mpc85xx_setup_arch

2022-07-29 Thread Michael Ellerman
Miaoqian Lin writes: > of_find_node_by_path() returns remote device nodepointer with > refcount incremented, we should use of_node_put() on it when done. > Add missing of_node_put() to avoid refcount leak. > > Fixes: 3038acf9091f ("powerpc/85xx: Add platform support for X-ES MPC85xx > boards") >

Re: [linux-next] Build failure drivers/cxl/cxl_pmem (powerpc)

2022-07-29 Thread Michael Ellerman
Sachin Sant writes: > Linux-next (5.19.0-rc8-next-20220728) fails to build on powerpc with > following error: > > ERROR: modpost: "memory_add_physaddr_to_nid" [drivers/cxl/cxl_pmem.ko] > undefined! > make[1]: *** [scripts/Makefile.modpost:128: modules-only.symvers] Error 1 > > The code in