public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Nicolin Chen <nicolinc@nvidia•com>
To: Jason Gunthorpe <jgg@nvidia•com>
Cc: Heiko Stuebner <heiko@sntech•de>,
	Matthew Rosato <mjrosato@linux•ibm.com>,
	Matthias Brugger <matthias.bgg@gmail•com>,
	Thierry Reding <thierry.reding@gmail•com>,
	Jernej Skrabec <jernej.skrabec@gmail•com>,
	Alim Akhtar <alim.akhtar@samsung•com>,
	Dmitry Osipenko <digetx@gmail•com>,
	Steven Price <steven.price@arm•com>,
	Will Deacon <will@kernel•org>,
	Marek Szyprowski <m.szyprowski@samsung•com>,
	linux-s390@vger•kernel.org, linux-samsung-soc@vger•kernel.org,
	Samuel Holland <samuel@sholland•org>,
	Joerg Roedel <joro@8bytes•org>,
	Russell King <linux@armlinux•org.uk>,
	Jonathan Hunter <jonathanh@nvidia•com>,
	linux-rockchip@lists•infradead.org, iommu@lists•linux.dev,
	Andy Gross <agross@kernel•org>, Yong Wu <yong.wu@mediatek•com>,
	Orson Zhai <orsonzhai@gmail•com>,
	Gerald Schaefer <gerald.schaefer@linux•ibm.com>,
	Thierry Reding <treding@nvidia•com>,
	linux-sunxi@lists•linux.dev, Rob Clark <robdclark@gmail•com>,
	Kevin Tian <kevin.tian@intel•com>,
	Niklas Schnelle <schnelle@linux•ibm.com>,
	linux-arm-msm@vger•kernel.org,
	Nicholas Piggin <npiggin@gmail•com>,
	Krishna Reddy <vdumpa@nvidia•com>,
	linux-mediatek@lists•infradead.org,
	Baolin Wang <baolin.wang@linux•alibaba.com>,
	linux-tegra@vger•kernel.org, Chen-Yu Tsai <wens@csie•org>,
	linux-arm-kernel@lists•infradead.org,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora•com>,
	Robin Murphy <robin.murphy@arm•com>,
	Bjorn Andersson <andersson@kernel•org>,
	Konrad Dybcio <konrad.dybcio@linaro•org>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro•org>,
	Chunyan Zhang <zhang.lyra@gmail•com>,
	linuxppc-dev@lists•ozlabs.org,
	Lu Baolu <baolu.lu@linux•intel.com>
Subject: Re: [PATCH v2 00/25] iommu: Make default_domain's mandatory
Date: Wed, 17 May 2023 16:32:28 -0700	[thread overview]
Message-ID: <ZGVkDB+MCrx3tQho@Asurada-Nvidia> (raw)
In-Reply-To: <0-v2-8d1dc464eac9+10f-iommu_all_defdom_jgg@nvidia.com>

On Mon, May 15, 2023 at 09:00:33PM -0300, Jason Gunthorpe wrote:
 
> This is on github: https://github.com/jgunthorpe/linux/commits/iommu_all_defdom

Ran some VFIO-passthrough sanity on x86 and ARM64, using this
branch. It should cover partially this series. So, if I may:

Tested-by: Nicolin Chen <nicolinc@nvidia•com>

Thanks
Nic

> v2:
>  - FSL is an IDENTITY domain
>  - Delete terga-gart instead of trying to carry it
>  - Use the policy determination from iommu_get_default_domain_type() to
>    drive the arm_iommu mode
>  - Reorganize and introduce new patches to do the above:
>     * Split the ops->identity_domain to an independent earlier patch
>     * Remove the UNMANAGED return from def_domain_type in mtk_v1 earlier
>       so the new iommu_get_default_domain_type() can work
>     * Make the driver's def_domain_type have higher policy priority than
>       untrusted
>     * Merge the set_platfom_dma_ops hunk from mtk_v1 along with rockchip
>       into the patch that forced IDENTITY on ARM32
>  - Revise sun50i to be cleaner and have a non-NULL internal domain
>  - Reword logging in exynos
>  - Remove the gdev from the group alloc path, instead add a new
>    function __iommu_group_domain_alloc() that takes in the group
>    and uses the first device. Split this to its own patch
>  - New patch to make iommufd's mock selftest into a real driver
>  - New patch to fix power's partial iommu driver

  parent reply	other threads:[~2023-05-18  4:26 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20230516000132eucas1p2d20a1c49d4711fda942a3c3a842384e6@eucas1p2.samsung.com>
2023-05-16  0:00 ` [PATCH v2 00/25] iommu: Make default_domain's mandatory Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 01/25] iommu: Add iommu_ops->identity_domain Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 02/25] iommu: Add IOMMU_DOMAIN_PLATFORM Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 03/25] powerpc/iommu: Setup a default domain and remove set_platform_dma_ops Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 04/25] iommu: Add IOMMU_DOMAIN_PLATFORM for S390 Jason Gunthorpe
2023-06-01 18:25     ` Robin Murphy
2023-06-01 19:58       ` Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 05/25] iommu/tegra-gart: Remove tegra-gart Jason Gunthorpe
2023-06-01 16:51     ` Thierry Reding
2023-05-16  0:00   ` [PATCH v2 06/25] iommu/mtk_iommu_v1: Implement an IDENTITY domain Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 07/25] iommu: Reorganize iommu_get_default_domain_type() to respect def_domain_type() Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 08/25] iommu: Allow an IDENTITY domain as the default_domain in ARM32 Jason Gunthorpe
2023-06-01 18:57     ` Robin Murphy
2023-05-16  0:00   ` [PATCH v2 09/25] iommu/fsl_pamu: Implement an IDENTITY domain Jason Gunthorpe
2023-06-01 19:37     ` Robin Murphy
2023-06-01 19:46       ` Jason Gunthorpe
2023-06-01 19:53         ` Robin Murphy
2023-06-01 20:17           ` Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 10/25] iommu/exynos: " Jason Gunthorpe
2023-05-17 22:41     ` Marek Szyprowski
2023-05-16  0:00   ` [PATCH v2 11/25] iommu/tegra-smmu: " Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 12/25] iommu/tegra-smmu: Support DMA domains in tegra Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 13/25] iommu/omap: Implement an IDENTITY domain Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 14/25] iommu/msm: " Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 15/25] iommufd/selftest: Make the mock iommu driver into a real driver Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 16/25] iommu: Remove ops->set_platform_dma_ops() Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 17/25] iommu/qcom_iommu: Add an IOMMU_IDENTITIY_DOMAIN Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 18/25] iommu/ipmmu: " Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 19/25] iommu/mtk_iommu: " Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 20/25] iommu/sun50i: " Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 21/25] iommu: Require a default_domain for all iommu drivers Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 22/25] iommu: Add __iommu_group_domain_alloc() Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 23/25] iommu: Add ops->domain_alloc_paging() Jason Gunthorpe
2023-06-01 19:17     ` Robin Murphy
2023-06-01 20:47       ` Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 24/25] iommu: Convert simple drivers with DOMAIN_DMA to domain_alloc_paging() Jason Gunthorpe
2023-05-16  0:00   ` [PATCH v2 25/25] iommu: Convert remaining simple drivers " Jason Gunthorpe
2023-06-01 19:47     ` Robin Murphy
2023-06-01 20:37       ` Jason Gunthorpe
2023-06-09 19:26       ` Jason Gunthorpe
2023-05-17 22:42   ` [PATCH v2 00/25] iommu: Make default_domain's mandatory Marek Szyprowski
2023-05-17 23:32   ` Nicolin Chen [this message]
2023-05-18 10:56   ` Steven Price

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=ZGVkDB+MCrx3tQho@Asurada-Nvidia \
    --to=nicolinc@nvidia$(echo .)com \
    --cc=agross@kernel$(echo .)org \
    --cc=alim.akhtar@samsung$(echo .)com \
    --cc=andersson@kernel$(echo .)org \
    --cc=angelogioacchino.delregno@collabora$(echo .)com \
    --cc=baolin.wang@linux$(echo .)alibaba.com \
    --cc=baolu.lu@linux$(echo .)intel.com \
    --cc=digetx@gmail$(echo .)com \
    --cc=gerald.schaefer@linux$(echo .)ibm.com \
    --cc=heiko@sntech$(echo .)de \
    --cc=iommu@lists$(echo .)linux.dev \
    --cc=jernej.skrabec@gmail$(echo .)com \
    --cc=jgg@nvidia$(echo .)com \
    --cc=jonathanh@nvidia$(echo .)com \
    --cc=joro@8bytes$(echo .)org \
    --cc=kevin.tian@intel$(echo .)com \
    --cc=konrad.dybcio@linaro$(echo .)org \
    --cc=krzysztof.kozlowski@linaro$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-arm-msm@vger$(echo .)kernel.org \
    --cc=linux-mediatek@lists$(echo .)infradead.org \
    --cc=linux-rockchip@lists$(echo .)infradead.org \
    --cc=linux-s390@vger$(echo .)kernel.org \
    --cc=linux-samsung-soc@vger$(echo .)kernel.org \
    --cc=linux-sunxi@lists$(echo .)linux.dev \
    --cc=linux-tegra@vger$(echo .)kernel.org \
    --cc=linux@armlinux$(echo .)org.uk \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=m.szyprowski@samsung$(echo .)com \
    --cc=matthias.bgg@gmail$(echo .)com \
    --cc=mjrosato@linux$(echo .)ibm.com \
    --cc=npiggin@gmail$(echo .)com \
    --cc=orsonzhai@gmail$(echo .)com \
    --cc=robdclark@gmail$(echo .)com \
    --cc=robin.murphy@arm$(echo .)com \
    --cc=samuel@sholland$(echo .)org \
    --cc=schnelle@linux$(echo .)ibm.com \
    --cc=steven.price@arm$(echo .)com \
    --cc=thierry.reding@gmail$(echo .)com \
    --cc=treding@nvidia$(echo .)com \
    --cc=vdumpa@nvidia$(echo .)com \
    --cc=wens@csie$(echo .)org \
    --cc=will@kernel$(echo .)org \
    --cc=yong.wu@mediatek$(echo .)com \
    --cc=zhang.lyra@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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