This series removes the cxl and cxlflash drivers 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 avai
We intend to remove the cxlflash driver in an upcoming release. It is
already marked as Obsolete in MAINTAINERS.
The cxlflash driver has received minimal maintenance for some time, and
the CAPI Flash hardware that uses it is no longer commercially available.
Add a warning message on probe and cha
This series marks the cxl and cxlflash drivers as obsolete/deprecated,
disables them by default, and prints a warning to users on probe.
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 certain
The cxl driver is no longer actively maintained and we intend to remove it
in a future kernel release.
cxl has received minimal maintenance for several years, and is not
supported on the Power10 processor. We aren't aware of any users who are
likely to be using recent kernels.
Change its MAINTAIN
On Mon, Dec 9, 2024 at 6:45 PM Kalesh Singh wrote:
>
> Commit 249608ee4713 ("mm: respect mmap hint address when aligning for THP")
> fallsback to PAGE_SIZE alignment instead of THP alignment
> for anonymous mapping as long as a hint address is provided by the user
> -- even if we weren't able to a
On Mon, Dec 9, 2024 at 6:41 PM Kalesh Singh wrote:
>
> Consolidate the hint searches from both direcitons (topdown and
> bottomup) into generic_mmap_hint().
>
> No functional change is introduced.
>
> Signed-off-by: Kalesh Singh
> ---
> include/linux/sched/mm.h | 4
> mm/mmap.c
Commit 249608ee4713 ("mm: respect mmap hint address when aligning for THP")
fallsback to PAGE_SIZE alignment instead of THP alignment
for anonymous mapping as long as a hint address is provided by the user
-- even if we weren't able to allocate the unmapped area at the hint
address in the end.
Thi
Introduce powerpc arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
This is a preparatory patch, no functional change is introduced.
Signed-off-by: Kalesh Singh
---
arch/powerpc/include/asm/book3s/64/slice.h | 1 +
arch/powerpc/mm/book3s64/slice.c | 31 ++
2 files c
If an architecture doesn't provide arch_mmap_hint() fallback to
generic_mmap_hint().
Signed-off-by: Kalesh Singh
---
mm/mmap.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/mm/mmap.c b/mm/mmap.c
index e97eb8bf4889..59bf7d127aa1 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -691,6 +691
Introduce sparc64 arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
This is a preparatory patch, no functional change is introduced.
Signed-off-by: Kalesh Singh
---
arch/sparc/include/asm/pgtable_64.h | 1 +
arch/sparc/kernel/sys_sparc_64.c| 47 +
2 files changed,
Introduce xtensa arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
If a sufficiently sized hole doesn't exist at the hint address,
fallback to searching the entire valid VA space instead of only
the VA space above the hint address.
Signed-off-by: Kalesh Singh
---
arch/xtensa/include/asm/pgtable.
Introduce parisc arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
This is a preparatory patch, no functional change is introduced.
Signed-off-by: Kalesh Singh
---
arch/parisc/include/asm/pgtable.h | 1 +
arch/parisc/kernel/sys_parisc.c | 37 ---
2 files changed, 25
Introduce sparc32 arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
If a sufficiently sized hole doesn't exist at the hint address,
fallback to searching the entire valid VA space instead of only
the VA space above the hint address.
Signed-off-by: Kalesh Singh
---
arch/sparc/include/asm/pgtable_
Introduce sh arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
This is a preparatory patch, no functional change is introduced.
Signed-off-by: Kalesh Singh
---
arch/sh/include/asm/pgtable.h | 1 +
arch/sh/mm/mmap.c | 48 +++
2 files changed, 27 inserti
Introduce mips arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
This is a preparatory patch, no functional change is introduced.
Signed-off-by: Kalesh Singh
---
arch/mips/include/asm/pgtable.h | 1 +
arch/mips/mm/mmap.c | 39 +
2 files changed, 26 ins
Introduce csky arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
This is a preparatory patch, no functional change is introduced.
Signed-off-by: Kalesh Singh
---
arch/csky/abiv1/inc/abi/pgtable-bits.h | 1 +
arch/csky/abiv1/mmap.c | 38 ++
2 files changed,
Introduce s390 arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
This is a preparatory patch, no functional change is introduced.
Signed-off-by: Kalesh Singh
---
arch/s390/include/asm/pgtable.h | 1 +
arch/s390/mm/mmap.c | 32
2 files changed, 17 inse
Introduce loongarch arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
This is a preparatory patch, no functional change is introduced.
Signed-off-by: Kalesh Singh
---
arch/loongarch/include/asm/pgtable.h | 1 +
arch/loongarch/mm/mmap.c | 40 ++--
2 files chang
Use generic_mmap_hint() in arch arch_get_unmapped_area().
Signed-off-by: Kalesh Singh
---
arch/arc/mm/mmap.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/arch/arc/mm/mmap.c b/arch/arc/mm/mmap.c
index 2185afe8d59f..6b1fcea06779 100644
--- a/arch/arc/mm/mmap.c
+
Introduce alpha arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
This is a preparatory patch, no functional change is introduced.
Signed-off-by: Kalesh Singh
---
arch/alpha/include/asm/pgtable.h | 1 +
arch/alpha/kernel/osf_sys.c | 29 -
2 files changed, 25 inse
Introduce x86 arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
This is a preparatory patch, no functional change is introduced.
Signed-off-by: Kalesh Singh
---
arch/x86/include/asm/pgtable_64.h | 1 +
arch/x86/kernel/sys_x86_64.c | 49 ++-
include/linux/sched/mm
Introduce arm arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT.
This is a preparatory patch, no functional change is introduced.
Signed-off-by: Kalesh Singh
---
arch/arm/include/asm/pgtable.h | 1 +
arch/arm/mm/mmap.c | 54 +++---
2 files changed, 32 inser
Hi all,
This series introduces aarch_mmap_hint() to handle allocating VA space
for the hint address.
Patches 1-16 introduce this new helper and Patch 17 uses it to fix the
issue of mmap hint being ignored in some cases due to THP alignment [1]
[1] https://lore.kernel.org/r/20241118214650.3667577
Consolidate the hint searches from both direcitons (topdown and
bottomup) into generic_mmap_hint().
No functional change is introduced.
Signed-off-by: Kalesh Singh
---
include/linux/sched/mm.h | 4
mm/mmap.c| 45
2 files changed, 31
On Dez 08 2024, Linus Torvalds wrote:
> IOW, does this one-liner fix it for you?
>
> --- a/kernel/futex/futex.h
> +++ b/kernel/futex/futex.h
> @@ -265,7 +265,7 @@
> else if (!user_read_access_begin(from, sizeof(*from)))
> return -EFAULT;
> unsafe_get_user(val,
On Thu, Dec 5, 2024 at 9:35 AM Thomas Weißschuh wrote:
>
> The generic function from the sysfs core can replace the custom one.
>
> Signed-off-by: Thomas Weißschuh
> ---
> kernel/bpf/btf.c | 15 ++-
> 1 file changed, 2 insertions(+), 13 deletions(-)
>
LGTM
Acked-by: Andrii Nakryiko
On Thu, Dec 5, 2024 at 9:35 AM Thomas Weißschuh wrote:
>
> The generic function from the sysfs core can replace the custom one.
>
> Signed-off-by: Thomas Weißschuh
>
> ---
> This is a replacement for [0], as Alexei was not happy about
> BIN_ATTR_SIMPLE_RO()
>
> [0]
> https://lore.kernel.org/lkm
On 12/6/24 9:58 PM, Easwar Hariharan wrote:
On 11/29/2024 4:57 AM, Przemek Kitszel wrote:
[removed most non-list recipients, it's just too much]
On 11/15/24 10:26 PM, Easwar Hariharan wrote:
Regarding code - you could also convert msecs_to_jiffies(const * HZ),
there are 10 that are grepp
On 12/9/24 1:45 PM, Christophe Leroy wrote:
Le 09/12/2024 à 13:01, Przemek Kitszel a écrit :
On 12/6/24 9:58 PM, Easwar Hariharan wrote:
On 11/29/2024 4:57 AM, Przemek Kitszel wrote:
[removed most non-list recipients, it's just too much]
On 11/15/24 10:26 PM, Easwar Hariharan wrote:
Both core-pkey.c and ptrace-pkey.c tests have similar macro
definitions, move them to "pkeys.h" and remove the macro
definitions from the C file.
Signed-off-by: Madhavan Srinivasan
---
tools/testing/selftests/powerpc/include/pkeys.h | 8
tools/testing/selftests/powerpc/ptrace/core-
ptrace-pkey.c test has macros defined which
are part of "pkeys.h" header file. Remove those
duplicates and include "pkeys.h"
Signed-off-by: Madhavan Srinivasan
---
.../testing/selftests/powerpc/ptrace/ptrace-pkey.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
core-pkey.c test has couple of macros defined which
are part of "pkeys.h" header file. Remove those
duplicates and include "pkeys.h"
Signed-off-by: Madhavan Srinivasan
---
.../selftests/powerpc/ptrace/core-pkey.c | 19 +--
1 file changed, 1 insertion(+), 18 deletions(-)
dif
Le 09/12/2024 à 13:01, Przemek Kitszel a écrit :
On 12/6/24 9:58 PM, Easwar Hariharan wrote:
On 11/29/2024 4:57 AM, Przemek Kitszel wrote:
[removed most non-list recipients, it's just too much]
On 11/15/24 10:26 PM, Easwar Hariharan wrote:
Regarding code - you could also convert msec
When CONFIG_STACKPROTECTOR_STRONG is enabled and FTRACE is disabled on
powerpc64, repeatedly triggering the kprobe process may cause stack check
failures and panic.
Case:
There is a kprobe(do nothing in handler) attached to the "shmem_get_inode",
and a process A is creating file on tmpfs.
Memory protection keys (pkeys) uapi has two macros for pkeys restrictions:
- PKEY_DISABLE_ACCESS 0x1
- PKEY_DISABLE_WRITE 0x2
with implicit literal value of 0x0 that means "unrestricted". Code that
works with pkeys has to use this literal value when implying that a pkey
imposes no restrictions
Replace literal 0 with macro PKEY_UNRESTRICTED where pkey_*() functions
are used in mm selftests for memory protection keys for ppc target.
Signed-off-by: Yury Khrustalev
Suggested-by: Kevin Brodsky
Reviewed-by: Kevin Brodsky
---
Note that I couldn't build these tests so I would appreciate if
Replace literal 0 with macro PKEY_UNRESTRICTED where pkey_*() functions
are used in mm selftests for memory protection keys.
Signed-off-by: Yury Khrustalev
Suggested-by: Joey Gouly
Acked-by: Dave Hansen
---
tools/testing/selftests/mm/mseal_test.c| 6 +++---
tools/testing/selftests/
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 in turn will help with introducing memory protection
keys on AArch64 targets.
Applies to fac04efc5c79 (tag: v6.13-rc2).
Note that I couldn'
On 05/12/2024 19:04, Shrikanth Hegde wrote:
On 12/4/24 16:51, Tobias Huschle wrote:
A parked CPU is considered to be flagged as unsuitable to process
workload at the moment, but might be become usable anytime. Depending on
the necessity for additional computation power and/or available capa
On 05/12/2024 19:12, Shrikanth Hegde wrote:
On 12/4/24 16:51, Tobias Huschle wrote:
In this simplified example, vertical low CPUs are parked generally.
This will later be adjusted by making the parked state dependent
on the overall utilization on the underlying hypervisor.
Vertical lows ar
On Fri, Sep 27, 2024 at 02:42:19PM +0200, Geert Uytterhoeven wrote:
> Replace the deprecated "simple-audio-card,hp-det-gpio" property by
> "simple-audio-card,hp-det-gpios" in Simple Audio Card device nodes.
>
> Signed-off-by: Geert Uytterhoeven
Applied, thanks!
On 05/12/2024 15:48, Shrikanth Hegde wrote:
On 12/4/24 16:51, Tobias Huschle wrote:
Adding a new scheduler group type which allows to remove all tasks
from certain CPUs through load balancing can help in scenarios where
such CPUs are currently unfavorable to use, for example in a
virtualize
Le 09/12/2024 à 01:32, Linus Torvalds a écrit :
On Sun, 8 Dec 2024 at 14:54, Andreas Schwab wrote:
This breaks userspace on ppc32. As soon as /init in the initrd is
started the kernel hangs (without any messages).
Funky, funky. Most of the diff is the code movement (and some small
x86-sp
43 matches
Mail list logo