[PATCH v2] powerpc: Fix some late PowerMac G5 with PCIe ATI graphics

2009-09-01 Thread Benjamin Herrenschmidt
A misconfiguration by the firmware of the U4 PCIe bridge on PowerMac G5 with the U4 bridge (latest generations, may also affect the iMac G5 iSight) is causing us to re-assign the PCI BARs of the video card, which can get it out of sync with the firmware, thus breaking offb. This works around it

Re: [PATCH] Fix fake numa on ppc

2009-09-01 Thread Ankita Garg
Hi Balbir, On Tue, Sep 01, 2009 at 11:27:53AM +0530, Balbir Singh wrote: * Ankita Garg ank...@in.ibm.com [2009-09-01 10:33:16]: Hello, Below is a patch to fix a couple of issues with fake numa node creation on ppc: 1) Presently, fake nodes could be created such that real numa

Re: time jumps forward/backwards

2009-09-01 Thread Benjamin Herrenschmidt
On Mon, 2009-08-31 at 23:57 -0400, Benjamin Gamsa wrote: Sean MacLennan wrote: On Mon, 31 Aug 2009 22:20:00 -0400 Benjamin Gamsa b...@somanetworks.com wrote: For what it's worth, the problem occurs even when ntp is not even started. This is grasping, but could it have anything to

Re: time jumps forward/backwards

2009-09-01 Thread Benjamin Gamsa
Benjamin Herrenschmidt wrote: On Mon, 2009-08-31 at 23:57 -0400, Benjamin Gamsa wrote: Sean MacLennan wrote: On Mon, 31 Aug 2009 22:20:00 -0400 Benjamin Gamsa b...@somanetworks.com wrote: For what it's worth, the problem occurs even when ntp is not even started. This is grasping, but could

[v4 PATCH 0/5]: cpuidle/POWER (REDISIGN): Introducing cpuidle to POWER.

2009-09-01 Thread Arun R Bharadwaj
Hi, This is an RFC, not for inclusion ** This patchset introduces cpuidle infrastructure to POWER, prototyping for pseries and currently in the process of porting to x86 and hence will *not* build on x86/other POWER platforms. This is to get initial comments on the redesign of

[v4 PATCH 1/5]: cpuidle: Cleanup drivers/cpuidle/cpuidle.c

2009-09-01 Thread Arun R Bharadwaj
* Arun R Bharadwaj a...@linux.vnet.ibm.com [2009-09-01 17:07:04]: Cleanup drivers/cpuidle/cpuidle.c Cpuidle maintains a pm_idle_old void pointer because, currently in x86 there is no clean way of registering and unregistering a idle function. So remove pm_idle_old and leave the responsibility

[v4 PATCH 2/5]: cpuidle: Implement routines to register and unregister idle function.

2009-09-01 Thread Arun R Bharadwaj
* Arun R Bharadwaj a...@linux.vnet.ibm.com [2009-09-01 17:07:04]: Implement a LIFO based approach for registering arch dependent idle routines. This is a prototype for pseries, needs to be extended for other platforms. Signed-off-by: Arun R Bharadwaj a...@linux.vnet.ibm.com ---

[v4 PATCH 3/5]: pSeries: Incorporate registering of idle loop for pSeries.

2009-09-01 Thread Arun R Bharadwaj
* Arun R Bharadwaj a...@linux.vnet.ibm.com [2009-09-01 17:07:04]: Platform needs to register its idle function via register_idle_function() in order to provide a clean way of handling the ppc_md.power_save Signed-off-by: Arun R Bharadwaj a...@linux.vnet.ibm.com ---

[v4 PATCH 4/5]: cpuidle: Add Kconfig entry to enable cpuidle for POWER.

2009-09-01 Thread Arun R Bharadwaj
* Arun R Bharadwaj a...@linux.vnet.ibm.com [2009-09-01 17:07:04]: This patch enables the cpuidle option in Kconfig for pSeries. Currently cpuidle infrastructure is enabled only for x86 and ARM. This code is almost completely borrowed from x86 to enable cpuidle for pSeries. Signed-off-by: Arun R

[v4 PATCH 5/5]: pSeries: Implement pSeries processor idle module.

2009-09-01 Thread Arun R Bharadwaj
* Arun R Bharadwaj a...@linux.vnet.ibm.com [2009-09-01 17:07:04]: This patch creates arch/powerpc/platforms/pseries/processor_idle.c, which implements the cpuidle infrastructure for pseries. It implements a pseries_cpuidle_loop() which would be the main idle loop called from cpu_idle(). It makes

[PATCH] IB/ehca: Fix CQE flags reporting

2009-09-01 Thread Joachim Fenkes
Was reporting CQE flags in the wrong bit positions, causing consumers to miss incoming immediate data. Signed-off-by: Joachim Fenkes fen...@de.ibm.com --- Please review and queue for 2.6.32 if you think it's okay. Thanks! Joachim drivers/infiniband/hw/ehca/ehca_reqs.c |6 +- 1 files

Re: [PATCH] Fix fake numa on ppc

2009-09-01 Thread Balbir Singh
* Ankita Garg ank...@in.ibm.com [2009-09-01 14:54:07]: Hi Balbir, On Tue, Sep 01, 2009 at 11:27:53AM +0530, Balbir Singh wrote: * Ankita Garg ank...@in.ibm.com [2009-09-01 10:33:16]: Hello, Below is a patch to fix a couple of issues with fake numa node creation on ppc:

Question about linux boot procedure (head_64.S)

2009-09-01 Thread Lee HongWoo
Hi ~ This is a boot flow of linux kernel under the arch/powerpc/kernel and I'm using pasemi cpu. __start (in head_64.S) --- __start_initialization_multiplatform (in head_64.S) --- __boot_from_prom (in head_64.S) --- prom_init ( in prom_init.c) --- __start ??? And I don't

Re: [PATCH] IB/ehca: Fix CQE flags reporting

2009-09-01 Thread Roland Dreier
applied, thanks ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[RFC][POWERPC] WDT: added support for the WDT Chain driver.

2009-09-01 Thread Vitaly Bordug
From: Heiko Schocher h...@denx.de [POWERPC] WDT: added support for the WDT Chain driver. This new driver implements a character device with major number 10 and minor number 130. It is a software abstraction of the hardware watchdog with two different APIs. While the driver

Re: Question about linux boot procedure (head_64.S)

2009-09-01 Thread Michael Ellerman
On Tue, 2009-09-01 at 19:58 +0900, Lee HongWoo wrote: Hi ~ This is a boot flow of linux kernel under the arch/powerpc/kernel and I'm using pasemi cpu. __start (in head_64.S) --- __start_initialization_multiplatform (in head_64.S) --- __boot_from_prom (in head_64.S)

Re: [PATCH] [V3] net: add Xilinx emac lite device driver

2009-09-01 Thread David Miller
From: Michal Simek michal.si...@petalogix.com Date: Mon, 31 Aug 2009 15:18:44 +0200 I see that John's patch has wrong file permission -rwxr-xr-xxilinx_emaclite.c ... should be 644. Please fix it in your repo. Done, thanks! ___ Linuxppc-dev

Re: Question about linux boot procedure (head_64.S)

2009-09-01 Thread Geoff Levand
On 09/01/2009 05:25 PM, Lee HongWoo wrote: On Wed, Sep 2, 2009 at 2:32 AM, Geoff Levand geoffrey.lev...@am.sony.comwrote: In the general case, __start is the entry point of the kernel. It is where the bootloader or boot wrapper program jumps to when it transfers control to the kernel. I

[PATCH] powerpc/fsl-booke: Use HW PTE format if CONFIG_PTE_64BIT

2009-09-01 Thread Kumar Gala
Switch to using the Power ISA defined PTE format when we have a 64-bit PTE. This makes the code handling between fsl-booke and book3e-64 similiar for TLB faults. Additionally this lets use take advantage of the page size encodings and full permissions that the HW PTE defines. Also defined

Re: [v4 PATCH 1/5]: cpuidle: Cleanup drivers/cpuidle/cpuidle.c

2009-09-01 Thread Balbir Singh
* Arun R B a...@linux.vnet.ibm.com [2009-09-01 17:08:40]: * Arun R Bharadwaj a...@linux.vnet.ibm.com [2009-09-01 17:07:04]: Cleanup drivers/cpuidle/cpuidle.c Cpuidle maintains a pm_idle_old void pointer because, currently in x86 there is no clean way of registering and unregistering a

Re: [PATCH v2 1/2] cpu: Offline state Framework.

2009-09-01 Thread Andrew Morton
On Fri, 28 Aug 2009 15:30:16 +0530 Gautham R Shenoy e...@in.ibm.com wrote: Provide an interface by which the system administrator can decide what state should the CPU go to when it is offlined. To query the hotplug states, on needs to perform a read on the sysfs tunable:

Re: [v4 PATCH 1/5]: cpuidle: Cleanup drivers/cpuidle/cpuidle.c

2009-09-01 Thread Arun R Bharadwaj
* Balbir Singh bal...@linux.vnet.ibm.com [2009-09-01 22:58:25]: * Arun R B a...@linux.vnet.ibm.com [2009-09-01 17:08:40]: * Arun R Bharadwaj a...@linux.vnet.ibm.com [2009-09-01 17:07:04]: Cleanup drivers/cpuidle/cpuidle.c Cpuidle maintains a pm_idle_old void pointer because,

Re: [v4 PATCH 1/5]: cpuidle: Cleanup drivers/cpuidle/cpuidle.c

2009-09-01 Thread Arun R Bharadwaj
* Balbir Singh bal...@linux.vnet.ibm.com [2009-09-01 22:58:25]: * Arun R B a...@linux.vnet.ibm.com [2009-09-01 17:08:40]: * Arun R Bharadwaj a...@linux.vnet.ibm.com [2009-09-01 17:07:04]: Cleanup drivers/cpuidle/cpuidle.c Cpuidle maintains a pm_idle_old void pointer because,

Re: [PATCH] powerpc/fsl-booke: Use HW PTE format if CONFIG_PTE_64BIT

2009-09-01 Thread Benjamin Herrenschmidt
On Tue, 2009-09-01 at 20:48 -0500, Kumar Gala wrote: Switch to using the Power ISA defined PTE format when we have a 64-bit PTE. This makes the code handling between fsl-booke and book3e-64 similiar for TLB faults. Additionally this lets use take advantage of the page size encodings and

Re: [PATCH] Fix fake numa on ppc

2009-09-01 Thread Benjamin Herrenschmidt
On Tue, 2009-09-01 at 19:57 +0530, Balbir Singh wrote: Heres the updated patch: Signed-off-by: Ankita Garg ank...@in.ibm.com The thread is too messy. Please Ankita can you re-submit in proper form (ie. subject, cset, signed-off patch) please ? In general, don't mix reply to comments

Re: [PATCH] Fix fake numa on ppc

2009-09-01 Thread Benjamin Herrenschmidt
On Wed, 2009-09-02 at 11:06 +0530, Ankita Garg wrote: Oh! interesting.. cpuless nodes :) I think we need to fix this in the longer run and distribute cpus between fake numa nodes of a real node using some acceptable heuristic. True. Presently this is broken on both x86 and ppc systems.