15 Mayıs 2019 Çarşamba 12:59:35 UTC+3 tarihinde Jan Kiszka yazdı:
> On 07.05.19 23:14, Hakkı Kurumahmut wrote:
> > @Jan
> >
> > I have a question about the patch. assign_iommu_info and 
> > append_comment_info methods is running for PCI-PCI bridge primary and 
> > secondary bus,dev,fn.
> >
> > I'm not sure it should work for the primary bus,dev,fn.
> >
> > Example Device Scope:
> >
> > 01 0A 00 00 00 00 1C 07 00 00
> > 01 0A 00 00 00 00 1C 07 00 02
> > 01 0A 00 00 00 00 1C 07 00 04
> >
> > It is running order
> >
> > 1.) 00:1C.07
> > 2.) sec-bus:00.00
> > 3.) 00:1C.07
> > 4.) sec-bus:00.02
> > 5.) 00:1C.07
> > 6.) sec-bus:00.04
> >
> > May be it is run for only secondary buses.
> >
> > 1.) sec-bus:00.00
> > 2.) sec-bus:00.02
> > 3.) sec-bus:00.04
> >
> >

> I'm not yet sure I get the idea of your patch. Unfortunately, it mixes a
> refactoring with the enhancement of device scope parser. Why?
> 
> I would have added this feature by simply enhancing parse_dmar_devscope. That
> function is just missing the hierarchy walk when a more complex scope is
> provided, basically what is described in the spec, section 8.3.1, in 
> pseudocode.
> Then parse_dmar_devscope would continue to provide us (bus, dev, fn) as 
> output,
> and no further changes to the rest would be needed.
> 
> Jan

Hi Jan, 

You are right. Simple patch is enough. pseudocode code only get one device. My 
fault...

Thanks.

HAKKI

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/16202b86-3435-4c30-8a8d-88ef468e3ed1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to