Re: [PATCH] powerpc/mm: Merge various PTE bits and accessors definitions

2009-03-01 Thread Benjamin Herrenschmidt
On Mon, 2009-03-02 at 18:38 +1100, Michael Ellerman wrote: > On Mon, 2009-03-02 at 17:22 +1100, Benjamin Herrenschmidt wrote: > > Now that they are almost identical, we can merge some of the definitions > > related to the PTE format into common files. > > > > > +/* Protection used for kernel tex

Re: [PATCH] powerpc/mm: Merge various PTE bits and accessors definitions

2009-03-01 Thread Michael Ellerman
On Mon, 2009-03-02 at 17:22 +1100, Benjamin Herrenschmidt wrote: > Now that they are almost identical, we can merge some of the definitions > related to the PTE format into common files. > +/* Protection used for kernel text. We want the debuggers to be able to > + * set breakpoints anywhere, so

Re: 2.6.29-rc6-git4 boot failure

2009-03-01 Thread Sachin P. Sant
Benjamin Herrenschmidt wrote: Ok, so I tried here on a dual G5 and couldn't reproduce with -rc6 g64e7130. Now, it would be nice if you guys stopped sending stripped down dmesg... the whole thing is potentially relevant. Also, which compiler version did you use to generate this kernel ? Hi Be

Re: [PATCH] powerpc/mm: Merge various PTE bits and accessors definitions

2009-03-01 Thread Benjamin Herrenschmidt
On Mon, 2009-03-02 at 17:22 +1100, Benjamin Herrenschmidt wrote: > Now that they are almost identical, we can merge some of the definitions > related to the PTE format into common files. Hrm... some of the last 2 patches got mangled with each other ... applying both works fine but don't try to bui

[PATCH] powerpc/mm: Merge various PTE bits and accessors definitions

2009-03-01 Thread Benjamin Herrenschmidt
Now that they are almost identical, we can merge some of the definitions related to the PTE format into common files. This creates a new pte-common.h which is included by both 32 and 64-bit right after the CPU specific pte-*.h file, and which defines some bits to "default" values if they haven't b

[PATCH] powerpc/mm: Tweak PTE bit combination definitions

2009-03-01 Thread Benjamin Herrenschmidt
This patch tweaks the way some PTE bit combinations are defined, in such a way that the 32 and 64-bit variant become almost identical and that will make it easier to bring in a new common pte-* file for the new variant of the Book3-E support. The combination of bits defining access to kernel pages

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Grant Likely
On Sun, Mar 1, 2009 at 7:19 PM, Jon Smirl wrote: > Would it be easier to get Pengutronix to release a new u-boot for the > pcm030? I'm using U-Boot 1.2.0-mpc5200b-tiny-2 (Apr 17 2007 - > 11:49:20). Only if it is a chip IO setup problem (like port_config or clock setup). Otherwise the kernel shou

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Jon Smirl
Would it be easier to get Pengutronix to release a new u-boot for the pcm030? I'm using U-Boot 1.2.0-mpc5200b-tiny-2 (Apr 17 2007 - 11:49:20). -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailm

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Jon Smirl
On Sun, Mar 1, 2009 at 8:07 PM, Grant Likely wrote: > On Sun, Mar 1, 2009 at 5:46 PM, Jon Smirl wrote: >> On Sun, Mar 1, 2009 at 7:37 PM, Jon Smirl wrote: >>> Just tried it on pcm030. If I uncomment the reg line the kernel won't >>> boot at all. I don't get any output. >> >> I hooked up a serial

Re: [PATCH 2/2] x86-64: seccomp: fix 32/64 syscall hole

2009-03-01 Thread Roland McGrath
> And I guess the seccomp interaction means that this is potentially a > 2.6.29 thing. Not that I know whether anybody actually _uses_ seccomp. It > does seem to be enabled in at least Fedora kernels, but it might not be > used anywhere. I have no idea who uses it. I just assume that anyone wh

Re: PHY not found after migration of gianfar driver to an of_platform_driver

2009-03-01 Thread Grant Likely
[moving this conversation back to the mailing list. Don't forget to use 'reply-all' on mailing list conversations.] On Sun, Mar 1, 2009 at 4:49 PM, Michael Guntsche wrote: > > On Mar 1, 2009, at 22:53, Grant Likely wrote: > >> On Sun, Mar 1, 2009 at 1:04 PM, Michael Guntsche >> wrote: >>> >>> O

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Grant Likely
On Sun, Mar 1, 2009 at 5:46 PM, Jon Smirl wrote: > On Sun, Mar 1, 2009 at 7:37 PM, Jon Smirl wrote: >> Just tried it on pcm030. If I uncomment the reg line the kernel won't >> boot at all. I don't get any output. > > I hooked up a serial console instead of netcat. > > PCI: Probing PCI hardware >

Re: Can not get "new" MPC8313e-RDB to boot "as-shipped" flash image

2009-03-01 Thread Eric Cottrell
Hello, I got brave enough this weekend to try flashing uBoot using uBoot. I used the uBoot image that is in my ltib rootfs/boot directory. The build is 1.3.0 (Dec 22 2008 - 11:19:29) MPC83XX. It worked. On reboot the checksum on the uBoot environment was bad so it used the default environme

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Jon Smirl
On Sun, Mar 1, 2009 at 7:37 PM, Jon Smirl wrote: > Just tried it on pcm030. If I uncomment the reg line the kernel won't > boot at all. I don't get any output. I hooked up a serial console instead of netcat. ## Booting image at 0050 ... Image Name: Linux-2.6.29-rc6-efika Created:

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Jon Smirl
Just tried it on pcm030. If I uncomment the reg line the kernel won't boot at all. I don't get any output. p...@fd00 { #interrupt-cells = <1>; #size-cells = <2>; #address-cells = <3>; device_type = "pci"; c

Confusing of using SPIE register in MPC8377E

2009-03-01 Thread 向宇
I'm writing a spi driver for MPC8377E. I use a GPIO as the chip select signal. I'm tring to use the NE or NF bits to decide when to read or when the transmit is over. But I found that I have just write the command,the NE is set.Also I found that the transmit is not over the GPIO has been pull

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Grant Likely
On Sun, Mar 1, 2009 at 8:54 AM, Jon Smirl wrote: > On Sun, Mar 1, 2009 at 9:48 AM, Grant Likely > wrote: >> On Sun, Mar 1, 2009 at 3:18 AM, Wolfram Sang wrote: >>> Hi Grant, >>> >>> thanks for the review! >>> >>> On Thu, Feb 26, 2009 at 10:31:24PM -0700, Grant Likely wrote: Thanks for the

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Jon Smirl
On Sun, Mar 1, 2009 at 9:48 AM, Grant Likely wrote: > On Sun, Mar 1, 2009 at 3:18 AM, Wolfram Sang wrote: >> Hi Grant, >> >> thanks for the review! >> >> On Thu, Feb 26, 2009 at 10:31:24PM -0700, Grant Likely wrote: >>> Thanks for the patch Wolfram.  Comments below. >>> >>> On Wed, Feb 25, 2009 a

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Grant Likely
On Sun, Mar 1, 2009 at 3:18 AM, Wolfram Sang wrote: > Hi Grant, > > thanks for the review! > > On Thu, Feb 26, 2009 at 10:31:24PM -0700, Grant Likely wrote: >> Thanks for the patch Wolfram.  Comments below. >> >> On Wed, Feb 25, 2009 at 8:32 AM, Wolfram Sang wrote: >> > Signed-off-by: Wolfram San

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Wolfram Sang
Hi Grant, thanks for the review! On Thu, Feb 26, 2009 at 10:31:24PM -0700, Grant Likely wrote: > Thanks for the patch Wolfram. Comments below. > > On Wed, Feb 25, 2009 at 8:32 AM, Wolfram Sang wrote: > > Signed-off-by: Wolfram Sang > > --- > >  arch/powerpc/boot/dts/pcm032.dts             |