Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp335540lqp; Mon, 10 Jun 2024 05:54:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVT4wqCBes96tnv5q59sH7vkgGyUqSMRaHKdzJNuWi2zd3R9Y/CEabolw65MTPt86ZNl4SuBRkthRhGyw8RycMlG03pc6ie8540d3q4mw== X-Google-Smtp-Source: AGHT+IHsHpUWnKp91bw0O8e1sBYk26FphRp0vWeOSlQIMvGxhfKMBoeeEgedvWaYn9ijCpEYVELm X-Received: by 2002:a25:2e08:0:b0:dfb:912:9719 with SMTP id 3f1490d57ef6-dfb0912989dmr6651728276.31.1718024068708; Mon, 10 Jun 2024 05:54:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718024068; cv=pass; d=google.com; s=arc-20160816; b=lELtFUUwUreFlbTYGeD4kcZCv6u9S20suswEkkGKizYCx0QO2NPgUiwR3KHU6XTGZW 9Vqm6tuJLkPtCCmy3oia6+mo+USL6xP/trdH+oPpRBQeXaxkOAQ75d885iWoOPO/8wcl UpUU3VhZH/8DsFnvq+nTmKW4uX4d1gO1/z/2efpBWqkTI2Hd8NQs3lz5oOxW7HlfMOoO eyCcbSB+HyrSJdpe1LwF3xEjASNzgmTdvVweXu8nXnka3IznCqeZm9Ai7T5Vud0puPa9 jUdxBZbmgf3e5u+NcWWONfDQQkb5oSM5JPL3GuAqitjx3Ubcsa27OpV4koyTtNPIg4TJ lugw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Quh4Nbk1kEHI53zwupEMB3nKQJRb/mz95i9IGWnyeDg=; fh=VWXyCRh9P2KgOyVsUwboLRdvLnXHWsC4/+I8Oh85zoQ=; b=SsYV/YEOAE+3SkL1SlmYefCeHmNFMbHWgzVtuf1jvOqHG9KokQ5zMLwu4ttPEMaDFa RWUt04HMMC0Su3eBpTI5+UBniDzqd4kbi8aRMcAf6b3sHT/IqSNaRdE3+UWKpiewwwNU c0OTILxe0sJC3p2u+gSa4SjuDnqNge77nKCRlxui0eFVTUfXs8QoDXHuff78SLiXneHx dWVpCdkFqTUx4rpv0Why5kUf1cAb1pjfx2g538ow5ztoW3SHZjOxXHJF6rxla+dolHu9 b21TxCah1qiM4IGne8ABEv2CBBy1dket0r8EMeWcnFRc4zgkZqHu0SD2+KaROCmMCDwS jHeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mFAjYa0U; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-208189-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208189-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-4411f4401a7si6425091cf.652.2024.06.10.05.54.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 05:54:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208189-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=@linaro.org header.s=google header.b=mFAjYa0U; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-208189-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208189-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 5F06A1C21634 for ; Mon, 10 Jun 2024 12:54:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E13618172D; Mon, 10 Jun 2024 12:54:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mFAjYa0U" Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B26868120F for ; Mon, 10 Jun 2024 12:54:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718024058; cv=none; b=NGjgJpSTL610k1h+6AYrLK15tuu2oNaeNAo8fJ+mPp4P8STJ7nBC0CBA+yPCuEIUqpe55Wr2tJBU7pULQf/e5k1SAR4Jumuyk40vVedcfDt0zQj0pNKC0VcHwamJUge9I7oUM0viSBLhuSoPCU3fGhCH67eexGbFBV2gdfVYrPA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718024058; c=relaxed/simple; bh=0RYpUIHi/lWJPqYfn+EVJo/AFMDKmLO9yzrQBoD9bhk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GFBkItK5S09vuhQiJggbYthu9Dip0lEtfBrZWDbxJyoMb0ORxiN9LX5qqMEV/5wiO9n/lsmBlIh3Q7oy39+i67m0y1W8VSkMwJ3ZempF/sIdzmt61e1Qo9Xbt6lXxrK7srWJIyOG/tF7U2wjCUjlH2Phs1Khh3Jzi7XRpxwRetY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=mFAjYa0U; arc=none smtp.client-ip=209.85.208.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-578517c7ae9so5535496a12.3 for ; Mon, 10 Jun 2024 05:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718024055; x=1718628855; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=Quh4Nbk1kEHI53zwupEMB3nKQJRb/mz95i9IGWnyeDg=; b=mFAjYa0UP7/jgecO0T7FMTE32HhXInDBfWTe0MS4EdcctYSBLRtQ0YyvZm5hcFqlqS k3mVJavw7KBRy/2qLzQHhl5q3URIt5OyOB8TUMExW2aGFdMrzTLM8gUDTU8l3GQ0oI7i k+8lyDYpekjsqHHr+kXyF41KeBBHpfjFW0ztu8YlaSeIxMRsgAGgH3Tfg3/cGNTNFBxU cpwVTpY1nAVvHLOC9Zs0Lf2/bueWIEyYY9WMjANcjrXrUVl7lO/PffYlJewppEYrJ+qv A/RQ/TSboAhJBINLWJbTdfFdjwBMvRhHxgBagWPAnt4viiNGhNM3fIzXKn4bLzy909jV O+Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718024055; x=1718628855; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Quh4Nbk1kEHI53zwupEMB3nKQJRb/mz95i9IGWnyeDg=; b=Ytnf0I9Hh2wfd4dvY4moQIFr9tHgTX97S2VeMwBs/vGB6SoKw3wjsX9//mE2j5wJTP EGdA85zj07/W6PiZmCRpFKbF3YtlKDIAXUTyO0FLZcxvVbeO2iiY23/RRXeWubtkaVr6 dfNtHd3qA2+oZ/5z69l77oXGt4Siw/eNrVOLO7WtEUBXlSd38cNmIrnvuSy08yW/cjfF okWrjM6R/bw/zpnTyhrQ9FhuQPHIpgTkaaa4ikumX4c2ShVpEV5C8s3ztUZFaqpZXsfz Vw6pXuvL/N7zn5j9Xzfloy7wGCFDCNl2aApCGjs9tM4npSZz2Dir65h4YUbnhGatLcbj rttg== X-Forwarded-Encrypted: i=1; AJvYcCWYde2MJYfd+ISFUsJkuJA3j7xKsfuu9aT32p9wKt17DQVBSMWmR+Af+MndBFpfjCo7VZi0eUeplaWyzgd90BJty6lxJDruvuamq51W X-Gm-Message-State: AOJu0YwZgnGEM4ITicU1a8h3+OwxAoCtjfA+OH8Uv39cFzsZ8tvRBFHx zhDVxpppudv07l+McgDIPTCbpGID8DBbtddySMGNZXkRrw9iRiWxhdNhQIZibes= X-Received: by 2002:a50:8d43:0:b0:57c:72ee:a869 with SMTP id 4fb4d7f45d1cf-57c72eea91bmr2894969a12.11.1718024055170; Mon, 10 Jun 2024 05:54:15 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57c866a3d50sm1061880a12.77.2024.06.10.05.54.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jun 2024 05:54:14 -0700 (PDT) Message-ID: <9f5b9f75-528f-447b-9056-30c10f84fa98@linaro.org> Date: Mon, 10 Jun 2024 14:54:13 +0200 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 4/7] interconnect: qcom: Add MSM8937 interconnect provider driver To: Adam Skladowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240609182112.13032-1-a39.skl@gmail.com> <20240609182112.13032-5-a39.skl@gmail.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CB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jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240609182112.13032-5-a39.skl@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 09/06/2024 20:20, Adam Skladowski wrote: > Add driver for interconnect busses found in MSM8937 based platforms. > The topology consists of four NoCs that are partially controlled > by a RPM processor. > > Signed-off-by: Adam Skladowski > --- > + > +static const struct of_device_id msm8937_noc_of_match[] = { > + { .compatible = "qcom,msm8937-bimc", .data = &msm8937_bimc }, > + { .compatible = "qcom,msm8937-pcnoc", .data = &msm8937_pcnoc }, > + { .compatible = "qcom,msm8937-snoc", .data = &msm8937_snoc }, > + { .compatible = "qcom,msm8937-snoc-mm", .data = &msm8937_snoc_mm }, Please run scripts/checkpatch.pl and fix reported warnings. Then please run `scripts/checkpatch.pl --strict` and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear. Best regards, Krzysztof