Messages in this thread | | | Date | Fri, 19 Jul 2019 09:23:03 -0600 | From | Alex Williamson <> | Subject | Re: [PATCH v4 12/15] iommu/vt-d: Cleanup get_valid_domain_for_dev() |
| |
On Fri, 19 Jul 2019 17:04:26 +0800 Lu Baolu <baolu.lu@linux.intel.com> wrote:
> Hi Alex, > > On 7/18/19 11:12 AM, Alex Williamson wrote: > > On Sat, 25 May 2019 13:41:33 +0800 > > Lu Baolu <baolu.lu@linux.intel.com> wrote: > > > >> Previously, get_valid_domain_for_dev() is used to retrieve the > >> DMA domain which has been attached to the device or allocate one > >> if no domain has been attached yet. As we have delegated the DMA > >> domain management to upper layer, this function is used purely to > >> allocate a private DMA domain if the default domain doesn't work > >> for ths device. Cleanup the code for readability. > >> > >> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> > >> --- > >> drivers/iommu/intel-iommu.c | 18 ++++++++---------- > >> include/linux/intel-iommu.h | 1 - > >> 2 files changed, 8 insertions(+), 11 deletions(-) > > > > System fails to boot bisected to this commit: > > Is this the same issue as this https://lkml.org/lkml/2019/7/18/840?
Yes, the above link is after bisecting with all the bugs and fixes squashed together to avoid landing in local bugs. Thanks,
Alex
| |