Re: [PATCH v6 2/7] iommu/riscv: Add RISC-V IOMMU platform device driver
From: Andrew Jones
Date: Mon Jun 03 2024 - 09:00:16 EST
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