All of lore.kernel.org
 help / color / mirror / Atom feed
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Robin Murphy <robin.murphy@arm.com>,
	chunkuang.hu@kernel.org, p.zabel@pengutronix.de
Cc: yong.wu@mediatek.com, airlied@gmail.com, daniel@ffwll.ch,
	matthias.bgg@gmail.com, dri-devel@lists.freedesktop.org,
	linux-mediatek@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3] drm/mediatek: Stop using iommu_present()
Date: Mon, 27 Nov 2023 09:56:07 +0100	[thread overview]
Message-ID: <c823cde4-5b64-4144-87b8-7d6c847d1eb3@collabora.com> (raw)
In-Reply-To: <fd1b62aa006556f29f37535814abfe41be63f7ae.1700746094.git.robin.murphy@arm.com>

Il 23/11/23 14:41, Robin Murphy ha scritto:
> Remove the pointless check. If an IOMMU is providing transparent DMA API
> ops for any device(s) we care about, the DT code will have enforced the
> appropriate probe ordering already. And if the IOMMU *is* entirely
> absent, then attempting to go ahead with CMA and either suceeding or
> failing decisively seems more useful than deferring forever.
> 
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>


Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>




WARNING: multiple messages have this Message-ID (diff)
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Robin Murphy <robin.murphy@arm.com>,
	chunkuang.hu@kernel.org, p.zabel@pengutronix.de
Cc: dri-devel@lists.freedesktop.org,
	linux-mediatek@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, matthias.bgg@gmail.com,
	yong.wu@mediatek.com
Subject: Re: [PATCH v3] drm/mediatek: Stop using iommu_present()
Date: Mon, 27 Nov 2023 09:56:07 +0100	[thread overview]
Message-ID: <c823cde4-5b64-4144-87b8-7d6c847d1eb3@collabora.com> (raw)
In-Reply-To: <fd1b62aa006556f29f37535814abfe41be63f7ae.1700746094.git.robin.murphy@arm.com>

Il 23/11/23 14:41, Robin Murphy ha scritto:
> Remove the pointless check. If an IOMMU is providing transparent DMA API
> ops for any device(s) we care about, the DT code will have enforced the
> appropriate probe ordering already. And if the IOMMU *is* entirely
> absent, then attempting to go ahead with CMA and either suceeding or
> failing decisively seems more useful than deferring forever.
> 
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>


Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>



WARNING: multiple messages have this Message-ID (diff)
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Robin Murphy <robin.murphy@arm.com>,
	chunkuang.hu@kernel.org, p.zabel@pengutronix.de
Cc: yong.wu@mediatek.com, airlied@gmail.com, daniel@ffwll.ch,
	matthias.bgg@gmail.com, dri-devel@lists.freedesktop.org,
	linux-mediatek@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3] drm/mediatek: Stop using iommu_present()
Date: Mon, 27 Nov 2023 09:56:07 +0100	[thread overview]
Message-ID: <c823cde4-5b64-4144-87b8-7d6c847d1eb3@collabora.com> (raw)
In-Reply-To: <fd1b62aa006556f29f37535814abfe41be63f7ae.1700746094.git.robin.murphy@arm.com>

Il 23/11/23 14:41, Robin Murphy ha scritto:
> Remove the pointless check. If an IOMMU is providing transparent DMA API
> ops for any device(s) we care about, the DT code will have enforced the
> appropriate probe ordering already. And if the IOMMU *is* entirely
> absent, then attempting to go ahead with CMA and either suceeding or
> failing decisively seems more useful than deferring forever.
> 
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>


Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2023-11-27  8:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-23 13:41 [PATCH v3] drm/mediatek: Stop using iommu_present() Robin Murphy
2023-11-23 13:41 ` Robin Murphy
2023-11-23 13:41 ` Robin Murphy
2023-11-27  8:56 ` AngeloGioacchino Del Regno [this message]
2023-11-27  8:56   ` AngeloGioacchino Del Regno
2023-11-27  8:56   ` AngeloGioacchino Del Regno
2023-12-07 23:31 ` Chun-Kuang Hu
2023-12-07 23:31   ` Chun-Kuang Hu
2023-12-07 23:31   ` Chun-Kuang Hu

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=c823cde4-5b64-4144-87b8-7d6c847d1eb3@collabora.com \
    --to=angelogioacchino.delregno@collabora.com \
    --cc=airlied@gmail.com \
    --cc=chunkuang.hu@kernel.org \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=p.zabel@pengutronix.de \
    --cc=robin.murphy@arm.com \
    --cc=yong.wu@mediatek.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.