[PATCH 11/15] [POWERPC] Updates/fixes to 32 bits pcibios_enable_device()

2007-12-13 Thread Benjamin Herrenschmidt
Our implementation of pcibios_enable_device() incorrectly ignores the mask argument and always checks that all resources have been allocated which isn't the right thing to do anymore. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/kernel/pci_32.c | 10 -- 1

[PATCH 12/15] [POWERPC] Merge 32 and 64 bits pcibios_enable_device

2007-12-13 Thread Benjamin Herrenschmidt
This merge the two implementations, based on the previously fixed up 32 bits one. The pcibios_enable_device_hook in ppc_md is now available for ppc64 use. Also remove the new unused "initial" parameter from it and fixup users. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/po

[PATCH 13/15] [POWERPC] Fixup powermac enable device hook

2007-12-13 Thread Benjamin Herrenschmidt
Powermac's use of the pcibios_enable_device_hook() got slightly broken by the recent PCI merge in that it won't be called for the "initial" case of assigning resources to a previously unassigned device. This was an abuse of that hook anyway, so instead we now use a header quirk. While at it, we mo

[PATCH 15/15] [POWERPC] Various fixes to pcibios_enable_device()

2007-12-13 Thread Benjamin Herrenschmidt
Our implementation of pcibios_enable_device() has a couple of problems. One is that it should not check IORESOURCE_UNSET, as this might be left dangling after resource assignment (shouldn't but there are bugs), but instead, we make it check resource->parent which should be a reliable indication th

Re: [PATCH] Fix rounding bug in emulation for double float operating

2007-12-13 Thread Kumar Gala
On Dec 9, 2007, at 11:00 PM, Liu Yu wrote: > > This patch fixes rounding bug in emulation for double float > operating on PowerPC platform. > > When pack double float operand, it need to truncate the tail due to > the limited precision. > If the truncated part is not zero, the last bit of wor

Please pull from 'for-2.6.24' branch

2007-12-13 Thread Kumar Gala
Please pull from 'for-2.6.24' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for-2.6.24 to receive the following updates: arch/powerpc/configs/mpc8272_ads_defconfig |6 +++--- arch/powerpc/configs/pq2fads_defconfig |6 +++--- arch/powerpc/kernel/ppc_

Re: [PATCH 4/4] MPC8313 enhanced Local Bus Controller NAND support.

2007-12-13 Thread Kumar Gala
Patch title should really be someting like FSL enhanced local bus (not mpc8313). On Dec 13, 2007, at 11:15 AM, Scott Wood wrote: > Signed-off-by: Nick Spence <[EMAIL PROTECTED]> > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> > --- > drivers/mtd/nand/Kconfig |9 + > drivers/mtd/nand/

Re: [PATCH 2/3] mpc82xx: Embedded Planet EP8248E support

2007-12-13 Thread Kumar Gala
On Dec 11, 2007, at 3:22 PM, Scott Wood wrote: > This board is also resold by Freescale under the names > "QUICCStart MPC8248 Evaluation System" and "CWH-PPC-8248N-VE". > > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> > --- > arch/powerpc/boot/Makefile |3 +- > arch/powerpc/boot/d

Re: [PATCH 2/2] powerpc: Add IPIC MSI support

2007-12-13 Thread Kumar Gala
On Dec 4, 2007, at 4:39 AM, Li Li wrote: > Modified based on discussion on list. > > 1. Adopt virq_to_hw routine > 2. Correct a legacy bug > > Implements the IPIC MSI as two level interrupt controller. > > Signed-off-by: Tony Li <[EMAIL PROTECTED]> Tony, have you looked at the 85xx/86xx PCIe MSI

Re: [PATCH 19/20] [POWERPC] pci32: 4xx embedded platforms want to reassign all PCI resources

2007-12-13 Thread Stefan Roese
On Thursday 13 December 2007, Josh Boyer wrote: > > Keeping your embedded design tiny (and thus your own BSP) is one thing, > > but adding ifdef's all over the place so that somebody can tinify an > > eval board, I'm less sure about this... but if you want, you can fixup > > my patches. > > I'm not

Re: [DTC][PATCH] Fix cross-compile building

2007-12-13 Thread Kumar Gala
On Dec 7, 2007, at 6:36 PM, David Gibson wrote: > On Fri, Dec 07, 2007 at 12:28:20PM -0600, Kumar Gala wrote: >> From: Stuart Hughes <[EMAIL PROTECTED]> >> >> This patch allows you to build the DTC source without making the >> tests directory. This is necessary when cross compiling as the >> dum

Re: Please pull linux-2.6-8xx.git for-paulus branch

2007-12-13 Thread Kumar Gala
On Dec 9, 2007, at 2:53 AM, Vitaly Bordug wrote: > On Sat, 8 Dec 2007 09:17:06 -0600 > Kumar Gala wrote: > >> >> On Dec 8, 2007, at 4:09 AM, Vitaly Bordug wrote: >> >>> On Sat, 8 Dec 2007 13:00:25 +0300 >>> Vitaly Bordug wrote: >>> Paul, please do git-pull git://git.kerne

Re: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-13 Thread Kumar Gala
>> When I run this on a G5 (w/HW FP) I get: >> >> dmul 3fe0 * 1 = 0 expected 0 (PASS) >> dmul bfe0 * 1 = 8000 expected 0 (PASS) >> dmul 8001 * bfe0 = 0 expected 0 (PASS) >> >> ddiv 1 / 4000 = 0 expected 0 (PASS) >> >> and on th

Re: [PATCH 2/2] ucc_geth: use rx-clock-name and tx-clock-name device tree properties

2007-12-13 Thread Kumar Gala
On Dec 3, 2007, at 3:17 PM, Timur Tabi wrote: > Updates the ucc_geth device driver to check the new rx-clock-name and > tx-clock-name properties first. If present, it uses the new function > qe_clock_source() to obtain the clock source. Otherwise, it checks > the > deprecated rx-clock and tx-

[PATCH 14/15] [POWERPC] Clear pci_probe_only on 64 bits PowerMac

2007-12-13 Thread Benjamin Herrenschmidt
It should now be safe to re-assign unassigned resources on 64 bits PowerMac machines (G5s). This clears pci_probe_only on those. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/platforms/powermac/pci.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- l

Re: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-13 Thread Zang Roy-r61911
On Fri, 2007-12-14 at 13:46, Kumar Gala wrote: > >> When I run this on a G5 (w/HW FP) I get: > >> > >> dmul 3fe0 * 1 = 0 expected 0 (PASS) > >> dmul bfe0 * 1 = 8000 expected 0 (PASS) > >> dmul 8001 * bfe0 = 0 expected 0 (PASS) > >> > >> dd

Re: any more patches for 2.6.24?

2007-12-13 Thread Kumar Gala
On Dec 13, 2007, at 10:52 PM, Paul Mackerras wrote: > Currently I have just this one bugfix queued up to go to Linus for > 2.6.24: > > Stephen Rothwell (1): > [POWERPC] iSeries: don't printk with HV spinlock held > > Does anyone else have bugfixes that need to go in 2.6.24? I've got a pull

Re: [PATCH] Fix rounding bug in emulation for double floatoperating

2007-12-13 Thread Kumar Gala
On Dec 14, 2007, at 12:06 AM, Zang Roy-r61911 wrote: > On Fri, 2007-12-14 at 13:46, Kumar Gala wrote: When I run this on a G5 (w/HW FP) I get: dmul 3fe0 * 1 = 0 expected 0 (PASS) dmul bfe0 * 1 = 8000 expected 0 (PASS) dmul 8

Re: [PATCH 2/2] ucc_geth: use rx-clock-name and tx-clock-name device tree properties

2007-12-13 Thread Jeff Garzik
Kumar Gala wrote: > > On Dec 3, 2007, at 3:17 PM, Timur Tabi wrote: > >> Updates the ucc_geth device driver to check the new rx-clock-name and >> tx-clock-name properties first. If present, it uses the new function >> qe_clock_source() to obtain the clock source. Otherwise, it checks the >> dep

Re: [PATCH 2/2] ucc_geth: use rx-clock-name and tx-clock-name device tree properties

2007-12-13 Thread Kumar Gala
On Dec 3, 2007, at 3:17 PM, Timur Tabi wrote: > Updates the ucc_geth device driver to check the new rx-clock-name and > tx-clock-name properties first. If present, it uses the new function > qe_clock_source() to obtain the clock source. Otherwise, it checks > the > deprecated rx-clock and tx-

Please pull from 'for-2.6.25' branch

2007-12-13 Thread Kumar Gala
Please pull from 'for-2.6.25' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for-2.6.25 to receive the following updates: Documentation/powerpc/booting-without-of.txt | 19 arch/powerpc/boot/dts/kuroboxHD.dts | 16 arch/powerpc/boot/dts/kuroboxHG.dt

<    1   2