From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH 1/4] xen: move XEN_SYSCTL_physinfo, XEN_SYSCTL_numainfo and XEN_SYSCTL_topologyinfo to common code Date: Mon, 14 Jan 2013 18:22:17 +0000 Message-ID: References: <1358183066-24948-1-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1358183066-24948-1-git-send-email-stefano.stabellini@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini , xen-devel@lists.xensource.com Cc: tim@xen.org, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org On 14/01/2013 17:04, "Stefano Stabellini" wrote: > Move XEN_SYSCTL_physinfo, XEN_SYSCTL_numainfo and > XEN_SYSCTL_topologyinfo from x86/sysctl.c to common/sysctl.c. > > The implementation of XEN_SYSCTL_physinfo is mostly generic but needs to > fill in few arch specific details: introduce arch_do_physinfo to do that. > > The implementation of XEN_SYSCTL_physinfo relies on two global > variables: total_pages and cpu_khz. Make them available on ARM. > > Allow xsm_physinfo on ARM. > > Implement node_spanned_pages and __node_distance on ARM, assuming 1 numa > node for now. > > Signed-off-by: Stefano Stabellini Acked-by: Keir Fraser