Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-03-10 Thread Kumar Gala
On Feb 2, 2008, at 1:47 AM, Yuri Tikhonov wrote: Hello, Here is the patch which makes Linux-2.6 swap routines operate correctly on the ppc-8xx-based machines. Signed-off-by: Yuri Tikhonov <[EMAIL PROTECTED]> applied. - k ___ Linuxppc-dev mai

Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-21 Thread Vitaly Bordug
On Thu, 21 Feb 2008 13:21:58 +0100 Wolfgang Denk wrote: > Dear Vitaly, > > in message <[EMAIL PROTECTED]> you wrote: > > On Mon, 4 Feb 2008 12:24:21 -0600 > > Scott Wood wrote: > > > > > On Sat, Feb 02, 2008 at 12:22:17PM +0100, Jochen Friedrich wrote: > > > > Hi Yuri, > > > > > > > > > Here i

Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-21 Thread Wolfgang Denk
Dear Vitaly, in message <[EMAIL PROTECTED]> you wrote: > On Mon, 4 Feb 2008 12:24:21 -0600 > Scott Wood wrote: > > > On Sat, Feb 02, 2008 at 12:22:17PM +0100, Jochen Friedrich wrote: > > > Hi Yuri, > > > > > > > Here is the patch which makes Linux-2.6 swap routines operate > > > > correctly on

Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-05 Thread Jochen Friedrich
Hi Yuri, > Does anybody use swap with some of the 8xx-based boards supported in > powerpc branch ? modded DBox2 boxes do. Unfortunately, i don't have such a modded box. The tuxbox project currently uses a really ugly hack to support swapping: http://git.bocc.de/cgi-bin/gitweb.cgi?p=dbox2.git;a=

Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-04 Thread Benjamin Herrenschmidt
On Sat, 2008-02-02 at 10:47 +0300, Yuri Tikhonov wrote: > Hello, > > Here is the patch which makes Linux-2.6 swap routines operate correctly on > the ppc-8xx-based machines. Best is to just remove writeback completely and let the generic code handle it. Ben. > Signed-off-by: Yuri Tikhonov <[E

Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-04 Thread Yuri Tikhonov
Hi Scott, You are right. The TLB handlers for 8xx in arch/powerpc branch set the PAGE_ACCESSED flag unconditionally too. And the include/asm-powerpc/pgtable-ppc32.h file still includes the comment that this is the bug. So, probably the corresponding patch for powerpc branch will be usefull.

Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-04 Thread Vitaly Bordug
On Mon, 4 Feb 2008 12:24:21 -0600 Scott Wood wrote: > On Sat, Feb 02, 2008 at 12:22:17PM +0100, Jochen Friedrich wrote: > > Hi Yuri, > > > > > Here is the patch which makes Linux-2.6 swap routines operate > > > correctly on the ppc-8xx-based machines. > > > > is there any 8xx board left which i

Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-04 Thread Scott Wood
On Sat, Feb 02, 2008 at 12:22:17PM +0100, Jochen Friedrich wrote: > Hi Yuri, > > > Here is the patch which makes Linux-2.6 swap routines operate correctly on > > the ppc-8xx-based machines. > > is there any 8xx board left which isn't ported to ARCH=powerpc? More importantly, is this something t

Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-02 Thread Yuri Tikhonov
Hi Jochen, The board for which this fix was developed is one of these (ivms8). Here are some other: rpxlite, TQM860L, rpxcllf, bseip, FADS, and etc... Just do grep -r "CONFIG_8xx=y" arch/ppc/configs/ and grep -r "CONFIG_8xx=y" arch/powerpc/configs/ :) Regards, Yuri On Saturday 02 Februa

Re: [PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-02 Thread Jochen Friedrich
Hi Yuri, > Here is the patch which makes Linux-2.6 swap routines operate correctly on > the ppc-8xx-based machines. is there any 8xx board left which isn't ported to ARCH=powerpc? Thanks, Jochen ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org h

[PATCH 1/1] [PPC] 8xx swap bug-fix

2008-02-01 Thread Yuri Tikhonov
Hello, Here is the patch which makes Linux-2.6 swap routines operate correctly on the ppc-8xx-based machines. Signed-off-by: Yuri Tikhonov <[EMAIL PROTECTED]> -- diff --git a/arch/ppc/kernel/head_8xx.S b/arch/ppc/kernel/head_8xx.S index eb8d26f..321bda2 100644 --- a/arch/ppc/kernel/head_8xx.S