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

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-

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] 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] 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: [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: [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: 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] 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 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 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/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.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: 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 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

[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

[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

[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 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 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 10/15] [POWERPC] fix iSeries PCI resource management

2007-12-13 Thread Benjamin Herrenschmidt
The way iSeries manages PCI IO and Memory resources is a bit strange and is based on overriding the content of those resources with home cooked ones afterward. This changes it a bit to better integrate with the new resource handling so that the "virtual" tokens that iSeries replaces resources with

[PATCH 9/15] [POWERPC] Merge PCI resource allocation & assignment

2007-12-13 Thread Benjamin Herrenschmidt
The 32 bits PCI code now uses the generic code for assigning unassigned resources and an algorithm similar to x86 for claiming existing ones. This works far better than the 64 bits code which basically can only claim existing ones (pci_probe_only=1) or would fall appart completely. This merges th

[PATCH 8/15] [POWERPC] Merge PCI resource fixups

2007-12-13 Thread Benjamin Herrenschmidt
The PCI code in 32 and 64 bits fixes up resources differently. 32 bits uses a header quirk plus handles bridges in pcibios_fixup_bus() while 64 bits does things in various places depending on whether you are using OF probing, using PCI hotplug, etc... This merges those by basically using the 32 b

[PATCH 7/15] [POWERPC] Merge pcibios_resource_to_bus/bus_to_resource

2007-12-13 Thread Benjamin Herrenschmidt
This merges the PowerPC 32 and 64 bits version of pcibios_resource_to_bus and pcibios_bus_to_resource(). Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/kernel/pci-common.c | 36 + arch/powerpc/kernel/pci_32.c | 32 --

[PATCH 6/15] [POWERPC] pci32: Add platform option to enable /proc PCI domains

2007-12-13 Thread Benjamin Herrenschmidt
This adds flags the platforms can use to enable domain numbers in /proc/bus/pci. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/kernel/pci-common.c | 16 arch/powerpc/kernel/pci_64.c |8 include/asm-powerpc/pci-bridge.h |5 +

[PATCH 5/15] [POWERPC] pci32: Remove obsolete PowerMac bus number hack

2007-12-13 Thread Benjamin Herrenschmidt
The 32 bits PCI code carries an old hack that was only useful for G5 machines. Nowdays, the 32 bits kernel doesn't support any of those machines anymore so the hack is basically never used, remove it. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/kernel/pci_32.c |

[PATCH 4/15] [POWERPC] pci32: Add flags modifying the PCI code behaviour

2007-12-13 Thread Benjamin Herrenschmidt
This adds to the 32 bits PCI code some flags, replacing the old pci_assign_all_busses global, that allow to control various aspects of the PCI probing, such as whether to re-assign all resources or not, or to not try to assign anything at all. This also adds the flag x86 already has to avoid ISA a

[PATCH 3/15] [POWERPC] pci32: Remove PowerMac P2P bridge IO hack

2007-12-13 Thread Benjamin Herrenschmidt
The 32 bits PowerPC PCI code has a hack for use by some PowerMacs to try to re-open PCI<->PCI bridge IO resources that were closed by the firmware. This is no longer necessary as the generic code will now do that for us. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/

[PATCH 2/15] [POWERPC] pci32: use generic pci_assign_unassign_resources

2007-12-13 Thread Benjamin Herrenschmidt
This makes the 32 bits PowerPC PCI code use the generic code to assign resources to devices that had unassigned or conflicting resources. This allow to remove the local implementation that was incomplete and could not assign for example a PCI<->PCI bridge from scratch, which is needed on various e

[PATCH 1/15] [POWERPC] pci32: remove bogus alignment message

2007-12-13 Thread Benjamin Herrenschmidt
There's a stale & bogus piece of code in 32 bits PCI code that complains about ISA related alignment issues. Just remove it. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/kernel/pci_32.c |6 -- 1 file changed, 6 deletions(-) --- linux-merge.orig/arch/powerpc

[PATCH 0/15] [POWERPC] PCI updates & merges

2007-12-13 Thread Benjamin Herrenschmidt
(THIS SERIES STILL NEEDS MORE TESTING) (This version is rebased on top of current for-2.6.25, my remaining 4xx patches will apply on top of this) This serie of patches converts the 32 bits PCI code to use the generic pci_assign_unassigned_resources() instead of its own assignment code which was

Re: [PATCH] mpc834x_mds: Fix whitespace and call of_platform_bus_probe().

2007-12-13 Thread Kumar Gala
On Dec 13, 2007, at 11:19 AM, Scott Wood wrote: > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> > --- > arch/powerpc/platforms/83xx/mpc834x_mds.c | 21 +++-- > 1 files changed, 19 insertions(+), 2 deletions(-) applied. - k ___ Linuxp

any more patches for 2.6.24?

2007-12-13 Thread Paul Mackerras
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? Paul. ___ Linuxppc-dev mailing list L

[PATCH 6/6] optimize account_system_vtime

2007-12-13 Thread Milton Miller
We have multiple calls to has_feature being inlined, but gcc can't be sure that the store via get_paca() doesn't alias the path to cur_cpu_spec->feature. Reorder to put the calls to read_purr and read_spurr adjacent to each other. To add a sense of consistency, reorder the remaining lines to perf

[PATCH 5/6] depend on ->initialized in calc_steal_time

2007-12-13 Thread Milton Miller
If CPU_FTR_PURR is not set, we will never set cpu_purr_data->initialized. Checking via __get_cpu_var on 64 bit avoids one dependent load compared to cpu_has_feature in the not present case, and is always required when it is present. The code is under CONFIG_VIRT_CPU_ACCOUNTING so 32 bit will not b

[PATCH 4/6] timer interrupt: use a struct for two per_cpu varables

2007-12-13 Thread Milton Miller
timer_interrupt was calculating per_cpu_offset several times, having to start from the toc because of potential aliasing issues. Placing both decrementer per_cpu varables in a struct and calculating the address once with __get_cpu_var results in better code on both 32 and 64 bit. Signed-off-by: M

[PATCH 3/6] use __get_cpu_var in time.c

2007-12-13 Thread Milton Miller
use __get_cpu_var(x) instead of per_cpu(x, smp_processor_id()), as it is optimied on ppc64 to access the current cpus per-cpu offset directly. Its local_paca.offset instead of TOC->paca[local_paca->processor_id].offset. This is the trivial portion, two functions with one use each. Signed-off-by:

[PATCH 2/6] init_decrementer_clockevent can be static __init

2007-12-13 Thread Milton Miller
as its only called from time_init, which is __init. Also remove unneeded forward declaration. Signed-off-by: Milton Miller <[EMAIL PROTECTED]> --- Index: kernel/arch/powerpc/kernel/time.c === --- kernel.orig/arch/powerpc/kernel/time

[PATCH 1/6] push down or eliminate smp_processor_id in xics

2007-12-13 Thread Milton Miller
Delay callling smp_processor_id until its needed. The per-processor interrupt request register and current processor priority register are only accessed on the current cpu. In fact the hypervisor doesn't even let us choose this. The only function to use cpu twice is xics_migrate_irqs_away, not

[PATCH 0/6] xics.c and time.c optimizations

2007-12-13 Thread Milton Miller
The following patches against for-2.2.25 do some optimizations related to the usage smp_processor_id(). The xics one has been tested on SMP on 2.6.23, and still applies cleanly. In time.c I started with the per_cpu to __get_cpu_var transformations which affect ppc64 (the calls were added in 2.6

Re: [PATCH] ipic: ack only for edge interrupts

2007-12-13 Thread Kumar Gala
On Dec 4, 2007, at 5:01 AM, Li Yang wrote: > Only external interrupts in edge detect mode support ack operation. > Therefore, in most cases ack is not needed. The patch makes ipic > ack only when it's needed. This could boost over all system > performance. > > Signed-off-by: Li Yang <[EMAIL P

RE: [PATCH 2/7] [POWERPC] Xilinx: clear data caches.

2007-12-13 Thread Stephen Neuendorffer
Unfortunately, I think your right... The asm code seems so clean at the moment, I don't really want be the one to start tarnishing it with a bunch of little fixups.. :) Steve > -Original Message- > From: Benjamin Herrenschmidt [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 13, 200

Re: [PATCH 2/7] [POWERPC] Xilinx: clear data caches.

2007-12-13 Thread Benjamin Herrenschmidt
On Fri, 2007-12-14 at 11:07 +1100, Benjamin Herrenschmidt wrote: > On Thu, 2007-12-13 at 15:43 -0800, Stephen Neuendorffer wrote: > > This code is needed to boot without a boot loader. > > > > Grant: I'm not sure where the right place to put this is. I'm assuming > > we'll actually need some b

Re: apm_emulation regression

2007-12-13 Thread Rafael J. Wysocki
On Wednesday, 12 of December 2007, Johannes Berg wrote: > > On Wed, 2007-12-12 at 13:45 +1100, Benjamin Herrenschmidt wrote: > > I only just noticed a huge regression that was introduced when we moved > > PowerPC to the generic APM emulation code instead of our own. I'm in > > large part to blame

Re: [PATCH 2/7] [POWERPC] Xilinx: clear data caches.

2007-12-13 Thread Benjamin Herrenschmidt
On Thu, 2007-12-13 at 15:43 -0800, Stephen Neuendorffer wrote: > This code is needed to boot without a boot loader. > > Grant: I'm not sure where the right place to put this is. I'm assuming > we'll actually need some boot code that is not generic? Also, note that > there is a V4FX errata wo

Re: apm_emulation regression

2007-12-13 Thread Benjamin Herrenschmidt
On Fri, 2007-12-14 at 01:10 +0100, Rafael J. Wysocki wrote: > > Hmm. > > I'm not that familiar with the APM emulation code, but the description > of the > problem above suggests that the APM emulation can install a suspend > notifier for this purpose. It can use the new notifier that happens be

Re: apm_emulation regression

2007-12-13 Thread Benjamin Herrenschmidt
On Fri, 2007-12-14 at 11:04 +1100, Benjamin Herrenschmidt wrote: > On Fri, 2007-12-14 at 01:10 +0100, Rafael J. Wysocki wrote: > > > > Hmm. > > > > I'm not that familiar with the APM emulation code, but the description > > of the > > problem above suggests that the APM emulation can install a su

RE: [ofa-general] Re: [ewg] Re: [PATCH] IB/ehca: SerializeHCA-related hCalls on POWER5

2007-12-13 Thread Sean Hefty
>To clarify, an FMR Work Request is simply posted to the SendQ like >any other Work Request (of course the QP has to be privileged, or >it will complete in error). An SQ Post should never block. FMR's as defined by the IB spec and that created by Mellanox are not the same. They, unfortunately, use

[PATCH 7/7] [POWERPC] Xilinx: Update booting-without-of.

2007-12-13 Thread Stephen Neuendorffer
This now better describes what the UBoot device tree generator actually does. In particular: 1) Nodes have a label derived from the device name, and a node name derived from the device type. 2) Usage of compound nodes (representing more than one device in the same IP) which actually works. Thi

[PATCH 5/7] [POWERPC] Xilinx: Update compatible to use values generated by BSP generator.

2007-12-13 Thread Stephen Neuendorffer
Mainly, this involves two changes: 1) xilinx->xlnx (recognized standard is to use the stock ticker) 2) In order to have the device tree focus on describing what the hardware is as exactly as possible, the compatible strings contain the full IP name and IP version. Signed-off-by: Stephen Neuendor

[PATCH 4/7] [POWERPC] Xilinx: update compatible list for interrupt controller

2007-12-13 Thread Stephen Neuendorffer
These values now match what is generated by the uboot BSP generator. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/xilinx_intc.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/sysdev/xilinx_intc.c b/arch/powerpc/sysd

[PATCH 3/7] [POWERPC] Xilinx: Uartlite: Make console output actually work.

2007-12-13 Thread Stephen Neuendorffer
From: Grant Likely <[EMAIL PROTECTED]> Signed-off-by: Grant Likely <[EMAIL PROTECTED]> Fixed to apply against 2.6.24-rc5, and remove DEBUG information. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- drivers/serial/uartlite.c | 121 + 1 f

[PATCH 6/7] [POWERPC] Xilinx: Add correct compatible list for device tree bus bindings.

2007-12-13 Thread Stephen Neuendorffer
Includes both flavors of plb, opb, dcr, and a pseudo 'compound' bus for representing compound peripherals containing more than one logical device. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- arch/powerpc/platforms/40x/virtex.c | 12 +++- 1 files changed, 11 insertions(+)

[PATCH 2/7] [POWERPC] Xilinx: clear data caches.

2007-12-13 Thread Stephen Neuendorffer
This code is needed to boot without a boot loader. Grant: I'm not sure where the right place to put this is. I'm assuming we'll actually need some boot code that is not generic? Also, note that there is a V4FX errata workaround in arch/ppc/boot/head.S, which probably also needs to get pulled

[PATCH 1/7] bootwrapper: Add a firmware-independent "raw" target.

2007-12-13 Thread Stephen Neuendorffer
From: Grant Likely <[EMAIL PROTECTED]> This target produces a flat binary rather than an ELF file, fixes the entry point at the beginning of the image, and takes a complete device tree with no fixups needed. The device tree must have labels on /#address-cells, the timebase frequency, and the memo

Device Tree updates for xilinx.

2007-12-13 Thread Stephen Neuendorffer
These patches synchronize all the in-kernel drivers to use the compatible names generated by the UBoot BSP generator. (at git://git.xilinx.com/gen-mhs-devtree.git) The patches to make this work are coming shortly: patches 1-2 are provided for context only... They're not ready for mainline. They

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

2007-12-13 Thread Josh Boyer
On Fri, 14 Dec 2007 08:37:26 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > On Thu, 2007-12-13 at 15:11 -0600, Josh Boyer wrote: > > Well, there is physical PCI hardware on the boards, yes. But what if > > people have no intention of using it? E.g. they have no devices, etc. > > No

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

2007-12-13 Thread Benjamin Herrenschmidt
On Thu, 2007-12-13 at 15:11 -0600, Josh Boyer wrote: > Well, there is physical PCI hardware on the boards, yes. But what if > people have no intention of using it? E.g. they have no devices, etc. > Now we're requiring PCI support to be built into the kernel. > > I'm just being pedantic about ke

RE: [ofa-general] Re: [ewg] Re: [PATCH] IB/ehca: Serialize HCA-related hCalls on POWER5

2007-12-13 Thread Joachim Fenkes
"Caitlin Bestler" <[EMAIL PROTECTED]> wrote on 13.12.2007 22:08:34: > To clarify, an FMR Work Request is simply posted to the SendQ like > any other Work Request (of course the QP has to be privileged, or > it will complete in error). An SQ Post should never block. This would require hardware su

Re: [PATCH 2/4] mpc8313erdb: Add NAND to device tree, and call of_platform_bus_probe().

2007-12-13 Thread Olof Johansson
On Thu, Dec 13, 2007 at 11:17:14AM -0600, Scott Wood wrote: > Signed-off-by: Scott Wood <[EMAIL PROTECTED]> > diff --git a/arch/powerpc/platforms/83xx/mpc8313_rdb.c > b/arch/powerpc/platforms/83xx/mpc8313_rdb.c > index 6fb8299..3ad482a 100644 > --- a/arch/powerpc/platforms/83xx/mpc8313_rdb.c > +++

RE: [ofa-general] Re: [ewg] Re: [PATCH] IB/ehca: Serialize HCA-related hCalls on POWER5

2007-12-13 Thread Caitlin Bestler
> -Original Message- > From: Joachim Fenkes [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 13, 2007 1:00 PM > To: Caitlin Bestler > Cc: Arnd Bergmann; [EMAIL PROTECTED]; OF-General; LKML; > linuxppc-dev@ozlabs.org; Or Gerlitz; Roland Dreier; Stefan Roscher > Subject: Re: [ofa-genera

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

2007-12-13 Thread Josh Boyer
On Fri, 14 Dec 2007 07:52:57 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > On Thu, 2007-12-13 at 14:40 -0600, Josh Boyer wrote: > > > > > > This one is slightly broken in my opinion. You've added > > > > the ppc_pci_flags to all of these platforms, which is fine for > > your > > >

Re: [ofa-general] Re: [ewg] Re: [PATCH] IB/ehca: Serialize HCA-related hCalls on POWER5

2007-12-13 Thread Joachim Fenkes
[EMAIL PROTECTED] wrote on 13.12.2007 20:22:49: > On Dec 13, 2007 12:30 AM, Or Gerlitz <[EMAIL PROTECTED]> wrote: > > The current implementation of the open iscsi initiator makes sure to > > issue commands in thread (sleepable) context, see iscsi_xmitworker and > > references to it in drivers/scsi

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

2007-12-13 Thread Benjamin Herrenschmidt
On Thu, 2007-12-13 at 14:40 -0600, Josh Boyer wrote: > > > > This one is slightly broken in my opinion. You've added > > > the ppc_pci_flags to all of these platforms, which is fine for > your > > > intended goal. But now all of these platforms _have_ to compile > with > > > PCI enabled or they

Re: [PATCH 1/20] [POWERPC] Reworking machine check handling and Fix 440/440A

2007-12-13 Thread Benjamin Herrenschmidt
> This breaks non-44x based arch/ppc platforms. For example ep405 in > arch/ppc fails with: > > /home/jwboyer/src/linux-2.6/arch/ppc/kernel/traps.c: In function > ‘machine_check_440A’: > /home/jwboyer/src/linux-2.6/arch/ppc/kernel/traps.c:260: error: ‘MCSR_IB’ > undeclared (first use in this f

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

2007-12-13 Thread Josh Boyer
On Fri, 14 Dec 2007 07:37:23 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > This one is slightly broken in my opinion. You've added > > the ppc_pci_flags to all of these platforms, which is fine for your > > intended goal. But now all of these platforms _have_ to compile with > >

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

2007-12-13 Thread Benjamin Herrenschmidt
On Thu, 2007-12-13 at 13:05 -0600, Josh Boyer wrote: > On Thu, 13 Dec 2007 18:38:46 +1100 > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > This makes 4xx embedded platforms re-assign all PCI resources as we > > pretty much never care about what the various firmwares have done on > > thes

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

2007-12-13 Thread Benjamin Herrenschmidt
> This one is slightly broken in my opinion. You've added > the ppc_pci_flags to all of these platforms, which is fine for your > intended goal. But now all of these platforms _have_ to compile with > PCI enabled or they'll break with: > > arch/powerpc/platforms/built-in.o: In function `walnut_

Re: apm_emulation regression

2007-12-13 Thread Benjamin Herrenschmidt
On Thu, 2007-12-13 at 12:40 +0100, Johannes Berg wrote: > > > That basically means X will break. That's why X broke on the latest > > > ubuntu until I whacked some new scripts in them to force console > > > switching, among other things. Possibly other apps that relied > > > on /dev/apm_bios to be

Re: [PATCH/RFC] CPM1: implement GPIO API

2007-12-13 Thread Arnd Bergmann
On Thursday 13 December 2007, Scott Wood wrote: > > +} > > +EXPORT_SYMBOL_GPL(gpio_request); > > This is an API, not internals; can we stick with plain EXPORT_SYMBOL()? The architecture independent API posted by David Brownell uses _GPL, see http://lkml.org/lkml/2007/11/9/141. I'd vote for _GPL

Re: [ofa-general] Re: [ewg] Re: [PATCH] IB/ehca: Serialize HCA-related hCalls on POWER5

2007-12-13 Thread Caitlin Bestler
On Dec 13, 2007 12:30 AM, Or Gerlitz <[EMAIL PROTECTED]> wrote: > Roland Dreier wrote: > > I think the right fix for iSER would be to make iSER work even for > > devices that don't support FMRs. For example cxgb3 doesn't implement > > FMRs so if anyone ever updates iSER to work on iWARP and not ju

Re: [PATCH 1/20] [POWERPC] Reworking machine check handling and Fix 440/440A

2007-12-13 Thread Josh Boyer
On Thu, 13 Dec 2007 18:38:31 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > This adds a cputable function pointer for the CPU-side machine > check handling. The semantic is still the same as the old one, > the one in ppc_md. overrides the one in cputable, though > ultimately we'll want

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

2007-12-13 Thread Josh Boyer
On Thu, 13 Dec 2007 18:38:46 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > This makes 4xx embedded platforms re-assign all PCI resources as we > pretty much never care about what the various firmwares have done on > these, it's generally not compatible with the way the kernel will map

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

2007-12-13 Thread Josh Boyer
On Thu, 13 Dec 2007 18:38:46 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > This makes 4xx embedded platforms re-assign all PCI resources as we > pretty much never care about what the various firmwares have done on > these, it's generally not compatible with the way the kernel will map

Re: [PATCH/RFC] CPM1: implement GPIO API

2007-12-13 Thread Scott Wood
On Thu, Dec 13, 2007 at 03:53:45AM +0300, Anton Vorontsov wrote: > No. This is how gpio api is working currently. With gpiolib[1], most of > these functions will be controller-specific. IIRC, gpiolib is still in > early development stage, so, for now, we have to limit us to one gpio > chip controll

Re: [PATCH] IB/ehca: Fix lock flag location, bump version number

2007-12-13 Thread Roland Dreier
applied, thanks ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

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

2007-12-13 Thread Scott Wood
Signed-off-by: Nick Spence <[EMAIL PROTECTED]> Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- drivers/mtd/nand/Kconfig |9 + drivers/mtd/nand/Makefile|1 + drivers/mtd/nand/fsl_elbc_nand.c | 1281 ++ 3 files changed, 1291 insertions(+)

[PATCH 3/4] mtd: Factor out OF partition support from the NOR driver.

2007-12-13 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- drivers/mtd/Kconfig|8 drivers/mtd/Makefile |1 + drivers/mtd/maps/physmap_of.c | 88 --- drivers/mtd/ofpart.c | 68 +++ include/linux

[PATCH 2/4] nand base: Give drivers a chance to do late initialization.

2007-12-13 Thread Scott Wood
Some nand controllers, such as the Freescale enhanced local bus controller, need to do late initialization based on details of the chip that has been probed, such as chip size, large/small pages, etc. A late_init() callback method is added to allow this. Signed-off-by: Scott Wood <[EMAIL PROTECTE

[PATCH] mpc834x_mds: Fix whitespace and call of_platform_bus_probe().

2007-12-13 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/mpc834x_mds.c | 21 +++-- 1 files changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/83xx/mpc834x_mds.c b/arch/powerpc/platforms/83xx/mpc834x_mds.c index a81bb3c..459fb72 10

[PATCH 2/4] mpc8313erdb: Add NAND to device tree, and call of_platform_bus_probe().

2007-12-13 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8313erdb.dts | 37 + arch/powerpc/platforms/83xx/mpc8313_rdb.c | 17 + 2 files changed, 54 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b

[PATCH 3/4] mpc8313erdb: Add NOR flash to the device tree.

2007-12-13 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8313erdb.dts |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b/arch/powerpc/boot/dts/mpc8313erdb.dts index 86e851a..8c7b645 100644 --- a/arch/powerpc/b

[PATCH 4/4] mpc8313erdb: Update defconfig with NOR flash, NAND flash, and JFFS enabled.

2007-12-13 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- arch/powerpc/configs/mpc8313_rdb_defconfig | 45 --- 1 files changed, 33 insertions(+), 12 deletions(-) diff --git a/arch/powerpc/configs/mpc8313_rdb_defconfig b/arch/powerpc/configs/mpc8313_rdb_defconfig index c9af905..

[PATCH 1/4] mpc8313erdb: Fix whitespace.

2007-12-13 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/mpc8313_rdb.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/83xx/mpc8313_rdb.c b/arch/powerpc/platforms/83xx/mpc8313_rdb.c index 33766b8..6fb8299 100644 --- a/arch/po

[PATCH 1/4] nand base: Don't panic if a controller driver does ecc its own way.

2007-12-13 Thread Scott Wood
Some hardware, such as the enhanced local bus controller used on some mpc83xx chips, does ecc transparently when reading and writing data, rather than providing a generic calculate/correct mechanism that can be exported to the nand subsystem. The subsystem should not BUG() when calculate, correct,

Re: [PATCH/RFC] CPM1: implement GPIO API

2007-12-13 Thread Scott Wood
On Wed, Dec 12, 2007 at 05:42:06PM +0100, Jochen Friedrich wrote: > +int cpm_init_par_io(void) > +{ > + int ret; > + struct device_node *np; > + const u32 *num_ports; > + int i; > + > + np = of_find_node_by_name(NULL, "par_io"); > + if (!np) { > + ret = -ENOENT;

Re: [PATCH RFC 0/7] "NAND on UPM" and related patches

2007-12-13 Thread Anton Vorontsov
On Wed, Dec 12, 2007 at 03:06:54PM -0600, Scott Wood wrote: [...] > >Given that, personally I'd want to lockless variant to stay. > > > >So, you still want to get rid of it? > > Yes, in the absence of benchmarking that shows it makes a real > difference. Benchmarking shows no difference in throu

[PATCH] IB/ehca: Fix lock flag location, bump version number

2007-12-13 Thread Joachim Fenkes
Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- This addresses a comment of Roland and bumps the version number. If it's not too late, please apply for 2.6.24. Thanks! drivers/infiniband/hw/ehca/ehca_classes.h |1 + drivers/infiniband/hw/ehca/ehca_main.c|2 +- drivers/infiniban

[PATCH 6/6] PS3: gelic: Add support for dual network interface

2007-12-13 Thread Masakazu Mokuno
PS3: gelic: Add support for dual network interface Add support for dual network (net_device) interface so that ethernet and wireless can own separate ethX interface. - Export functions which are convenience for both interfaces - Move irq allocation/release code to driver probe/remove handlers

[PATCH 5/6] PS3: gelic: add support for port link status

2007-12-13 Thread Masakazu Mokuno
PS3: gelic: add support for port link status Add support for interrupt driven port link status detection. Signed-off-by: Masakazu Mokuno <[EMAIL PROTECTED]> --- drivers/net/ps3_gelic_net.c | 77 drivers/net/ps3_gelic_net.h |2 + 2 files changed,

[PATCH 4/6] PS3: gelic: remove duplicated ethtool handers

2007-12-13 Thread Masakazu Mokuno
PS3: gelic: remove duplicated ethtool handers Remove some ethtool handers, which the common ethtool handlers already has in functionality Signed-off-by: Masakazu Mokuno <[EMAIL PROTECTED]> --- drivers/net/ps3_gelic_net.c | 43 +++ 1 file changed, 3 inser

[PATCH 3/6] PS3: gelic: code cleanup

2007-12-13 Thread Masakazu Mokuno
PS3: gelic: code cleanup Code cleanup: - Use appropriate prefixes of names instead of fixed 'gelic_net' so that objects of the functions, variables and constants can be esitimate. - Remove definitions for IPSec offload of the gelic hardware. This functionality is never supported in PS3.

Re: [PATCH 2/2] celleb: split machine definition

2007-12-13 Thread Arnd Bergmann
On Thursday 13 December 2007, Ishizaki Kou wrote: > This patch splits machine definition for celleb into two definitoins, > one is for celleb_beat, and another is for celleb_native. Though this > patch looks complex because of sorting some functions, there are no > more semantic changes than that f

[PATCH 2/6] PS3: gelic: Add endianness macros

2007-12-13 Thread Masakazu Mokuno
PS3: gelic: Add endianness macros Mark the members of the structure for DMA descriptor proper endian and use appropriate accessor macros. As gelic driver works only on PS3, all these macros will be expanded null. Signed-off-by: Masakazu Mokuno <[EMAIL PROTECTED]> --- drivers/net/ps3_gelic_net.c

Re: [PATCH 1/2] cleanup calling mmio_nvram_init

2007-12-13 Thread Arnd Bergmann
On Thursday 13 December 2007, Ishizaki Kou wrote: > This patch adds conditional initialization for mmio_nvram_init(). Thanks! > Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> Acked-by: Arnd Bergmann <[EMAIL PROTECTED]> ___ Linuxppc-dev mailing list Li

[PATCH 1/6] PS3: gelic: Fix the wrong dev_id passed

2007-12-13 Thread Masakazu Mokuno
PS3: gelic: Fix the wrong dev_id passed The device id for lv1_net_set_interrupt_status_indicator() would be wrong. This path would be invoked only in the case of the initialization failure. Signed-off-by: Masakazu Mokuno <[EMAIL PROTECTED]> --- drivers/net/ps3_gelic_net.c |2 +- 1 file chang

Re: apm_emulation regression

2007-12-13 Thread Johannes Berg
> > That basically means X will break. That's why X broke on the latest > > ubuntu until I whacked some new scripts in them to force console > > switching, among other things. Possibly other apps that relied > > on /dev/apm_bios to be notified of system suspend/resume broke as well. > > Ah. I gue

Re: [RFC] ehea: kdump support using new shutdown hook

2007-12-13 Thread Subrata Modak
Do you think we can improve upon our own LTP-KDUMP test cases housed here: http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kdump/, because of your changes below: --Subrata On Wed, 2007-12-12 at 17:53 +0100, Thomas Klein wrote: > This patch adds kdump support using the new PPC crash shutdown hoo

Re: cpu frequency governor regression (?)

2007-12-13 Thread Johannes Berg
Ok, umm, sorry for bothering. This is actually a userspace problem. Because I had it written up already below is the mail I was composing; I was just checking whether the same would happen without the performance module loaded, and voila, the same *did* happen which lead me to investigate userspace

  1   2   >