Re: [PATCH v6 5/5] rust: add arch_static_branch

2024-08-10 Thread Peter Zijlstra
On Sat, Aug 10, 2024 at 11:44:13PM +0200, Alice Ryhl wrote: > On Sat, Aug 10, 2024 at 11:04 PM Peter Zijlstra wrote: > > > > On Thu, Aug 08, 2024 at 05:23:41PM +, Alice Ryhl wrote: > > > > > +/// Wrapper around `asm!` that uses at&t syntax on x86. > > > +// Uses a semicolon to avoid parsing am

Re: [PATCH v6 5/5] rust: add arch_static_branch

2024-08-10 Thread Alice Ryhl
On Sat, Aug 10, 2024 at 11:04 PM Peter Zijlstra wrote: > > On Thu, Aug 08, 2024 at 05:23:41PM +, Alice Ryhl wrote: > > > +/// Wrapper around `asm!` that uses at&t syntax on x86. > > +// Uses a semicolon to avoid parsing ambiguities, even though this does > > not match native `asm!` > > +// sy

Re: [PATCH v6 4/5] jump_label: adjust inline asm to be consistent

2024-08-10 Thread Peter Zijlstra
On Thu, Aug 08, 2024 at 05:23:40PM +, Alice Ryhl wrote: > To avoid duplication of inline asm between C and Rust, we need to > import the inline asm from the relevant `jump_label.h` header into Rust. > To make that easier, this patch updates the header files to expose the > inline asm via a new

Re: [PATCH v6 5/5] rust: add arch_static_branch

2024-08-10 Thread Peter Zijlstra
On Thu, Aug 08, 2024 at 05:23:41PM +, Alice Ryhl wrote: > +/// Wrapper around `asm!` that uses at&t syntax on x86. > +// Uses a semicolon to avoid parsing ambiguities, even though this does not > match native `asm!` > +// syntax. > +#[cfg(target_arch = "x86_64")] > +#[macro_export] > +macro_r

Re: [PATCH v5 3/3] irqchip/loongson-eiointc: Add extioi virt extension support

2024-08-10 Thread Thomas Gleixner
On Mon, Aug 05 2024 at 15:35, Bibo Mao wrote: > Interrupts can be routed to maximal four virtual CPUs with one external > hardware interrupt. Add the extioi virt extension support so that > Interrupts can be routed to 256 vcpus on hypervisor mode. interrupts 256 vCPUs in hypervisor mode. >

[syzbot] [perf?] KASAN: slab-use-after-free Read in __uprobe_unregister

2024-08-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:6a0e38264012 Merge tag 'for-6.11-rc2-tag' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13d4fc9198 kernel config: https://syzkaller.appspot.com/x/.config?x=505ed4a1dd93463a das

Re: [PATCH 7/8] uprobes: perform lockless SRCU-protected uprobes_tree lookup

2024-08-10 Thread Oleg Nesterov
On 08/08, Oleg Nesterov wrote: > > On 07/31, Andrii Nakryiko wrote: > > > > static DEFINE_RWLOCK(uprobes_treelock);/* serialize rbtree access */ > > +static seqcount_rwlock_t uprobes_seqcount = > > SEQCNT_RWLOCK_ZERO(uprobes_seqcount, &uprobes_treelock); > > Just noticed... Why seqcount_rwloc

Re: [PATCH 0/3] Add DisplayPort sound support for Fairphone 5 smartphone

2024-08-10 Thread Luca Weiss
On Samstag, 10. August 2024 14:35:00 MESZ Konrad Dybcio wrote: > On 9.08.2024 10:33 AM, Luca Weiss wrote: > > Add the necessary sound card bits and some dts additions to enable sound > > over DisplayPort-over-USB-C, e.g. to a connected TV or monitor. > > > > The UCM files can be found here: > > ht

Re: [PATCH 0/3] Add DisplayPort sound support for Fairphone 5 smartphone

2024-08-10 Thread Konrad Dybcio
On 9.08.2024 10:33 AM, Luca Weiss wrote: > Add the necessary sound card bits and some dts additions to enable sound > over DisplayPort-over-USB-C, e.g. to a connected TV or monitor. > > The UCM files can be found here: > https://gitlab.com/postmarketOS/pmaports/-/tree/master/device/testing/device-

Re: [syzbot] [net?] [virt?] BUG: stack guard page was hit in vsock_bpf_recvmsg

2024-08-10 Thread syzbot
syzbot has bisected this issue to: commit 634f1a7110b439c65fd8a809171c1d2d28bcea6f Author: Bobby Eshleman Date: Mon Mar 27 19:11:51 2023 + vsock: support sockmap bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=13d3c97d98 start commit: eb3ab13d997a net: ti: icssg_pru