Messages in this thread | | | From | "Mehta, Sohil" <> | Subject | Re: [PATCH v3 3/6] iommu/vt-d: Add Intel IOMMU debugfs to show extended context internals | Date | Thu, 7 Dec 2017 20:30:28 +0000 |
| |
On Wed, 2017-12-06 at 16:17 +0800, Lu Baolu wrote: > Hi, > > On 12/06/2017 11:43 AM, Sohil Mehta wrote: > > > > From: Gayatri Kammela <gayatri.kammela@intel.com> > > > > + > > + if (new_ext) { > > + seq_printf(m, "Higher Context tbl entries for Bus: > > %d\n", bus); > > + ctx_lo = context[0].lo; > > + > > + if (!(ctx_lo & CONTEXT_PASIDE)) { > > + context[1].hi = (u64)virt_to_phys( > > + iommu->pasid_state_table); > > + context[1].lo = (u64)virt_to_phys(iommu- > > >pasid_table) | > > + intel_iommu_get_pts(iommu) > > ; > Why do you change the context entries here? >
Thanks for catching this. The context entires were mistakenly getting changed. We'll remove it.
| |