On April 28, 2016 11:12 PM, Jan Beulich <jbeul...@suse.com> wrote:
> >>> On 28.04.16 at 17:03, <quan...@intel.com> wrote:
> > On April 28, 2016 10:36 PM, Jan Beulich <jbeul...@suse.com> wrote:
> >> >>> On 28.04.16 at 16:14, <quan...@intel.com> wrote:
> >> > On April 25, 2016 7:53 PM, Jan Beulich <jbeul...@suse.com> wrote:
> >> >> >>> On 18.04.16 at 16:00, <quan...@intel.com> wrote:
> >> >> > --- a/xen/drivers/passthrough/vtd/iommu.c
> >> >> > +++ b/xen/drivers/passthrough/vtd/iommu.c
> >> >
> >> >
> >> >> > -static void iommu_flush_all(void)
> >> >> > +static int iommu_flush_all(void)
> >> >>
> >> >> __must_check
> >> >>
> >> >
> >> > The iommu_flush_all() is also called in intel_iommu_hwdom_init()
> >> > and vtd_crash_shutdown().
> >> > As we were on the same page, we can ignore the error code
> >> > propagation for these two call trees.
> >>
> >> I don't know what you're referring to here with "we were on the same
> page".
> > I
> >> don't think I've ever agreed (in the context of this series) to
> >> ignore any
> > error
> >> returns.
> >>
> >
> >
> > Look at the below link.
> > http://lists.xenproject.org/archives/html/xen-devel/2016-02/msg03234.h
> > tml
>
> Which still talks about (conditionally) logging messages, not ignoring of
> errors.
>
Sorry, check it again.
in intel_iommu_hwdom_init() and vtd_crash_shutdown(),
I still need to log messages as:
if ( iommu_flush_all() )
printk()
?
Thanks for your patience.
Quan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel