Anyone running X86_64 DOM0 with CONFIG_SMP=y want to confirm whether they have entries in sysfs for cpus? run: ls /sys/devices/system/cpu/ On my two-way Opteron running x86_32, I get: (bebop) ~ % ls /sys/devices/system/cpu/ cpu0/ cpu1/ When I boot x86_64 SMP I get nothing in there. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
* Ryan Harper <ryanh@us.ibm.com> [2005-08-23 10:01]:> Anyone running X86_64 DOM0 with CONFIG_SMP=y want to confirm whether > they have entries in sysfs for cpus? > > run: > > ls /sys/devices/system/cpu/ > > On my two-way Opteron running x86_32, I get: > > (bebop) ~ % ls /sys/devices/system/cpu/ > cpu0/ cpu1/ > > When I boot x86_64 SMP I get nothing in there.The arch_{register/unregister}_cpu() routines are in i386 topology code which x86_64 normally includes. The obj-y rule was commented out in x86_64/kernel/Makefile, maybe on purpose. With the attached patch, values are populated in sysfs correctly. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com diffstat output: Makefile | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Ryan Harper <ryanh@us.ibm.com> --- diff -r 188c782fa9bb linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile Fri Aug 19 13:05:31 2005 +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile Tue Aug 23 11:10:59 2005 @@ -44,7 +44,7 @@ c-obj-$(CONFIG_MODULES) += module.o -#obj-y += topology.o +obj-y += topology.o c-obj-y += intel_cacheinfo.o bootflag-y += ../../../i386/kernel/bootflag.o _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Chris Wright
2005-Aug-23 17:20 UTC
Re: [Xen-devel] [PATCH] sparse: link to i386 topology.o
* Ryan Harper (ryanh@us.ibm.com) wrote:> The arch_{register/unregister}_cpu() routines are in i386 topology code > which x86_64 normally includes. The obj-y rule was commented out in > x86_64/kernel/Makefile, maybe on purpose. With the attached patch, > values are populated in sysfs correctly.ACK, thanks Ryan. -chris _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel