From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A718D5221FD; Fri, 4 Sep 2026 18:53:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788548006; cv=none; b=tZJWfiOk+HouddGjrwpGS/0hgpdkTcnMaXS3ZxU2I4k900Ed9gOD0KqJzhfpquKDis+yIizPuh2y09CeAJdv5VTb9Up42ISqsd6qkRZ7x7dYRqebuLYq2yeLn4gZI+N3602vqhQdwjzvWuc3/c7MPFHlViGjEc0ZZMWv4hmg+G4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788548006; c=relaxed/simple; bh=cr3Kv+LHhp95pfYfELeLm48GZwMxkYNQyW4lFOFt+q4=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=ptK7ixHQX9ZC8FroYugFgu8hGBObdougpLzuHYlOVVlVLY1YvCj0cK8OOWG7SgJnjQasMYVR3VEMc7GL1/QBHzh0H5FMGaIErR79lK/lb1VwuHgOLMy8cR6pyuIS+1jhG7duAD6A0M2Qw6B2ok/UTQ/vOOqcYpWiDdVAiiCWChM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org; spf=pass smtp.mailfrom=mailbox.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=gzrd3W6k; arc=none smtp.client-ip=80.241.56.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mailbox.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="gzrd3W6k" Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4hc5Fl4n4Cz8sYS; Fri, 04 Sep 2026 20:53:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1788547995; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cr3Kv+LHhp95pfYfELeLm48GZwMxkYNQyW4lFOFt+q4=; b=gzrd3W6k2RuiKSuND+PRDC8buQZlbR1cP4WavEIzF9mlXMJUYXPGyeHckuqvp9ooJFzAnh DSviYF2l+f1PGrjrU7GXhd4QXekMkhSwGuBhz1SK3/twoX6yjbEjuBgymGiW0fLi7xaJdU TndyzWPY0E+pOlXSVjRhkNK+oCSAjwl5gVP9zCArpz6w2zStwUz0dSQsXpKNmg5DMGNTwr K/1vEQng/pFVVTKCD01odRCQ3Yf0DSQf1D6V1qppjG8MgZJ8aJ13swB5fqCeeeaDd0CTxi nQb4CDLI1xVGDGr8CVkpnoqVcYZ4w/fQ+gCGyuII5A34lqsgfWVWFFmLPh684g== Message-ID: <5916d336906e4918a379178eca5699c2f7506ce8.camel@mailbox.org> Subject: Re: [PATCH v10 1/2] rust: Add dma_fence abstractions From: Philipp Stanner Reply-To: phasta@kernel.org To: Danilo Krummrich , Philipp Stanner Cc: Miguel Ojeda , Boqun Feng , Gary Guo , =?ISO-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Daniel Almeida , Tamir Duberstein , Alexandre Courbot , Onur =?ISO-8859-1?Q?=D6zkan?= , Sumit Semwal , Christian =?ISO-8859-1?Q?K=F6nig?= , Greg Kroah-Hartman , "Yury Norov (NVIDIA)" , Asahi Lina , Burak Emir , Lorenzo Stoakes , Joel Fernandes , FUJITA Tomonori , Boris Brezillon , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org Date: Fri, 04 Sep 2026 20:53:08 +0200 In-Reply-To: References: <20260812072217.1971807-2-phasta@kernel.org> <20260812072217.1971807-3-phasta@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MBO-RS-ID: a760c3afe94aa3b1690 X-MBO-RS-META: wkjb6zde95iimj5t19xjiu1myszgxdfe On Fri, 2026-09-04 at 17:32 +0200, Danilo Krummrich wrote: > On Wed Aug 12, 2026 at 9:22 AM CEST, Philipp Stanner wrote: > > Add abstractions for dma_fence in Rust. >=20 > I was about to pick this up, but ended up with too many things to tweak. :( >=20 > =C2=A0 * Fix checkpatch.pl warnings, I get two, one of them being obsolete WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #114:=20 new file mode 100644 WARNING: line length of 101 exceeds 100 columns #158: FILE: rust/helpers/dma_fence.c:40: +__rust_helper void rust_helper_dma_fence_unlock_irqrestore(struct dma_fenc= e *f, unsigned long *flags) >=20 > =C2=A0 * use Opaque::zeroed() instead of __GFP_ZERO, That's literally what I had originally, but Alice objected and wanted GFP_ZERO, AFAIR because it's more efficient. Maybe you two want to get to an agreement on what's better. > =C2=A0 * use kernel vertical import style. > Here's the diff I suggest for a v11: Thx, I'll take it into account. P.