From: "Jan Beulich" Subject: Re: [PATCH 5/5] AMD IOMMU: widen NUMA nodes to be allocated from Date: Tue, 10 Mar 2015 07:35:58 +0000 Message-ID: <54FEACEE0200007800067E1F@mail.emea.novell.com> References: <54EF315902000078000640FF@mail.emea.novell.com> <54EF341C020000780006416C@mail.emea.novell.com> <54F892CD.2000300@citrix.com> <54F96A440200007800066D57@mail.emea.novell.com> <54F99A63.6040200@citrix.com> <54FDBF73.8040407@amd.com> <54FDD7C4.5020905@citrix.com> <54FDEE37.7020008@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 1YVEhv-0005x5-6c for xen-devel@lists.xenproject.org; Tue, 10 Mar 2015 07:36:03 +0000 In-Reply-To: <54FDEE37.7020008@amd.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Suravee Suthikulanit Cc: Andrew Cooper , Dario Faggioli , Aravind Gopalakrishnan , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 09.03.15 at 20:02, wrote: > I agree that having the IO page tables on the NUMA node that is closest > to the IOMMU would be beneficial. And I already withdrew this patch and the corresponding VT-d one. > However, I am not sure at the moment > that this information could be easily determined. I think ACPI _PXM for > devices should be able to provide this information, but this is optional > and often not available. And even if it was available, it would be too late at least for Dom0's allocations (as it requires Dom0's interpreter to dig out this detail). The best we could do in that case would be to try to replace the existing tables. Or assume Dom0 is being placed suitably by the dom0_nodes= option. Or add yet another option. Jan