Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp93257lqj; Wed, 10 Apr 2024 05:14:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1KK7BosUfOb2o0gRb06vMarbNMVSLQkdVyjnPDfFLSubneBNmgDQ30Qoq42k0D6CtcidFMx5dF1b8wfrGEtrUqYYtApHsmf2kwI3Xng== X-Google-Smtp-Source: AGHT+IE0hFYMMtbXrBZslC1QxNl4dzp9FP+oZ0gKZAQEnWQl76MMbdL80OFORfx2vYUaGXnpOyQ6 X-Received: by 2002:a17:906:198c:b0:a51:c52e:3ed4 with SMTP id g12-20020a170906198c00b00a51c52e3ed4mr1505784ejd.69.1712751242955; Wed, 10 Apr 2024 05:14:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712751242; cv=pass; d=google.com; s=arc-20160816; b=cPHF/jiyP+1hmV+B3vaP0J4DTTK7Fez7cju8UslxrCQPnMmQX68dXmUrwJljYMDtiZ Jj7BeqcFp3RT6sE/fN5aO/l+XmOAphJUqblTbMrecSvpo0jEixUxlPeKCwBTYbrwHUox aTMHi/klnd4OGTraDTJeQoBE/e66lpO4LJTb9slG2TDKu8mF+GclxeeZ8CLaiwbT1hlU 5UrZaw26/8IKOB2LYEITUZm41F37UVpISV6isgSHjkG8+Q1zGEm61zz1Is+ckvTn/ynB +XqW7OGd5tNDWtNo0LfXQOvKRkLeySjYMqRQuz58arNno/7B1ybrvCmEAIVMjPfQbrlz Sskg== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Fg3Vvg1Xh24G2Zq6sw5q/UepOitA2ehB5IlHwOwMid8=; fh=SWRhqS+Jq3l5AFTkii1WcWfsPvnUHcr7zdgne4ukO5s=; b=TSCjwA+qXLWxdgktH3aVoOCXwFxrLDidrp8H6J7acC8D3lDL+iBNScN+66TCebm1UI TkkC5whLtHzqL113uIJpkazJoTUfMWYKsinaxneE4AK3XKVbCOq8oddmdOYNjr5OrtQw cZVpvrVt6qmCy3eMKnP78/QoXbxfMwPnko5fSBkl3xq65/y6+iyC6D2OdKDkaqpiDwjB n4dkv/L7OBFIuozsFgVO/6QzsbRFkcWwc9umiOnKtQyilFciTE2yFLZaKzx3tBy0rohh 8A2Al6/cXSFq0VGpweuHvEiq/46R9T/+KgSy7k3ULvklalvBKJo9PBdVK4ajnckWSFhc VzJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="AE6/jIle"; 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-138474-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138474-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. [147.75.80.249]) by mx.google.com with ESMTPS id h12-20020a170906590c00b00a4e222faa69si5410193ejq.943.2024.04.10.05.14.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 05:14:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138474-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="AE6/jIle"; 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-138474-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138474-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 826501F23C40 for ; Wed, 10 Apr 2024 12:14:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0C6915B137; Wed, 10 Apr 2024 12:13:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AE6/jIle" Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 6D71115B122 for ; Wed, 10 Apr 2024 12:13:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712751234; cv=none; b=nN8aGfbLDQKWC01OHoyFLNUNOCc7MJtRYjtVCmwQz2FTaSArtFPlbN25RE+Bh5u4xzV2+BxhoIdsWQ9+WBbqCcpk5DuhQKIXHMyIyfts3h0muC7UDRwAiTi2DF7+tIjyBKJG5KCq//Srs+IYGi9LRTeRdkk3ynnYVojy1/ZVhuM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712751234; c=relaxed/simple; bh=tPOwWBLJB1MFKLdgaiVGADweFkVnXcVDzi3Q/kHAnnE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oO6CXO0NZarV/NIYReXTS78diwdlwm/73u6dnK7zmhE1lNkyF1uwmpkHrvtKTpQgxG9wMXbWxh8hhnz3ibYN0ECHuVtNgFfz5qFCTyufUofMGdveKN1+xukbxnrg9UJ/2CDxWv4PEmeohz/VdlKv/TbPzJJ/+V9ZEjoVeouyX3w= 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=AE6/jIle; arc=none smtp.client-ip=209.85.208.174 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-f174.google.com with SMTP id 38308e7fff4ca-2d6ff0422a2so82825611fa.2 for ; Wed, 10 Apr 2024 05:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712751229; x=1713356029; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Fg3Vvg1Xh24G2Zq6sw5q/UepOitA2ehB5IlHwOwMid8=; b=AE6/jIleDC01iHut8D9J15ANPEcyc+JoIZh8Mn+SrCnr0F+weeJTaKFi+UlOQEoevp OuBu2ssS9uk2xZToAF1cAomOe4N8UiykAOCsNwZFS3QlMAjPL9Uw86SVNNZ8fC9bgywh zvYCZaFlU2twJKhkKeypYiP8witOxT9WykbJ37lFJwlyP5RfweFWXQa6F6T5i2xZcX70 DF/pLuCPrDR31Ykog/RJBR6Qn9ll9hNjU7mAVTX+g9KxKp2bFsbRnTUjUNJljIUonpVW zFjzuyM4JiG4jp5bfv48oH+KdqyRZAc63ZsOT3tBpt8FMcI+RKIzz6ZaC/0t+Ji2bkLe hyfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712751229; x=1713356029; h=content-transfer-encoding:in-reply-to:from:content-language :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=Fg3Vvg1Xh24G2Zq6sw5q/UepOitA2ehB5IlHwOwMid8=; b=dk2VtBzlTgitSnGQ8pOlNgq26GC1eKjUFIHn8Uu6HGjrodNX2MT2hVGWj/Y/9uAbTo 3QEDiXscp3pGNWd4iw0HEKx7KGq7xN3ggBgv0/RFGtpNFktrVIlcG+6eSkCudaYLbExW I6RiOeKb/FW2tZFqbQ5VD1+xrrbglOtXr0GT8m+k8o4JizVl3RcYEtxBq2Yc82e5rXm/ vIi5BUCDMoulAYpvDnz4mL3g58m+LlaL89OVZwRKa7Ad2ozLAjIG4AAKYEOqdppZFWHI ujbBxpM9XOGQObBZ9Fd9FkR9p64InKHSG4Tc0twKOnWRnUgKlSfKrAjJK2F3do9sZmDF +gNg== X-Forwarded-Encrypted: i=1; AJvYcCWi6RQPMZQqgeyKdFDUinEuIakyx98/WWxA8UP1Rn3p4w7gV7UYOJa/4Q/dWpdSDlSri8bv1eTK4M2RtATpOlzL9QsShSBdvFnax9Fv X-Gm-Message-State: AOJu0Yw6lWE1Pq2C5fB5cnxxGvCGnA3byM7Sdk0rAtAUwItFQAyL6zxB V1aNgI035Of2hdiRqHSAnjsWrE2NuMkifMNRfJQkBCkIi4MO+CMombPMkvWyAjI= X-Received: by 2002:a05:651c:198c:b0:2d8:527c:7ada with SMTP id bx12-20020a05651c198c00b002d8527c7adamr2137546ljb.38.1712751229448; Wed, 10 Apr 2024 05:13:49 -0700 (PDT) Received: from [172.30.204.89] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id z17-20020a2eb531000000b002d8e5cb062esm21673ljm.113.2024.04.10.05.13.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Apr 2024 05:13:49 -0700 (PDT) Message-ID: <86d349ee-9db3-4da3-93ff-6891c1c2dafa@linaro.org> Date: Wed, 10 Apr 2024 14:13:47 +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 v7 7/7] arm64: dts: qcom: sc7280: Add DT nodes for the TBUs To: Georgi Djakov , will@kernel.org, robin.murphy@arm.com, joro@8bytes.org, iommu@lists.linux.dev Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, andersson@kernel.org, robdclark@gmail.com, linux-arm-kernel@lists.infradead.org, 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: <20240329210638.3647523-1-quic_c_gdjako@quicinc.com> <20240329210638.3647523-8-quic_c_gdjako@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240329210638.3647523-8-quic_c_gdjako@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/29/24 22:06, Georgi Djakov wrote: > Add the device-tree nodes for the TBUs (translation buffer units) that > are present on the sc7280 platforms. The TBUs can be used debug the > kernel and provide additional information when a context faults occur. > > Describe all the registers, clocks, interconnects and power-domain > resources that are needed for each of the TBUs. > > Signed-off-by: Georgi Djakov > --- [...] > + compute_dsp_0_tbu: tbu@151ed000 { The labels are swapped between this node and the one below (the rest is ok) > + compatible = "qcom,sc7280-tbu"; > + reg = <0x0 0x151ed000 0x0 0x1000>; > + interconnects = <&nsp_noc MASTER_CDSP_PROC QCOM_ICC_TAG_ACTIVE_ONLY > + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>; > + power-domains = <&gcc HLOS1_VOTE_TURING_MMU_TBU1_GDSC>; > + qcom,stream-id-range = <&apps_smmu 0x1000 0x400>; > + }; > + > + compute_dsp_1_tbu: tbu@151f1000 { > + compatible = "qcom,sc7280-tbu"; > + reg = <0x0 0x151f1000 0x0 0x1000>; > + interconnects = <&nsp_noc MASTER_CDSP_PROC QCOM_ICC_TAG_ACTIVE_ONLY > + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>; > + power-domains = <&gcc HLOS1_VOTE_TURING_MMU_TBU0_GDSC>; > + qcom,stream-id-range = <&apps_smmu 0x1400 0x400>; > + }; Konrad