From nobody Thu Oct 2 20:46:46 2025 Received: from mail-ej1-f68.google.com (mail-ej1-f68.google.com [209.85.218.68]) (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 BFD8B2DC773 for ; Thu, 11 Sep 2025 18:38:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.68 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757615929; cv=none; b=oNiLrH4Fmv5AcV+RGwhdlzWFrPinaiG93PRglWRQsKbYN48OuXHXQ0YzkLE70+AOLxq8SpwgII6LmtjpSAHMmhxLb6pQ5n3hU2K2fsKx9oLMhpKr/MDqeOFkZiYcIlPVd1WGRAVRb6HzMXb9h5V2kEZ2ln9nYewCXD3hmxdHPdI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757615929; c=relaxed/simple; bh=1zx/2dtTQqqMowNG8VNeNa3dgOrka7taR6ADJi7Ubvo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VPFVFW3uUxgyNXhEs/go2tKwUDJW0VVtt7PTV0rXDEtNIPTjfCytaeW1xr50wGFpOQ3joYFSqdT/NoLmjFAczC6nSulIVoVAEymPe/neggaPUwbvvFrjIJSTQJutWc4jun4IgcTf0FWLGzpvHLVs9+TqvqW4aQ32D0NbNlrzVS0= 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=GALxb2rw; arc=none smtp.client-ip=209.85.218.68 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GALxb2rw" Received: by mail-ej1-f68.google.com with SMTP id a640c23a62f3a-b04ba3de760so145737566b.0 for ; Thu, 11 Sep 2025 11:38:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1757615926; x=1758220726; darn=vger.kernel.org; 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=av38I35wnqhbzTLi9E0zZZ4NUfZkQJIJBwv2dhdyRjQ=; b=GALxb2rwWKODvfDFwpR3PYK/t5WKF2WDuTiCEzl9keEyYOwZPalQ43zstFvIpGJDlh qf356Qy2tMe6cPGd1cbzZaJX9sKRKlHV0evJNen8qWGnbZKZOiMWBwrwnk+RBzhE9TWt 4UCjTUxZMiDJTBU76BTvfBGITN0X3gz1l6RYtgVytRjRWoSqknvL/YzTCtOtCJPxYrrR pvJC9Csa6SKOq5QtMQ+Mhzlw4CvuyoVQrDu9IhvcorwSUxNKj/Gf+K3SaYW5j8cyfu6+ gAnRHIfbKTE4QK9QZDLNHdPzY3WrFDA2ajEjLrljEIU4fFDsqylT6hkzy7J3Ho/DqNJc 1B/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757615926; x=1758220726; 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=av38I35wnqhbzTLi9E0zZZ4NUfZkQJIJBwv2dhdyRjQ=; b=R8BYNaFd1NLT/m0+Y8TbG+bSJGYsnEC2bjwUmnie60PIF76wKbH4EUUhxMbH3UXwhv kGDpZUebZmf7fFY6ypCECdVOn8fDe+8ePPZG9blm2YlkfjwmcsMlksxP9eNklkQkGH1L gq5fHt8srZwQSTAWqUI8A0avY3/QXaIJDp/mzc4hXA974GrEJJXvnGyws8SOAnLQD8LJ sB9HlhwFIuu4k5d244V/K2iE79+EIBGBqq9QfNogSIbPdY+HMW0f0GOw+xDLi4g5w1px 1m4aJrAUg6QoELjO+Mk3RYaky+Supdiq/PaWlpschSoQQKflDEhOZsAvnCZgXsuCacV7 39oA== X-Forwarded-Encrypted: i=1; AJvYcCUIpGgExocr6kgFUcC6cDCteSI1V5ZRYJKX+leTA005/a/8mLA4oM/zNJue0PSfwo0QbVVR5Ytf01yXys8=@vger.kernel.org X-Gm-Message-State: AOJu0Yz4hEXpOOp/FLYcuOKLHiLEkAOMcVpppLPMUyMKfRQb9jcfjf3J vXfRPF1tUglVF0NyXM608qBltXyBJNsRGLb6ESxkvlhSL5mu+PZc675d0s/K9g4Bon8= X-Gm-Gg: ASbGncvxR8tGFmg++6iOZnCUa7BBhn3vU2EBuRTefrQwDip5vpVl2ZhZTrchHZ+bDCF vvbXvqyTQy4tJIrn3rGcuGZJ/Oz/6mr3cwfIpRVfI2kyaVjmHkiY1EDcgZ75V1Or3tFn8vvKlbg 7fB0LF7fSxbci4u0xorCKegJY0wCd4fSj3xSwvJo1j+0aJdsnHGzjT70J/7Asikil8FC/cc+72+ nvzyz5qVLq3tnIF+SBlcC02AImArijukiKK7+AfNHqSOyizlriEIJSCWWzUnLdMMmIyQyvRm5h5 XSv2jrzKtXl6nMi7kmczXPRwQHtK2wBD7PyZhPLjHChcXVfuUzOEBccuFzcspynlZXIBvHCZKKM ELP2KD0K5HQDqyG4dRzbX7fIn7FBkWI9QjgagByS+nexDyPm5/K2DI0s= X-Google-Smtp-Source: AGHT+IHP0Z43RXFMeyewSqO+MA98H/+cMLb08ALXAhRNRNQlvMkoADDp/qrg066q1VtxN16gF94Dxw== X-Received: by 2002:a17:907:d25:b0:b04:c11c:8214 with SMTP id a640c23a62f3a-b07c353ec2bmr20439966b.11.1757615925928; Thu, 11 Sep 2025 11:38:45 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:41:725:1e09:bed1:27ea]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b07b31715fdsm183999166b.49.2025.09.11.11.38.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Sep 2025 11:38:45 -0700 (PDT) From: Stephan Gerhold Date: Thu, 11 Sep 2025 20:38:25 +0200 Subject: [PATCH 2/4] arm64: dts: qcom: x1-el2: Disable IRIS for now Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250911-x1e-iris-dt-v1-2-63caf0fd202c@linaro.org> References: <20250911-x1e-iris-dt-v1-0-63caf0fd202c@linaro.org> In-Reply-To: <20250911-x1e-iris-dt-v1-0-63caf0fd202c@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dikshita Agarwal , Vikash Garodia , Bryan O'Donoghue , Neil Armstrong X-Mailer: b4 0.14.2 The reset and IOMMU management for remoteprocs like IRIS is implemented in the hypervisor for older targets such as X1E [1]. When running in EL2, this functionality is missing and the PAS interface normally used by IRIS to boot the video firmware is not working. The Venus driver supports starting the video firmware without using the PAS interface. The same code also works for X1E when running in EL2. However, for the new IRIS dt-bindings it was decided to avoid using the dummy "video-firmware" node in the device tree to describe the IOMMU [2]. Discussion is still ongoing how to describe this properly [3]. To avoid regressions when running in EL2, add a TODO in x1-el2.dtso for now and disable IRIS even when it was enabled by the board. [1]: https://resources.linaro.org/en/resource/sF8jXifdb9V1mUefdbfafa [2]: https://lore.kernel.org/r/20250823155349.22344-2-krzysztof.kozlowski@l= inaro.org/ [3]: https://lore.kernel.org/r/20250819165447.4149674-12-mukesh.ojha@oss.qu= alcomm.com/ Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/x1-el2.dtso | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1-el2.dtso b/arch/arm64/boot/dts/qco= m/x1-el2.dtso index 380441deca65d1b443962fbe6151f4aadd918383..2d1c9151cf1b4aca79f7ad67328= ffc3c721b9dc3 100644 --- a/arch/arm64/boot/dts/qcom/x1-el2.dtso +++ b/arch/arm64/boot/dts/qcom/x1-el2.dtso @@ -12,6 +12,11 @@ &gpu_zap_shader { status =3D "disabled"; }; =20 +&iris { + /* TODO: Add video-firmware iommus to start IRIS from EL2 */ + status =3D "disabled"; +}; + /* * When running under Gunyah, this IOMMU is controlled by the firmware, * however when we take ownership of it in EL2, we need to configure --=20 2.50.1