Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1103586rdb; Sat, 18 Nov 2023 03:21:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0fq8p2slT5p65JTtl0fkHNR4tDZh2vKf79q8lZ+/p5HIZStwM0KhCZ6VPXmLrNjKsAdz0 X-Received: by 2002:a05:6358:4194:b0:16b:fbd6:9bab with SMTP id w20-20020a056358419400b0016bfbd69babmr2541348rwc.32.1700306484916; Sat, 18 Nov 2023 03:21:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700306484; cv=none; d=google.com; s=arc-20160816; b=LzKIpVb23oIc2r5ZY+ijzj2aGxUDGibUGdwSt3dncOoqaEvt/zHJaIDdCVBBeXGaQz wa1crvrf8ZB2PlPnFbC/iYpw6amcpct+z/TBKvOGRp4TLTEYWqlZT3AHx/J8DMYe/Ca0 OBZ3KLYnL60W7n1eugLvpunVhRKZ28Q/4BuJBbTWRgJ408qKCS28W51mHf5TCcogRoN9 ryZKsZZj15N3QEim8xm2vCRjFLQ0gb7SvyQq/eKT8Y0vC9LLpAYTbJAD1bA5Rgg4QzxS 0GHvnUe9dnfrEH6GQQ9yHEJDETDfD0E4I17EX5yHE0zEeCh4EFRiHnDpsVMKIXzTvIE/ K69A== 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=mPUyKTXXSta6O2fovS/Sd+lPKUPKukl6VDR0zfaqpOc=; fh=ZVQv7PPdiTMjgwSfpSxNnx3nTrhVIsDMWnRLt7KF2zE=; b=S0gIhzpQ4lS//ATwcQJAGUr6CYzTVQA4wGdNXFqCILEuPPGY5jB1s68MjjBVg7uXzc Pmue5hUau0i1MADZg6VwV/eJw1I8HyVwPogiusIlqQRv8sCQLTCfMCjnw8PmWchEJj6J rho9kuriNV9v7pNSUoD8nMyAwolO348djS1cO+SY6fBwHbtnzqscrvogG41oPp9+aqjG wUL1RkBrg1JkH9ivu7x8H1fZs2hpQFXb12+LK0M+QRtf/Gu1x28yl923YOspI2ly4BWQ nYwqSt/U1u/VnOrqmaeFAGXHoKSRH5bZwBgQMdqer2/WkLexZcWI1ElyNHdTACexrnmd G2uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EqcpG5e3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id g22-20020a63f416000000b0058990e98429si4129242pgi.146.2023.11.18.03.21.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 03:21:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EqcpG5e3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 942808047568; Sat, 18 Nov 2023 03:21:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229516AbjKRLVU (ORCPT + 99 others); Sat, 18 Nov 2023 06:21:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjKRLVT (ORCPT ); Sat, 18 Nov 2023 06:21:19 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79297D6C for ; Sat, 18 Nov 2023 03:21:15 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id ffacd0b85a97d-32f8441dfb5so2091309f8f.0 for ; Sat, 18 Nov 2023 03:21:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700306474; x=1700911274; 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=mPUyKTXXSta6O2fovS/Sd+lPKUPKukl6VDR0zfaqpOc=; b=EqcpG5e3AgyxxGbrAqhoABqyQQf23sBgO6d/56Jdbai2pAc/mD3+olAcmhtlF2jt7l 0xg8TVOuqVsNLnXTeU9EyLRkaTfbb3TgqlX42ft30zomvUxmTEDtMXpK6VzYMNZpP8dy OVGsV9v7bO2zO7yZ5Um4UHv9CZmLDzCQVJB1WCPYZ/kw/e9rTU83yfIyo/pcu3o4Auyp 8fmQoSLoyZfAZlHzHfG7zXHW0o0F1iH/N/8nPLoCZWexutXwGhAFdx/yEN346Ph05ZQ+ 9SsqV6B1KShUBMAX2mwFzpmpTlg5sctMNI+E/QUIVj7Lf+r+Ky+7ZzLoS/NnYqsLJMEG bjow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700306474; x=1700911274; 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=mPUyKTXXSta6O2fovS/Sd+lPKUPKukl6VDR0zfaqpOc=; b=q55RL7p7qWjkAsz8WiKGIF5GJ5kib9gVqItYJW4i6p/y7pCDHAPZeo2jFzUOffB7Q3 fI+oN+GNZ1SpQka1/lR9nB9HZdgHYYCkp5EXNUFMZ7+J7NpLz+Qo3aK6Jn4EhehueSqS V4980G8RKWyZOeutgrFK4H7YYWoiWflnbtr8Q/hfbD78HkplrUxP+ywZV8e+/wfxG9ag YYHS9Kj1+Q5QPSiH4VEnQ+kqisOkarK1TxlHYcgR6PoxDo26FT+UUKiw9pnSMpj5stri QHPRIvNcc1IsYqqRU8/WcYeT3OfkYYPJBQ7ev3oz2WFA7Jy/QqGKnyRiKFCeT6qmI51T 3lqQ== X-Gm-Message-State: AOJu0YwmMIFSaXcfJfaWR2TEUI2/oZiecHlyycnwLRC3USUpOH3Wu95e dFWbUa+Lkb3pdG4oe7rl3oeQIw== X-Received: by 2002:a5d:64ee:0:b0:32d:aa56:c0c7 with SMTP id g14-20020a5d64ee000000b0032daa56c0c7mr1242475wri.54.1700306473449; Sat, 18 Nov 2023 03:21:13 -0800 (PST) Received: from [192.168.100.102] ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id p6-20020a5d68c6000000b0032fdcbfb093sm5109586wrw.81.2023.11.18.03.21.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 18 Nov 2023 03:21:12 -0800 (PST) Message-ID: Date: Sat, 18 Nov 2023 11:21:11 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/6] Add support for Translation Buffer Units Content-Language: en-US To: Georgi Djakov , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, will@kernel.org, robin.murphy@arm.com, joro@8bytes.org Cc: devicetree@vger.kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, quic_cgoldswo@quicinc.com, quic_sukadev@quicinc.com, quic_pdaly@quicinc.com, quic_sudaraja@quicinc.com, djakov@kernel.org References: <20231118042730.2799-1-quic_c_gdjako@quicinc.com> From: Bryan O'Donoghue In-Reply-To: <20231118042730.2799-1-quic_c_gdjako@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed 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,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 18 Nov 2023 03:21:23 -0800 (PST) On 18/11/2023 04:27, Georgi Djakov wrote: > The TCUs (Translation Control Units) and TBUs (Translation Buffer > Units) are key components of the MMU-500. Multiple TBUs are connected > to a single TCU over an interconnect. Each TBU contains a TLB that > caches page tables. The MMU-500 implements a TBU for each connected > master, and the TBU is designed, so that it is local to the master. > > The Qualcomm SDM845 platform has an implementation of the SMMU-500, > that has multiple TBUs. A DT schema is added to describe the resources > for each TBU (register space, power-domains, interconnects and clocks). > > The TBU driver will manage the resources and allow the system to > operate the TBUs during a context fault to obtain details by doing > s1 inv, software + hardware page table walks etc. This is implemented > with ATOS/eCATs as the ATS feature is not supported. Being able to > query the TBUs is useful for debugging various hardware/software > issues on these platforms. > > v2: > - Improve DT binding description, add full example. (Konrad) > - Drop Qcom specific stuff from the generic binding. (Rob) > - Unconditionally try to populate subnodes. (Konrad) > - Improve TBU driver commit text, remove memory barriers. (Bjorn) > - Move TBU stuff into separate file. Make the driver builtin. > - TODO: Evaluate whether to keep TBU support as a separate driver > or just instantiate things from qcom_smmu_impl_init() > > v1: https://lore.kernel.org/r/20231019021923.13939-1-quic_c_gdjako@quicinc.com What is your suggested way to test this series ? --- bod