Re: [PATCH v2 0/2] get_maintainer: add patch-only keyword matching

2023-09-28 Thread Justin Stitt
On Fri, Sep 29, 2023 at 11:50 AM Joe Perches wrote: > > On Fri, 2023-09-29 at 11:07 +0900, Justin Stitt wrote: > > On Fri, Sep 29, 2023 at 12:52 AM Nick Desaulniers > > wrote: > > > > > > On Wed, Sep 27, 2023 at 11:09 PM Joe Perches wrote: > > > > > > > > On Thu, 2023-09-28 at 14:31 +0900,

Re: [PATCH v2 0/2] get_maintainer: add patch-only keyword matching

2023-09-28 Thread Joe Perches
On Fri, 2023-09-29 at 11:07 +0900, Justin Stitt wrote: > On Fri, Sep 29, 2023 at 12:52 AM Nick Desaulniers > wrote: > > > > On Wed, Sep 27, 2023 at 11:09 PM Joe Perches wrote: > > > > > > On Thu, 2023-09-28 at 14:31 +0900, Justin Stitt wrote: > > > > On Thu, Sep 28, 2023 at 2:01 PM Joe Perches

Re: [PATCH v2 0/2] get_maintainer: add patch-only keyword matching

2023-09-28 Thread Justin Stitt
On Fri, Sep 29, 2023 at 12:52 AM Nick Desaulniers wrote: > > On Wed, Sep 27, 2023 at 11:09 PM Joe Perches wrote: > > > > On Thu, 2023-09-28 at 14:31 +0900, Justin Stitt wrote: > > > On Thu, Sep 28, 2023 at 2:01 PM Joe Perches wrote: > > > > > > > > On Thu, 2023-09-28 at 04:23 +, Justin

[PATCH] module: fix oops on loading module with malformed ELF section header

2023-09-28 Thread Abhishek Sharma
Hi, I encountered the following OOPS when loading a kernel module with insmod. It occurs when loading a kernel module with an invalid ELF section header - the Section name is invalid and out of bounds into the section name table.

Re: [PATCH v5 00/12] tracing: fprobe: rethook: Use ftrace_regs instead of pt_regs

2023-09-28 Thread Google
Hi, While revising the LPC slides, I realized that this series is actually slightly going in the wrong direction. My goal is to unify "the shadow stack and the trampoline" for function exit tracing (function graph tracer and function return probe event), but not only unifying the internal

Re: [PATCH v6] x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race

2023-09-28 Thread Reinette Chatre
Hi Dave, On 9/28/2023 5:11 PM, Dave Hansen wrote: > On 9/28/23 16:08, Reinette Chatre wrote: >> I'd like to check in on the status of this patch. This two month old >> patch looks to be a needed fix and has Jarkko and Kai's review tags, >> but I am not able to find it queued or merged in tip or

Re: [PATCH v6] x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race

2023-09-28 Thread Dave Hansen
On 9/28/23 16:08, Reinette Chatre wrote: > I'd like to check in on the status of this patch. This two month old > patch looks to be a needed fix and has Jarkko and Kai's review tags, > but I am not able to find it queued or merged in tip or upstream. > Apologies if I did not look in the right

Re: [PATCH v6] x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race

2023-09-28 Thread Reinette Chatre
Hi Everybody, I'd like to check in on the status of this patch. This two month old patch looks to be a needed fix and has Jarkko and Kai's review tags, but I am not able to find it queued or merged in tip or upstream. Apologies if I did not look in the right spot, I just want to make sure it did

Re: [PATCH v4 2/2] leds: add ktd202x driver

2023-09-28 Thread André Apitzsch
Hi Lee Jones, Am Donnerstag, dem 28.09.2023 um 15:42 +0100 schrieb Lee Jones: > On Sat, 23 Sep 2023, André Apitzsch wrote: > > > This commit adds support for Kinetic KTD2026/7 RGB/White LED > > driver. > > > > Signed-off-by: André Apitzsch > > --- > >  drivers/leds/rgb/Kconfig    |  13 + >

Re: [PATCH] dt-bindings: remoteproc: mtk,scp: Add missing additionalProperties on child node schemas

2023-09-28 Thread Rob Herring
On Thu, Sep 28, 2023 at 2:31 PM Mathieu Poirier wrote: > > Hi Rob, > > On Tue, Sep 26, 2023 at 11:45:08AM -0500, Rob Herring wrote: > > Just as unevaluatedProperties or additionalProperties are required at > > the top level of schemas, they should (and will) also be required for > > child node

[PATCH v4 2/2] dax/kmem: allow kmem to add memory with memmap_on_memory

2023-09-28 Thread Vishal Verma
Large amounts of memory managed by the kmem driver may come in via CXL, and it is often desirable to have the memmap for this memory on the new memory itself. Enroll kmem-managed memory for memmap_on_memory semantics if the dax region originates via CXL. For non-CXL dax regions, retain the

[PATCH v4 1/2] mm/memory_hotplug: split memmap_on_memory requests across memblocks

2023-09-28 Thread Vishal Verma
The MHP_MEMMAP_ON_MEMORY flag for hotplugged memory is restricted to 'memblock_size' chunks of memory being added. Adding a larger span of memory precludes memmap_on_memory semantics. For users of hotplug such as kmem, large amounts of memory might get added from the CXL subsystem. In some cases,

[PATCH v4 0/2] mm: use memmap_on_memory semantics for dax/kmem

2023-09-28 Thread Vishal Verma
The dax/kmem driver can potentially hot-add large amounts of memory originating from CXL memory expanders, or NVDIMMs, or other 'device memories'. There is a chance there isn't enough regular system memory available to fit the memmap for this new memory. It's therefore desirable, if all other

Re: [PATCH] dt-bindings: remoteproc: mtk,scp: Add missing additionalProperties on child node schemas

2023-09-28 Thread Mathieu Poirier
Hi Rob, On Tue, Sep 26, 2023 at 11:45:08AM -0500, Rob Herring wrote: > Just as unevaluatedProperties or additionalProperties are required at > the top level of schemas, they should (and will) also be required for > child node schemas. That ensures only documented properties are > present for any

Re: [PATCH v2 1/2] get_maintainer: add patch-only keyword-matching

2023-09-28 Thread Konstantin Ryabitsev
On Wed, Sep 27, 2023 at 10:08:33PM -0700, Joe Perches wrote: > > This could all be a moot point, though, as I believe Konstantin > > is trying to separate out the whole idea of a patch-sender needing > > to specify the recipients of a patch. > > As I understand it, by using get_maintainer.

Re: [PATCH 1/1] rpmsg: virtio: Make buffer size and number configurable

2023-09-28 Thread Tanmay Shah
Hello, Thanks for your patch. Instead of having this in Kconfig, It's better to have buffer size decided dynamically. Probably by resource-table. We still need implementation that achieves that goal. Meanwhile  I think it's best to keep buffer size fixed. Thanks. On 9/28/23 10:38 AM, Divin

Re: [PATCH v2 0/2] get_maintainer: add patch-only keyword matching

2023-09-28 Thread Nick Desaulniers
On Wed, Sep 27, 2023 at 11:09 PM Joe Perches wrote: > > On Thu, 2023-09-28 at 14:31 +0900, Justin Stitt wrote: > > On Thu, Sep 28, 2023 at 2:01 PM Joe Perches wrote: > > > > > > On Thu, 2023-09-28 at 04:23 +, Justin Stitt wrote: > > > > Changes in v2: > > > > - remove formatting pass (thanks

Re: [PATCH 1/1] rpmsg: virtio: Make buffer size and number configurable

2023-09-28 Thread Randy Dunlap
Hi, On 9/28/23 08:38, Divin Raj wrote: > From: Peter Hoyes > > Replace the MAX_RPMSG_BUF_SIZE and MAX_RPMSG_NUM_BUFS #define in > virtio_rpmsg_bus.c with the Kconfig parameters CONFIG_RPMSG_VIRTIO_BUF_SIZE > and CONFIG_RPMSG_VIRTIO_MAX_NUM_BUFS, allowing user-provided customization. > > Making

[PATCH 1/1] rpmsg: virtio: Make buffer size and number configurable

2023-09-28 Thread Divin Raj
From: Peter Hoyes Replace the MAX_RPMSG_BUF_SIZE and MAX_RPMSG_NUM_BUFS #define in virtio_rpmsg_bus.c with the Kconfig parameters CONFIG_RPMSG_VIRTIO_BUF_SIZE and CONFIG_RPMSG_VIRTIO_MAX_NUM_BUFS, allowing user-provided customization. Making both the number of buffers and size configurable

[PATCH 0/1] rpmsg: virtio: Make buffer size and number configurable

2023-09-28 Thread Divin Raj
This change is necessary to support the allocation of memory for an out-of-tree rpmsg ethernet device driver over virtio, enabling support for packet sizes based on the MTU (Maximum Transmission Unit) size (1500). Peter Hoyes (1): rpmsg: virtio: Make buffer size and number configurable

Re: [PATCH v4 2/2] leds: add ktd202x driver

2023-09-28 Thread Lee Jones
On Sat, 23 Sep 2023, André Apitzsch wrote: > This commit adds support for Kinetic KTD2026/7 RGB/White LED driver. > > Signed-off-by: André Apitzsch > --- > drivers/leds/rgb/Kconfig| 13 + > drivers/leds/rgb/Makefile | 1 + > drivers/leds/rgb/leds-ktd202x.c | 625 >

[PATCH 71/87] fs/tracefs: convert to new inode {a,m}time accessors

2023-09-28 Thread Jeff Layton
Signed-off-by: Jeff Layton --- fs/tracefs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c index 891653ba9cf3..429603d865a9 100644 --- a/fs/tracefs/inode.c +++ b/fs/tracefs/inode.c @@ -152,7 +152,7 @@ struct inode

[PATCH] tracing/eprobe: drop unneeded breaks

2023-09-28 Thread Julia Lawall
Drop break after return. Signed-off-by: Julia Lawall --- kernel/trace/trace_eprobe.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kernel/trace/trace_eprobe.c b/kernel/trace/trace_eprobe.c index 72714cbf475c..03c851f57969 100644 --- a/kernel/trace/trace_eprobe.c

Re: [PATCH v5 11/18] x86/sgx: store unreclaimable pages in LRU lists

2023-09-28 Thread Huang, Kai
> --- a/arch/x86/kernel/cpu/sgx/encl.c > +++ b/arch/x86/kernel/cpu/sgx/encl.c > @@ -746,6 +746,7 @@ void sgx_encl_release(struct kref *ref) > xa_destroy(>page_array); > > if (!encl->secs_child_cnt && encl->secs.epc_page) { > + sgx_drop_epc_page(encl->secs.epc_page); >

Re: [PATCH v5 08/18] x86/sgx: Use a list to track to-be-reclaimed pages

2023-09-28 Thread Huang, Kai
On Fri, 2023-09-22 at 20:06 -0700, Haitao Huang wrote: > @@ -314,18 +313,22 @@ static void sgx_reclaim_pages(void) >   >   if (kref_get_unless_zero(_page->encl->refcount) != 0) { >   sgx_epc_page_set_state(epc_page, > SGX_EPC_PAGE_RECLAIM_IN_PROGRESS); > -

Re: [PATCH v2 0/2] get_maintainer: add patch-only keyword matching

2023-09-28 Thread Joe Perches
On Thu, 2023-09-28 at 14:31 +0900, Justin Stitt wrote: > On Thu, Sep 28, 2023 at 2:01 PM Joe Perches wrote: > > > > On Thu, 2023-09-28 at 04:23 +, Justin Stitt wrote: > > > Changes in v2: > > > - remove formatting pass (thanks Joe) (but seriously the formatting is > > > bad, is there