From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DAFB1DF736 for ; Tue, 23 Jun 2026 12:50:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782219047; cv=none; b=mq3sGNj9hZOqZ8pR+Zx3WrmFAOsQtzjqNVW8tDH1R2ScrbYR4x4U56QT1kUeMhrCfDT649K97jXTa+8ZZ/3Pf6Zq9DxHw9sEwTVeG6qdL6LXu5Uz/g7LsltyCv7e7vozdWgzcpZK81VDhJy591/Jk54BDHhzwC3dN3lIgi2wXww= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782219047; c=relaxed/simple; bh=TOUR2POP2vlf8YUNKv3dyet+eahX6OSdriA3fkqSbFk=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=YBKPSg4G3kZ+me5rjbReO5XHbhWo9/L3XaWqsdQOq0xrGyfFcHM6zofsXw7so+rHcXNC8q8raBLCpQEh0H6C8ejeDtZaGc1HqLBBH3loWDLrTfYhK7ZGMFm6l76bEQk/XHm8dBqYBfBLWJ7WcvENW+yWK6MrgiVnm3zvakIUr5A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=A6wyLdMp; arc=none smtp.client-ip=209.85.160.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A6wyLdMp" Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-519f9f13b06so38482031cf.0 for ; Tue, 23 Jun 2026 05:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782219046; x=1782823846; darn=lists.linux.dev; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dGj3g1KCk+kZNll4UB6dOm+IXncrIJjrxvMy5Ft1TB0=; b=A6wyLdMprywZCG4Di/xGHXB+7wVQiNPCyOaqt1G2iBBZgWPmgcfKVVyh0tG5j6DmfA gI0M5XQfNrTam7b9sZVFdYrSG0bG/+MTfciVfhlQzs9awepfkvQeB3uGkK0F/lWUWBAq dvnMgTihwCc1Ywnkw/5R1MSHlJ3SFLEJ0MT7lD2/9Q71uxjD6y0Z/+aKsMpjRltHZB4X DM4iOn+27Pgy12Foss/ICL7KeV8Md7tjGW8fWTQH0BkRqVmuxwL0MfPnPgRBn7Lhn0Zf kKTaP+BBC+7MRU7DYPScIhXwRB//4x5KEDRZlW4qbJtWLmmrg0OZSbFCp47uu9Jn+2ml eXdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782219046; x=1782823846; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=dGj3g1KCk+kZNll4UB6dOm+IXncrIJjrxvMy5Ft1TB0=; b=LJN7NIt+CYmfE66CLR/gY9w4p4mxGl6ISZM0Mj7FZL9xIMSaTpfBpQ6fmpZ6HtbWn4 /95Tty2BlJ2enK0nBODqeYawhhfrOk+iFTO48GCMw2Ai0KDZKT+bGC7BAsNP1oBjRYQW KCEHLW2WXvHOTwP69ufKgrsvQqEziyG2Pn7YJm0tI8Ix9pyf9VZ4fh9/my2KH9Cg6sgr NvNbptgEeUJrjaRpY7nLWSQAtOAEJulco+fHE+CDGIOZhnO9XLDP8ui/zqC58AkvLcY6 ZjRaRxbD0ek50vveZKPrBfSWAmXIMnq0mnb9fxUYZITfFAbvzcicAnssesMuazUzmW1n qJ9Q== X-Forwarded-Encrypted: i=1; AFNElJ8lQhnFIreagjHL27AQflTmJYPi7ciUC3QkNCLcuz1qvvQj85oWgz6YbGzPvKth9FBIRODxh1O1sXKJVQ5JAfxqekMQPg==@lists.linux.dev X-Gm-Message-State: AOJu0YzFWxF2M9byJALgynyl/64lLVuP5bVm6gzdD0BQ097EzUydD3Pi qpFXcdc0+AFDmuI3+mnrbRFCbhH9nFKQgdJsr3gvPMYvjMcjWkCROEk= X-Gm-Gg: AfdE7ckszzYh9VnIaA5tPBXlQ1NAPGYlARvl7njtqLN9JzXXsrSEOgHgbZokNSFi8ck sxZvy7yrTjbUCC/LhEsOlcA4hENhRRk8uN231G9yGCqf0Gwr1W87TsPDFXgZ27kuVhGCtySrT3u 9qLwFfcA6GlDoDzayrHWj7JTqCzQ9cjKqTJ8icaeedDtCZYhZQpjVPVC6PPFbqw0GOvAMPkLl+Q Bpj47Aqk8W8++O500bPGXR7gajXcnlCF3LZ9inIlIY5yhCMh6lwTyXyQVh6ZKuazMob9q5qiS9X LRnVUMlnZT7vSCcrFVnhiXcrxLEUY9fXzSDaD1SHPnLpFtL81tXS0m6k6wjkgR7BvLJddnOYJRy LWfDVKKf5nswFygrJSWkklVWvRBybmu4RA+vtDdPXUez3EuocxAP5YWUJQ2h1np65zOQZbJP29j bOZJdtCS3KXQeFOU/6bSkUMBpURgF5b5VpnhsEJX54cPh0sRDz X-Received: by 2002:a05:622a:408d:b0:517:917d:e3d7 with SMTP id d75a77b69052e-51a54807d1fmr37051071cf.28.1782219045378; Tue, 23 Jun 2026 05:50:45 -0700 (PDT) Received: from localhost ([186.158.238.108]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-51a51106a09sm22340861cf.0.2026.06.23.05.50.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Jun 2026 05:50:44 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel-mentees@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 23 Jun 2026 09:50:38 -0300 Message-Id: Cc: "Alice Ryhl" , "Miguel Ojeda" , "Alexandre Courbot" , "David Airlie" , "Shuah Khan" , "Simona Vetter" , "Gary Guo" , =?utf-8?q?Onur_=C3=96zkan?= , "Tamir Duberstein" , "Trevor Gross" , , , , , Subject: Re: [PATCH] gpu: nova-core: parse structs via zerocopy From: =?utf-8?q?Nicol=C3=A1s_Antinori?= To: "Alistair Popple" , "Danilo Krummrich" X-Mailer: aerc 0.20.0 References: <20260621143647.264770-1-nico.antinori.7@gmail.com> In-Reply-To: On Mon Jun 22, 2026 at 9:23 PM -03, Alistair Popple wrote: > On 2026-06-23 at 07:02 +1000, Danilo Krummrich wrote... >> On Mon Jun 22, 2026 at 10:26 PM CEST, Nicol=C3=A1s Antinori wrote: >> > I did my work on rust-next [1] because drm-rust-next does not have the >> > zerocopy crate present yet [2]. linux-next contains both zerocopy [3]= =20 >> > and the new users of transmute::FromBytes if I am not mistaken (BitTok= en, >> > PciRomHeader, and PmuLookupTableEntry), so I can make the changes ther= e. >>=20 >> The drm-rust tree is a bit special, as it remains open for contributions= even >> after it has been tagged for inclusion into Linus's (including throughou= t the >> merge window). However, all changes staged in drm-rust-next are not goin= g into >> linux-next until -rc1 is released. >>=20 >> IOW, until -rc1 is released this may or may not resolve all conflicts wi= th >> drm-rust-next. Once -rc1 is released, it is backmerged into drm-rust-nex= t and >> drm-rust-next is picked up by linux-next again. >>=20 >> Usually all of this remains rather transparent to contributors, but you = hit the >> case of using a new feature introduced through another tree before drm-r= ust-next >> caught up with Linus's tree (which will happen next Sunday). >>=20 >> Before drm-rust-next caught up, this patch can't be applied anyways, so = all >> good. >>=20 >> > I am fairly new to kernel development, I apologize for the mix-up. >>=20 >> No worries, you did nothing wrong; thanks for the contribution! > > Yes sorry if I gave the impression you did something wrong - this also to= ok me > a moment to untangle as an experienced contributor so perfectly understan= dable. > Appreciate your contribution and hope to see more of them in future. > > - Alistair > >> - Danilo Thank you both for the clarifications! I'll wait until the backmerge into drm-rust-next happens, then I'll rebase this patch along with the new conversions and send a v2. Regards, Nicol=C3=A1s