From patchwork Thu Apr 18 17:25:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 789798 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp684562wrm; Thu, 18 Apr 2024 10:26:54 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX72LxhttU5KMbzIDAtazI48Kn65QsYbExbwHW6Prsjg1Dp7ni5LBmhcMCHeS9S20w6VmTtiH+3EvhwBMvodxAR X-Google-Smtp-Source: AGHT+IHVZMSc6T9zohL0YFB5NESZxgmqjxq62UhwQ1w4YfT1rujLnbGFwyKzKubjkj49x4zSjDMF X-Received: by 2002:a50:9352:0:b0:56e:2332:cb4b with SMTP id n18-20020a509352000000b0056e2332cb4bmr2068715eda.40.1713461214049; Thu, 18 Apr 2024 10:26:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713461214; cv=none; d=google.com; s=arc-20160816; b=FL/rWtfqUZGV+y9ntUPyKUUu7ts48XftX8Y7hhV7qDbQgwt6W3NpEw0cFFHVKjHF0B pj6VGfc4J/JCl5Jd8HfEWG8KxoGRaCpgSEl6mZxbflKqaG3kofpVEy5gS7FDSt3S7PNP aiLbquvq5xShGKrW0SQzDos/FX4fZbJziU89n8irDGR5BW6gV7mliMGEZpIQAvMNNTAd D7yqylsK9WahNQ8IMDVrC/DpN7NKk2XOhPGPcc0+uTbcZUC4z6QJnhdFcE6mW5fNYprD tkgfJ3kzGlTfUvR/NAIRIxMGwvPmC5MPZLlm7im3qx7xHmPd9XeGzhCIWhi0mkICoXwL n7tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=5u1Os4mPjY9uiiBmDt0/pCIDUWOOpkIMsv7xW5JLldI=; fh=UuUtIqEoSXnQ/Lt12sTlH1CZVbdLDNcxQoAVL3sXgzY=; b=oC3P8isEsRUjoygcS9QomR1WyN6/joNfZTwr5P8vceQ3Fhc660PsJzUl34Iz3YB2l/ n874LQS6xBtzO9OsNUAmrTI/CdHfYbEEfTlcvkI1U+L+ab0NeBo5HNZRy5SNaOBy+rX+ Xk3w+BZPdP3wlg35UzJPpON2cF9Elibg8bwv/cLOZ1lnbP6NpAL1cCFGZfECqyeXnxeB AU4FTLpuGAAnbJJogG7b7k/edPWieYhUW3cOLO710dYs/a8XufSUboRaydfd2nktSWdZ tVhClrFw8Wd5zCK91+7bQNnZ5lEREflp8OHRcyWzC8twz3SMHi7NyRkISi/ujoEF1jPR nzGQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W9+gFgTe; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id b20-20020aa7d494000000b0056e6cdc5e2esi1126776edr.153.2024.04.18.10.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:54 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W9+gFgTe; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3BB5B886B0; Thu, 18 Apr 2024 19:26:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="W9+gFgTe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 02BF288694; Thu, 18 Apr 2024 19:26:29 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1B2438868B for ; Thu, 18 Apr 2024 19:26:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-418a0256381so7876165e9.1 for ; Thu, 18 Apr 2024 10:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713461186; x=1714065986; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=5u1Os4mPjY9uiiBmDt0/pCIDUWOOpkIMsv7xW5JLldI=; b=W9+gFgTeEWrUw/FVhD6E6aki+bEDwroAG4QZXXU6HNPgSkXldf81CAwFlWKNCjeqph iOz8/LnkNASUR/yhshOQYoMfzIym4ndWHI9717kgDHf8kpCdugsJ3OEUYHNZmN/aXnhE +mRvM+s9PdEO2/quw9t6cNQEopqgysySluzahAel3t+TDLxYq8KMtcar62wfL2MaACii 98qsvgEPoQ35dSuO7mTT4EZIFggq3ZsFfiodmW9tb/LNZy0dNTVxdTx8In2e8/GN1tjk yakOsLnPrGMapRsuzkK+/Yra6/nP9bqACoL2uwP/kxdIR3h5h5GP3YauBYpPyGRAY3nx Sdqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713461186; x=1714065986; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5u1Os4mPjY9uiiBmDt0/pCIDUWOOpkIMsv7xW5JLldI=; b=Xm6Q6emp3aOSMay7qpop4VBRPy6bOtNel7nkCGWzG5/bGZkA8NQZ6CoKAhFhf9vg9Y 8AOZxyUZvcybD7rM3vGHcSrHtDQ7XbG64ivI/n8OtWdA1EtOTHuiOYQSoMura8PFDzf1 86jHeqJdk/CpgErGl1974lX0yt39DOOPkhAWFpjBx/FsXpuXIjGU6DHL3V4GBtk/PWJA 9j5SinrN7OMQKnVxKazzXsvWuDQjKNQLfw0dgFPlE5yJrQptkCXAyYxNy7ikpxkyPWvd uGhfhtCNe4w+UXMAbhde77eH8SarxWLnXcvl2KB1glzjdLwn8etwDoK2uLfT2e/AL1Hb RMKA== X-Forwarded-Encrypted: i=1; AJvYcCUQHtwHy6MhF8eCF0RtH+F4HmX5ENr7xbod7CZyn+tU4Ozx1YvPGMpIxZZiXo7fpIaWuVWTOXbysuV8XHM/TOsj22bD3w== X-Gm-Message-State: AOJu0YwCZgpM1OZH8vSmM7IlzBuIfTaHNn/mufcaikNdA9Cs7kGK/OyQ 2wBTLaaKXvOQIQcfR9SLjbGTu+PwcUrC+Y+iY9MVSMNB8KO1SH7IElXjG2zKQbI= X-Received: by 2002:a05:600c:3504:b0:418:d58e:2944 with SMTP id h4-20020a05600c350400b00418d58e2944mr2515032wmq.18.1713461186520; Thu, 18 Apr 2024 10:26:26 -0700 (PDT) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id u17-20020a05600c19d100b00416b163e52bsm7166057wmq.14.2024.04.18.10.26.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 10:26:26 -0700 (PDT) From: Caleb Connolly Date: Thu, 18 Apr 2024 18:25:46 +0100 Subject: [PATCH 3/9] iommu: qcom-smmu: add qcom generic compatible MIME-Version: 1.0 Message-Id: <20240418-b4-qcom-rbx-fixes-v1-3-f5f19d52969e@linaro.org> References: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> In-Reply-To: <20240418-b4-qcom-rbx-fixes-v1-0-f5f19d52969e@linaro.org> To: Caleb Connolly , Neil Armstrong , Sumit Garg , Tom Rini Cc: u-boot-qcom@groups.io, u-boot@lists.denx.de X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=843; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=s6fQFUO8M4qjLm/bsMgQzOPNj/VYaDfmD9iMPRCs0DM=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTF8H0f3iyweTT9jldDx0H3i3/NjnGZl0ftmJb+x11Ar 6Oy9Ob3jlIWBkEOBlkxRRbxE8ssm9ZettfYvuACzBxWJpAhDFycAjCRWUKMDN2NV5uvzl3GlNxt 0fhpg87KUCnNaVITmt1lTbM+KRzd9JzhnxrrQxOj/quvpttf5tQ78n1x5eVjWva3Yn9ndUT93O/ GawgA X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean With the exception of SDM845, most other Qualcomm SoCs have the Qualcomm specific (but not SoC) specific SMMU compatible string. Add it here so we can match those without having to add individual SoCs to the list here. Signed-off-by: Caleb Connolly --- drivers/iommu/qcom-hyp-smmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/qcom-hyp-smmu.c b/drivers/iommu/qcom-hyp-smmu.c index f2b39de56f4a..7b646d840dd4 100644 --- a/drivers/iommu/qcom-hyp-smmu.c +++ b/drivers/iommu/qcom-hyp-smmu.c @@ -380,8 +380,9 @@ static struct iommu_ops qcom_smmu_ops = { }; static const struct udevice_id qcom_smmu500_ids[] = { { .compatible = "qcom,sdm845-smmu-500" }, + { .compatible = "qcom,smmu-500", }, { /* sentinel */ } }; U_BOOT_DRIVER(qcom_smmu500) = {