Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp532965pxb; Fri, 15 Apr 2022 05:35:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBzYzCRAJBE9XTF1WpR4WtjCCeL3ceCiaQP2xVu39V6f7f3DyCA3HXAwQ59uE5Nac6BHi5 X-Received: by 2002:a65:6e82:0:b0:381:71c9:9856 with SMTP id bm2-20020a656e82000000b0038171c99856mr6284983pgb.316.1650026123978; Fri, 15 Apr 2022 05:35:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650026123; cv=none; d=google.com; s=arc-20160816; b=DYUpLFpqT6DNdqyk0vgcAsGCewGPpUfJmBnb0W00z4Q4ufymOXx1lrtkSARad0dzKo E7TrcCOB2kO5ddYramWydFwaJaz6uez7clc00U6m2DcFUAzez3Dny1b1IDbjAcwZKhiB 1LwFC7IUSlEo95fvpeKQ4IX6aXtNi3nCr/DYmrhV5+zSopA4L5ZKUtydywDmH++SnOAK 5Hs2yIheBkKdct0Ib75AOC9BRtvs4+d/CYgV7cKvacG49Gqt8LgmVC1ZV+uSy8A+JlSC WsrgZpAjiOwJOxnqVCRYm0ijUP+fc7mzsj+jhoXtVTaKqbcect5ExPfWnKYQzjvX7Kfh I/bg== 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=/qUIJWUYp0OgGPrDZUu+q7DE+3dlNWkqw9Br15Nf3Qo=; b=1ECIOQb2L8uTeM1dZcwATbzWGnlt7GxZF1AuaXUDkGFO+T8exB/6l5s+kQV6cWpCrU 9DNEvjevt1ap516MSEtBGWPz+L8OZJRvfPB07pb4XwxPngaM2hF2zxwS4MQSpuTPL1sr smqlIAkHINbCMw5kq1LEetziyxHv1KBdmcPZxZx+kDDJU2ktQNLdiEmJE4jOIepwCXzC +JV72yc/6I2sxFO7o/sKlkkMyX9n/hSbvFBMsTWjrM7DcEm1wvJEht3FmYLCuPKojWei lI9e/GLWbx5zLpG8mJPuAyaEJpjM5+pywHvyH0O3P8ywiTAUdrcJLYhEHtwtPTV9O5ph TuWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OFkr8OF7; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n13-20020a170903404d00b00158918f2634si996834pla.402.2022.04.15.05.35.10; Fri, 15 Apr 2022 05:35:23 -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=@linaro.org header.s=google header.b=OFkr8OF7; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238764AbiDMVE2 (ORCPT + 99 others); Wed, 13 Apr 2022 17:04:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231548AbiDMVE0 (ORCPT ); Wed, 13 Apr 2022 17:04:26 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D040A71A24 for ; Wed, 13 Apr 2022 14:02:02 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id p21so3327355ioj.4 for ; Wed, 13 Apr 2022 14:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=/qUIJWUYp0OgGPrDZUu+q7DE+3dlNWkqw9Br15Nf3Qo=; b=OFkr8OF7baDSWlxCIRyQaETk6E21TEaTMW5FVY+5KHmdECRnIAsakMkZ/xCkZXz4ac PdZqm6T77fdP7wYKyifi5RY9/SKqzc9ibPhBZrX838SKGG22M6CycSrHR9Ju/Op7WzvQ QwZNjVRy6QjsZ59/TF2V3TjHUZ7PfedKp5pDfUZDzX9qKsYuyjQkbbgQP79z5ZV1tFdO vTpckEpdgg4UwHcW2gktfOivWYC86kxRnF50FdeNeCrMtNsqb/kDTmVJh3bh8F+mnam9 tSxzUURicv6wWp9KxpmEx71w2UA03ns+iN3HUGcsuiXiK0xbt9C7+tasx/OuDNLNR19x 1lOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=/qUIJWUYp0OgGPrDZUu+q7DE+3dlNWkqw9Br15Nf3Qo=; b=e3DHwL/45iQgHj24gA/ipE6OCdmuvENvJWT+g3KNZMJrg4/YrtdEu1QYhcuRRaS1fG zvmiqxDp3QYUb135BD+DTRzJXxb728V8YKaQx52O7s92BJRYDvKobi2wMv5yF6ae2bKs 7P/logOhLSl5RB8h21lRH4fGonZlDJ66+nSmJsWmlOhsTs2+8SZGPmlspU4Tsopl9cRF wtlbFQNUYQK9rJTsJbcw/98UDfYa5MXrcDnwjOHer3p7bKPWrDcHFHDuifwv8Azo1OVG FTb70SFieYwvJs3Ywxesnbg7ROp6e9RRJfcer7MKec1E+o7WemL0yauqQk1mQwYtGlQm Pr9w== X-Gm-Message-State: AOAM533yeVSuubIxg2QAkg4uEJQpfZ1uHsyBOW++xtF0ms2XJMpbWt0u L2966WLlAi4gQm5OgPg9aJXom0KpNgllRg== X-Received: by 2002:a05:6638:25c2:b0:326:223d:4494 with SMTP id u2-20020a05663825c200b00326223d4494mr9784815jat.162.1649883722145; Wed, 13 Apr 2022 14:02:02 -0700 (PDT) Received: from [172.22.22.4] (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.googlemail.com with ESMTPSA id i5-20020a6bf405000000b00645be60c31csm21576iog.23.2022.04.13.14.02.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Apr 2022 14:02:01 -0700 (PDT) Message-ID: Date: Wed, 13 Apr 2022 16:02:00 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 1/2] interconnect: qcom: sc7180: Drop IP0 interconnects Content-Language: en-US To: Doug Anderson , Stephen Boyd Cc: Georgi Djakov , LKML , patches@lists.linux.dev, linux-arm-msm , Linux PM , Bjorn Andersson , Taniya Das , Mike Tipton References: <20220412220033.1273607-1-swboyd@chromium.org> <20220412220033.1273607-2-swboyd@chromium.org> From: Alex Elder In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 4/13/22 3:55 PM, Doug Anderson wrote: > Hi, > > On Tue, Apr 12, 2022 at 4:20 PM Stephen Boyd wrote: >> >> @@ -519,8 +500,6 @@ static const struct of_device_id qnoc_of_match[] = { >> .data = &sc7180_dc_noc}, >> { .compatible = "qcom,sc7180-gem-noc", >> .data = &sc7180_gem_noc}, >> - { .compatible = "qcom,sc7180-ipa-virt", >> - .data = &sc7180_ipa_virt}, >> { .compatible = "qcom,sc7180-mc-virt", >> .data = &sc7180_mc_virt}, >> { .compatible = "qcom,sc7180-mmss-noc", > > I have no objection to ${SUBJECT} change landing and based on all your > research and Alex's review/testing I think it's good to go. > > However, now that you're removed the driver that cared about > "qcom,sc7180-ipa-virt", should we also be removing it from the > `bindings/interconnect/qcom,rpmh.yaml` file and the `sc7180.dtsi` > file? I think that removing it from _either_ the driver (like your > patch here does) _or_ the sc7180.dtsi file would fix the bug, right? > ...and then removing it from the yaml would just be cleanup... That's a good point, I hadn't thought about that but you're right. I think we were too pleased about identifying the problem and proving it could happen (and cause a crash), so we didn't think hard enough about this other piece. Stephen, I think you should re-spin the series and add the proper change to the binding. You can keep the tags I gave before. I've got a note to follow up with similar changes to other platforms where the interconnect driver includes resource "IP0" and will plan to do what Doug suggests there too. -Alex > -Doug