Re: [RFC PATCH] Support for big page sizes on 44x (Updated)

2008-11-10 Thread Benjamin Herrenschmidt
> Well, the main thing is the implementation of kmap and kmap_atomic. > > They both basically assumes that all the reserved PTEs for kmap and > kmap_atomic are in a single PTE page since it uses a simple addition > (substraction for _atomic really but heh, that's about the same). > > Note that P

Re: [RFC PATCH] Support for big page sizes on 44x (Updated)

2008-11-10 Thread Benjamin Herrenschmidt
On Thu, 2008-10-16 at 06:22 +0400, Ilya Yanok wrote: > These patches add support for selecting page size on PPC 44x. > First one adds support for 16K/64K pages while second one adds support > for 256K pages along with some hacks. > > However there are still number of problems: > 1. We can't use de

Re: [PATCH] powerpc: remove WARN_ON() from dma-noncoherent.c

2008-11-10 Thread Benjamin Herrenschmidt
On Mon, 2008-11-10 at 18:33 -0600, Hollis Blanchard wrote: > I can't tell why this WARN_ON exists, and there's no comment explaining it. > Whether the pmd is present or not, pte_alloc_kernel() seems to handle both > cases. > > Booting a 440 kernel with 64K PAGE_SIZE triggers the warning, but boot

[PATCH] powerpc: remove WARN_ON() from dma-noncoherent.c

2008-11-10 Thread Hollis Blanchard
I can't tell why this WARN_ON exists, and there's no comment explaining it. Whether the pmd is present or not, pte_alloc_kernel() seems to handle both cases. Booting a 440 kernel with 64K PAGE_SIZE triggers the warning, but boot successfully completes and I see no problems beyond that. Signed-off

[PATCH] [v2] powerpc/4xx: work around CHIP11 errata in a more PAGE_SIZE-friendly way

2008-11-10 Thread Hollis Blanchard
The current CHIP11 errata truncates the device tree memory node, and subtracts (hardcoded) 4096 bytes. This breaks kernels with larger PAGE_SIZE, since the bootmem allocator assumes that total memory is a multiple of PAGE_SIZE. Instead, use a device tree memory reservation to reserve only the 256

Re: How to add my device node in the device tree

2008-11-10 Thread Scott Wood
wael showair wrote: i want to add a node for the DMA in this tree. the PIC PDF tells me that DMA channel 0 is connected to Internal interrupt number 4 so i add the following node just before the pic node & after the serial node: ** [EMAIL

[RFC PATCH] rtc: add rtc_systohc for ntp use

2008-11-10 Thread Alessandro Zummo
Adds in-kernel hctosys functionality that can be used by ntp sync code. This is an RFC and has not been tested, I just want to check if something similar could solve the problems of those who want the NTP sync mode. Signed-off-by: Alessandro Zummo <[EMAIL PROTECTED]> Cc: Paul Mundt <[EMAIL PROTEC

How to add my device node in the device tree

2008-11-10 Thread wael showair
Hi all, My board processor is MPC8555, it is an AMC board. i want to add a node for my device to the device tree. simply here is the old device tree : *** / { model = "MPC8555AMC"; compatible = "mpc85xx"; #address-cells = <1>; #s

Re: [RFC PATCH] rtc: add rtc_systohc for ntp use

2008-11-10 Thread Alessandro Zummo
On Mon, 10 Nov 2008 14:57:28 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > Yeah, we should have one of these. :) :) great! now let's see if we can get others to agree! > A better default might be to update all the RTCs on the system. > > I'm thinking of my trusty test-case here: rtc0

Re: [RFC PATCH] rtc: add rtc_systohc for ntp use

2008-11-10 Thread David Brownell
Yeah, we should have one of these. :) On Monday 10 November 2008, Alessandro Zummo wrote: > @@ -30,7 +30,7 @@ config RTC_HCTOSYS > unnecessary fsck runs at boot time, and to network better. > > config RTC_HCTOSYS_DEVICE > - string "RTC used to set the system time" > + string "

RE: [PATCH] ibm_newemac: Add support for Arches CPU0 SGMII0 to CPU1 SGMII0

2008-11-10 Thread Benjamin Herrenschmidt
On Mon, 2008-11-10 at 10:07 -0800, Victor Gallardo wrote: > Hello Josh and Ben, > > Who should I ask to get this patch integrated into the Linux tree? > http://ozlabs.org/pipermail/linuxppc-dev/2008-November/064834.html Either, I've been off for a couple of weeks (new baby) which is why I d

Re: [PATCH] powerpc: Repair device bindings documentation

2008-11-10 Thread Kumar Gala
On Nov 10, 2008, at 3:09 PM, Trent Piepho wrote: Commit d0fc2eaaf4c56a95f5ed29b6bfb609e19714fc16 "powerpc/fsl: Refactor device bindings" split out a number of device bindings from booting-without-of.txt into separate files. Having them all in one file was a frequent source of merge conflict

[PATCH] powerpc: Repair device bindings documentation

2008-11-10 Thread Trent Piepho
Commit d0fc2eaaf4c56a95f5ed29b6bfb609e19714fc16 "powerpc/fsl: Refactor device bindings" split out a number of device bindings from booting-without-of.txt into separate files. Having them all in one file was a frequent source of merge conflicts. However, in the next merge, 49997d75152b3d23c53b0fa7

Re: [PATCH] IB/ehca: Fix suppression of port activation events

2008-11-10 Thread Roland Dreier
> A previous fix introduced a regression where port activation events were > dropped unconditionally if port autodetection was not enabled. Fixed. Is this a fix to "IB/ehca: Remove reference to special QP in case of port activation failure"? Because if so I can roll it into that patch, since Li

Re: [PATCH] powerpc/qe: Select QE_USB with USB_GADGET_FSL_QE

2008-11-10 Thread Scott Wood
On Sat, Nov 08, 2008 at 08:52:54PM +0300, Anton Vorontsov wrote: > Boards should know when QE_USB is used, so that they can configure USB > clocks and pins. > > Another option would be to add 'select QE_USB' into USB_GADGET_FSL_QE, > but selects are evil since they don't support dependencies. Can

RE: [PATCH] ibm_newemac: Add support for Arches CPU0 SGMII0 to CPU1 SGMII0

2008-11-10 Thread Victor Gallardo
Hello Josh and Ben, Who should I ask to get this patch integrated into the Linux tree? http://ozlabs.org/pipermail/linuxppc-dev/2008-November/064834.html Thanks, Victor Gallardo ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozla

Re: dtc: Add python source code output

2008-11-10 Thread Jimi Xenidis
On Nov 10, 2008, at 10:11 AM, Milton Miller wrote: On 2008-11-07 at 02:31:40, David Gibson wrote: On Thu, Nov 06, 2008 at 06:55:44PM +1100, Michael Ellerman wrote: This commit adds an output format, which produces python code. When run, the python produces a data structure that can then be in

Re: [1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures

2008-11-10 Thread Ilya Yanok
Hello Milton, Milton Miller wrote: > I started out looking at the too minimal decription of patch 2/2, and > that morphed into talking about both patches. > >> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig >> index 587da5e..9627cfd 100644 >> --- a/arch/powerpc/Kconfig >> +++ b/arch/powe

Re: [2/2] powerpc: support for 256K pages on PPC 44x

2008-11-10 Thread Ilya Yanok
Hello Milton, Milton Miller wrote: >> This patch adds support for 256K pages on PPC 44x along with >> some hacks needed for this. > > This description is insufficient, it describes neither the hacks nor > why they are required. Ok. Actually there is only one hack -- increasing kernel stack size.

Re: dtc: Add python source code output

2008-11-10 Thread Milton Miller
On 2008-11-07 at 02:31:40, David Gibson wrote: On Thu, Nov 06, 2008 at 06:55:44PM +1100, Michael Ellerman wrote: This commit adds an output format, which produces python code. When run, the python produces a data structure that can then be inspected in order to do various things. ... I'm not su

Re: [PATCH 3/3] powerpc/ppc64/kdump: better flag for running relocatable

2008-11-10 Thread Mohan Kumar M
Milton Miller wrote: On Oct 23, 2008, at 10:15 AM, Mohan Kumar M wrote: Hi Milton, My suggestions: Milton Miller wrote: i.e., [code snip 1] lwz r7,__run_at_load-_stext(r26) cmplwi cr0,r7,1/* kdump kernel ? - stay where we are */ bne 1f add r2

Re: [1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures

2008-11-10 Thread Milton Miller
On 2008-10-16 at 02:22:31, Ilya Yanok wrote: I started out looking at the too minimal decription of patch 2/2, and that morphed into talking about both patches. diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 587da5e..9627cfd 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc

Re: [2/2] powerpc: support for 256K pages on PPC 44x

2008-11-10 Thread Milton Miller
On 2008-10-16 at 02:22:32, Ilya Yanok wrote: This patch adds support for 256K pages on PPC 44x along with some hacks needed for this. This description is insufficient, it describes neither the hacks nor why they are required. diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 9

[PATCH 0/2] GE Fanuc's FPGA based watchdog

2008-11-10 Thread Martyn Welch
The following series implements and enables support for the FPGA based watchdog timers found on GE Fanuc's SBC610. There are two identical watchdog timers at different offsets in the above mentioned boards, however the current driver is only capable of supporting one of them. The watchdog timers

[PATCH 2/2] powerpc: Enable watchdog timer on GE Fanuc's SBC610

2008-11-10 Thread Martyn Welch
Support for the FPGA based watchdog timer on GE Fanuc's SBC610. This patch enables one of the watchdog timers found on the SBC610. There are two identical watchdog timers at different offsets in the above mentioned boards, however the current driver is only capable of supporting one of them. The

[PATCH 1/2] watchdog: Basic support for GE Fanuc's FPGA based watchdog timer

2008-11-10 Thread Martyn Welch
GE Fanuc SBC610 Support for the FPGA based watchdog timer as found on GE Fanuc's SBC310, SBC610 and PPC9A Single Board Computers. This patch adds support for the watchdog timer found in one of the devices FPGAs. There are two identical watchdog timers at different offsets in the above mentioned b

[PATCH 2/2] powerpc: Enable watchdog timer on GE Fanuc's SBC610

2008-11-10 Thread Martyn Welch
Support for the FPGA based watchdog timer on GE Fanuc's SBC610. This patch enables one of the watchdog timers found on the SBC610. There are two identical watchdog timers at different offsets in the above mentioned boards, however the current driver is only capable of supporting one of them. The

[PATCH 1/2] watchdog: Basic support for GE Fanuc's FPGA based watchdog timer

2008-11-10 Thread Martyn Welch
GE Fanuc SBC610 Support for the FPGA based watchdog timer as found on GE Fanuc's SBC310, SBC610 and PPC9A Single Board Computers. This patch adds support for the watchdog timer found in one of the devices FPGAs. There are two identical watchdog timers at different offsets in the above mentioned b

[PATCH 0/2] GE Fanuc's FPGA based watchdog

2008-11-10 Thread Martyn Welch
The following series implements and enables support for the FPGA based watchdog timers found on GE Fanuc's SBC610. There are two identical watchdog timers at different offsets in the above mentioned boards, however the current driver is only capable of supporting one of them. The watchdog timers

Re: [PATCH] powerpc: Watchdog timer support for GE Fanuc SBC610

2008-11-10 Thread David Gibson
On Fri, Nov 07, 2008 at 02:38:22PM +, Martyn Welch wrote: > Support for the SBC610 VPX Single Baord Computer from GE Fanuc (PowerPC > MPC8641D). > > This patch adds support for the watchdog timer in the devices main FPGA. > There are two identical watchdog timers at different offsets in the ma