+ case OP_31_XOP_EIOIO:
+ break;
Have you always executed an eieio or sync when you get here, or
do you just not allow direct access to I/O devices? Other context
synchronising insns are not enough, they do not broadcast on the
bus.
There is no device passt
On 04.11.2009, at 09:47, Benjamin Herrenschmidt wrote:
On Wed, 2009-11-04 at 09:43 +0100, Arnd Bergmann wrote:
On Tuesday 03 November 2009, Benjamin Herrenschmidt wrote:
(Though glibc can be nasty, afaik it might load up optimized
variants of
some routines with hard wired cache line sizes b
On Wed, 2009-11-04 at 09:43 +0100, Arnd Bergmann wrote:
> On Tuesday 03 November 2009, Benjamin Herrenschmidt wrote:
> > (Though glibc can be nasty, afaik it might load up optimized
> variants of
> > some routines with hard wired cache line sizes based on the CPU
> type)
>
> You can also get appli
On Tuesday 03 November 2009, Benjamin Herrenschmidt wrote:
> (Though glibc can be nasty, afaik it might load up optimized variants of
> some routines with hard wired cache line sizes based on the CPU type)
You can also get application with hand-coded cache optimizations
that are even harder, if no
On Tue, 2009-11-03 at 10:06 +0100, Alexander Graf wrote:
> > DCBZ zeroes out a cache line, not 32 bytes; except on 970, where there
> > are HID bits to make it work on 32 bytes only, and an extra DCBZL insn
> > that always clears a full cache line (128 bytes).
>
> Yes. We only come here when we p
On 03.11.2009, at 09:47, Segher Boessenkool wrote:
Nice patchset. Some comments on the emulation part:
Cool, thanks for looking though them!
+#define OP_31_XOP_EIOIO854
You mean EIEIO.
Probably, yeah.
+ case 19:
+ switch (get_xop(inst)) {
+
Nice patchset. Some comments on the emulation part:
+#define OP_31_XOP_EIOIO854
You mean EIEIO.
+ case 19:
+ switch (get_xop(inst)) {
+ case OP_19_XOP_RFID:
+ case OP_19_XOP_RFI:
+ vcpu->arch.pc = vcpu->ar
There are generic parts of PowerPC that can be shared across all
implementations and specific parts that only apply to BookE or desktop PPCs.
This patch adds emulation for desktop specific opcodes that don't apply
to BookE CPUs.
Signed-off-by: Alexander Graf
---
v5 -> v6:
- // -> /* */
---