From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 9DB85194152 for ; Fri, 7 Jun 2024 13:33:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717767230; cv=none; b=UQRRtqCepckCG3rkcCRAKyvlFajdapW8psZUVgBw/5TEJDlB1IVVMLw/G5qb2Y1f+bCvrs3jAMB8sdSJP2VuwiY/LCKG1SJgVT3NK0mlNtBry3S1QwIfkjxiHlEJR0PA0n7X7sBXEcSgqVmmVPKZ0cUkag8pr98Ci2BYnLjz7EI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717767230; c=relaxed/simple; bh=M8Yl3gWcNNo/0ofo1//IMuJ4zZ3zvpkFcj7J2DwgfxE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: In-Reply-To:Content-Type:Content-Disposition; b=iZqih9cIiELUhl7RK3O342J9DtN2wZbBvVPF0wzSH7/hpvFpLB4ctAXoUELYPYjIJuWTG5KWmwJz7KOBc+FJ1nUBWgDPW/1XfVoYIutVnn/B4ObOCcEg6tPvOFFDOmAPTRlOaF0YNNniOL0OuAV8P6xNDD4KAtHUU80vDhNnhWc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=OmAOED+2; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="OmAOED+2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717767227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+o4Snn8oFQsu7dtslzg6tFQsMAWhVAZg3b7dqfcILCE=; b=OmAOED+2xBE96xj+Zm06K7iK3eJKGsyOan0WnBuN0UTdEbIcpSA6Al8Wi0pHUnUespFm3K yzoK7th3Ue+mHqDXPGJdgxYq7iUAzUPGdBj139ZWH/ffE3SfjgHUtq6yNq1LAudBzs+1yi ZiI8Htk6G1rlnywsXzQF+QVNYp/p8RY= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-79-kQxViGI0NUyD_PIggSqL_g-1; Fri, 07 Jun 2024 09:33:44 -0400 X-MC-Unique: kQxViGI0NUyD_PIggSqL_g-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4215b110900so16634245e9.2 for ; Fri, 07 Jun 2024 06:33:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717767223; x=1718372023; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+o4Snn8oFQsu7dtslzg6tFQsMAWhVAZg3b7dqfcILCE=; b=BW/wBqqkYpbAsc7UfE4n5wBW41lBiH215YrJPcbeHh12u85FYq4h1CxedBoP+x8TXd 9K6a7bjNqk0GaiUHSj+vFD8EI+wEVQcVhP736tzEwA8SvAo+qEqJPmcrCjRDXGxJq7ux VyopTj8OxJVZEhD1hHdTF2aSKzuy2eYExE9Z1FAOyDaC3CJ/okAIB70hIrVpe8M0qjXJ lqAlymuJADWZqptaZ/OowH8uPXj0Y+K7HYzDc0QSifDtPPK0aI+FOCLuQNtFausyUzMz Xd851VYOpwMbtDFSQMOGVg/nJMAKQSBUhmuWEEqtaV0kcpuQf9679hYUQv8mDWxVMC/O k90A== X-Forwarded-Encrypted: i=1; AJvYcCWf8hsmjlFfdH45aS0dFl6uL0eRE7OdSLiXb8wiDaSxiraEAkJ+tZq3fvHPsZ+X8TMrCMiu+M+yZjVvwp0/uNp8q+mE/I41J7YZSw26r9s= X-Gm-Message-State: AOJu0Yy0hy55QONFWfnbtYznvx36ufErmBL2V2ktC8nBfX1rfipyS6AW /mDYb8zB+AmGWbaep/JyXkV9D44GVIVsKohxRhVEC9WaK0mGe3ySt2/cslZXPS6jdHMUUTmEMXz KSouZiX99upi2mcDKta0mmfAJZcJ8Vg0wBX4HURJfzuhKR27cNZvkBYgZO2xIR98N X-Received: by 2002:a05:600c:1988:b0:421:63f7:7e13 with SMTP id 5b1f17b1804b1-42164a3aff5mr17600575e9.39.1717767222953; Fri, 07 Jun 2024 06:33:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHlyc8Iq7FHKjZyHqdEDLnYOaqMrcT6qa1tTG8982GfrJ4Fb25SyoED3Bpfv/msW3qFlRA26w== X-Received: by 2002:a05:600c:1988:b0:421:63f7:7e13 with SMTP id 5b1f17b1804b1-42164a3aff5mr17600465e9.39.1717767222614; Fri, 07 Jun 2024 06:33:42 -0700 (PDT) Received: from cassiopeiae ([2a02:810d:4b3f:ee94:642:1aff:fe31:a19f]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4215c2a6130sm52696445e9.26.2024.06.07.06.33.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 06:33:42 -0700 (PDT) Date: Fri, 7 Jun 2024 15:33:39 +0200 From: Danilo Krummrich To: Greg KH , FUJITA Tomonori Cc: wedsonaf@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, ojeda@kernel.org, alex.gaynor@gmail.com, boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, benno.lossin@proton.me, a.hindborg@samsung.com, aliceryhl@google.com, lina@asahilina.net, pstanner@redhat.com, ajanulgu@redhat.com, lyude@redhat.com, rust-for-linux@vger.kernel.org, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, mcgrof@kernel.org, russ.weight@linux.dev Subject: Re: [RFC PATCH 7/8] rust: add firmware abstractions Message-ID: References: <20240531.165032.1895479176481879387.fujita.tomonori@gmail.com> <20240607.211132.1411950625632247437.fujita.tomonori@gmail.com> <2024060708-residue-hardy-af36@gregkh> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <2024060708-residue-hardy-af36@gregkh> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 07, 2024 at 02:36:50PM +0200, Greg KH wrote: > Anyway, that's all hand-wavy right now, sorry, to get back to the point > here, again, let's take this, which will allow the firmware bindings to > be resubmitted and hopefully accepted, and we can move forward from > there to "real" things like a USB or PCI or even platform device and > driver binding stuff. In order to continue I propose to send out the following series: 1) minimal device and firmware abstractions only 2) v2 of all other device / driver, devres and PCI driver abstractions 3) v2 of basic DRM driver abstractions and Nova The v2 series would contain static driver allocation (in case of DRM even const) and quite a few more simplifications around `driver::Registration` and `device::Data`. Does that make sense? - Danilo > > thanks, > > greg k-h >