[Help] MPC8377 2.6.18 PCI-E doesn't work well

2011-04-17 Thread Ginger Xiao
Hi All My board is MPC8377 with linux 2.6.18. When using the PCI-E device PCE9901, there is one serial can't work. The following is the message: /myapp # insmod 9900.ko 0001:02:00.0: ttyT0 at I/O 0x0 (irq = 22) is a starex-serial starex-serial: probe of 0001:02:00.1 failed with error -12

Re: [regression] 2.6.39-rc[1-3] fail to boot on G5 PowerMac

2011-04-17 Thread Jens Axboe
On 2011-04-17 05:16, Hugh Dickins wrote: On Thu, Apr 14, 2011 at 2:54 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Thu, 2011-04-14 at 14:25 -0700, Hugh Dickins wrote: Something worth trying: turn off CONFIG_IDE. That's what I need to boot 2.6.39-rc[1-3] on PowerPC G5. I

Re: [regression] 2.6.39-rc[1-3] fail to boot on G5 PowerMac

2011-04-17 Thread Hugh Dickins
On Sun, Apr 17, 2011 at 12:00 AM, Jens Axboe jax...@fusionio.com wrote: On 2011-04-17 05:16, Hugh Dickins wrote: On Thu, Apr 14, 2011 at 2:54 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Thu, 2011-04-14 at 14:25 -0700, Hugh Dickins wrote: Something worth trying: turn off

[PATCH 6/14] ARM / SA1100: Use struct syscore_ops for core power management

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Replace the sysdev class and struct sys_device used for power management by the SA1100 interrupt-handling code with a struct syscore_ops object which is simpler. Signed-off-by: Rafael J. Wysocki r...@sisk.pl --- arch/arm/mach-sa1100/irq.c | 19

[PATCH 5/14] ARM / Integrator: Use struct syscore_ops for core PM

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Replace the sysdev class and struct sys_device used for power management by the Integrator interrupt-handling code with a struct syscore_ops object which is simpler. Signed-off-by: Rafael J. Wysocki r...@sisk.pl --- arch/arm/mach-integrator/integrator_ap.c |

[PATCH 12/14] PM / UNICORE32: Use struct syscore_ops instead of sysdevs for PM

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Make some UNICORE32 architecture's code use struct syscore_ops objects for power management instead of sysdev classes and sysdevs. This simplifies the code and reduces the kernel's memory footprint. It also is necessary for removing sysdevs from the kernel

[PATCH 3/14] ARM: Use struct syscore_ops instead of sysdevs for PM in common code

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Convert some ARM architecture's common code to using struct syscore_ops objects for power management instead of sysdev classes and sysdevs. This simplifies the code and reduces the kernel's memory footprint. It also is necessary for removing sysdevs from the

[PATCH 10/14] PM / MIPS: Use struct syscore_ops instead of sysdevs for PM

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Convert some MIPS architecture's code to using struct syscore_ops objects for power management instead of sysdev classes and sysdevs. This simplifies the code and reduces the kernel's memory footprint. It also is necessary for removing sysdevs from the kernel

[PATCH 1/14] PM: Fix error code paths executed after failing syscore_suspend()

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl If syscore_suspend() fails in suspend_enter(), create_image() or resume_target_kernel(), it is necessary to call sysdev_resume(), because sysdev_suspend() has been called already and succeeded and we are going to abort the transition. Signed-off-by: Rafael J.

[PATCH 11/14] PM / AVR32: Use struct syscore_ops instead of sysdevs for PM

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Convert some AVR32 architecture's code to using struct syscore_ops objects for power management instead of sysdev classes and sysdevs. This simplifies the code and reduces the kernel's memory footprint. It also is necessary for removing sysdevs from the

[PATCH 9/14] PM / Blackfin: Use struct syscore_ops instead of sysdevs for PM

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Convert some Blackfin architecture's code to using struct syscore_ops objects for power management instead of sysdev classes and sysdevs. This simplifies the code and reduces the kernel's memory footprint. It also is necessary for removing sysdevs from the

[PATCH 4/14] ARM / OMAP: Use struct syscore_ops for core power management

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Replace the sysdev class and struct sys_device used for power management in the OMAP's GPIO code with a struct syscore_ops object which is simpler. Signed-off-by: Rafael J. Wysocki r...@sisk.pl Acked-by: Kevin Hilman khil...@ti.com ---

[PATCH 2/14] PM: Add missing syscore_suspend() and syscore_resume() calls

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Device suspend/resume infrastructure is used not only by the suspend and hibernate code in kernel/power, but also by , APM, Xen and the kexec jump feature. However, commit 40dc166cb5dddbd36aa4ad11c03915ea (PM / Core: Introduce struct syscore_ops for core

[PATCH 0/14] Remove sysdev suspend/resume and shutdown operations

2011-04-17 Thread Rafael J. Wysocki
Hi, The following series of patches fixes bugs related to the introduction of struct syscore_ops later in this cycle, replaces sysdev suspend/resume operations in all of the architectures still using them with struct syscore_ops-based PM callbacks and finally removes the suspend/resume and

[PATCH 13/14] PM / PowerPC: Use struct syscore_ops instead of sysdevs for PM

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Make some PowerPC architecture's code use struct syscore_ops objects for power management instead of sysdev classes and sysdevs. This simplifies the code and reduces the kernel's memory footprint. It also is necessary for removing sysdevs from the kernel

[PATCH 8/14] ARM / Samsung: Use struct syscore_ops for core power management

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Replace sysdev classes and struct sys_device objects used for core power management by Samsung platforms with struct syscore_ops objects that are simpler. This generally reduces the code size and the kernel memory footprint. It also is necessary for removing

[PATCH 7/14] ARM / PXA: Use struct syscore_ops for core power management

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Replace sysdev classes and struct sys_device objects used for core power management by the PXA platform code with struct syscore_ops objects that are simpler. This reduces the code size and the kernel memory footprint. It also is necessary for removing

[PATCH 14/14] PM: Remove sysdev suspend, resume and shutdown operations

2011-04-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki r...@sisk.pl Since suspend, resume and shutdown operations in struct sysdev_class and struct sysdev_driver are not used any more, remove them. Also drop sysdev_suspend(), sysdev_resume() and sysdev_shutdown() used for executing those operations and modify all of their

RE: [PATCH 8/14] ARM / Samsung: Use struct syscore_ops for core power management

2011-04-17 Thread Kukjin Kim
Rafael J. Wysocki wrote: From: Rafael J. Wysocki r...@sisk.pl Replace sysdev classes and struct sys_device objects used for core power management by Samsung platforms with struct syscore_ops objects that are simpler. This generally reduces the code size and the kernel memory footprint.

[PATCH] powerpc: Add Initiate Coprocessor Store Word (icswx) support

2011-04-17 Thread Anton Blanchard
From: Tseng-Hui (Frank) Lin th...@linux.vnet.ibm.com Icswx is a PowerPC instruction to send data to a co-processor. On Book-S processors the LPAR_ID and process ID (PID) of the owning process are registered in the window context of the co-processor at initialization time. When the icswx

Re: [PATCH 9/14] PM / Blackfin: Use struct syscore_ops instead of sysdevs for PM

2011-04-17 Thread Mike Frysinger
On Sun, Apr 17, 2011 at 17:11, Rafael J. Wysocki wrote: Convert some Blackfin architecture's code to using struct syscore_ops objects for power management instead of sysdev classes and sysdevs. This simplifies the code and reduces the kernel's memory footprint. It also is necessary for

[PATCH] powerpc/powermac: Build fix with SMP and CPU hotplug

2011-04-17 Thread Benjamin Herrenschmidt
Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org --- arch/powerpc/platforms/powermac/smp.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c index a830c5e..bc5f0dc 100644 ---