Re: [PATCH 3/4] vmlinux.lds.h: Fix alignment for __ksymtab*, __kcrctab_* and .pci_fixup sections

2023-12-22 Thread Masahiro Yamada
On Fri, Dec 22, 2023 at 6:02 PM Helge Deller wrote: > > On 12/21/23 14:07, Masahiro Yamada wrote: > > On Thu, Nov 23, 2023 at 7:18 AM wrote: > >> > >> From: Helge Deller > >> > >> On 64-bit architectures without CONFIG_HAVE_ARCH_PREL32_RELOCATIONS > >> (e.g. ppc64, ppc64le, parisc, s390x,...) th

Re: [PATCH 0/4] Section alignment issues?

2023-12-22 Thread Masahiro Yamada
On Fri, Dec 22, 2023 at 5:23 PM Helge Deller wrote: > > On 12/21/23 16:42, Masahiro Yamada wrote: > > On Thu, Dec 21, 2023 at 10:40 PM Masahiro Yamada > > wrote: > >> > >> On Thu, Nov 23, 2023 at 7:18 AM wrote: > >>> > >>> From: Helge Deller > >>> > >>> While working on the 64-bit parisc kerne

Re: [PATCH net-next v3 3/3] net: add netmem_ref to skb_frag_t

2023-12-22 Thread kernel test robot
Hi Mina, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Mina-Almasry/vsock-virtio-use-skb_frag_-helpers/20231222-164637 base: net-next/main patch link: https://lore.kernel.org/r

[ANNOUNCE] 5.10.204-rt100

2023-12-22 Thread Luis Claudio R. Goncalves
Hello RT-list! I'm pleased to announce the 5.10.204-rt100 stable release. This release is an RT-only update. The only change in this release is specific to RT: rt: mm/page_alloc: backport missing bits from __build_all_zonelists() fix A while ago upstream landed commit a2ebb51575828

[ANNOUNCE] 5.10.204-rt99

2023-12-22 Thread Luis Claudio R. Goncalves
Hello RT-list! I'm pleased to announce the 5.10.204-rt99 stable release. This release is just an update to the new stable 5.10.204 version and no RT-specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.

[ANNOUNCE] 4.14.333-rt158

2023-12-22 Thread Luis Claudio R. Goncalves
Hello RT-list! I'm pleased to announce the 4.14.333-rt158 stable release. This release is just an update to the new stable 4.14.333 version and no RT-specific changes have been performed. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stab

Re: [PATCH net-next v3 3/3] net: add netmem_ref to skb_frag_t

2023-12-22 Thread kernel test robot
Hi Mina, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Mina-Almasry/vsock-virtio-use-skb_frag_-helpers/20231222-164637 base: net-next/main patch link: https://lore.kernel.org/r

Re: [PATCH 1/4] linux/export: Fix alignment for 64-bit ksymtab entries

2023-12-22 Thread Luis Chamberlain
On Fri, Dec 22, 2023 at 04:01:30PM +0900, Masahiro Yamada wrote: > On Fri, Dec 22, 2023 at 3:08 PM Luis Chamberlain wrote: > > > > On Thu, Dec 21, 2023 at 10:07:13PM -0800, Luis Chamberlain wrote: > > > > > > If we want to go bananas we could even get a graph of size of modules > > > > Sorry I mea

Re: [PATCH 2/4] modules: Ensure 64-bit alignment on __ksymtab_* sections

2023-12-22 Thread Luis Chamberlain
On Fri, Dec 22, 2023 at 01:13:26PM +0100, Helge Deller wrote: > Hi Luis, > > On 12/22/23 06:59, Luis Chamberlain wrote: > > On Wed, Nov 22, 2023 at 11:18:12PM +0100, del...@kernel.org wrote: > > > From: Helge Deller > > > > > > On 64-bit architectures without CONFIG_HAVE_ARCH_PREL32_RELOCATIONS

Re: [PATCH 1/3] init: Declare rodata_enabled and mark_rodata_ro() at all time

2023-12-22 Thread Christophe Leroy
Le 22/12/2023 à 06:35, Kees Cook a écrit : > [Vous ne recevez pas souvent de courriers de k...@kernel.org. Découvrez > pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] > > On December 21, 2023 4:16:56 AM PST, Michael Ellerman > wrote: >> Cc +Kees >> >> Christophe

Re: [RFC PATCH 1/5] dt-bindings: mfd: add entry for the Marvell 88PM88X PMICs

2023-12-22 Thread Karel Balej
Rob, thank you very much for your feedback. On Mon Dec 18, 2023 at 4:17 PM CET, Rob Herring wrote: > > + Marvell 88PM880 and 88PM886 are two similar PMICs providing > > + several functions such as onkey, regulators or battery and > > + charger. Both seem to come in two revisions -- A0 and A1.

Re: [PATCH 2/4] modules: Ensure 64-bit alignment on __ksymtab_* sections

2023-12-22 Thread Helge Deller
Hi Luis, On 12/22/23 06:59, Luis Chamberlain wrote: On Wed, Nov 22, 2023 at 11:18:12PM +0100, del...@kernel.org wrote: From: Helge Deller On 64-bit architectures without CONFIG_HAVE_ARCH_PREL32_RELOCATIONS (e.g. ppc64, ppc64le, parisc, s390x,...) the __KSYM_REF() macro stores 64-bit pointers

Re: [PATCH v3 17/34] lib/zlib: Unpoison DFLTCC output buffers

2023-12-22 Thread Alexander Potapenko
On Thu, Dec 14, 2023 at 12:36 AM Ilya Leoshkevich wrote: > > The constraints of the DFLTCC inline assembly are not precise: they > do not communicate the size of the output buffers to the compiler, so > it cannot automatically instrument it. > > Add the manual kmsan_unpoison_memory() calls for the

Re: [PATCH v3 27/34] s390/irqflags: Do not instrument arch_local_irq_*() with KMSAN

2023-12-22 Thread Alexander Potapenko
On Thu, Dec 14, 2023 at 12:36 AM Ilya Leoshkevich wrote: > > KMSAN generates the following false positives on s390x: > > [6.063666] DEBUG_LOCKS_WARN_ON(lockdep_hardirqs_enabled()) > [ ...] > [6.577050] Call Trace: > [6.619637] [<0690d2de>] check_flags+0x1fe/0x210 > [

Re: [PATCH vhost v4 06/15] vdpa: Track device suspended state

2023-12-22 Thread Dragos Tatulea
On Wed, 2023-12-20 at 13:55 +0100, Dragos Tatulea wrote: > On Wed, 2023-12-20 at 11:46 +0800, Jason Wang wrote: > > On Wed, Dec 20, 2023 at 2:09 AM Dragos Tatulea wrote: > > > > > > Set vdpa device suspended state on successful suspend. Clear it on > > > successful resume and reset. > > > > > >

Re: [PATCH vhost v4 02/15] vdpa: Add VHOST_BACKEND_F_CHANGEABLE_VQ_ADDR_IN_SUSPEND flag

2023-12-22 Thread Dragos Tatulea
On Fri, 2023-12-22 at 03:29 -0500, Michael S. Tsirkin wrote: > On Thu, Dec 21, 2023 at 03:07:22PM +, Dragos Tatulea wrote: > > > > > In that case you're right, we don't need feature flags. But I think it > > > > > would be great to also move the error return in case userspace tries > > > > > to

RE: [PATCH 0/4] Section alignment issues?

2023-12-22 Thread David Laight
... > diff --git a/include/linux/init.h b/include/linux/init.h > index 3fa3f6241350..650311e4b215 100644 > --- a/include/linux/init.h > +++ b/include/linux/init.h > @@ -264,6 +264,7 @@ extern struct module __this_module; > #define define_initcall(fn, __stub, __name, __sec) \ >

Re: [PATCH 0/4] Section alignment issues?

2023-12-22 Thread Helge Deller
On 12/20/23 20:40, Luis Chamberlain wrote: On Tue, Dec 19, 2023 at 01:26:49PM -0800, Luis Chamberlain wrote: On Wed, Nov 22, 2023 at 11:18:10PM +0100, del...@kernel.org wrote: From: Helge Deller My questions: - Am I wrong with my analysis? This would typically of course depend on the arch, b

Re: [PATCH 3/4] vmlinux.lds.h: Fix alignment for __ksymtab*, __kcrctab_* and .pci_fixup sections

2023-12-22 Thread Helge Deller
On 12/21/23 14:07, Masahiro Yamada wrote: On Thu, Nov 23, 2023 at 7:18 AM wrote: From: Helge Deller On 64-bit architectures without CONFIG_HAVE_ARCH_PREL32_RELOCATIONS (e.g. ppc64, ppc64le, parisc, s390x,...) the __KSYM_REF() macro stores 64-bit pointers into the __ksymtab* sections. Make su

Re: [PATCH vhost v4 02/15] vdpa: Add VHOST_BACKEND_F_CHANGEABLE_VQ_ADDR_IN_SUSPEND flag

2023-12-22 Thread Michael S. Tsirkin
On Thu, Dec 21, 2023 at 03:07:22PM +, Dragos Tatulea wrote: > > > > In that case you're right, we don't need feature flags. But I think it > > > > would be great to also move the error return in case userspace tries > > > > to modify vq parameters out of suspend state. > > > > > > > On the dri

Re: [PATCH 0/4] Section alignment issues?

2023-12-22 Thread Helge Deller
On 12/21/23 16:42, Masahiro Yamada wrote: On Thu, Dec 21, 2023 at 10:40 PM Masahiro Yamada wrote: On Thu, Nov 23, 2023 at 7:18 AM wrote: From: Helge Deller While working on the 64-bit parisc kernel, I noticed that the __ksymtab[] table was not correctly 64-bit aligned in many modules. The