Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp93062lqt; Mon, 18 Mar 2024 02:21:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWtWJSdz3cKK2FO+udOeAdGtYUeahWbTLyJHu6pFGuDiMRvZLEiVWqCf8+3UdUpqqJW4srSBrPATZa/w1ycOlu1OXTuRMA6xv2vGlOAaw== X-Google-Smtp-Source: AGHT+IE5ADH62JtWocv9LiYip/aDtGAgVzPY8bkwfeui1qYjqCVEEJLqd3biunE/Ld1uoJjlqnOV X-Received: by 2002:a05:620a:8909:b0:789:e7a0:7d52 with SMTP id ql9-20020a05620a890900b00789e7a07d52mr9774268qkn.3.1710753704086; Mon, 18 Mar 2024 02:21:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710753704; cv=pass; d=google.com; s=arc-20160816; b=U/RBiqHpUVJAGiu4qnopc1rWrnrYlc40VsKMBq1RScm/shDdUddyBzE1L+Fn63lln9 2RUfdR2Hg8Bg3WYU+rmgYgJzsX8gz9oVacfc1JsS+qde9RGvNg6gmkTIIS0p37BSM0Gy e+De9572VC5Wi/cJYAyOLRxV0FuT8v0utBbNDkjy33pKn08RSKZBPD6gL6FmNlB6LTtd FGc+BNTLiWT7iquYJcVvGr/EW6k/hpsiJwhlXH5F534v+E9YWu6o4PlY25vrwgXUMA19 +p+IheB+9IzcbL1r0UDV91i1B2+9SGlqcUdkSjicnwqmUxDqQEBpAeM7Ea+tBkCiIwdx nRdg== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=lLj/tCGNP2MK0uv/n4AThhr2XVPFu3MQ0EBorGXinCk=; fh=jLD74fHk5sSFSIDSXwNR5lo4hox2O5XXSc9YLqauxYw=; b=jqReVvKw+YYGe9zFsYkxEY8Z4YsYRgghbL7Irty9hUB8Wy4kKNJCiNsMNWAdGc3wOY 3ufLKjZhtWRJ+t3Dpe4tpZuQgI7KzNNBKss+o+QWkdJZUvtz82Guz+CgN6Aywwq2Y1TQ 5DZ2u70dNAIQeppz+rP0L0DmBemyJUQ4iSewpvrfYnKVTp5cVgjvBuNij8L5UOgwz91J V7PwKiO8FdnnJloclBXjTZzQEydrO7kH6FPqSwkUkVFRUZ4K+Mg2VO4czEuqjApj3M/L Tm9g1DsDVHXMP4I5hxKSnGfhfHu1EQHpI+Hiq7MqPMBweXVzRQE80oLvb3oxbJoWB6Hy Gs+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KE7VQoLT; 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-105857-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105857-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 wg26-20020a05620a569a00b00789ffc658f5si1871871qkn.475.2024.03.18.02.21.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 02:21:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105857-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=KE7VQoLT; 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-105857-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105857-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 B9C8E1C21021 for ; Mon, 18 Mar 2024 09:21:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 429F02C1A4; Mon, 18 Mar 2024 09:21:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KE7VQoLT" Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 B08AD20314 for ; Mon, 18 Mar 2024 09:21:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710753681; cv=none; b=vBejeOb1fsYbwJrIQReGIER5kIlthm3/0PJpYgxZ5wfHp6Z7PW6zVcmjkTtuJldGjMCQwjWadmkUo2pML/6RiNp9M+5LhEC57wKReKCDhXOEFyKOVUo/3mEFeRyBEiQ0jv8xBzJgO9arp9lEXXLm2pFDKAZcSyfRLUGjNmG1Fiw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710753681; c=relaxed/simple; bh=5+6iTQ0gzis+PQcHuNf7VDmaig60PJvYvukmbUIlpQU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JEEWnh3SigxXYeiTxoESda2oOlu8xhGD/c6A+HAaBxariVmDDEVieizpinXBlz97cVBZGt9ctH3ccVHONNOqQQkPVgrt3k9l0l3WFgWNqo88ItybFxqTozY48kJmgaRnDyWjhSIlTj4AIj/LGCLndv2PxVmW+m0622C+B1r2ZaQ= 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=KE7VQoLT; arc=none smtp.client-ip=209.85.208.178 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-f178.google.com with SMTP id 38308e7fff4ca-2d109e82bd0so52184211fa.3 for ; Mon, 18 Mar 2024 02:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710753678; x=1711358478; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=lLj/tCGNP2MK0uv/n4AThhr2XVPFu3MQ0EBorGXinCk=; b=KE7VQoLTJa10MVKWUmSLpeWaO+9CicbsHGABWoeNsFmwRJFFew/NBhrsxWTbaK8ts5 fplS68NEiXiWVFl6S0ggj5Y1+FMDZiLRwvBZJgnDoXZJi9b9pHPLS54AMXBKd+3ybNDC dODEDB6BN/GSBgsY9VTNVH3ikcmdAEG1USspRrtL0vr+8dxlhJNVwuBqAu+Z4u3H49hH BBi33+YbHBvfIjObGjS306qP59Q0l18+nt1RoluvpVr0XltIJp15D3iA8z5KqasFOwAK Hk9LA+28IOvIbcuLF3qSSpni1oiNJVO+io4+jv7kx8Z4b9od2rJ/Gra8f1B0eLT4coq0 uxTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710753678; x=1711358478; h=content-transfer-encoding:in-reply-to:autocrypt: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=lLj/tCGNP2MK0uv/n4AThhr2XVPFu3MQ0EBorGXinCk=; b=DEU+9VxZHefUN/WGgUnPHVXxWLWo6WXjNEIBTixF0momalVWlRPL8pQSp8dRmZWn5H y4/Rk4WioQZTkUdYMcLKCPZLEDya1Do4a75ntmZ1S1LIkAxO5AheBiQ1bRGP6sm1t8PL OnbI0+tvYHTchIZDu2jNq1Hv2TQc/kWDTnF2InUGK2mMNza3ivLBZH5RJpbGGNvRUlCh rXBJ6SWWI6KwfuYmu634bUnIptpqYfbdyY+Dm+Y2j8W9sMPbHd3oHcQ6c+DjoHSFAi3t jz7JQ5spejPc9c3G2M63r9HeFERF24PsrbQC9h/Cboh+0AfVqHf8hNzMdnSwINOT1gFF RrQA== X-Forwarded-Encrypted: i=1; AJvYcCVNAfAvZ3uV3msmsBW8CA1i7VDY4v6Zg68detS4RUl2djygHJbImXVQfvmeghu1/jyjZ50o3xsxh3/oJejbjMIdjIKMXgVorjZI6sjs X-Gm-Message-State: AOJu0Yw1QNiU4frBwlTei6UEKuGSdChKZ7mYAZ9QagKGEdPhQ0GSGEtY gwPKkbn7xnQee7Z46I71HzdQcXo6BhohSdgYH58u5GSlEBcrVh5p8DGE7QENIgE= X-Received: by 2002:a2e:9357:0:b0:2d4:7455:8a02 with SMTP id m23-20020a2e9357000000b002d474558a02mr7412983ljh.21.1710753677917; Mon, 18 Mar 2024 02:21:17 -0700 (PDT) Received: from [192.168.52.106] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id g11-20020a2e9ccb000000b002d34c754a9asm1366392ljj.109.2024.03.18.02.21.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Mar 2024 02:21:17 -0700 (PDT) Message-ID: Date: Mon, 18 Mar 2024 10:21:13 +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 v2 2/2] arm64: dts: qcom: sc8280xp: Describe the PCIe SMMUv3 To: Bjorn Andersson Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Johan Hovold References: <20231219-topic-8280_smmuv3-v2-0-c67bd3226687@linaro.org> <20231219-topic-8280_smmuv3-v2-2-c67bd3226687@linaro.org> Content-Language: en-US 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/UEAguj7VHC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gHwsF2BBgBCAAgFiEEU24if9oCL2zd AAQVR4cBcg5dfFgFAmQ5bvICGwwACgkQR4cBcg5dfFju1Q//Xta1ShwL0MLSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 18.03.2024 02:31, Bjorn Andersson wrote: > On Sat, Mar 09, 2024 at 02:31:10PM +0100, Konrad Dybcio wrote: >> SC8280XP actually has a third SMMU, which can be seen in e.g. the IORT >> ACPI table and is used for the PCIe hosts. >> >> Unfortunately though, the secure firmware seems to be configured in a >> way such that Linux can't touch it, not even read back the ID registers. >> It also seems like the SMMU is configured to run in some sort of bypass >> mode, completely opaque to the OS. >> >> Describe it so that one can configure it when running Linux as a >> hypervisor (e.g with [1]) and for hardware description completeness. >> >> [1] https://github.com/TravMurav/slbounce >> Signed-off-by: Konrad Dybcio > > Have this information been validated? Or are you suggesting we add it > for documentation purposes? I confirmed the platforms boots up with this if the hypervisor is gone. Konrad