* [Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op.c op_h...
@ 2005-03-13 17:01 Fabrice Bellard
0 siblings, 0 replies; 5+ messages in thread
From: Fabrice Bellard @ 2005-03-13 17:01 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /cvsroot/qemu
Module name: qemu
Branch:
Changes by: Fabrice Bellard <bellard@savannah.gnu.org> 05/03/13 17:01:22
Modified files:
target-ppc : cpu.h exec.h helper.c op.c op_helper.c
translate.c
Log message:
fpu fixes (Jocelyn Mayer) - soft float support
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/cpu.h.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/exec.h.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/helper.c.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/op.c.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/op_helper.c.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/translate.c.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op.c op_h...
@ 2005-07-04 22:17 Fabrice Bellard
0 siblings, 0 replies; 5+ messages in thread
From: Fabrice Bellard @ 2005-07-04 22:17 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /cvsroot/qemu
Module name: qemu
Branch:
Changes by: Fabrice Bellard <bellard@savannah.gnu.org> 05/07/04 22:17:06
Modified files:
target-ppc : cpu.h exec.h helper.c op.c op_helper.c
Log message:
correct split between helper.c and op_helper.c - moved some uops to op_helper.c (Jocelyn Mayer)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/cpu.h.diff?tr1=1.20&tr2=1.21&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/exec.h.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/helper.c.diff?tr1=1.25&tr2=1.26&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/op.c.diff?tr1=1.19&tr2=1.20&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-ppc/op_helper.c.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op.c op_h...
@ 2007-03-17 14:02 Jocelyn Mayer
2007-03-17 14:53 ` Wessel, Jason
0 siblings, 1 reply; 5+ messages in thread
From: Jocelyn Mayer @ 2007-03-17 14:02 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Jocelyn Mayer <j_mayer> 07/03/17 14:02:15
Modified files:
target-ppc : cpu.h exec.h helper.c op.c op_helper.c
op_helper.h op_helper_mem.h op_mem.h
translate.c
Log message:
Make it safe to use 64 bits GPR and/or 64 bits host registers.
For "symetry", add 64 bits versions of all modified functions.
As a side effect, add a lot of code provision for PowerPC 64 support.
Move overflow and carry checks in common routines for simple cases.
Add isel and popcntb instructions from PowerPC 2.03 specification.
Remove remaining micro-operations helpers prototypes from op.c.
Fix XER_BC field to be 7 bits long.
Add power management support for PowerPC 603 & 604.
Fix compilation warnings.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemu&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvsroot=qemu&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/helper.c?cvsroot=qemu&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op.c?cvsroot=qemu&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemu&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.h?cvsroot=qemu&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper_mem.h?cvsroot=qemu&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_mem.h?cvsroot=qemu&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.c?cvsroot=qemu&r1=1.44&r2=1.45
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op.c op_h...
2007-03-17 14:02 Jocelyn Mayer
@ 2007-03-17 14:53 ` Wessel, Jason
0 siblings, 0 replies; 5+ messages in thread
From: Wessel, Jason @ 2007-03-17 14:53 UTC (permalink / raw)
To: qemu-devel
Hi Jocelyn,
Previously it was mentioned that there is a regression that was
introduced by your original merge on March 8, 2007. I tested this
latest code and it is still there. The nature of the problem is that
the networking does not work when booting QEMU and using the built in
slirp networking. A dhcp packet will work but the udp and tcp packets
do not appear to send.
It appears that the packet check sum computed by the Linux network stack
is incorrect. When the code in slirp/ip_input.c checks the checksum of
the udp or tcp packet it throws the packet away because the checksum was
invalid. I took the code from March 7, 2007 in cvs for target-ppc/* and
used it with the latest of everything else and the packet checksums are
computed correct and the target boots with networking.
This points to the problem being what ever instructions the kernel is
using to compute the checksum are not being translated correctly by your
latest changes. The next step will be to take a closer look at which
instructions are used to compute the checksum. I thought I might send
out some further analysis of the original stated problem in case you had
an idea of where to look to fix the problem off the top of your head.
If you have any ideas, please drop me some e-mail.
Also with regard to the 2.6.21 kernel and the ppc-prep machine, I
patched the kernel to make it send PCI interrupts the same way the prior
kernels did. It seems there is a regression there inside the kernel in
the way that the IRQ acknowledgements are handled. It could be that the
emulation is not right in QEMU, but I figure that mystery is one for
another day. If you need a kernel that boots on the ppc-prep please let
me know. I also patched the prep loader in the linux kernel so I could
boot an image that was larger than 4 megs.
Thanks,
Jason.
> -----Original Message-----
> From:
> qemu-devel-bounces+jason.wessel=windriver.com@nongnu.org
> [mailto:qemu-devel-bounces+jason.wessel=windriver.com@nongnu.o
> rg] On Behalf Of Jocelyn Mayer
> Sent: Saturday, March 17, 2007 9:02 AM
> To: qemu-devel@nongnu.org
> Subject: [Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c
> op.c op_h...
>
> CVSROOT: /sources/qemu
> Module name: qemu
> Changes by: Jocelyn Mayer <j_mayer> 07/03/17 14:02:15
>
> Modified files:
> target-ppc : cpu.h exec.h helper.c op.c op_helper.c
> op_helper.h op_helper_mem.h op_mem.h
> translate.c
>
> Log message:
> Make it safe to use 64 bits GPR and/or 64 bits host registers.
> For "symetry", add 64 bits versions of all modified functions.
> As a side effect, add a lot of code provision for
> PowerPC 64 support.
> Move overflow and carry checks in common routines for
> simple cases.
> Add isel and popcntb instructions from PowerPC 2.03
> specification.
> Remove remaining micro-operations helpers prototypes from op.c.
> Fix XER_BC field to be 7 bits long.
> Add power management support for PowerPC 603 & 604.
> Fix compilation warnings.
>
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsr
> oot=qemu&r1=1.26&r2=1.27
> http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvs
> root=qemu&r1=1.15&r2=1.16
> http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/helper.c?c
> vsroot=qemu&r1=1.32&r2=1.33
> http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op.c?cvsro
> ot=qemu&r1=1.23&r2=1.24
> http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.
> c?cvsroot=qemu&r1=1.18&r2=1.19
> http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.
> h?cvsroot=qemu&r1=1.1&r2=1.2
> http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper_
> mem.h?cvsroot=qemu&r1=1.7&r2=1.8
> http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_mem.h?c
> vsroot=qemu&r1=1.8&r2=1.9
> http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.
> c?cvsroot=qemu&r1=1.44&r2=1.45
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op.c op_h...
@ 2007-10-01 1:51 Jocelyn Mayer
0 siblings, 0 replies; 5+ messages in thread
From: Jocelyn Mayer @ 2007-10-01 1:51 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Jocelyn Mayer <j_mayer> 07/10/01 01:51:13
Modified files:
target-ppc : cpu.h exec.h helper.c op.c op_helper.c
translate.c
Log message:
Avoid op helpers that would just call helpers for TLB & SLB management:
call the helpers directly from the micro-ops.
Avoid duplicated code for tlbsx. implementation.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemu&r1=1.67&r2=1.68
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/exec.h?cvsroot=qemu&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/helper.c?cvsroot=qemu&r1=1.61&r2=1.62
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op.c?cvsroot=qemu&r1=1.49&r2=1.50
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemu&r1=1.45&r2=1.46
http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.c?cvsroot=qemu&r1=1.79&r2=1.80
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-10-01 1:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-04 22:17 [Qemu-devel] qemu/target-ppc cpu.h exec.h helper.c op.c op_h Fabrice Bellard
-- strict thread matches above, loose matches on Subject: below --
2007-10-01 1:51 Jocelyn Mayer
2007-03-17 14:02 Jocelyn Mayer
2007-03-17 14:53 ` Wessel, Jason
2005-03-13 17:01 Fabrice Bellard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).