From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 70FAA28D822 for ; Fri, 4 Jul 2025 22:44:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751669090; cv=none; b=ichlSLSFkCVIt3t04O/8odr3mTmQofObhm2XQPQa1pB38SqR8f/yrbJXygBxZ7JMjB+2/5tUIVnNCQLa8OOHUsgDjmkrZ8dNR363KDO+kQMRmp9x8Jy634MjAuIGdTYxdjONWEpcFtqXUP+Efe6cnI2++kluxaQ2wCPB8Q8pE14= 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.42 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-f42.google.com with SMTP id ffacd0b85a97d-3a503d9ef59so938263f8f.3 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=NCXondN7ErSbwb3mUvBJS/B4WaYxdlf10ARQvsQg9RYmkgoQiBPsieWi5EVgYPdr7p vGxIV1/CQXsjAXC1fLm9tCXkFTfBHHa3wCj7c6BJGQ0HrzRQK1X66G88nUGyIn1S3FET OZ1I1RSiuo6klQPjqa2FR1p6/xg3AZusp+xwb8D1cjujpQq5XCiA8HB5HS1fa7Zt679f 4zE1rx/3YN72oc5b2Kc8Itc+CJMGGxuhO+FzGgP0VYdnchj9tc44KlBMBQ9KUgX4hx9s iCKWQl4fhCK/546TPi0rqbGt5yX+PZThxfQvdbFQYKCbCa7lVR1ZOSpKYleyISg+BbUu NUfA== X-Forwarded-Encrypted: i=1; AJvYcCVfm4co6h7bNUx2laYAp5ANfDS0tGNsy7lsWPDxulEUu/khZbNNeT428kfppxsFt48HPpxiJEZxd5RHdus=@vger.kernel.org X-Gm-Message-State: AOJu0YyghJjOT8/Hi64le882LQWk1mek3Ppd4h41gb9Yhm9IVqsfZFdj gNVrvR/TMdb6QLxYqDv54I77PTxYeOUczLKs3MntHqoWAqOeGHfvH+gu/WrM2ZN9Jqc= X-Gm-Gg: ASbGncsqT2YatshpReBTgGBVHG/qpY+9oJhzCDgV8Y4joBlWb+EWhMNLGA0v7xOCBj4 BkZYV7xNHAMQrgOph/q1cG5XioIxFgxQKVjT+bc+eY9VsfznmERUWVLsHmHhs+/I7Woedx0iQSf IrPIq0FupLXIblJ4xL0xZbwBqQqkJAhBYW1beIFzMS9g4ukvDWimcml127cJ42rkoHzPXYLQ1z5 K4VssEPIPhWlqr4zJNGGTT1fCUYOVgyPcIxVtz4CoNz+RQ9ouNf0dybHqd1harGQDxT79BBHx1n K6Thf/BcO4ZFWodDK2wZVwRzQvs0DiB1waWgLsYJe/4TgvBu3ywpUsSJB4UidZXE0+TLo0yzhH9 hX4HdeFQsChIivtoKtKmlW4TXmAhI 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-kernel@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