Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6633551rwl; Mon, 9 Jan 2023 10:49:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXsm6BqbPt3ZDMwvp20tKbYT6+zdGapwheTPI+sp+TI9Tgcofj96tq1DZBvTrSCNB0mvD3XJ X-Received: by 2002:a05:6a20:4f88:b0:ac:5a0c:32ad with SMTP id gh8-20020a056a204f8800b000ac5a0c32admr62912650pzb.53.1673290198559; Mon, 09 Jan 2023 10:49:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673290198; cv=none; d=google.com; s=arc-20160816; b=k/35+gIA+1lkz7cxHpv8iuonfe8RvKqSoo0olzsX7Vz3vrc0ll9iD5vigRzHpN4YNz Px5bvIU1NrXZvXZN0XVLKbOHi+yhuvqzcvRRQvycYJeL2NqyUwmRW7+l4EY91QiH5NUT xJoRFxKzN6wq9areBWxvAf1Ufh8uU99JlEW72TsNyyHcgJhxcWzI+ghUrr/R1ZJq+fdD Z9vsTz2CzegNmcA3o6OfqECBi2j8wC6O+U8GACQkzZzaNA0J4mwUtzixc8UzWi+t6G6A Dk8/YYYGTdoffYhRG7TiHp5A409bpEUBGNxg+AT8RNUaMvwMkxAjUICXY/HDGZjaKAKe MBHg== 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=jvYugD5smOlPeb8yw4a3uYKIpMLS5cDQVS3icNcFMKA=; b=DWRIYLFofTQoqn8VQe/cnTSSGPbLadzUVocn2+Zs9iJPpmsglSfFKBqtNIiZu8TIbL f/FZ+/d9vcD0LiAn3Uab4fz4nfrqdml+kx3DTUsBcCB7oStfgSHq4rGmI7gS/M5iQbuG lVuxl/nwFTFJN3/XqemDMqzNkkj5KL/GcPLSNXGJmLG59A8I14cUrqsA0MU6nwWbH6UP imQyCAY76b93GYh7FLP1QohptW0KTOv4/OO7VgLkqGWkKqAV0t2RnWAghmopjz5eulXh 91dOeZ7jAAi+GCt1kGU8raCHDYZYOMCsVDwslprq67+J0QSVCNat2k5Z5jmBjwG1ofqW cuBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z6PyaEpV; 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 j6-20020a632306000000b004b484eb665bsi1504988pgj.16.2023.01.09.10.49.51; Mon, 09 Jan 2023 10:49:58 -0800 (PST) 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=Z6PyaEpV; 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 S237123AbjAISXv (ORCPT + 53 others); Mon, 9 Jan 2023 13:23:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237481AbjAISXE (ORCPT ); Mon, 9 Jan 2023 13:23:04 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 699E6AE45 for ; Mon, 9 Jan 2023 10:22:09 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id m7so9100882wrn.10 for ; Mon, 09 Jan 2023 10:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=jvYugD5smOlPeb8yw4a3uYKIpMLS5cDQVS3icNcFMKA=; b=Z6PyaEpVm6gQZPhyOA+umXIzP1gj2ivonb832kvaPK2LHBAyLgqzEzWs+trmEE0Jln khMmlms5Uv6PhL4q8PhFwsygO3DHLGc4l5gyw4ZBVAMxJaFNOTa/D+37v6hQEgNUi6HJ MwrpiJXqxUpvHZ/jLL+pwFgBfNyRIeOFG6BE2kS+7uUlUG3H6z1r5xzHXB+rv1s49c7Z /cxqXGU2xlMj3qBcL9i+f7FQf/GhDu4ibCR+/YuG/aUITAgdMLmIeG9x8sQ8tEVru5a6 NNDcVLsWYktntSaFMN0HlSbfAEBeUesEeaNrLaNMlba8+UyRhbCP48f1qqKf5QYGnay+ VoIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jvYugD5smOlPeb8yw4a3uYKIpMLS5cDQVS3icNcFMKA=; b=XuXBdDB/7PCKPNHavZLV0o0K/n2ruwRaABfsDiA0n9tYCgY84S2oybjUoGbqXCLpHn qV0JgxiN6lsnXLQ5KX4d4V3UA04KYZ9FsdmXdoNNVhw62WjmqAfRp+VphnVfcOOzsJPt W3RD6ToVdem9HiHLFJVkc1s4B/mNPxT05uMUChXjj8pVwbcefnkLSNGCVjvdCHuKlEWY WG6PH0mVCxgQCjpnGzihYByXXbH85pJuA+To3m4XiisgPbkpe3l0M8uE7eyM9jV9Ayj1 UQAVfKE9iJeH9yX+SVbD6fXqlKesrLzaBGO8mPvSOUkMLiaCHT3PWBo8pxLr79gkPlVr GhOQ== X-Gm-Message-State: AFqh2kr+CzcfWj54hTukq7qJhXEgQSgdQA0nvEVaMcyJYf0RWGo01Q0K cE82/VK2IXZpL96SROqmP1PKxQ== X-Received: by 2002:a5d:5544:0:b0:26d:2af7:420 with SMTP id g4-20020a5d5544000000b0026d2af70420mr40676769wrw.33.1673288528036; Mon, 09 Jan 2023 10:22:08 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id o15-20020a5d62cf000000b002bbedd60a9asm3589168wrv.77.2023.01.09.10.22.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Jan 2023 10:22:07 -0800 (PST) Message-ID: Date: Mon, 9 Jan 2023 19:22:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 07/18] interconnect: qcom: add a driver for sa8775p Content-Language: en-US To: Bartosz Golaszewski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Georgi Djakov , Will Deacon , Robin Murphy , Joerg Roedel , Manivannan Sadhasivam , Jassi Brar , Linus Walleij , Catalin Marinas , Richard Cochran , Srinivas Kandagatla , Vinod Koul , Alex Elder Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-gpio@vger.kernel.org, netdev@vger.kernel.org, Shazad Hussain , Bartosz Golaszewski References: <20230109174511.1740856-1-brgl@bgdev.pl> <20230109174511.1740856-8-brgl@bgdev.pl> From: Krzysztof Kozlowski In-Reply-To: <20230109174511.1740856-8-brgl@bgdev.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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 autolearn=unavailable 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 09/01/2023 18:45, Bartosz Golaszewski wrote: > From: Shazad Hussain > > Introduce QTI SA8775P-specific interconnect driver. > > + > +static struct qcom_icc_desc sa8775p_pcie_anoc = { > + .nodes = pcie_anoc_nodes, > + .num_nodes = ARRAY_SIZE(pcie_anoc_nodes), > + .bcms = pcie_anoc_bcms, > + .num_bcms = ARRAY_SIZE(pcie_anoc_bcms), > +}; > + > +static struct qcom_icc_bcm *system_noc_bcms[] = { > + &bcm_sn0, > + &bcm_sn1, > + &bcm_sn3, > + &bcm_sn4, > + &bcm_sn9, > +}; > + > +static struct qcom_icc_node *system_noc_nodes[] = { > + [MASTER_GIC_AHB] = &qhm_gic, > + [MASTER_A1NOC_SNOC] = &qnm_aggre1_noc, > + [MASTER_A2NOC_SNOC] = &qnm_aggre2_noc, > + [MASTER_LPASS_ANOC] = &qnm_lpass_noc, > + [MASTER_SNOC_CFG] = &qnm_snoc_cfg, > + [MASTER_PIMEM] = &qxm_pimem, > + [MASTER_GIC] = &xm_gic, > + [SLAVE_SNOC_GEM_NOC_GC] = &qns_gemnoc_gc, > + [SLAVE_SNOC_GEM_NOC_SF] = &qns_gemnoc_sf, > + [SLAVE_SERVICE_SNOC] = &srvc_snoc, > +}; > + > +static struct qcom_icc_desc sa8775p_system_noc = { This and several others are const, which means you started entire work on some old code. It's quite a waste of your effort as now you have to get all the patches we did for cleanups. Much better to start off from a newest file. If you based work on downstream code, then this definitely needs many fixes... Best regards, Krzysztof