[PATCH v6 2/7] iommu/riscv: Add RISC-V IOMMU platform device driver

Andrew Jones ajones at ventanamicro.com
Mon Jun 3 05:59:18 PDT 2024


On Fri, May 24, 2024 at 12:34:42PM GMT, Tomasz Jeznach wrote:
...
> +static struct platform_driver riscv_iommu_platform_driver = {
> +	.probe = riscv_iommu_platform_probe,
> +	.remove_new = riscv_iommu_platform_remove,

Hi Tomasz,

I think we should also support .shutdown (just turn the IOMMU off?),
otherwise the IOMMU driver reports EBUSY and fails to initialize when
rebooting.

Same comment for the PCI driver.

Thanks,
drew



More information about the linux-riscv mailing list