Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp512254rdb; Thu, 18 Jan 2024 09:58:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUHu3ofKgv926+EU0ftljX1QFVJdu7Lbqgt7IHh+fbZX41yw6zID5uSW0Nv+ZIeUKlyMR5 X-Received: by 2002:a17:906:99cb:b0:a2f:1c8e:19e0 with SMTP id s11-20020a17090699cb00b00a2f1c8e19e0mr803378ejn.12.1705600719728; Thu, 18 Jan 2024 09:58:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705600719; cv=pass; d=google.com; s=arc-20160816; b=HSUlOOf7VKoa43bzluJrZwAAbSLIYo0ayoq29DsHFXazFd0ysfvM6Q6uox6RJYIj0r pi7D7vcXbaqWRu/r0JU//ewRdlEB8kAdY9DucrEmJa3YO+e63OxV4zDlEoSU0aH6AzbT I6ZeWYvWy2U1ohydUWtOQ3u3sUk6XAoioft7w+jbjOa10QBIRMUvGP0zuyBZQuwdRvdH APmayfHFfSiv2bsBlOzgM8FZeK0f48hDLTEqjUwXCiM9BuMvcRtf/LCM7+1gUvvZSo9e 2PfARQrvi+VsVmnew72e8HfxjBEFwJRTvjC7c2J0uZl39xrpR/xm9Q319flh3LYM7815 5lCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=NrlV4jgpWCJfzB/7NzgqxnwjrFZnXY4okb0+G7cWf8A=; fh=+AQ7mXZXiKaXGTCjSo9Ln+y6ebV/OX/dXJ+HXo0/OB0=; b=NERDtR4OOc7MLlVKjpUIUv1HtiAG8cxgIVbid7WAmwzsv1aZl1nP3SAXjvNwbDZIw/ o9sRYpGYQziXlTF2qmuunmOq0C4Wwqkfad8q9FIqORlDQxd+vImkyFKAvzRGtMV1Hj0i WtioITxtW6nJpygazZDIgaMswHlC8VdADZ31wzJT5TEu3FOx3VmcZB+oqCVmozDTj61C Aj2lujfzGvyq536x7TNEWn9/SnuOiZWvwipfPNzNCakBCPJDND93B369Jym2l3LIkmbQ ujqzmWzdd1EN3IAD35ykONCNMAJx8oqOEYmoycfGyGndz18SKKylhAyTDG9FwV2gFO1p eowg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VLLwigjV; 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-30448-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30448-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bj6-20020a170906b04600b00a2b7dcfda37si7107454ejb.527.2024.01.18.09.58.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 09:58:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30448-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VLLwigjV; 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-30448-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30448-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3ACFD1F21456 for ; Thu, 18 Jan 2024 17:58:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D9F82D611; Thu, 18 Jan 2024 17:58:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VLLwigjV" Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 E5EB02D608 for ; Thu, 18 Jan 2024 17:58:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705600710; cv=none; b=LnmeHh15FoNrdU1EXhDT0A6Pf2+G2C6l3lpMxLqeMnQ/u7YgDejoGcVaNE69yrY1njdmXyhJ5Qmb/dsMpZhNhhfyg6Dl7FYJunB3q7V4dB0eFL1qkaoz7z/X8sbCSiAQrtgFnjM/d5VGPIuJrpfF5u53H57IyYFubpiyp77ThrE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705600710; c=relaxed/simple; bh=QVF+n5V+O+hXfuYnJEtJo6fru3J22c12jHPTEEHaopc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gul2xsrMB1eD027CML3HR4SpuvtP4DXAJth0wlhKqLPxwUw9Qo1GBcNv+P4O3m4UyC5qkVi6t4TXP0sTLjVuk13M8n8E5oS/L/cp11MHjcu4greHCa3l00KsutCFaml6y6BbFn1562Wim+kLxmKj+W9bJONcA9X11pxbgjj+QxU= 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=VLLwigjV; arc=none smtp.client-ip=209.85.208.177 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-lj1-f177.google.com with SMTP id 38308e7fff4ca-2cd1232a2c7so159634731fa.0 for ; Thu, 18 Jan 2024 09:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705600707; x=1706205507; darn=vger.kernel.org; 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=NrlV4jgpWCJfzB/7NzgqxnwjrFZnXY4okb0+G7cWf8A=; b=VLLwigjVLLWhIbwEUpD3weBJKWQ1Qv5LCLFHpwDO0XO+dKXo4KGoh/s40jnB6S/NhF ryPJvItm+GlSFfzIs2yxYMiOhJR54OPayNtoPUlMYUFtM458oJymhqJHX8U+mQbp6MSF Arkwsjd3ZHGKWMRTKF1QkagN1sC8bEhl63A0cJw64wIy3jCNcpaWorUGweCpPsyLMqp2 QgCie7nsOdg4/le5W3WfGPRLLwZtFOzEAZ/5wcXbH0524RNho1O3YP9E5qjVWjMzNGoy anAPxVH49/evX9Ds9YHGVndkBSujazjuEqdJOCR5t/mnT83WGajXDqiBdDRYnD+LQrPr Dedw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705600707; x=1706205507; 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=NrlV4jgpWCJfzB/7NzgqxnwjrFZnXY4okb0+G7cWf8A=; b=kCdXnqiLhxMm1v/MsEVfdAgpaTKpKQYJ7hUs36Gn5qukYfR3j4bEDyCbPPeczgT2w9 sUXO5vKaaAwuqaPcHmRRIp4EOZRoUr8LNk3/pRbIaYQPXZQ5vdbHDnY65cdlHAyXZhnt I8TU5wDnvJIW5mZrUXBiUu5SVLyDr+1eI50CorGM/VdP34GJ1NS5E9Ak2u7acDxsImQT sQkZgxdLUa7ZlHAbFLvAdrGXP6q0RHJUiLGJS9fEGOyz1k+Ae3x6pTu2HWVGzNSqLCzp 46jY3qI80TyXT/Tn3+L8b21ih9v/3/w18X/7KmcAXBQ80k/9XOHtlX4AXh17QFNW52xr yTGw== X-Gm-Message-State: AOJu0YwazLVPjO00zIsfr0K69WGlc82SRZldbFHVR2GsOcnHRTbM8udp X8jU1GsAD2VPZCMBY3xj/KPEcLaX1SiCBun/6/FKfY5k2D+nkl8sV63cXnmS7Jw= X-Received: by 2002:a2e:a555:0:b0:2cd:23a7:a346 with SMTP id e21-20020a2ea555000000b002cd23a7a346mr1045547ljn.83.1705600706894; Thu, 18 Jan 2024 09:58:26 -0800 (PST) Received: from [172.30.205.26] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id x43-20020a2ea9ab000000b002cdb6a40096sm1507098ljq.131.2024.01.18.09.58.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Jan 2024 09:58:26 -0800 (PST) Message-ID: <7d012b9f-b1ca-4633-8dc2-03d90c418e7d@linaro.org> Date: Thu, 18 Jan 2024 18:58:23 +0100 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 v8 4/5] iommu/arm-smmu: add ACTLR data and support for SM8550 Content-Language: en-US To: Bibek Kumar Patro , will@kernel.org, robin.murphy@arm.com, joro@8bytes.org, dmitry.baryshkov@linaro.org, jsnitsel@redhat.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 References: <20240116150411.23876-1-quic_bibekkum@quicinc.com> <20240116150411.23876-5-quic_bibekkum@quicinc.com> From: Konrad Dybcio In-Reply-To: <20240116150411.23876-5-quic_bibekkum@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/16/24 16:04, Bibek Kumar Patro wrote: > Add ACTLR data table for SM8550 along with support for > same including SM8550 specific implementation operations. > > Signed-off-by: Bibek Kumar Patro > --- [...] > +static const struct actlr_variant sm8550_actlr[] = { > + { .io_start = 0x15000000, .actlrcfg = sm8550_apps_actlr_cfg, > + .num_actlrcfg = ARRAY_SIZE(sm8550_apps_actlr_cfg) }, > + { .io_start = 0x03da0000, .actlrcfg = sm8550_gfx_actlr_cfg, > + .num_actlrcfg = ARRAY_SIZE(sm8550_gfx_actlr_cfg) }, > +}; Just a nit again, but if struct definitions need to be wrapped, this looks better: { .io_start = 0..., .aclrcfg = ..., .num_actlrcfg = ARR.., }, { .io_start = 0.., .aclrcfg = ..., .num_actlrcfg = ARR.., }; Konrad