Re: [PATCH] cxl: Fix cross-reference in documentation and add deprecation warning

2025-02-18 Thread Bagas Sanjaya
On Wed, Feb 19, 2025 at 05:48:07PM +1100, Andrew Donnellan wrote: > commit 5731d41af924 ("cxl: Deprecate driver") labelled the cxl driver as > deprecated and moved the ABI documentation to the obsolete/ subdirectory, > but didn't update cxl.rst, causing a warning once ff7ff6eb4f809 ("docs: > media:

[PATCH v3 0/1] Remove cxl driver

2025-02-18 Thread Andrew Donnellan
This series removes the cxl for IBM CAPI devices. CAPI devices have been out of production for some time, and we're not aware of any remaining users who are likely to want a modern kernel. There's almost certainly some remaining driver bugs and we don't have much hardware available to properly tes

[PATCH] cxl: Fix cross-reference in documentation and add deprecation warning

2025-02-18 Thread Andrew Donnellan
commit 5731d41af924 ("cxl: Deprecate driver") labelled the cxl driver as deprecated and moved the ABI documentation to the obsolete/ subdirectory, but didn't update cxl.rst, causing a warning once ff7ff6eb4f809 ("docs: media: Allow creating cross-references for RC ABI") was merged. Fix the cross-r

Re: linux-next: build warning after merge of the powerpc tree

2025-02-18 Thread Andrew Donnellan
On Wed, 2025-02-19 at 15:46 +1100, Stephen Rothwell wrote: > Hi all, > > After merging the powerpc tree, today's linux-next build (htmldocs) > produced this warning: > > WARNING: Documentation/ABI/testing/sysfs-class-cxl not found > > Introduced by commit > >   5731d41af924 ("cxl: Deprecate dri

Re: linux-next: build warning after merge of the powerpc tree

2025-02-18 Thread Madhavan Srinivasan
On 2/19/25 10:16 AM, Stephen Rothwell wrote: > Hi all, > > After merging the powerpc tree, today's linux-next build (htmldocs) > produced this warning: > > WARNING: Documentation/ABI/testing/sysfs-class-cxl not found > > Introduced by commit > > 5731d41af924 ("cxl: Deprecate driver") > >

linux-next: build warning after merge of the powerpc tree

2025-02-18 Thread Stephen Rothwell
Hi all, After merging the powerpc tree, today's linux-next build (htmldocs) produced this warning: WARNING: Documentation/ABI/testing/sysfs-class-cxl not found Introduced by commit 5731d41af924 ("cxl: Deprecate driver") The reference is from Documentation/arch/powerpc/cxl.rst I don't know w

Re: [PATCH V2] net: freescale: ucc_geth: make ugeth_mac_ops be static const

2025-02-18 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 17 Feb 2025 09:29:30 +0800 you wrote: > From: Pei Xiao > > sparse warning: > sparse: symbol 'ugeth_mac_ops' was not declared. Should it be > static. > > Add static to fix sparse warnings and add const.

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

2025-02-18 Thread Alistair Popple
On Tue, Feb 18, 2025 at 12:37:28PM +0100, David Hildenbrand wrote: > On 18.02.25 04:55, 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 s

Re: [PATCH] tools/perf: Pick the correct dwarf die while adding probe point for a function

2025-02-18 Thread Namhyung Kim
Added Masami. On Wed, Feb 12, 2025 at 06:49:49PM +0530, Athira Rajeev wrote: > Perf probe on vfs_fstatat fails as below on a powerpc system > > ./perf probe -nf --max-probes=512 -a 'vfs_fstatat $params' > Segmentation fault (core dumped) > > This is observed while running perftool-testsuite_prob

[PATCH v2 0/1] mm: pgtable: fix pte_swp_exclusive

2025-02-18 Thread Magnus Lindholm
The first version of this patch intended to fix issues with swap memory on alpha, when swapoff fails to writeback exclusive swap pages and gets stuck in an infinite loop trying to do so. This problem appeared after commit a172d5128706028ac07b8db709728379ecc72f6e and as far as I know only affected t

[PATCH v2 1/1] mm: pgtable: fix pte_swp_exclusive

2025-02-18 Thread Magnus Lindholm
Make pte_swp_exclusive return bool instead of int. This will better reflect how pte_swp_exclusive is actually used in the code. This fixes swap/swapoff problems on Alpha due pte_swp_exclusive not returning correct values when _PAGE_SWP_EXCLUSIVE bit resides in upper 32-bits of PTE (like on alpha).

Re: [PATCH v2] powerpc/pseries/iommu: Wait until all TCEs are unmapped before deleting DDW

2025-02-18 Thread Jesper Dangaard Brouer
Cc. netdev and Yunsheng Lin On 13/02/2025 18.10, Gaurav Batra wrote: Some of the network drivers, like Mellanox, use core linux page_pool APIs to manage DMA buffers. These page_pool APIs cache DMA buffers with infrequent map/unmap calls for DMA mappings, thus increasing performance. When a devi

Re: [PATCH] selftests: make shell scripts POSIX-compliant

2025-02-18 Thread Waiman Long
On 2/16/25 7:02 AM, Aditya Dutt wrote: Changes include: - Replaced [[ ... ]] with [ ... ] - Replaced == with = - Replaced printf -v with cur=$(printf ...). - Replaced echo -e with printf "%b\n" ... The above mentioned are Bash/GNU extensions and are not part of POSIX. Using shells like dash or n

Re: [PATCH 0/9] Extend automarkup support for ABI symbols

2025-02-18 Thread Jonathan Corbet
Mauro Carvalho Chehab writes: >> WARNING: Documentation/ABI/testing/sysfs-class-cxl not found > > I need to double-check verify this one, as it didn't appear on > my tests. Are you getting it against docs-next or linux-next? I get this one too, FWIW. I've gone ahead and applied the series, but

[PATCH v2] kbuild: Add missing $(objtree) prefix to powerpc crtsavres.o artifact

2025-02-18 Thread Kienan Stewart
In the upstream commit 214c0eea43b2ea66bcd6467ea57e47ce8874191b ("kbuild: add $(objtree)/ prefix to some in-kernel build artifacts") artifacts required for building out-of-tree kernel modules had $(objtree) prepended to them to prepare for building in other directories. When building external modu

Re: [PATCH v13 4/5] arm64: support copy_mc_[user]_highpage()

2025-02-18 Thread Catalin Marinas
On Tue, Feb 18, 2025 at 07:51:10PM +0800, Tong Tiangen wrote: > > > > > 在 2025/2/13 1:11, Catalin Marinas 写道: > > > > > > On Mon, Dec 09, 2024 at 10:42:56AM +0800, Tong Tiangen wrote: > > > > > > > Currently, many scenarios that can tolerate memory errors when > > > > > > > copying page > > > > >

[PATCH v4 26/27] mm/hugetlb: enable bootmem allocation from CMA areas

2025-02-18 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

[powerpc:merge] BUILD SUCCESS 956c5a532ca99463143d340261c0046bbe359e75

2025-02-18 Thread kernel test robot
13.2.0 arc allnoconfiggcc-13.2.0 arc allyesconfiggcc-13.2.0 arc randconfig-001-20250218gcc-13.2.0 arc randconfig-002-20250218gcc-13.2.0 arm allmodconfiggcc-

[PATCH v11 0/4] Support SMT control on arm64

2025-02-18 Thread Yicong Yang
From: Yicong Yang The core CPU control framework supports runtime SMT control which is not yet supported on arm64. Besides the general vulnerabilities concerns we want this runtime control on our arm64 server for: - better single CPU performance in some cases - saving overall power consumption

[PATCH v11 4/4] arm64: Kconfig: Enable HOTPLUG_SMT

2025-02-18 Thread Yicong Yang
From: Yicong Yang Enable HOTPLUG_SMT for SMT control. Reviewed-by: Jonathan Cameron Signed-off-by: Yicong Yang --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index fcdd0ed3eca8..947616d37e0c 100644 --- a/arch/arm64/Kconfig ++

[PATCH v11 2/4] arch_topology: Support SMT control for OF based system

2025-02-18 Thread Yicong Yang
From: Yicong Yang On building the topology from the devicetree, we've already gotten the SMT thread number of each core. Update the largest SMT thread number and enable the SMT control by the end of topology parsing. The core's SMT control provides two interface to the users [1]: 1) enable/disab

[PATCH v11 1/4] cpu/SMT: Provide a default topology_is_primary_thread()

2025-02-18 Thread Yicong Yang
From: Yicong Yang Currently if architectures want to support HOTPLUG_SMT they need to provide a topology_is_primary_thread() telling the framework which thread in the SMT cannot offline. However arm64 doesn't have a restriction on which thread in the SMT cannot offline, a simplest choice is that

[PATCH v11 3/4] arm64: topology: Support SMT control on ACPI based system

2025-02-18 Thread Yicong Yang
From: Yicong Yang For ACPI we'll build the topology from PPTT and we cannot directly get the SMT number of each core. Instead using a temporary xarray to record the heterogeneous information (from ACPI_PPTT_ACPI_IDENTICAL) and SMT information of the first core in its heterogeneous CPU cluster whe

Re: [PATCH v2] KVM: PPC: Enable CAP_SPAPR_TCE_VFIO on pSeries KVM guests

2025-02-18 Thread Amit Machhiwal
Hi Ritesh, Thanks for reviewing the patch. My response is inline: On 2025/02/17 09:30 AM, Ritesh Harjani (IBM) wrote: > Amit Machhiwal writes: > > > Currently on book3s-hv, the capability KVM_CAP_SPAPR_TCE_VFIO is only > > available for KVM Guests running on PowerNV and not for the KVM guests >

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

2025-02-18 Thread Dan Horák
On Tue, 18 Feb 2025 11:35:08 +1000 "Nicholas Piggin" wrote: > On Thu Feb 6, 2025 at 6:41 PM AEST, Dan Horák wrote: > > 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 sta

Re: [PATCH 1/1] powerpc: use __clang__ instead of CONFIG_CC_IS_CLANG

2025-02-18 Thread Shung-Hsi Yu
On Tue, Feb 18, 2025 at 08:54:03AM +0100, Michal Suchánek wrote: > Hello, > > how does this happen? > > On Tue, Feb 18, 2025 at 12:48:01PM +0800, Shung-Hsi Yu wrote: > > Due to include chain (below), powerpc's asm-compat.h is part of UAPI, ... > > include/uapi/linux/ptrace.h > > arch/powerpc/

Re: [PATCH v13 4/5] arm64: support copy_mc_[user]_highpage()

2025-02-18 Thread Tong Tiangen
在 2025/2/17 22:55, Catalin Marinas 写道: On Mon, Feb 17, 2025 at 04:07:49PM +0800, Tong Tiangen wrote: 在 2025/2/15 1:24, Catalin Marinas 写道: On Fri, Feb 14, 2025 at 10:49:01AM +0800, Tong Tiangen wrote: 在 2025/2/13 1:11, Catalin Marinas 写道: On Mon, Dec 09, 2024 at 10:42:56AM +0800, Tong Tian

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

2025-02-18 Thread David Hildenbrand
On 18.02.25 04:55, 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 pages should not be properly refc

Re: [PATCH v3] fs: introduce getfsxattrat and setfsxattrat syscalls

2025-02-18 Thread Andrey Albershteyn
Got more comments below with private mail: On 2025-02-11 18:22:47, Andrey Albershteyn wrote: > From: Andrey Albershteyn > > Introduce getfsxattrat and setfsxattrat syscalls to manipulate inode > extended attributes/flags. The syscalls take parent directory fd and > path to the child together wit

[PATCH] mm/ioremap: Pass pgprot_t to ioremap_prot() instead of unsigned long

2025-02-18 Thread Anshuman Khandual
From: Ryan Roberts ioremap_prot() currently accepts pgprot_val parameter as an unsigned long, thus implicitly assuming that pgprot_val and pgprot_t could never be bigger than unsigned long. But this assumption soon will not be true on arm64 when using D128 pgtables. In 128 bit page table configur

Re: [RESEND v4 0/3] mm/pkey: Add PKEY_UNRESTRICTED macro

2025-02-18 Thread Yury Khrustalev
On Mon, Feb 17, 2025 at 09:33:10PM +, Catalin Marinas wrote: > On Mon, 13 Jan 2025 17:06:16 +, Yury Khrustalev wrote: > > Add PKEY_UNRESTRICTED macro to mman.h and use it in selftests. > > > > For context, this change will also allow for more consistent update of the > > Glibc manual which