Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp454938rdb; Thu, 1 Feb 2024 13:33:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IFcrZpzQaGWOUorw+30R0i6gC74gRKSxz5bh1LPopDvpkAW/qUc/bhMZkce/BHUDfRxsW2d X-Received: by 2002:a50:9b57:0:b0:55f:cb24:4242 with SMTP id a23-20020a509b57000000b0055fcb244242mr211559edj.4.1706823226101; Thu, 01 Feb 2024 13:33:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706823226; cv=pass; d=google.com; s=arc-20160816; b=LqwHZUexk8+kLvd32L/uYgYpKlqN9tkpSOpY7FwkLR9XcDh7s/dWPmkCs/rG4e+4R2 CEInAMWDUKoJp+JCHFYrnBHjiQUXZDGEABNMSjbz7YHvhASE5notvlv9QrhQ1MuoTFZ5 +JnzVIiXmLwtJVGu+exWZdTUdg5x9Lgq4pxww/C17/5OS0lIUyiTpCI2bUXZLeVtyEFG /wUm2VH7Mc4MtmnkRxYPOBWDIsWqu7rNOV/xoIIYEtM91CVE9Dd5rpbbVuBl/oC2TEfE LOaJg3yXZxKz1/sD86DEezeIrdhyLSujXkWWZgu0cq7vFam+gWHCyOIiDoE0WEfPVqfi Dh/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=B3OEY63cwbO4YybUSmVo7dQCRT2Z2Gq0tUVDWFfTub0=; fh=d9IkiDbz8gnTmS6Nzjg3M4/hN2b2AcRHg/dfxxoHeDs=; b=RBwc1C2bjcpQ3LQAurWPAJ09AeZKVZx4BrsL/tAonwk3BxhzaFfMaQrJxvQBlN4kdM jAQ+uWeV/BacA3htLjpPMtKF97gjzu0tIB9LOWgp1uuCic2BAugi5Q6jaYVfD9gVuImg v9XiKZTDgsRqkJpGvKdiuta2+LMgCr6GOBzQnt0/PmA6+f0gm8+HKM1om48qqWGo5jf4 tC3JSn27qUbOebZP5bMBSpesZJP+D2GNtLJwRyVSVVAlU2Wdiy1bo905unGHT9DQG7XI nHs2pJJ0O8N/w25ybflEU2vYHZipnABoF5f/2qwRk+IA7HXvH1ElSEL1WEIQ6NHNUcxe KEsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=XdYuMRNl; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-48879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48879-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch X-Forwarded-Encrypted: i=1; AJvYcCVxJwXYZVYA/zSnreZQA5MDYczg4THcq7Saeuey+jKUcrr465eOiYWpq6gd5N6epN1367R6+Euyqxa7Ag1cUxY00OyGuWzmx4JT++GYFg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o13-20020a509b0d000000b0055deaaf8b12si180309edi.672.2024.02.01.13.33.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 13:33:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=XdYuMRNl; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-48879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48879-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CED881F238E7 for ; Thu, 1 Feb 2024 21:33:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBFF83EA83; Thu, 1 Feb 2024 21:33:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="XdYuMRNl" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 0AD893CF65; Thu, 1 Feb 2024 21:33:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706823212; cv=none; b=SfI6Hsf1UMoPe+NsuMSDsKrjccSOhADq5PSaz0uUp3E2xShHCD+Rn8KG/op64UDjXIXVlyib4WR0sJ/oiEyH+HmTkfqdEitaFxZ0oyWD8tzjli6gnDo3PCpjo4MNqT71GV4gijrKfHJNUDcIuHLmjnih4ut8wd3azoxeCxMJvsA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706823212; c=relaxed/simple; bh=siy6++GmNHscbaxkVi1s7i39+Nt2JRQuUSycj2LrjfA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oT/vYBsEG75UeRiTpky+wkmwXSXhrjIaKzARZv92zHmilSM2OtxIBTYIlMhV24nO36F79jUG2OduL2U7zUYNPF8wK83SyeKAlFNUhi+3xnHId5Bo4c08WYCeQdfILOaIe8TImejHByIA1sKDLRP9QZtBBk3FeOzrOQKAriN8YDI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=XdYuMRNl; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=B3OEY63cwbO4YybUSmVo7dQCRT2Z2Gq0tUVDWFfTub0=; b=XdYuMRNlzfxtCYfazJe+UjRaZ4 iM9J5rNL7JiJR/FbjgoKUEuOaf5SS1gvSWBr2oIWB8eegdyGcI98KWiv/DTzwKlGHu26X3X2fhTJY /CzKpiALqEyBvwAoFu6bCEl0xf8N25/IMgPRHphWP8AGXHvEI8ec747SP318i9Vv15kY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rVegH-006izN-TG; Thu, 01 Feb 2024 22:33:09 +0100 Date: Thu, 1 Feb 2024 22:33:09 +0100 From: Andrew Lunn To: Christina Quast Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , FUJITA Tomonori , Trevor Gross , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heiko Stuebner , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH v2 0/3] Add Rust Rockchip PHY driver Message-ID: <123204c4-9fe9-42d4-9555-bd421494c0e1@lunn.ch> References: <20240201-rockchip-rust-phy_depend-v2-0-c5fa4faab924@christina-quast.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240201-rockchip-rust-phy_depend-v2-0-c5fa4faab924@christina-quast.de> On Thu, Feb 01, 2024 at 07:06:57PM +0100, Christina Quast wrote: > Based on the example shown in drivers/net/phy/ax88796b_rust.rs, I ported > the rockchip phy driver to Rust. The code in drivers/net/phy/rockchip.c > was basically rewritten in Rust. The patchset includes changes to > phy.rs, adding more struct driver functions for the abstraction with > Rust. > > The driver was not tested on real hardware, because I do not have a > board with this phy, and I would appreciate it if somebody could try > out the driver on their board. As a general point, please post such code RFT. Also adding RFC would be good, and explain what sort of comments you are requesting. Andrew --- pw-bot: cr