Re: [PATCH v6 0/3] rust: Add irq abstraction, SpinLockIrq

From: Daniel Almeida
Date: Thu Oct 10 2024 - 12:55:59 EST


Hi Lyude,


> On 16 Sep 2024, at 18:28, Lyude Paul <lyude@xxxxxxxxxx> wrote:
>
> This adds a simple interface for disabling and enabling CPUs, along with
> the ability to mark a function as expecting interrupts be disabled -
> along with adding bindings for spin_lock_irqsave/spin_lock_irqrestore().
>
> Current example usecase (very much WIP driver) in rvkms:
>
> https://gitlab.freedesktop.org/lyudess/linux/-/commits/rvkms-example-08012024
>
> specifically drivers/gpu/drm/rvkms/crtc.rs
>
> This series depends on
> https://lore.kernel.org/rust-for-linux/ZuKNszXSw-LbgW1e@boqun-archlinux/

You probably mean
https://lore.kernel.org/rust-for-linux/20240808-alice-file-v9-1-2cb7b934e0e1@xxxxxxxxxx/
instead?


— Daniel