Re: [RFC PATCH v1 01/57] mm: Add macros ahead of supporting boot-time page size selection

2024-10-15 Thread Ryan Roberts
On 15/10/2024 04:04, Pingfan Liu wrote: > On Mon, Oct 14, 2024 at 10:07 PM Ryan Roberts wrote: >> >> On 14/10/2024 14:54, Pingfan Liu wrote: >>> Hello Ryan, >>> >>> On Mon, Oct 14, 2024 at 11:58:08AM +0100, Ryan Roberts wrote: arm64 can support multiple base page sizes. Instead of selecting a

Zapytanie ofertowe

2024-10-15 Thread Patryk Wysocki
Dzień dobry, Pozwoliłem sobie na kontakt, ponieważ jestem zainteresowany weryfikacją możliwości nawiązania współpracy. Wspieramy firmy w pozyskiwaniu nowych klientów biznesowych. Czy możemy porozmawiać w celu przedstawienia szczegółowych informacji? Pozdrawiam Patryk Wysocki

Re: [PATCH v5 6/8] x86/module: perpare module loading for ROX allocations of text

2024-10-15 Thread Nathan Chancellor
On Fri, Oct 11, 2024 at 03:58:04PM +0300, Mike Rapoport wrote: > I overlooked how cfi_*_callers routines update addr. > This patch should fix it: Thanks, can confirm. My boot is working again and LKDTM's CFI_FORWARD_PROTO test properly fails. > diff --git a/arch/x86/kernel/alternative.c b/arch/x8

[PATCH 0/3] ARC fixes for 6.12

2024-10-15 Thread Vineet Gupta
Hi, Changes slated for a near future rc. Thx, -Vineet Benjamin Szőke (1): arc: rename aux.h to arc_aux.h Paul E. McKenney (1): ARC: build: Use __force to suppress per-CPU cmpxchg warnings Vineet Gupta (1): ARC: build: disallow invalid PAE40 + 4K page config arch/arc/Kconfig

[PATCH 2/3] ARC: build: disallow invalid PAE40 + 4K page config

2024-10-15 Thread Vineet Gupta
The config option being built was | CONFIG_ARC_MMU_V4=y | CONFIG_ARC_PAGE_SIZE_4K=y | CONFIG_HIGHMEM=y | CONFIG_ARC_HAS_PAE40=y This was hitting a BUILD_BUG_ON() since a 4K page can't hoist 1k, 8-byte PTE entries (8 byte due to PAE40). BUILD_BUG_ON() is a good last ditch resort, but such a config

[PATCH 3/3] ARC: build: Use __force to suppress per-CPU cmpxchg warnings

2024-10-15 Thread Vineet Gupta
From: "Paul E. McKenney" Currently, the cast of the first argument to cmpxchg_emu_u8() drops the __percpu address-space designator, which results in sparse complaints when applying cmpxchg() to per-CPU variables in ARC. Therefore, use __force to suppress these complaints, given that this does no

[PATCH 1/3] arc: rename aux.h to arc_aux.h

2024-10-15 Thread Vineet Gupta
From: Benjamin Szőke The goal is to clean-up Linux repository from AUX file names, because the use of such file names is prohibited on other operating systems such as Windows, so the Linux repository cannot be cloned and edited on them. Reviewed-by: Shahab Vahedi Signed-off-by: Benjamin Szőke

Re: include/linux/compiler_types.h:328:45: error: call to '__compiletime_assert_315' declared with attribute error: BUILD_BUG_ON failed: (PTRS_PER_PTE * sizeof(pte_t)) > PAGE_SIZE

2024-10-15 Thread Vineet Gupta
On 9/15/24 11:07, kernel test robot wrote: > Hi Vineet, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 98f7e32f20d28ec452afb208f9cffc08448a2652 > commit: d9820ff76f95fa26d33e412254a89cd65b23142d ARC: mm: s

[PATCH 3/3] ARC: build: Use __force to suppress per-CPU cmpxchg warnings

2024-10-15 Thread Vineet Gupta
From: "Paul E. McKenney" Currently, the cast of the first argument to cmpxchg_emu_u8() drops the __percpu address-space designator, which results in sparse complaints when applying cmpxchg() to per-CPU variables in ARC. Therefore, use __force to suppress these complaints, given that this does no

Re: ARC: Use __force to suppress per-CPU cmpxchg complaints

2024-10-15 Thread Vineet Gupta
On 10/9/24 10:55, Paul E. McKenney wrote: > Currently, the cast of the first argument to cmpxchg_emu_u8() drops the > __percpu address-space designator, which results in sparse complaints > when applying cmpxchg() to per-CPU variables in ARC. Therefore, use > __force to suppress these complaints,

Re: [PATCH v5 7/8] execmem: add support for cache of large ROX pages

2024-10-15 Thread Luis Chamberlain
On Tue, Oct 15, 2024 at 08:54:29AM +0300, Mike Rapoport wrote: > On Mon, Oct 14, 2024 at 09:09:49PM -0700, Luis Chamberlain wrote: > > Mike, please run this with kmemleak enabled and running, and also try to get > > tools/testing/selftests/kmod/kmod.sh to pass. > > There was an issue with kmemleak