Re: [PATCH] vringh: add MODULE_DESCRIPTION()

2024-06-15 Thread Jeff Johnson
On 5/16/2024 6:57 PM, Jeff Johnson wrote: > Fix the allmodconfig 'make w=1' issue: > > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vhost/vringh.o > > Signed-off-by: Jeff Johnson > --- > drivers/vhost/vringh.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git

[PATCH] ring-buffer: Use vma_pages() helper function

2024-06-15 Thread Thorsten Blum
Use the vma_pages() helper function and fix the following Coccinelle/coccicheck warning reported by vma_pages.cocci: WARNING: Consider using vma_pages helper on vma Rename the local variable vma_pages accordingly. Signed-off-by: Thorsten Blum --- kernel/trace/ring_buffer.c | 8

Re: [PATCH] bpf/selftests: Fix __NR_uretprobe in uprobe_syscall test

2024-06-15 Thread Google
On Sun, 16 Jun 2024 00:19:20 +0900 Masami Hiramatsu (Google) wrote: > On Fri, 14 Jun 2024 12:15:09 +0200 > Jiri Olsa wrote: > > > Fixing the __NR_uretprobe number in uprobe_syscall test, > > because it changed due to merge conflict. > > > > Ah, it is not enough, since Stephen's change is

Re: [PATCH] bpf/selftests: Fix __NR_uretprobe in uprobe_syscall test

2024-06-15 Thread Google
On Fri, 14 Jun 2024 12:15:09 +0200 Jiri Olsa wrote: > Fixing the __NR_uretprobe number in uprobe_syscall test, > because it changed due to merge conflict. > Ah, it is not enough, since Stephen's change is just a temporary fix on next tree. OK, Let me update it. Thanks, > Signed-off-by: Jiri

[syzbot] [virt?] KMSAN: uninit-value in virtqueue_add (5)

2024-06-15 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:614da38e2f7a Merge tag 'hid-for-linus-2024051401' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=116670b698 kernel config: https://syzkaller.appspot.com/x/.config?x=f5d2cbf33633f507

Re: [RFC PATCH v3 0/7] Add virtio_rtc module and related changes

2024-06-15 Thread David Woodhouse
On Mon, 2023-12-18 at 08:38 +0100, Peter Hilber wrote: > RFC v3 updates > -- > > This series implements a driver for a virtio-rtc device conforming to spec > RFC v3 [1]. It now includes an RTC class driver with alarm, in addition to > the PTP clock driver already present before. > >

Re: [PATCH] dts: imx8mq-librem5: Don't wake up on volume key press

2024-06-15 Thread Shawn Guo
On Mon, May 20, 2024 at 12:57:05PM +0200, Guido Günther wrote: > The only key that should wake up the phone is power button press. This > prevents accidental wakeup due to e.g. pressing the buttons in the > pocket or backpack and is in line what userspace uses to unblank the > device. > >

Re: [RFC PATCH v3 5/7] virtio_rtc: Add PTP clocks

2024-06-15 Thread David Woodhouse
On Mon, 2023-12-18 at 08:38 +0100, Peter Hilber wrote: > > +   ret = viortc_hw_xtstamp_params(_counter, _id); > +   if (ret) > +   return ret; > + > +   ktime_get_snapshot(_begin); > +   if (history_begin.cs_id != cs_id) > +   return -EOPNOTSUPP; I think

Re: [RFC PATCH v3 6/7] virtio_rtc: Add Arm Generic Timer cross-timestamping

2024-06-15 Thread David Woodhouse
On Mon, 2023-12-18 at 08:38 +0100, Peter Hilber wrote: > > +int viortc_hw_xtstamp_params(u16 *hw_counter, enum clocksource_ids *cs_id) > +{ > +   *hw_counter = VIRTIO_RTC_COUNTER_ARM_VIRT; Hm, but what if it isn't? I think you need to put this in drivers/clocksource/arm_arch_timer.c where it