mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Daniel Drake <dan@reactivated.net>
Cc: "Joerg Roedel (AMD)" <joro@8bytes.org>,
	Will Deacon <will@kernel.org>,
	Robin Murphy <robin.murphy@arm.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Florian Fainelli <florian.fainelli@broadcom.com>,
	Broadcom internal kernel review list
	<bcm-kernel-feedback-list@broadcom.com>,
	iommu@lists.linux.dev, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	nick.hollinghurst@raspberrypi.com, Jason Gunthorpe <jgg@ziepe.ca>
Subject: Re: [PATCH v2 4/5] iommu: Add Broadcom BCM2712 IOMMU driver
Date: Sat, 1 Aug 2026 11:15:38 +0200	[thread overview]
Message-ID: <e4dece11-ef3d-42e1-b179-cb710c501622@kernel.org> (raw)
In-Reply-To: <6d9b28ec-0905-4cb0-9a62-980c7fa69572@reactivated.net>

On 31/07/2026 22:34, Daniel Drake wrote:
> On 30/07/2026 08:00, Krzysztof Kozlowski wrote:
>> On Mon, Jul 27, 2026 at 09:43:59PM +0100, Daniel Drake wrote:
>>> +static int bcm2712_iommu_init_cache(struct bcm2712_iommu *mmu,
>>> +				    struct platform_device *pdev)
>>> +{
>>> +	struct device *dev = &pdev->dev;
>>> +	struct platform_device *cache_pdev;
>>> +	struct device_node *cache_np;
>>> +
>>> +	cache_np = of_parse_phandle(dev->of_node, "brcm,iommu-cache", 0);
>>> +
>>> +	/* Fall back on 'cache' property used in old/downstream firmware */
>>> +	if (!cache_np)
>>> +		cache_np = of_parse_phandle(dev->of_node, "cache", 0);
>>
>> NAK.
>>
>> You cannot have undocumented ABI. I asked you to drop this at v1.
> Is there any approach I should consider here in order to support 
> existing shipped firmware versions that use the 'cache' property, or 
> should I simply break compatibility?

Kernel is being shipped with DTB for Rpi, because firmware is not
embedded into some lower fixed storage, so there is no problem of
compatibility with some out of tree, unsupported DTB.

And no, you cannot use argument of undocumented, unreviewed ABI in
downstream forks as reason to add such ABI. This defeats the very
purpose of having upstream.

With this approach basically why even reviewing anything? Just accept
everything anyone ever shipped downstream, right?

Best regards,
Krzysztof

  reply	other threads:[~2026-08-01  9:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-27 20:43 [PATCH v2 0/5] Add support for Broadcom BCM2712 IOMMU driver (Raspberry Pi 5) Daniel Drake
2026-07-27 20:43 ` [PATCH v2 1/5] generic_pt: allow missing sw bit in DMA_INCOHERENT case Daniel Drake
2026-07-27 20:43 ` [PATCH v2 2/5] dt-bindings: iommu: Add Broadcom BCM2712 IOMMU Daniel Drake
2026-07-30  6:59   ` Krzysztof Kozlowski
2026-07-27 20:43 ` [PATCH v2 3/5] iommu/generic_pt: Add Broadcom BCM2712 page table format Daniel Drake
2026-07-27 20:43 ` [PATCH v2 4/5] iommu: Add Broadcom BCM2712 IOMMU driver Daniel Drake
2026-07-28 10:51   ` Robin Murphy
2026-07-29  0:10     ` Jason Gunthorpe
2026-07-29 11:21       ` Robin Murphy
2026-07-31 20:22       ` Daniel Drake
2026-07-30  7:00   ` Krzysztof Kozlowski
2026-07-31 20:34     ` Daniel Drake
2026-08-01  9:15       ` Krzysztof Kozlowski [this message]
2026-08-03 10:53         ` Nick Hollinghurst
2026-07-27 20:44 ` [PATCH v2 5/5] arm64: dts: broadcom: bcm2712: Add GPU IOMMU and IOMMU cache nodes Daniel Drake
2026-07-28 22:57 ` [PATCH v2 4/5] iommu: Add Broadcom BCM2712 IOMMU driver Jim Quinlan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e4dece11-ef3d-42e1-b179-cb710c501622@kernel.org \
    --to=krzk@kernel.org \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=conor+dt@kernel.org \
    --cc=dan@reactivated.net \
    --cc=devicetree@vger.kernel.org \
    --cc=florian.fainelli@broadcom.com \
    --cc=iommu@lists.linux.dev \
    --cc=jgg@ziepe.ca \
    --cc=joro@8bytes.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=nick.hollinghurst@raspberrypi.com \
    --cc=robh@kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®