From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F98534BA38; Thu, 9 Oct 2025 08:38:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759999091; cv=none; b=AalnT+QPiKinMCu+1guthmcheofWgUX+ZeVa/a7MSiqVqSp3kijqqoe/WP2h54CFXbpxqw/m5IdxK3z6q+i4so4at9Ll+2R9RkC6l1Dm3okMzfYsEV/HAWFEqxFnUazNjNkisbSNjFZk/sIs+jgrrO9w8xOL95/Qdq1Xpq7x8Ug= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759999091; c=relaxed/simple; bh=a+tmJW52l+C47Xfe44WbKAMzHqsgzWS+A4gTMEC4+50=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VAt56FLw1WX4GuaztcDaLWQkh01izUrx82SkU8Hixnszq5ga70084j9YAqiBWMIlTRpK0M8LKTCYbWJyqgo6zQQqo9eDpWYes3UXwoFHHkrC9qSZHkQtT9kQkkaDCFH+T6DTpb/D3W31xVw4Y9LQRZ8G+IybyBUvgP8wm4KlfxY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ncgEQSIy; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ncgEQSIy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62D3CC4CEE7; Thu, 9 Oct 2025 08:38:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1759999090; bh=a+tmJW52l+C47Xfe44WbKAMzHqsgzWS+A4gTMEC4+50=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ncgEQSIymNaCXW0g7/W1ZVhP8A0hAuoKyvSoLz9wTu9dGnpkcP+B3suYPJbUfzRDv CGzXBqqM3Id0WlAZ7Z+lapFKq8wUd6jsIekBGFt/0LLPzIIoRnU10KL2CiuJ5iwv7M teOFFb1oR7Shm/sk/MmIdi0os3NuqioR9vjRuBEd0H4S2pLP82fRZsTf9YbhwbPyCw vspRCse7nQsv2OryOft+UlwWKbCpRCDsxRnazpNPxKjsQCchVqygCaJoxchLN2DZ8m 3BqggeuAJKMihMG9bPEdnLE3h4dasslUOqoE6t6WD/14deaaYaXiyx4RpOAer5Qm5Q d6IaVbtspoNsg== Message-ID: <7ba3953a-166f-4c67-8f54-666b0c488b12@kernel.org> Date: Thu, 9 Oct 2025 09:38:04 +0100 Precedence: bulk X-Mailing-List: devicetree@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: Krzysztof Kozlowski , Bryan O'Donoghue , Charan Teja Kalla , Bryan O'Donoghue , Dmitry Baryshkov Cc: Konrad Dybcio , 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> <4d87d1ca-55b2-426e-aa73-e3fd8c6fe7bd@kernel.org> <10a8ccda-4e27-4b06-9a0e-608d6ade5354@nxsw.ie> <4cb4a92d-2f20-47c7-881e-aadcc6f83aa0@kernel.org> <1516f21e-aee3-42cf-b75e-61142dc9578d@oss.qualcomm.com> <9bae595a-597e-46e6-8eb2-44424fe21db6@linaro.org> <98e6acf8-80d7-4894-b4ce-ce74660722ef@kernel.org> <5085c857-f6e8-4faf-b61a-a9ee562ccf06@kernel.org> From: Bryan O'Donoghue Content-Language: en-US In-Reply-To: <5085c857-f6e8-4faf-b61a-a9ee562ccf06@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 09/10/2025 02:04, Krzysztof Kozlowski wrote: >> The iommu description for this platform basically lacks the data that >> _should_ be there -> FUNCTION_ID. > No. The index tells that already. Hmm. >> The rule is that the DT should really describe the hardware right ? > It already does. Same as I wrote on IRC, DT already has all the > information. Entry 0 has function ID-foo. Entry 1 has function ID-bar. > Entry 2 has function ID-bar or whatever. That's the part I don't believe is true its a 1:Many relationship between FUNCTION_ID:SIDs Let me check the docs... Here's the example I gave on IRC for lore SID 0x1940 maps to AC_VM_HLOS (Linux) SID 0x1941 maps to AC_VM_CP_BITSTREAM - protected bitstream SID 0x1945 maps to AC_WM_CP_BITSTREAM The xls for these mappings runs to a few hundred lines. Seems to me like a good argument - at least for the qcom iommus to add a cell entry and then teach the generic iommu code about it. --- bod