Re: [PATCH] powerpc/machdep: Remove stale functions from ppc_md structure

2021-11-02 Thread Michael Ellerman
On Tue, 31 Aug 2021 08:30:24 + (UTC), Christophe Leroy wrote: > ppc_md.iommu_save() is not set anymore by any platform after > commit c40785ad305b ("powerpc/dart: Use a cachable DART"). > So iommu_save() has become a nop and can be removed. > > ppc_md.show_percpuinfo() is not set anymore by an

Re: [PATCH] powerpc/machdep: Remove stale functions from ppc_md structure

2021-09-02 Thread Daniel Axtens
Hi Christophe, > ppc_md.iommu_save() is not set anymore by any platform after > commit c40785ad305b ("powerpc/dart: Use a cachable DART"). > So iommu_save() has become a nop and can be removed. I wonder if it makes sense to have an iommu_restore() without an iommu_save. Only dart_iommu.c defines