Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3156274rdh; Mon, 27 Nov 2023 07:35:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPL0VytQAGMMRy6EXarZjeb6LI+VSPsT1sL2CUY1qA5BoahMzxQgy+4YaaD1tiJXcNR1Eh X-Received: by 2002:a05:6a20:2449:b0:187:5db4:168c with SMTP id t9-20020a056a20244900b001875db4168cmr15265591pzc.31.1701099329947; Mon, 27 Nov 2023 07:35:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701099329; cv=none; d=google.com; s=arc-20160816; b=qYybIT6gKJPDi9gpacgD6PBa71R5v7vcqekbYnBQvYTecNh3bqPncFbI/CAUpXhxW9 NgxWzL62BtbcY3rzPnz57skQB3ozAe5luJFLumEF0hYHlAmY6BaQQZ/4MU3qZ1Dmaytv NFTQa1GqrZa2izUAdVu7FpBag6Yw8516aTHkenoJxmZA7uHWGU8AKCiTqXLxvhbeIR91 KSyFtWDfcB0XIWKha096BedmuowutzyizDEWDyZzh49MHBngPygw7LLxgBY/5FTmelAJ jhnYS67SthsDvYAeRKpUaEZfE0X75dUU/eC4qt9AfjkR+0LhtDMEajTWDqnfckpvCjC+ PDCQ== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=5BeRSQ2NgtW3CkQnVCOjk3/1p7m2vsB5QkdRb/jJ4L0=; fh=8iqKVc4L6wSyZZR/Wh2+WOp6U4i2IYHXoVT9O8AaTyI=; b=G5HZ06qu8uB4TuELreHArLlJTLKKiANFWb17t/Pbb2KCI+jPMmNeTZaxXiYAhIX9/L 3rEO3zQ7NOlwSxPpD6c3Ulk2V3S3mEMUDjWfLSQpLgrCgJOrD+e0QlGdYAtaXh/XdAs0 FJYJBrzxlSELfPXIbOvjjUN6Cpz9piAbxLVxE+dUC2+yOb2kHdSaEAv4Z6Xid9kEYeN3 r7rVLYpSsub83M8KFIhYse4EavvzkRhyunw7WmgtfqMQYKxtSBx/c1FDyLSdoLdNyhlj WDbrx5uATpJfOKQXfsbA6N6AWaobianMpCJjlrqlBisMgu9ALp6xk428B1/KM3tp1Dhr isow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A0hTYSHe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id f20-20020a056a001ad400b006baae7ecfacsi10181030pfv.308.2023.11.27.07.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:35:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A0hTYSHe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4FBD38063CC6; Mon, 27 Nov 2023 07:35:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234002AbjK0PfL (ORCPT + 99 others); Mon, 27 Nov 2023 10:35:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233986AbjK0PfK (ORCPT ); Mon, 27 Nov 2023 10:35:10 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A543F187 for ; Mon, 27 Nov 2023 07:35:16 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-54917ef6c05so5884524a12.1 for ; Mon, 27 Nov 2023 07:35:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701099315; x=1701704115; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5BeRSQ2NgtW3CkQnVCOjk3/1p7m2vsB5QkdRb/jJ4L0=; b=A0hTYSHeruUv+N7EBseMCwPBRzYqq7imTey1wS8oqS9jesEbO6z5NwSJZEMoQFKsoU kEwpc7MUGwM85dT2oz3bSbPbyPPg9S6MNXEjL5055oLOZPvM2FoKrnoINGBUWdiDZ980 pQCxJVUEsSHz8yXGvWJJ8p1qJf54G1B9AKF8Ay+ZRt/XNrXIoWQzUfeeSrqM1aA8JGrM 2Awkyu0+ZPynZHLW2+a2c42aRv9iTI+efuimIJvXQyyYndPWHcWRrRdCXrBwoXqnqhow Ab9fbjdj3YZ/85a8VSDsNenZVnZXOzhYzaItrmcrbuTvUMc3MrB2NuiZaLE79Muu/5CA PYTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701099315; x=1701704115; h=content-transfer-encoding:in-reply-to:autocrypt: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=5BeRSQ2NgtW3CkQnVCOjk3/1p7m2vsB5QkdRb/jJ4L0=; b=a2OPHCj4U5l4uBZA6RI7dW4FQRnlF0nluoXOC7qp5LPUDqJjEFmz61aSn02XVkvgl0 5WQ50QUCM4pvoOwJYvVB4kxMOhlzV9RJCh0CY+it5jLTWhQZZRs6/NnEq09lBlcPBBT2 SjcDGLsSMgg/IoguPA0G4F/OGaX99E8c146UWjC912+kaMRI4axrd7+Io9zNEmgDOHdS DMUbLOrji73z+WisIt3L5JpNWM6X3nZVHrknSpomC1vgqdWdTdjwvABv2xuR1yJWRiP1 CzSlAdzI30wRGsI7QNVUx13C4pnJUGSC6N/EbVuiC1x5kreAegf7vR8CJzJ8+qQ89HTc Yyng== X-Gm-Message-State: AOJu0YydAtCrTR2ci6NdaledSgiufx+dw0uwUTXbaNdGYmJ/P0N32Uj9 kudDu70J0MOc4rr42M4xsP8e9g== X-Received: by 2002:a05:6402:78e:b0:54a:f8d9:8026 with SMTP id d14-20020a056402078e00b0054af8d98026mr7906465edy.12.1701099315088; Mon, 27 Nov 2023 07:35:15 -0800 (PST) Received: from [192.168.201.100] (178235187180.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.180]) by smtp.gmail.com with ESMTPSA id h9-20020a056402280900b0054aeece37cesm4370406ede.52.2023.11.27.07.35.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Nov 2023 07:35:14 -0800 (PST) Message-ID: Date: Mon, 27 Nov 2023 16:35:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 3/4] iommu/arm-smmu: add ACTLR data and support for SC7280 Content-Language: en-US To: Bibek Kumar Patro , will@kernel.org, robin.murphy@arm.com, joro@8bytes.org, dmitry.baryshkov@linaro.org, a39.skl@gmail.com, quic_bjorande@quicinc.com, mani@kernel.org, quic_eberman@quicinc.com, robdclark@chromium.org, u.kleine-koenig@pengutronix.de, robh@kernel.org, vladimir.oltean@nxp.com, quic_pkondeti@quicinc.com, quic_molvera@quicinc.com Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, qipl.kernel.upstream@quicinc.com References: <20231127145412.3981-1-quic_bibekkum@quicinc.com> <20231127145412.3981-4-quic_bibekkum@quicinc.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7S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x/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231127145412.3981-4-quic_bibekkum@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 27 Nov 2023 07:35:27 -0800 (PST) On 27.11.2023 15:54, Bibek Kumar Patro wrote: > Add ACTLR data table for SC7280 along with support for > same including SC7280 specific implementation operations. > > Signed-off-by: Bibek Kumar Patro > --- > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 25 +++++++++++++++++++++- > 1 file changed, 24 insertions(+), 1 deletion(-) > > diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > index 247eaa194129..f0ad09f9a974 100644 > --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > @@ -27,6 +27,20 @@ struct actlr_config { > #define CPRE BIT(1) /* Enable context caching in the prefetch buffer */ > #define CMTLB BIT(0) /* Enable context caching in the macro TLB */ > > +static const struct actlr_config sc7280_apps_actlr_cfg[] = { > + { 0x0800, 0x24E1, PREFETCH_DISABLE | CMTLB }, hex should be lowercase > + { 0x2000, 0x0163, PREFETCH_DISABLE | CMTLB }, > + { 0x2080, 0x0461, PREFETCH_DISABLE | CMTLB }, > + { 0x2100, 0x0161, PREFETCH_DISABLE | CMTLB }, > + { 0x0900, 0x0407, PREFETCH_SHALLOW | CPRE | CMTLB }, > + { 0x2180, 0x0027, PREFETCH_SHALLOW | CPRE | CMTLB }, > + { 0x1000, 0x07ff, PREFETCH_DEEP | CPRE | CMTLB }, > +}; Any reason this list is so much smaller than 8550's? Is it complete? Konrad