There may be better ways of turning off FPSWA, but
here's one that should work:
Change linux/arch/ia64/kernel/traps.c:trap_init() so
that fpswa_interface is always set to 0.
If a native kernel without this change passes the
two LTP float_* tests but the same native kernel with
this change fails, it would explain why Xen/ia64 doesn't
work on the tests... Xen/ia64 doesn't support FPSWA.
> -----Original Message-----
> From: You, Yongkang [mailto:yongkang.you@xxxxxxxxx]
> Sent: Sunday, January 22, 2006 6:54 PM
> To: Magenheimer, Dan (HP Labs Fort Collins);
> Subject: RE: [Xen-ia64-devel] 2 LTP math cases failed in xen0
> Hi Dan,
> I am not sure about how to check if those math cases are
> using FPSWA. I greped the key word in float math cases, but
> nothing found.
> 1 information is that these 2 cases (float_exp_log and
> float_power) can pass in the VTi and IA32 testing. I paste
> the float codes in the attachment tar ball. Hope it can give
> some help. If need any information, please let me know.
> Best Regards,
> Yongkang (Kangkang) 永康
> >-----Original Message-----
> >From: Magenheimer, Dan (HP Labs Fort Collins)
> >Sent: 2006年1月21日 1:23
> >To: You, Yongkang; xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> >Subject: RE: [Xen-ia64-devel] 2 LTP math cases failed in xen0
> >Hi Yongkang --
> >Could you see if the math tests that fail are using
> >FPSWA (the EFI floating point software assist module)?
> >I think it is possible to boot Linux with FPSWA disabled.
> >If this also fails these math tests, it would explain
> >why Xen/ia64 fails these tests as Xen/ia64 does not
> >currently support FPSWA (or any EFI modules).
> >> -----Original Message-----
> >> From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
> >> [mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf
> >> Of You, Yongkang
> >> Sent: Friday, January 20, 2006 12:35 AM
> >> To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> >> Subject: [Xen-ia64-devel] 2 LTP math cases failed in xen0
> >> Hi all,
> >> I have run a basic LTP testing on Xen0. Except for 1 system
> >> call case failed has reported, there are 2 math cases failed
> >> too. But they can pass in the Native Linux of the same
> >> hardware environment. These two cases are related to float
> >> calculation.
> >> The testing environment is:
> >> Xen source is xen-ia64-unstable tree Changeset 8476.
> >> CPU is Intel Montecito.
> >> Native and service OS Linux is RHEL4u2.
> >> The LTP is the one of 2005-12-5.
> >> The attachment is the summary of testing results. This time I
> >> run these test suites:
> >> systemcall, memory test, disk io, nptl, math, ipc, pty, sched, fs.
> >> I will try to run more testing of LTP and report issues. Hope
> >> it can help to stable xen0. :)
> >> Best Regards,
> >> Yongkang (Kangkang) 永康
Xen-ia64-devel mailing list