Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp419836rdb; Thu, 1 Feb 2024 12:17:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEmCx6TARzlqf48zYNaZFxZS1GP6VyvxrEXzyXx74lbymwBmLprjfccJDmXSLAZ9Kb2kuU3 X-Received: by 2002:a05:622a:44b:b0:42a:853e:1a3 with SMTP id o11-20020a05622a044b00b0042a853e01a3mr6534654qtx.13.1706818646637; Thu, 01 Feb 2024 12:17:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706818646; cv=pass; d=google.com; s=arc-20160816; b=YOY5z4brZka6eiZBPHgA8TSWhp/MpRSYGet7NhXgjakMXM2hv8Ny+DDgfSU3VE1DLO 30HQsAd5837/gPDWLgooyER3/1mjC/iVmf9P/gVUv6qJzLlPuG8gyOjc5lywjWaTnXhj ernB+ncUHh6hZUR1U1AMHFozXWkO0/XllM9RtxUhIMVB7chzM6lG4LygTmnhfVenwmjn /P2CUQ8kFMXYs1Ybz952Y/H8NC6vuc8LfEVcffrTkRLYSNEjEAGk32zuKq8Vto9YfBVv DmILb+fv+OwHBxODxIgv3e4zKnrrrIJc2apJx43aaGFGFdXseXYWVX4Y6/tBc+KeYyXd uGHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:references:in-reply-to:subject :cc:to:from:date:dkim-signature:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=mQ4LObGFJg/ha8hZmJ9oAUbu9DDaZFLu+D2ZoTVr7XY=; fh=keBhiHjICDp0E/8yEn2yUQ/X6dXX1vgKm+msypAR684=; b=zPci2IYi3AgDdz4mjTvtctguWwJQvTDD2PHpDJL8btLY9zhZaYBeaD2OfbtwiDiNY2 F1vjPIXK3ma0O8lIiyBgT7hjcjXDLhMgJUG6XbzUDW93QKt48ZyISoAqXILfVhoorvY1 PQghTeEha3NwzzJ6kaiPz6ZFw/qS3TH7xSYKpiiOlcGwpJfe/5SH5in7MaNb6dhLssOG zP6sJpTj1CMYJtK7ZNtypKpH69lZBVCchaj6/HnD+4Mv3fLLARpDsWSQRDhPMIeh4hqD joe6oTDedlIyrA5Lyy6dc3OZFPcnM/xYQQQMMynwrPrVG3Ukk2KCRgYa8h4mqIUw6z+g zP6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b="uEX/QmMf"; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-48807-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org X-Forwarded-Encrypted: i=1; AJvYcCVkavjJwzvtIoiY/1uvmu2TL6dtvaYgHvdgv2NEc6DN0iBu0wmj/WTCFxKjAp1FG/N0ac+NEcV3JN0m47Ge+xKElWYKCbaiUDn75pnbtA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g10-20020ac85d4a000000b0042bfbc423dbsi295632qtx.91.2024.02.01.12.17.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 12:17:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48807-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b="uEX/QmMf"; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-48807-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6578B1C2281B for ; Thu, 1 Feb 2024 20:17:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BB0585644; Thu, 1 Feb 2024 20:17:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b="uEX/QmMf" Received: from mail.manjaro.org (mail.manjaro.org [116.203.91.91]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5869D8528E; Thu, 1 Feb 2024 20:17:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.91.91 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706818635; cv=none; b=OnYRM92WKuPiKKrimngS1q9eBQmTH1x/X6yy6Hik6JtICsi5GMPyoaZcyYycq8rclDQUwl72ASTYQNf6kRgx0bb4WbSP0bB86gj94k8aC0Z7qVqfudlEk87/hehEgnlyh8xasekeX3RxmImV/2SWSLvHLKYzh65DQRpw8rbM9lw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706818635; c=relaxed/simple; bh=kUJ0d3O/c0wajgWfESE7EH663Rzvk91KqBPyZn/q+LA=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=WQizPctuMtrkeEyeWgc2+AfpzpK8rra7J8ky3GsG6iWMY0Arly1UYGypwtJV+kr3FHMeRFzLUSSYQmSl/l+tTvI/5WF7OrZeFU2EDgli+3keisqXPMOFEnNOWnvmHqsLMgm2erSb2nE0EXYNOFj4Lu6j2QPjrWlm+1wZ6K6Mm3w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org; spf=pass smtp.mailfrom=manjaro.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b=uEX/QmMf; arc=none smtp.client-ip=116.203.91.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=manjaro.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1706818630; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mQ4LObGFJg/ha8hZmJ9oAUbu9DDaZFLu+D2ZoTVr7XY=; b=uEX/QmMf0zExWZ912UGlq+tML5qMj/92LtN25+1uudl4cc01SleXspXqRqXKJ9nRv0a0fw x/N8E64ubnnVJXrJGSBPjwTq4cqHHWivYYPi3YJ46kdkqf4tts136hK74q6NFcqYqaRRt0 0TjwNrvwt03lKnfYr8u4qpPG3RjdV52YPdcsImOLpCoehjSC94Y/dvvd0bpJUGSrr5Ut3A As2O6AzDzQH9Ph60tLDy4f2BURXvfKS0ajp4++ghPJyo3Gv/R9WIb3TVoOkM1cysWAL/+O kVd4uhg44YlhOx/8v3j8Z8lodhWBNK/WvNJImFdynAZSkAPcfjEOlTSYPhZnnw== Date: Thu, 01 Feb 2024 21:17:08 +0100 From: Dragan Simic To: Greg KH , Christina Quast Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj?= =?UTF-8?Q?=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , FUJITA Tomonori , Trevor Gross , Andrew Lunn , 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 3/3] net: phy: add Rust Rockchip PHY driver In-Reply-To: <2024020105-bankroll-opium-a6e5@gregkh> References: <20240201-rockchip-rust-phy_depend-v2-0-c5fa4faab924@christina-quast.de> <20240201-rockchip-rust-phy_depend-v2-3-c5fa4faab924@christina-quast.de> <2024020105-bankroll-opium-a6e5@gregkh> Message-ID: X-Sender: dsimic@manjaro.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Authentication-Results: ORIGINATING; auth=pass smtp.auth=dsimic@manjaro.org smtp.mailfrom=dsimic@manjaro.org On 2024-02-01 19:23, Greg KH wrote: > On Thu, Feb 01, 2024 at 07:07:00PM +0100, Christina Quast wrote: >> This is the Rust implementation of drivers/net/phy/rockchip.c. The >> features are equivalent. You can choose C or Rust version kernel >> configuration. >> >> Signed-off-by: Christina Quast > > Cool, but why? Is this going to happen for all phy drivers going > forward? What's the end-game here, dropping all .c phy drivers that > are in rust? Or having duplicates for all of them? I'd also like to know what's the intended purpose of rewriting a mature existing PHY driver in Rust?