lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aChzpeMfDvxQsFb-@pollux>
Date: Sat, 17 May 2025 13:31:49 +0200
From: Danilo Krummrich <dakr@...nel.org>
To: Lyude Paul <lyude@...hat.com>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
	rust-for-linux@...r.kernel.org, Miguel Ojeda <ojeda@...nel.org>,
	Alex Gaynor <alex.gaynor@...il.com>,
	Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
	Björn Roy Baron <bjorn3_gh@...tonmail.com>,
	Benno Lossin <benno.lossin@...ton.me>,
	Andreas Hindborg <a.hindborg@...nel.org>,
	Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>
Subject: Re: [PATCH v2 0/4] rust: drm: gem: More (and final) cleanup

On Fri, May 16, 2025 at 01:09:15PM -0400, Lyude Paul wrote:
> Look mom, no generic soup!
> 
> Anyway - this is just the last of the cleanup stuff I ended up while
> working on cleaning up the gem shmem patch series. It simplifies the use
> of generics and also adds a type alias for some very long types
> currently in use. Also, drop one unused constant I noticed.
> 
> Applies on top of nova/nova-next:
>   https://gitlab.freedesktop.org/drm/nova/-/tree/nova-next
> 
> Lyude Paul (4):
>   rust: drm: gem: Simplify use of generics

This rework breaks nova-drm, which, given that this series either needs to land
in nova-next or (which is much more likely) targets v6.17 merge window, needs to
be fixed in this series.

>   rust: drm: gem: Add DriverObject type alias
>   rust: drm: gem: Add ObjectFile type alias
>   rust: drm: gem: Drop Object::SIZE
> 
>  rust/kernel/drm/gem/mod.rs | 102 ++++++++++++++++---------------------
>  1 file changed, 44 insertions(+), 58 deletions(-)
> 
> 
> base-commit: 38cb08c3fcd3f3b1d0225dcec8ae50fab5751549
> -- 
> 2.49.0
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ