Re: [PATCH v2 6/6] powerpc/pseries: Add papr-platform-dump character driver for dump retrieval

2025-02-06 Thread Michal Suchánek
On Wed, Feb 05, 2025 at 11:51:19PM -0800, Haren Myneni wrote: > On Wed, 2025-02-05 at 15:28 +0100, Michal Suchánek wrote: > > Hello, > > > > thanks for working on this! > > > > I see in thes version you ended up reusing the existing RTAS call > > code > > which looks better. > > > > From the pas

Re: kismet: WARNING: unmet direct dependencies detected for HUGETLBFS when selected by PPC_8xx

2025-02-06 Thread Miaohe Lin
On 2025/2/6 16:47, Christophe Leroy wrote: > > > Le 06/02/2025 à 08:12, Miaohe Lin a écrit : >> On 2025/2/6 14:30, Christophe Leroy wrote: >>> >>> >>> Le 06/02/2025 à 03:08, Miaohe Lin a écrit : On 2025/2/6 0:35, Christophe Leroy wrote: > > > Le 05/02/2025 à 03:39, Miaohe Lin a é

Re: [PATCH v3 00/18] vDSO: Introduce generic data storage

2025-02-06 Thread David Woodhouse
On Tue, 2025-02-04 at 13:05 +0100, Thomas Weißschuh wrote: > Currently each architecture defines the setup of the vDSO data page on > its own, mostly through copy-and-paste from some other architecture. > Extend the existing generic vDSO implementation to also provide generic > data storage. > This

Re: panic in cpufreq_online() in 6.14-rc1 on PowerNV

2025-02-06 Thread Gautam Menghani
Hi Dan, The fix for this was pulled yesterday[1], you can apply it [1] - https://lore.kernel.org/all/20250205181347.2079272-1-aboor...@linux.ibm.com Thanks, Gautam

Re: kismet: WARNING: unmet direct dependencies detected for HUGETLBFS when selected by PPC_8xx

2025-02-06 Thread Christophe Leroy
Le 06/02/2025 à 08:12, Miaohe Lin a écrit : On 2025/2/6 14:30, Christophe Leroy wrote: Le 06/02/2025 à 03:08, Miaohe Lin a écrit : On 2025/2/6 0:35, Christophe Leroy wrote: Le 05/02/2025 à 03:39, Miaohe Lin a écrit : On 2025/1/24 6:24, kernel test robot wrote: tree:   https://eur01.s

Re: panic in cpufreq_online() in 6.14-rc1 on PowerNV

2025-02-06 Thread Dan Horák
On Thu, 6 Feb 2025 14:30:40 +0530 Gautam Menghani wrote: > Hi Dan, > > The fix for this was pulled yesterday[1], you can apply it > > [1] - > https://lore.kernel.org/all/20250205181347.2079272-1-aboor...@linux.ibm.com thanks for the pointer, will give it a try Dan

Re: [PATCH v3 00/18] vDSO: Introduce generic data storage

2025-02-06 Thread Thomas Weißschuh
On Thu, Feb 06, 2025 at 09:31:42AM +, David Woodhouse wrote: > On Tue, 2025-02-04 at 13:05 +0100, Thomas Weißschuh wrote: > > Currently each architecture defines the setup of the vDSO data page on > > its own, mostly through copy-and-paste from some other architecture. > > Extend the existing g

panic in cpufreq_online() in 6.14-rc1 on PowerNV

2025-02-06 Thread Dan Horák
Hi, I am getting a kernel panic on my Raptor Talos Power9 system after updating to the 6.14-rc1 kernel from 6.13. Seems reproducable every time, but I haven't start bisecting yet. Does it sound familiar to anyone? ... [4.226443] powernv-cpufreq: cpufreq pstate min 0x63 nominal 0x30 max 0x0 [

[RFC PATCH] powerpc/pseries/msi: Avoid reading PCI device registers in reduced power state

2025-02-06 Thread Gautam Menghani
When a system is being suspended to RAM, the PCI devices are also suspended and the code ends up calling pseries_msi_compose_msg() and this triggers the BUG_ON() in __pci_read_msi_msg() because the device at that point is in reduced power state. In reduced power state, the memory mapped registers o

Re: [PATCH v2 6/6] powerpc/pseries: Add papr-platform-dump character driver for dump retrieval

2025-02-06 Thread Haren Myneni
On Thu, 2025-02-06 at 20:53 +0100, Michal Suchánek wrote: > On Thu, Feb 06, 2025 at 10:34:42AM -0800, Haren Myneni wrote: > > On Thu, 2025-02-06 at 16:32 +0100, Michal Suchánek wrote: > > > On Thu, Feb 06, 2025 at 07:28:14AM -0800, Haren Myneni wrote: > > > > On Thu, 2025-02-06 at 10:18 +0100, Mich

Re: [PATCH v7 19/20] fs/dax: Properly refcount fs dax pages

2025-02-06 Thread Guenter Roeck
On Wed, Feb 05, 2025 at 09:48:16AM +1100, Alistair Popple wrote: > Currently fs dax pages are considered free when the refcount drops to > one and their refcounts are not increased when mapped via PTEs or > decreased when unmapped. This requires special logic in mm paths to > detect that these page

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Dan Williams
Asahi Lina wrote: > Hi, > > On February 6, 2025 1:10:15 AM GMT+01:00, Dan Williams > wrote: > >Vivek Goyal wrote: > >> On Fri, Jan 10, 2025 at 05:00:29PM +1100, Alistair Popple wrote: > >> > FS DAX requires file systems to call into the DAX layout prior to > >> > unlinking > >> > inodes to ensu

Re: [PATCH v2 6/6] powerpc/pseries: Add papr-platform-dump character driver for dump retrieval

2025-02-06 Thread Michal Suchánek
On Thu, Feb 06, 2025 at 10:34:42AM -0800, Haren Myneni wrote: > On Thu, 2025-02-06 at 16:32 +0100, Michal Suchánek wrote: > > On Thu, Feb 06, 2025 at 07:28:14AM -0800, Haren Myneni wrote: > > > On Thu, 2025-02-06 at 10:18 +0100, Michal Suchánek wrote: > > > > On Wed, Feb 05, 2025 at 11:51:19PM -080

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Stefan Hajnoczi
On Thu, Feb 06, 2025 at 03:59:03PM +0100, Albert Esteve wrote: > Hi! > > On Thu, Feb 6, 2025 at 3:30 PM Stefan Hajnoczi wrote: > > > > On Thu, Feb 06, 2025 at 08:37:07AM -0500, Vivek Goyal wrote: > > > And then there are challenges at QEMU level. virtiofsd needs additional > > > vhost-user comman

[PATCH v3 27/28] mm/hugetlb: enable bootmem allocation from CMA areas

2025-02-06 Thread Frank van der Linden
If hugetlb_cma_only is enabled, we know that hugetlb pages can only be allocated from CMA. Now that there is an interface to do early reservations from a CMA area (returning memblock memory), it can be used to allocate hugetlb pages from CMA. This also allows for doing pre-HVO on these pages (if e

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Asahi Lina
Hi, On February 6, 2025 1:10:15 AM GMT+01:00, Dan Williams wrote: >Vivek Goyal wrote: >> On Fri, Jan 10, 2025 at 05:00:29PM +1100, Alistair Popple wrote: >> > FS DAX requires file systems to call into the DAX layout prior to unlinking >> > inodes to ensure there is no ongoing DMA or other remote

Re: [PATCH 6/9] dt-bindings: pci: Add fsl,mpc83xx-pcie bindings

2025-02-06 Thread Mukesh Kumar Savaliya
On 2/5/2025 5:04 AM, J. Neuschäfer wrote: On Wed, Jan 29, 2025 at 05:55:26PM -0500, Frank Li wrote: On Sun, Jan 26, 2025 at 07:59:01PM +0100, J. Neuschäfer wrote: Supplement Documentation/devicetree/bindings/pci/fsl,pci.txt with a more formal binding in YAML format. neat: subject: since bin

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Albert Esteve
Hi! On Thu, Feb 6, 2025 at 3:30 PM Stefan Hajnoczi wrote: > > On Thu, Feb 06, 2025 at 08:37:07AM -0500, Vivek Goyal wrote: > > And then there are challenges at QEMU level. virtiofsd needs additional > > vhost-user commands to implement DAX and these never went upstream in > > QEMU. I hope these c

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Asahi Lina
On 2/7/25 4:44 AM, Dan Williams wrote: > Asahi Lina wrote: >> Hi, >> >> On February 6, 2025 1:10:15 AM GMT+01:00, Dan Williams >> wrote: >>> Vivek Goyal wrote: On Fri, Jan 10, 2025 at 05:00:29PM +1100, Alistair Popple wrote: > FS DAX requires file systems to call into the DAX layout prio

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Vivek Goyal
On Wed, Feb 05, 2025 at 04:10:15PM -0800, Dan Williams wrote: > Vivek Goyal wrote: > > On Fri, Jan 10, 2025 at 05:00:29PM +1100, Alistair Popple wrote: > > > FS DAX requires file systems to call into the DAX layout prior to > > > unlinking > > > inodes to ensure there is no ongoing DMA or other re

[PATCH 2/9] net: bcmasp: Add missing of_node_get() before of_find_node_by_name()

2025-02-06 Thread Zhang Zekun
of_find_node_by_name() will decrease the refcount of the device_node. So, get the device_node before passing to it. Fixes: 490cb412007d ("net: bcmasp: Add support for ASP2.0 Ethernet controller") Signed-off-by: Zhang Zekun --- drivers/net/ethernet/broadcom/asp2/bcmasp.c | 2 +- 1 file changed, 1

[PATCH 1/9] of: Add warpper function of_find_node_by_name_balanced()

2025-02-06 Thread Zhang Zekun
There are many drivers use of_find_node_by_name() with a not-NULL device_node pointer, and a number of callers would require a call to of_node_get() before using it. There are also some drivers who forget to call of_node_get() which would cause a ref count leak[1]. So, Add a wraper function for of_

[PATCH 0/9] Add wrapper function of_find_node_by_name_balanced()

2025-02-06 Thread Zhang Zekun
Add wrapper function of_find_node_by_name_balanced() for drivers who want to call of_find_node_by_name() and have to blance the ref count by calling of_node_get(). For drivers who forget to call of_node_get(), can also utilizing of_find_node_by_name_balanced() to fix a refcount leak. Zhang Zekun (

[PATCH 4/9] media: max9286: Use of_find_node_by_name_balanced() to find device_node

2025-02-06 Thread Zhang Zekun
Instead of directly using of_node_get() before of_find_node_by_name() to balance the refcount of the device_node, using wraper function of_find_node_by_name_balanced() to make code logic a bit simplier. Signed-off-by: Zhang Zekun --- drivers/media/i2c/max9286.c | 4 +--- 1 file changed, 1 insert

[PATCH 6/9] net: dsa: Use of_find_node_by_name_balanced() to find device_node

2025-02-06 Thread Zhang Zekun
Instead of directly using of_node_get() before of_find_node_by_name() to balance the refcount of the device_node, using wraper function of_find_node_by_name_balanced() to make code logic a bit simplier. Signed-off-by: Zhang Zekun --- drivers/net/dsa/bcm_sf2.c | 4 +--- 1 file changed, 1 insertio

[PATCH 3/9] net: pse-pd: Add missing of_node_get() before of_find_node_by_name()

2025-02-06 Thread Zhang Zekun
of_find_node_by_name() will decrease the refount of the device_node. So, get the device_node before passing to it. Fixes: 20e6d190ffe1 ("net: pse-pd: Add TI TPS23881 PSE controller driver") Signed-off-by: Zhang Zekun --- drivers/net/pse-pd/tps23881.c | 2 +- 1 file changed, 1 insertion(+), 1 del

Re: [PATCH RFC 9/9] dt-bindings: nand: Convert fsl,elbc bindings to YAML

2025-02-06 Thread J . Neuschäfer
On Sun, Jan 26, 2025 at 10:23:21PM -0600, Rob Herring wrote: > On Sun, Jan 26, 2025 at 07:59:04PM +0100, J. Neuschäfer wrote: > > Convert the Freescale localbus controller bindings from text form to > > YAML. The list of compatible strings reflects current usage. > > > > Changes compared to the tx

[PATCH 5/9] powerpc: Use of_find_node_by_name_balanced() to find device_node

2025-02-06 Thread Zhang Zekun
Instead of directly using of_node_get() before of_find_node_by_name() to balance the refcount of the device_node, using wraper function of_find_node_by_name_balanced() to make code logic a bit simplier. Signed-off-by: Zhang Zekun --- arch/powerpc/platforms/powermac/pic.c | 4 +--- 1 file changed

[PATCH 8/9] net: prestera: Use of_find_node_by_name_balanced() to find device_node

2025-02-06 Thread Zhang Zekun
Instead of directly using of_node_get() before of_find_node_by_name() to balance the refcount of the device_node, using wraper function of_find_node_by_name_balanced() to make code logic a bit simplier. Signed-off-by: Zhang Zekun --- drivers/net/ethernet/marvell/prestera/prestera_main.c | 3 +--

[PATCH 9/9] regulator: scmi: Use of_find_node_by_name_balanced() to find device_node

2025-02-06 Thread Zhang Zekun
Instead of directly using of_node_get() before of_find_node_by_name() to balance the refcount of the device_node, using wraper function of_find_node_by_name_balanced() to make code logic a bit simplier. Signed-off-by: Zhang Zekun --- drivers/regulator/scmi-regulator.c | 3 +-- 1 file changed, 1

[PATCH 7/9] net: dsa: hellcreek: Use of_find_node_by_name_balanced() to find device_node

2025-02-06 Thread Zhang Zekun
Instead of directly using of_node_get() before of_find_node_by_name() to balance the refcount of the device_node, using wraper function of_find_node_by_name_balanced() to make code logic a bit simplier. Signed-off-by: Zhang Zekun --- drivers/net/dsa/hirschmann/hellcreek_ptp.c | 3 +-- 1 file cha

Re: [PATCH v2 0/5] kallsyms: Emit symbol for holes in text and fix weak function issue

2025-02-06 Thread Zheng Yejian
On 2025/1/22 01:48, Steven Rostedt wrote: Sorry for the late reply. Forgot about this as I was focused on other end-of-year issues. On Sat, 14 Dec 2024 16:37:59 +0800 Zheng Yejian wrote: The direct cause of this issue is the wrong fentry being founded by ftrace_location(), following the ap

Re: [PATCH RFC 9/9] dt-bindings: nand: Convert fsl,elbc bindings to YAML

2025-02-06 Thread J . Neuschäfer
On Mon, Jan 27, 2025 at 09:37:32AM +0100, Krzysztof Kozlowski wrote: > On Sun, Jan 26, 2025 at 07:59:04PM +0100, J. Neuschäfer wrote: > > Convert the Freescale localbus controller bindings from text form to > > YAML. The list of compatible strings reflects current usage. > > simple-bus and 20 othe

Re: [PATCH RFC 9/9] dt-bindings: nand: Convert fsl,elbc bindings to YAML

2025-02-06 Thread J . Neuschäfer
On Wed, Jan 29, 2025 at 06:01:04PM -0500, Frank Li wrote: > On Sun, Jan 26, 2025 at 07:59:04PM +0100, J. Neuschäfer wrote: > > Convert the Freescale localbus controller bindings from text form to > > YAML. The list of compatible strings reflects current usage. > > > > Changes compared to the txt ve

Re: [PATCH v2 6/6] powerpc/pseries: Add papr-platform-dump character driver for dump retrieval

2025-02-06 Thread Haren Myneni
On Thu, 2025-02-06 at 10:18 +0100, Michal Suchánek wrote: > On Wed, Feb 05, 2025 at 11:51:19PM -0800, Haren Myneni wrote: > > On Wed, 2025-02-05 at 15:28 +0100, Michal Suchánek wrote: > > > Hello, > > > > > > thanks for working on this! > > > > > > I see in thes version you ended up reusing the e

Re: [PATCH v2 6/6] powerpc/pseries: Add papr-platform-dump character driver for dump retrieval

2025-02-06 Thread Michal Suchánek
On Thu, Feb 06, 2025 at 07:28:14AM -0800, Haren Myneni wrote: > On Thu, 2025-02-06 at 10:18 +0100, Michal Suchánek wrote: > > On Wed, Feb 05, 2025 at 11:51:19PM -0800, Haren Myneni wrote: > > > On Wed, 2025-02-05 at 15:28 +0100, Michal Suchánek wrote: > > > > Hello, > > > > > > > > thanks for work

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread Stefan Hajnoczi
On Thu, Feb 06, 2025 at 08:37:07AM -0500, Vivek Goyal wrote: > And then there are challenges at QEMU level. virtiofsd needs additional > vhost-user commands to implement DAX and these never went upstream in > QEMU. I hope these challenges are sorted at some point of time. Albert Esteve has been wo

Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path

2025-02-06 Thread David Hildenbrand
On 06.02.25 15:59, Albert Esteve wrote: Hi! On Thu, Feb 6, 2025 at 3:30 PM Stefan Hajnoczi wrote: On Thu, Feb 06, 2025 at 08:37:07AM -0500, Vivek Goyal wrote: And then there are challenges at QEMU level. virtiofsd needs additional vhost-user commands to implement DAX and these never went ups

Re: [PATCH v2 6/6] powerpc/pseries: Add papr-platform-dump character driver for dump retrieval

2025-02-06 Thread Haren Myneni
On Thu, 2025-02-06 at 16:32 +0100, Michal Suchánek wrote: > On Thu, Feb 06, 2025 at 07:28:14AM -0800, Haren Myneni wrote: > > On Thu, 2025-02-06 at 10:18 +0100, Michal Suchánek wrote: > > > On Wed, Feb 05, 2025 at 11:51:19PM -0800, Haren Myneni wrote: > > > > On Wed, 2025-02-05 at 15:28 +0100, Mich