From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 672352135AD for ; Fri, 4 Jul 2025 22:44:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751669090; cv=none; b=DUQw1T6A2ZgqlgzwuomXUXTc8axcVRbKMrCERCJ8gguG6HvPOZcvJdDtwCYE6wGSn71RJzqGeRxeyU+hi/3WuMbPIQz8PQmUm8VOl21J6Z8CHzN318MjRWBVmewwXP0tOAK84Qp/XVHGeTkXtWse76irqpUKDLLGOHFcnpcKdf0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751669090; c=relaxed/simple; bh=Y3Qo6AMyh3vAZ7BoOZ9CqjFHltIfXfXPWxwA17fB/4o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Sev+PXUBXypNjkZjGFQ8Og7oikS+8PjJ6nrrJQ+atPIQYxugYTfrIHjJPKVM/gBvxIPPsG7KJO3AV8xeasR9kQgf1E2R5mh5KPFRelnzm+TIfpOHwzP75j6zzHMB0p0HX/HCN/ZQ6UWMpesPP3MJqY/GWc+/T0f3sqIJckDNdGM= 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=SgG36D9h; arc=none smtp.client-ip=209.85.221.51 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="SgG36D9h" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-3a6cdc27438so1085554f8f.2 for ; Fri, 04 Jul 2025 15:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751669087; x=1752273887; 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=H0R2mMftv88Zra/AIwb5aEOqQ/EqgpXNN3YEG/zf/es=; b=SgG36D9hQ0m5tcKWZElF0xQboJRs8Xkcu6ZiIQQaIO1r29lbEoK3c5WPEK2v/SI7TB XYYYOMflN0LKu5K887b4tx97eDifDwyeQfawsTfXWa+j1GrSM0kz4tpmsbE9y5ZhmvTM DRsrhJR+XpPQW5AsvVjBSVJy7UK3aoS8GLEee6qQI5+aEn+FLRELmWrvLjGmDc5ojbfW XY9IzZLIjyLj+e1hHtR7ba9UUX/J4mkXH5aPBUQhBmGwinmT2gsb0E62klfwbqkw6oJ5 vWEgJtUzGzCNssimrkZPUwsGglwb8kLgJ25f1HnD/hucYHkczbbkZ/wuJsmQIF8CoM5X wpCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751669087; x=1752273887; 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=H0R2mMftv88Zra/AIwb5aEOqQ/EqgpXNN3YEG/zf/es=; b=JVBAlXMDl1fsK0C2aDCVQ9htG79+hoL/j2uiYa4dUcTUImCaO/2TdlRuial53mdiwR CB1bQCvDJV9cXkOyA2amOExqoL9YYTOXVRsqE4m1NrKFtrdyUU2TdmFXtW4rqGQldYkp abc3K9p3duMIdF/BZI52L/VB2ww59VgIzu9YETPohgLNj23ZP6+aYAAaAlz98y+EHVNl TFFO/Tk5k3T5PtdU2ZXRodFhRU6KxONJ8nj/+E6k/bGcW29UlDsOguZwBGfbP2UnPdKB 6MS+dZei6G1h1eRPN/Y+kXcdM09rZfEZ/WF01eVpMGDSxQJaf9FY/x0I8Iwa/XPg9qsx EDww== X-Forwarded-Encrypted: i=1; AJvYcCVf50lxMiiLom6CVAn9RPQdok6tch9DtL6ux8twnQYXOo+pApfVsu31RIkG+JFa7n3QoVLwp2JFEYjblw==@vger.kernel.org X-Gm-Message-State: AOJu0YzgSCQx1wIoElbl/fVRgbk8DPhDQG6NKfHhS/ctrRmo1T9yLKwo 0byaL6ULAZg27l8wll4C0lbCbj4UuOCPsj9RVZyzgx0T8OsQNHZtscWXsGhqIJQOVGg= X-Gm-Gg: ASbGnctGvhj/xmIF42mOlkCfNI7HiRqPFSScJBGaYgarkVVntNNQIgYVvBu0OF0jRDB fcdOu3c4jJF9/Fwc1pU+xszbVTgmfsrhFjv0n3d5CvQ5K/uFJbQvR9LaLzJ1+HE+pjGdc+e2jT1 INW9Xb/Z0qg6dB5EZAnYreAWUmoc6R1ZFe1whTE/PM5isSsZgkDsefIzq6O2kznJ7SuAgqS3RTn Cj1P1alhQZk2cvtHdq+ZnCE2i185RggQhR2kk/300zNNPuFfFgJeOTPY407DBna6jCjJ5u1821D c03em0nD6S+G72Y3Q9UZzyKstZhzFP7ouHSL29+3rIWk+8zWTBKcuvrdMvN08y7NWmpiwyxSPie cDtDXSUlq7tmD4NuYwVtndc5LP+f7 X-Google-Smtp-Source: AGHT+IGpEZrUwZf0KcjBtL/RVMyaOw7wHDyiLG1R8UVH19QzDTg+4QvrI8tBK/wuGCA67B2E3somGQ== X-Received: by 2002:a05:6000:2912:b0:3a5:2e9c:edb with SMTP id ffacd0b85a97d-3b497038f72mr2896312f8f.47.1751669086724; Fri, 04 Jul 2025 15:44:46 -0700 (PDT) Received: from [192.168.0.34] (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-454b1699162sm38709165e9.31.2025.07.04.15.44.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Jul 2025 15:44:46 -0700 (PDT) Message-ID: <6c6f6bc9-7c34-4961-8b5e-e6d02c4b2f6d@linaro.org> Date: Fri, 4 Jul 2025 23:44:45 +0100 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/5] Introduce "non-pixel" sub node within iris video node To: Dmitry Baryshkov Cc: Konrad Dybcio , Krzysztof Kozlowski , Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <7b6db4fa-2f73-376d-4eb3-64c1c7e6cda3@quicinc.com> <5qsgbqml367yq6g5vb4lotrzulojqhi5zlwwribze373a63qrn@rxi4kwyt66m2> <4f38058d-a2f1-4ac5-b234-228cfb2e85ff@kernel.org> <1ad2ca1e-1d57-4ad8-a057-ab0d804f1d49@oss.qualcomm.com> <7da769b4-88e9-401f-bb21-0ff123818b9c@kernel.org> <6840d462-8269-4359-a6e5-d154842b62db@oss.qualcomm.com> <2hh3zkdwgqbdurpr4tibr3gjat6arwl3dd3gxakdaagafwjdrm@aj5em4tbsjen> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: <2hh3zkdwgqbdurpr4tibr3gjat6arwl3dd3gxakdaagafwjdrm@aj5em4tbsjen> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 04/07/2025 17:45, Dmitry Baryshkov wrote: > What about instead: > > - keep IOMMU entries as is ack > - Add iommu-maps, mapping the non-pixel SID > - In future expand iommu-maps, describing the secure contexts? Interesting, we are _adding_ so that's not an ABI break and if I'm reading the documentation right, there's no hard rule on what iommu-map defines i.e. nothing to preclude us from encoding the information we want here. This might work. drivers/pci/controller/dwc/pcie-qcom.c::qcom_pcie_config_sid_1_9_0() You can register your platform device to the SID map you parse. Worth an experiment. --- bod