Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9447982rwd; Wed, 21 Jun 2023 07:35:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6nl4iOeybLKSwATsW48c71tAjAb0MW6wypnO8oMqUGLfFbRoGPyl3GzgOoGha5uq7yREKh X-Received: by 2002:a05:6870:d450:b0:19f:aee0:e169 with SMTP id j16-20020a056870d45000b0019faee0e169mr12275857oag.30.1687358118217; Wed, 21 Jun 2023 07:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687358118; cv=none; d=google.com; s=arc-20160816; b=tLORap2lbXo/8nXFFGjwYG6vVPtYjlIa+xqpPbr7P9XsRlGJOqWRtOXs8E8lSjzDF4 cd14LZD6HdgkmU/otCw+0JhA7tTJz5gXIMoMcc6Fk8m4MNniBWGY3L5P1AZ6GSh+KImQ QbtfYyOQoINHGa3inEUTQOWxAwd2GRKOrQtnYHeESOow5GrtnsTXdqx2ZMT2OVYXHRi/ FnylWFyOX32Z7vXDWynSqCyMVxOVglgTJTeoKgumlG5u2Cx7qqDTnagKvDwsxl+9XkgL QGZVHMVRD4u3gP50wWNmTUSSiPlE4jwcABXJJDFcqMs0qiZVs9EzIvWnMDdYsW3YN4ge O1Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=WgTBLUs1PWh6w65rKM7aa6Jgp86SJZJPAhgM7c6bdKU=; b=oG3Oxc+o6BGVheAD/bpKPFO5aJMPTB7HBtj3fSv7gSX5MLh34okYULutisIr7gHU8B /1tQ/gVkddiTWtrSYzhGsKwtYCTwK8kTnrLnlqbKtEyT/7ixMMGEjoB1ROfagK5T3zl0 lgQbGMqq3UrrvwUEGkvvYfgtpS5baqQ/ZwBqMU/yl7jSKIGbn5M72Q7OWEaPVq6dXspf 399zvJOfxY4xb3a7WbLPsIBd8ZOmmtnMw5oR2v8FN9BIkJ3ES45ylEz7NGTPpPCkRJY4 05SfQjwJyLbQk/ZNgze0xCWNFsZoaX/Ur8X8X+VW5OU3mEu5bafQatMXaaputjgO+R4k EZLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NXoGmond; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l192-20020a6391c9000000b005572d25a921si398860pge.419.2023.06.21.07.35.05; Wed, 21 Jun 2023 07:35:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NXoGmond; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232785AbjFUOLV (ORCPT + 99 others); Wed, 21 Jun 2023 10:11:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232770AbjFUOLE (ORCPT ); Wed, 21 Jun 2023 10:11:04 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F52E1FFD; Wed, 21 Jun 2023 07:10:40 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35LDGeik017878; Wed, 21 Jun 2023 14:10:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=WgTBLUs1PWh6w65rKM7aa6Jgp86SJZJPAhgM7c6bdKU=; b=NXoGmondoY+xbBXy/M4UINPmFwJHJWwpCkH16m5jLABT7lTXefVFHqYxSGwQna2dXqHn gDFEnZhNfsMC7t8cBFbiWheZa8OpzdkbVY4P4l2ADsf1n2PyfihGDRyqSD32Cu9V7iQK A3yBBw7pY+ciaBMzVPZ7Zc7KulCDc0ms1u6ygsHgqn4VA/NHUeAneYLz+PdKjNXoHzWf 6l8AeXwPChCPRbRD/zlvwep/mEQnHWRsQS91DuzkaEtvbQPXScPAHS03oHAA+GVj9hfT UtXgJoHVe5moq202pDxhelgYr36nIyklwPnQNaXTBVCptmMbnRl3D55HzYCVG1Fzjxbn kg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rbvr1gvg0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Jun 2023 14:10:36 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35LEAAks026035 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Jun 2023 14:10:11 GMT Received: from [10.111.161.191] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 21 Jun 2023 07:10:09 -0700 Message-ID: Date: Wed, 21 Jun 2023 07:10:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH RESEND v2] interconnect: drop unused icc_get() interface Content-Language: en-US To: Johan Hovold CC: Johan Hovold , Georgi Djakov , Bjorn Andersson , , , Konrad Dybcio , Odelu Kukatla References: <20230523095248.25211-1-johan+linaro@kernel.org> <37dcbd3c-1e41-023c-8bbd-19cf9c9f151b@quicinc.com> From: Mike Tipton In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Jf5X1Op7YajBCkjGMkubkCAg85GYu681 X-Proofpoint-ORIG-GUID: Jf5X1Op7YajBCkjGMkubkCAg85GYu681 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-21_08,2023-06-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 spamscore=0 mlxlogscore=640 lowpriorityscore=0 priorityscore=1501 suspectscore=0 impostorscore=0 phishscore=0 mlxscore=0 bulkscore=0 malwarescore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306210120 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/21/2023 1:34 AM, Johan Hovold wrote: > On Tue, Jun 20, 2023 at 02:57:17PM -0700, Mike Tipton wrote: >> On 5/23/2023 2:52 AM, Johan Hovold wrote: >>> The icc_get() interface can be used to lookup an interconnect path based >>> on global node ids. There has never been any users of this interface and >>> all lookups are currently done from the devicetree. >>> >>> Remove the unused icc_get() interface. >>> >>> Reviewed-by: Konrad Dybcio >>> Signed-off-by: Johan Hovold > >> We have downstream debug/test modules that removing icc_get() will >> break. I'd like to get equivalent debug support in mainline, but until >> then I'd prefer we not remove this. > > I'm sure you've heard this before, but if it's not in mainline it does > not count. We don't carry code upstream for the sole benefit of > out-of-tree users. Yeah, I understand that in general. > >> I suspect having a mainline approach for voting paths from debugfs would >> be useful to others as well. There are similar debugfs control >> mechanisms in other frameworks already, e.g. clock. >> >> Instead of removing icc_get() immediately, can we wait for a future >> patch series that adds debugfs as a consumer? > > This function was merged over four years ago and has never been used in > mainline and I doubt a user will suddenly show up in the near future if > we were to keep it. I guess I'm hoping if it's already been unused in mainline for four years, that we can keep it a little longer until the mainline debugfs user can be added. We can prepare that series. Not entirely sure when it'll be ready, but can try to prioritize it. > > I guess you can just carry one more patch out-of-tree until you can > mainline a proper debugfs interface (which should probably not even use > this function, as you mentioned yourself). That's not really possible in this case. We're limited to our DLKMs running on top of the Android kernel. We can't modify the interconnect framework itself. > > Johan