Re: [PATCH] powerpc: tiny memcpy_(to|from)io optimisation

2009-05-31 Thread Albrecht Dreß
Hi Jocke: Am 29.05.09 08:31 schrieb(en) Joakim Tjernlund: > No (and I wasn't aware of the PPC pre-inc vs. post-inc stuff) - I just I think this is true for most RISC based CPU's. It is a pity as post ops are a lot more common. The do {} while(--chunks) is also better. Basically the "while(--c

Re: [PATCH] KVM: powerpc: beyond ARRAY_SIZE of vcpu->arch.guest_tlb

2009-05-31 Thread Avi Kivity
Roel Kluin wrote: Do not go beyond ARRAY_SIZE of vcpu->arch.guest_tlb Signed-off-by: Roel Kluin --- diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c index 0fce4fb..c2cfd46 100644 --- a/arch/powerpc/kvm/emulate.c +++ b/arch/powerpc/kvm/emulate.c @@ -125,7 +125,7 @@ static int

is the resolution of do_gettimeofday in usec?

2009-05-31 Thread wael showair
Hi All, i have board that contains MPC8555 processor with linux 2.6.27 ported to it. i want to use an accurate function to measure the time. i searched the kernel code & i found several functions but i read that the do_gettimeofday is the most accurate one since it has a timer resolution of usec.

Re: MPC8343 - serial8250: too much work

2009-05-31 Thread Michael Ellerman
On Fri, 2009-05-29 at 17:07 -0300, Alemao wrote: > Im facing some problems with serial, linux-2.6.23, getting flooded > with this message in logs: > > --- > serial8250: too much work for irq16 > --- > > Something I notice, in my .dts I have the following lines: > > serial0: ser...@4500, interru

Re: [PATCH] powerpc: tiny memcpy_(to|from)io optimisation

2009-05-31 Thread Joakim Tjernlund
> > Hi Jocke: > > Am 29.05.09 08:31 schrieb(en) Joakim Tjernlund: > > > No (and I wasn't aware of the PPC pre-inc vs. post-inc stuff) - I > > just > > > > I think this is true for most RISC based CPU's. It is a pity as > > post ops are a lot more common. The do {} while(--chunks) is also > > better