From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 BE7F82D73BE for ; Fri, 19 Dec 2025 12:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766149141; cv=none; b=ENXiaKpG/3u1KIDksxrmmj5Wo3qzH0Vwb+HehCB3x9OMltPb7m0qH0hCW5pOsHSgayQtmSpPu44C0X4nc/jETqwgJGCGWExpMdZPJUELJTORa6jL+/mB2US0whEvxeJn1UuZWOoyTeQkqeT8HX5DFUKYz3VEiI9T2N+L5tU9R+0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766149141; c=relaxed/simple; bh=/z9RChqFbUobiCtIwibbNsTlS4mZ14RedF2GrmFSfh4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Auh9YYQSRSXdds2em+n31upqvfEDPGF+KLzSPcvnqTXkFbzwT3r8Ckr/b7bVV7UdpBNb/woHVIXSWq2ePd2I40NRuA5+7CLyhM2eO94vbt9kS5C9rgrJk/a1ns7FI1WlQkpYTCzD2twUhO1EzrWjT3kgsgY0ANNNi8uYyiD/WqI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=JII/EGkh; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ZT/CjJN1; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="JII/EGkh"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ZT/CjJN1" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BJB87Rk4000448 for ; Fri, 19 Dec 2025 12:58:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= YQ8BpDnvaxRKS1c970H93q1ZxObJ65jXNdNzE4pE0VQ=; b=JII/EGkhBil9AGNa 2WQ2EGLl6DStk1CNUo+3swM8oXOpmnpAy7TDkTETBM7VSPg9Ts8CBkkj0WO/PpyW EUKNhmw2OCvgjTYrcS4yNe5xupEAVqtSFYqCmCAaCEetuyHb113Ri4diycu3akBX WQ8gfN8bcQ9L6VLZHgjDqQUWfl4BbkDUtrWaQp1uCiWSxkeCTHdtzfGp1zXwurk3 CM6j/+C2s9yiEsO8NqYkZPcY9Fe3d7f6pDl8nKuEkDOx/Ney1CE2WYf3GF2MnFpW U+YUNrIUlAZx906Bl1E8Q5MOMFENXRDN56pWhysxgNsEXur45fbWJxGjPEFS+WHf 9nYeuQ== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b4r29jqab-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 19 Dec 2025 12:58:58 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-4ee05927208so5494451cf.1 for ; Fri, 19 Dec 2025 04:58:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1766149138; x=1766753938; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=YQ8BpDnvaxRKS1c970H93q1ZxObJ65jXNdNzE4pE0VQ=; b=ZT/CjJN1OTDD2Kw7QgCWR7Vkqzc85C3X4Q6YuiwDWoCEO6ywbBX9M8vnReDNYipnsq OToSWxKxjvysDEGhtZjNqnlvmGl6P6Q4YnqZmjAwr258eNlYkgewVaPR7phUl7YSE/id xhUzthcyVJxQ8AMI5SwU4/ngc3+vgAoNrEbKUB5Yv/amVVwKpROOidhJKiw/Nv5NQoas yeCSdorOAN9Td3c2YC6Eny/Jl16jy/ifny4v+I05D/5zPQIgKpTZE6plski8FQnL83hu +5AFKiqzGjLAwi9zkS86vrlPWQ3gzaFFH6jkELDMUnUAYfHK/eAM1bdVWzzdIXABwF5P ff9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766149138; x=1766753938; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YQ8BpDnvaxRKS1c970H93q1ZxObJ65jXNdNzE4pE0VQ=; b=KFWWGC4gWQHVP+1kejntU3MemDgZMuc/rqtxabKzzNBj5luiyiNiJ8XrFTR8nQLsHe hmKhuhjndrUmo5Ub8DIpN/GT4PXlnzbXwzzvwD1jvbOZ3YIVpAntx3VBrF3TqRlAzVed j2lakIA/El2PLbuLl6EO4/1ttWztxau6puc4Z1yEan+/aNsskLIcwKbr4D67YSztMULa 6MJSNXVIk8xOo9Rbtx4PeLy/lvEMeG03cm3ObS9GrNSfPMJqx8ndqglqdrc4IZGZHlXM SwN6dSu0kdUz2A2ofNGi0C0SxPNx84sHjGMX/VyPjkr9N2Zcg0jOLyKHwyBXbWuzLeAJ hTCA== X-Forwarded-Encrypted: i=1; AJvYcCWj+xFrW1fBMi7wIWH5mRD/oqcVBl8ltoul8U0isv912KIH9Kc4hlttG+y0baYh67DtzTpCFH0CWRo7Jes=@vger.kernel.org X-Gm-Message-State: AOJu0Yx+0KykpnpW+eFTqSh25cs7aWRNnsFL5NY+5BM64pT6MPJsnEET 9v02CC+yFo7+4SjzlA2n6twin9oEv53UYwwNOVHNsVWwXUsl6jxVer4kPKfb6E5FOFtI9iIFFlR 8wuPIwJQ6edeQBKo9e1XRLbgK2Qpe0UelbAjqJFiXkaRnet4leoJiJ0SEWAsE2qfJMCM= X-Gm-Gg: AY/fxX7kT/9E8CZMFIQq3sDSfhE22t0HPHVA3lpfuR8fYS9mm8QeUlQLRYUyA0nJHbO sn1jsazdp0RjBWSTzJyEy9YdWVMMrl2A+Q4/y2SgX57xaR9MR7ygsQ1cs5tPXlYXhZaJmKEUOMg Aa12WpU60EZAfFBXwdIzKUKJ2km0HVdCwpNpiCm8YFg4PpCXVzgVHHg2vO0KdOlks4HCfbLD4yY 05Dv5Y1thBSL8r3rAd4NCa1klBFN92QIQPBwJQoaAgTeYpwFluI2ETQmuOXYx1DtNlLD9ZVNTfJ aUJrxLTnUERnCFv5rUCz8Glnu5a940hVEgsyqSZ3yjWJCm74p3HPunn3OzqCOc8s0lrfq35lR7i cR0Kh4Itca1V1RFs8LKuXfiJbtC0kYwy8EKeSCitIjwUefAVlY0HvPUG43iRDgqjMbA== X-Received: by 2002:ac8:5e4f:0:b0:4ec:f9c2:c1ec with SMTP id d75a77b69052e-4f4abdc5c87mr26785231cf.9.1766149137979; Fri, 19 Dec 2025 04:58:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDWGdxEfmLosc59bks5bBeNjqEWIzY041ekBoX64RJpOVkxNK5lvoChgtD4nKmgNOZ5gynEQ== X-Received: by 2002:ac8:5e4f:0:b0:4ec:f9c2:c1ec with SMTP id d75a77b69052e-4f4abdc5c87mr26784921cf.9.1766149137553; Fri, 19 Dec 2025 04:58:57 -0800 (PST) Received: from [192.168.119.72] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-64b90f53c70sm2115423a12.6.2025.12.19.04.58.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Dec 2025 04:58:56 -0800 (PST) Message-ID: <9d5d1caf-5c3c-4c58-92dc-10f73694ec0e@oss.qualcomm.com> Date: Fri, 19 Dec 2025 13:58:53 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] Add initial interconnect (icc_path) Rust abstractions To: Miguel Ojeda Cc: Konrad Dybcio , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Georgi Djakov , Dmitry Baryshkov , Bjorn Andersson , Marijn Suijten , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-pm@vger.kernel.org References: <20250722-topic-icc_rs-v1-0-9da731c14603@oss.qualcomm.com> <9884efc6-c6c5-49f1-b582-55bba8397521@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=P6c3RyAu c=1 sm=1 tr=0 ts=69454c12 cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=PfD2oos9AAAA:8 a=EUspDBNiAAAA:8 a=giwF036dxWHEPjP9aMMA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 a=oXWlT9oWAVMySZ1Hvsws:22 X-Proofpoint-ORIG-GUID: ybpd6u9HcgbVhnbROktqhuTjL90i_NMW X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjE5MDEwNiBTYWx0ZWRfXwsOryZaCdlne g2EPsKpEY0QV7JLKhRrbr7nA6HgwVziiyrBM95XxxOtInlXmkqhV8KryINg4P2VTl/2m3gHzBID PTSDgM96h2oIQcYO6qSrz3FrMc6tPUbCbB0X+SJ7cDEsxx13ZibjfGhyeXjvGxG54m05N4Fqn3d vyVdPbZAo/MJ+viMgET51g401NBBTlh5icDLhVipMGqQrYEEAjErCSW0bwdlSEvfPMcrpSyqWi2 uvlzAXgUOh4mPGUduryNkHmZAeGy2V2Zeaplq/MdQVuOVYmZM3ggKsmBCGHIP9Kxgopklt0QN+X 2VQrgnE557JQxIBs7llq3LwVmO3e4CMsrFHZW30hRMOf+YfDgMSyjBkUS4WnxsOr5qfzLn4QLM2 Tv/rOKC9W0P5FPj3BF516KiE+m8eZYKWkjp9QTPNpgUO4JdqcNXhhLHZNI/wccfZ6eE4o5nX9GC eFGKD3af/9ahOG+Eg/Q== X-Proofpoint-GUID: ybpd6u9HcgbVhnbROktqhuTjL90i_NMW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-19_04,2025-12-17_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 suspectscore=0 phishscore=0 priorityscore=1501 spamscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2512190106 On 7/24/25 5:55 PM, Miguel Ojeda wrote: > On Thu, Jul 24, 2025 at 2:36 PM Konrad Dybcio > wrote: >> >> Regarding the users, I don't have any specific promises on a consumer >> of these abstractions in a short term, although the ICC API is rather >> common (especially across the major arm-based SoCs), so it shouldn't be >> long before someone needs it. > > In general, abstractions cannot be added unless there is a known user > that is coming upstream (or developed in-tree over time, like Nova and > Tyr). > > There is also the "Rust reference driver" approach/exception to help C > maintainers bootstrap the Rust side, which you may be able to take > advantage of: > > https://rust-for-linux.com/rust-reference-drivers > > At the end of the day, it depends on the particular case and the > maintainers, of course. > > I hope that helps. I don't quite recall why I ended up sending it as-is, but thanks for your (and all others') insight! I may revisit this series one day, unless someone needs ICC bindings first, then feel free to take it over. Konrad