Re: EP440XS board boot problem(Note:similart to Sequoia)

2009-12-13 Thread Allan Wang
Hello, Mr. Denk, I forgot to give you the uboot printenv output. = printenv bootcmd=run flash_self bootdelay=5 baudrate=115200 loads_echo=1 preboot=run setup_phys;echo;echo Type run flash_nfs to mount root filesystem over NFS;echo netdev=eth0 hostname=ep440xs nfsargs=setenv bootargs

Re: [Patch 1/1] PPC64-HWBKPT: Implement hw-breakpoints for PPC64

2009-12-13 Thread Roland McGrath
I can't see anything you've done to keep this use of MSR_SE in the user-mode register state from interfering with user_enable_single_step(). It looks to me like you'd swallow the normal step indications. Likewise I'm not very clear on the interaction with kprobes, kgdb, or whatnot for kernel-mode

Re: [RFC:PATCH 02/03] powerpc: Add definitions for Debug Registers on BookE Platforms

2009-12-13 Thread David Gibson
On Fri, Dec 11, 2009 at 08:35:35AM -0600, Kumar Gala wrote: On Dec 10, 2009, at 9:28 PM, David Gibson wrote: On Thu, Dec 10, 2009 at 08:41:53PM -0600, Kumar Gala wrote: [snip] +#define DBCR1_USER_DEBUG (DBCR1_IAC12M | DBCR1_IAC34M) +#define DBCR1_BASE_REG_VALUE (DBCR1_IAC1US |

Re: [Next] CPU Hotplug test failures on powerpc

2009-12-13 Thread Benjamin Herrenschmidt
On Fri, 2009-12-11 at 16:23 +0530, Sachin Sant wrote: While executing cpu_hotplug(from autotest) tests against latest next on a power6 box, the machine locks up. A soft reset shows the following trace Have you heard anything about that one yet or it's still to be debugged ? It probably hit

[PATCH] nouveau: Fix endianness with new context program loader

2009-12-13 Thread Benjamin Herrenschmidt
When switching to request_firmware() to load the context programs, some endian fixes need to be applied. This makes it work again on my quad g5 nvidia 6600. Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org --- drivers/gpu/drm/nouveau/nv40_graph.c | 20 1

Re: [Next] CPU Hotplug test failures on powerpc

2009-12-13 Thread Sachin Sant
Benjamin Herrenschmidt wrote: On Fri, 2009-12-11 at 16:23 +0530, Sachin Sant wrote: While executing cpu_hotplug(from autotest) tests against latest next on a power6 box, the machine locks up. A soft reset shows the following trace Have you heard anything about that one yet or it's

linux-next: 52xx-and-virtex tree build failure

2009-12-13 Thread Stephen Rothwell
Hi Grant, Today's linux-next build (powerpc ppc44x_defconfig) failed like this: arch/powerpc/mm/pgtable_32.c: In function 'mapin_ram': arch/powerpc/mm/pgtable_32.c:318: error: too many arguments to function 'mmu_mapin_ram' Casued by commit de32400dd26e743c5d500aa42d8d6818b79edb73 (wii: use

linux-next: devicetree tree build failure

2009-12-13 Thread Stephen Rothwell
Hi Grant, Today's linux-next build (powerpc allyesconfig) failed like this: drivers/of/fdt.c: In function 'early_init_devtree': drivers/of/fdt.c:530: error: 'early_init_dt_scan_phyp_dump' undeclared (first use in this function) Caused by commit 825b073d40b34e331d49e727b9e208744ad26259

powerpc/kvm tree build failure

2009-12-13 Thread Stephen Rothwell
Hi all, A powerpc allmodconfig fails like this: arch/powerpc/kvm/built-in.o:(.toc1+0x18): undefined reference to `kvm_debugfs_dir' This is because CONFIG_KVM_EXIT_TIMING is a bool while CONFIG_KVM_BOOK3S_64 is tristate. This causes arch/powerpc/kvm/timing.o (which references kvm_debugfs_dir)

Fix hash_utils_64.c compile errors with DEBUG enabled.

2009-12-13 Thread Sachin Sant
Fix following build errors generated with DEBUG=1 cc1: warnings being treated as errors arch/powerpc/mm/hash_utils_64.c: In function ‘htab_dt_scan_page_sizes’: arch/powerpc/mm/hash_utils_64.c:345: error: format ‘%04x’ expects type ‘unsigned int’, but argument 4 has type ‘long

[RESEND]Fix hash_utils_64.c compile errors with DEBUG enabled.

2009-12-13 Thread Sachin Sant
This time without the funny characters. Fix following build errors generated with DEBUG=1 cc1: warnings being treated as errors arch/powerpc/mm/hash_utils_64.c: In function 'htab_dt_scan_page_sizes': arch/powerpc/mm/hash_utils_64.c:343: error: format '%04x' expects type 'unsigned int', but