From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aravind Gopalakrishnan Subject: Re: Fwd: [PATCH v4 13/21] xen/passthrough: iommu: Introduce arch specific code Date: Mon, 5 May 2014 16:12:09 -0500 Message-ID: <5367FEA9.3060509@amd.com> References: <1398172475-27873-1-git-send-email-julien.grall@linaro.org> <1398172475-27873-14-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WhQBQ-0000qY-9K for xen-devel@lists.xenproject.org; Mon, 05 May 2014 21:12:20 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall , "xen-devel@lists.xenproject.org" Cc: Keir Fraser , ian.campbell@citrix.com, shane.wang@intel.com, joseph.cihula@intel.com, Tim Deegan , gang.wei@intel.com, stefano.stabellini@citrix.com, Jan Beulich , "Suthikulpanit, Suravee" , xiantao.zhang@intel.com List-Id: xen-devel@lists.xenproject.org > > @@ -592,11 +593,11 @@ static void amd_dump_p2m_table(struct domain *d) > { > struct hvm_iommu *hd = domain_hvm_iommu(d); > > - if ( !hd->root_table ) > + if ( !hd->arch.root_table ) trailing white space.. > return; > > - printk("p2m table has %d levels\n", hd->paging_mode); > - amd_dump_p2m_table_level(hd->root_table, hd->paging_mode, 0, 0); > + printk("p2m table has %d levels\n", hd->arch.paging_mode); > + amd_dump_p2m_table_level(hd->arch.root_table, > hd->arch.paging_mode, 0, 0); > } > Tested-by, Reviewed-by: Aravind Gopalakrishnan Thanks, -Aravind.