Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Anton Vorontsov
On Thu, Oct 02, 2008 at 10:27:57AM -0500, Timur Tabi wrote: Modify the Kconfig so that Freescale QUICC Engine (QE) support is a selectable option, thereby allowing users to compile kernels without any QE support. The drawback is that QE support is now disabled by default on platforms that

Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Kumar Gala
On Oct 3, 2008, at 2:04 AM, Anton Vorontsov wrote: On Thu, Oct 02, 2008 at 10:27:57AM -0500, Timur Tabi wrote: Modify the Kconfig so that Freescale QUICC Engine (QE) support is a selectable option, thereby allowing users to compile kernels without any QE support. The drawback is that QE

Re: [RFC/PATCH] Block device for the ISS simulator

2008-10-03 Thread Christoph Hellwig
On Fri, Oct 03, 2008 at 10:08:42AM +1000, Benjamin Herrenschmidt wrote: The ISS simulator is a simple powerpc simulator used among other things for hardware bringup. It implements a simple memory mapped block device interface. This is a simple block driver that attaches to it. Note that the

Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Anton Vorontsov
On Fri, Oct 03, 2008 at 02:58:57AM -0500, Kumar Gala wrote: On Oct 3, 2008, at 2:04 AM, Anton Vorontsov wrote: On Thu, Oct 02, 2008 at 10:27:57AM -0500, Timur Tabi wrote: Modify the Kconfig so that Freescale QUICC Engine (QE) support is a selectable option, thereby allowing users to

Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Anton Vorontsov
On Fri, Oct 03, 2008 at 12:48:49PM +0400, Anton Vorontsov wrote: On Fri, Oct 03, 2008 at 02:58:57AM -0500, Kumar Gala wrote: On Oct 3, 2008, at 2:04 AM, Anton Vorontsov wrote: On Thu, Oct 02, 2008 at 10:27:57AM -0500, Timur Tabi wrote: Modify the Kconfig so that Freescale QUICC Engine

Re: [PATCH,CFT] dynamic struct mii_bus allocation

2008-10-03 Thread Lennert Buytenhek
On Fri, Oct 03, 2008 at 11:36:01AM +0200, Laurent Pinchart wrote: Hi Lennert, Hi Laurent, You're listed as maintainer of one of the network drivers in the tree that use phylib. Available at the URL below is a change to the phylib API (dynamic allocation of struct mii_bus, which is

[RFC/PATCH 1/2] pci: Add ability to mmap legacy_io on some platforms

2008-10-03 Thread Benjamin Herrenschmidt
This adds the ability to mmap legacy IO space to the legacy_io files in sysfs on platforms that support it. This will allow to clean up X to use this instead of /dev/mem for legacy IO accesses such as those performed by Int10. While at it I moved pci_create/remove_legacy_files() to pci-sysfs.c

[RFC/PATCH 2/2] powerpc: Add legacy PCI access via sysfs

2008-10-03 Thread Benjamin Herrenschmidt
This patch adds support for legacy_io and legacy_mem files in bus class directories in sysfs for powerpc Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] --- Unfortunately, I didn't have a chance to properly test it yet. I was hoping to use an old VGA card to muck around with but the card

Re: [RFC/PATCH] Block device for the ISS simulator

2008-10-03 Thread Benjamin Herrenschmidt
On Fri, 2008-10-03 at 04:35 -0400, Christoph Hellwig wrote: On Fri, Oct 03, 2008 at 10:08:42AM +1000, Benjamin Herrenschmidt wrote: The ISS simulator is a simple powerpc simulator used among other things for hardware bringup. It implements a simple memory mapped block device interface.

Re: [PATCH,CFT] dynamic struct mii_bus allocation

2008-10-03 Thread Laurent Pinchart
On Friday 03 October 2008, Lennert Buytenhek wrote: On Fri, Oct 03, 2008 at 11:36:01AM +0200, Laurent Pinchart wrote: Hi Lennert, Hi Laurent, You're listed as maintainer of one of the network drivers in the tree that use phylib. Available at the URL below is a change to the

[PATCH] powerpc: Fix a typo that breaks canyonland support

2008-10-03 Thread Benjamin Herrenschmidt
A typo in the new ppc4xx_simple.c prevents proper detection of the AMCC Canyonland board. Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] --- arch/powerpc/platforms/44x/ppc44x_simple.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

Re: [PATCH,CFT] dynamic struct mii_bus allocation

2008-10-03 Thread Laurent Pinchart
Hi Lennert, On Thursday 02 October 2008, Lennert Buytenhek wrote: Hi *, You're listed as maintainer of one of the network drivers in the tree that use phylib. Available at the URL below is a change to the phylib API (dynamic allocation of struct mii_bus, which is needed for hooking up

Re: [RFC/PATCH] Block device for the ISS simulator

2008-10-03 Thread Josh Boyer
On Fri, Oct 03, 2008 at 10:08:42AM +1000, Benjamin Herrenschmidt wrote: +static void iss_blk_setup(struct iss_blk *ib) +{ + unsigned long flags; + u32 stat; + + pr_debug(iss_blk_setup %d\n, ib-devno); + + spin_lock_irqsave(iss_blk_reglock, flags); +

Re: [PATCH] powerpc: Fix a typo that breaks canyonland support

2008-10-03 Thread Josh Boyer
On Fri, Oct 03, 2008 at 07:33:20PM +1000, Benjamin Herrenschmidt wrote: A typo in the new ppc4xx_simple.c prevents proper detection of the AMCC Canyonland board. Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] This is already fixed in my 'next' branch. josh

Re: [PATCH] powerpc: Fix a typo that breaks canyonland support

2008-10-03 Thread Benjamin Herrenschmidt
On Fri, 2008-10-03 at 08:04 -0400, Josh Boyer wrote: On Fri, Oct 03, 2008 at 07:33:20PM +1000, Benjamin Herrenschmidt wrote: A typo in the new ppc4xx_simple.c prevents proper detection of the AMCC Canyonland board. Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] This is already

Re: [RFC/PATCH] Block device for the ISS simulator

2008-10-03 Thread Benjamin Herrenschmidt
On Fri, 2008-10-03 at 08:03 -0400, Josh Boyer wrote: On Fri, Oct 03, 2008 at 10:08:42AM +1000, Benjamin Herrenschmidt wrote: +static void iss_blk_setup(struct iss_blk *ib) +{ +unsigned long flags; +u32 stat; + +pr_debug(iss_blk_setup %d\n, ib-devno); + +

Re: [PATCH] powerpc: Simple platform for the ISS 4xx simulator

2008-10-03 Thread Josh Boyer
On Fri, Oct 03, 2008 at 10:07:19AM +1000, Benjamin Herrenschmidt wrote: Index: linux-work/arch/powerpc/boot/dts/iss4xx.dts === --- /dev/null 1970-01-01 00:00:00.0 + +++ linux-work/arch/powerpc/boot/dts/iss4xx.dts

Re: [PATCH] powerpc: Fix a typo that breaks canyonland support

2008-10-03 Thread Josh Boyer
On Fri, Oct 03, 2008 at 10:18:06PM +1000, Benjamin Herrenschmidt wrote: On Fri, 2008-10-03 at 08:04 -0400, Josh Boyer wrote: On Fri, Oct 03, 2008 at 07:33:20PM +1000, Benjamin Herrenschmidt wrote: A typo in the new ppc4xx_simple.c prevents proper detection of the AMCC Canyonland board.

Please pull 'next' branch of 4xx tree

2008-10-03 Thread Josh Boyer
Hi Ben, Here's the pull request for my current set of patches. I might have a few more later, but lets get these in now. josh The following changes since commit 1afb7f809bfb8fad9eec9419f3dfd75cee746ebd: Paul Mackerras (1): Merge branch 'powerpc-next' of

Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Timur Tabi
Anton Vorontsov wrote: Btw, as for the need.. yes, it was needed to support the FHCI. But now the FHCI would just depend on it, which is better approach anyway. I also noticed that QE GPIO support is a top-level Kconfig option, instead of under Device Drivers - GPIO. Is that intentional? --

Re: [RFC/PATCH 1/2] pci: Add ability to mmap legacy_io on some platforms

2008-10-03 Thread Jesse Barnes
On Friday, October 3, 2008 2:49 am Benjamin Herrenschmidt wrote: This adds the ability to mmap legacy IO space to the legacy_io files in sysfs on platforms that support it. This will allow to clean up X to use this instead of /dev/mem for legacy IO accesses such as those performed by Int10.

Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Anton Vorontsov
On Fri, Oct 03, 2008 at 10:43:50AM -0500, Timur Tabi wrote: Anton Vorontsov wrote: Btw, as for the need.. yes, it was needed to support the FHCI. But now the FHCI would just depend on it, which is better approach anyway. I also noticed that QE GPIO support is a top-level Kconfig option,

Re: [RFC/PATCH 2/2] powerpc: Add legacy PCI access via sysfs

2008-10-03 Thread Jesse Barnes
On Friday, October 3, 2008 2:49 am Benjamin Herrenschmidt wrote: + /* WARNING: The generic code is idiotic. It gets passed a pointer + * to what can be a 1, 2 or 4 byte quantity and always reads that + * as a u32, which means that we have to correct the location of + * the

[PATCH v2] powerpc/83xx: don't probe broken PCI on mpc837x_mds boards

2008-10-03 Thread Anton Vorontsov
In the standalone setup the board's CPLD disables the PCI internal arbiter, thus any access to the PCI bus will hang the board. When there is no PCI arbiter on the bus the u-boot adds status = broken (no arbiter) property into the PCI controller's node, and so marks the PCI controller as

Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Timur Tabi
Anton Vorontsov wrote: Yup. David said that platform GPIO controllers should not go into the drivers/gpio/, their place is in the arch/. Then when I do make menuconfig, why doesn't that option appear under Platform support? This is what I see now: [*] Networking support --- Device

Re: [PATCH v2] powerpc/83xx: don't probe broken PCI on mpc837x_mds boards

2008-10-03 Thread Kumar Gala
On Oct 3, 2008, at 11:08 AM, Anton Vorontsov wrote: In the standalone setup the board's CPLD disables the PCI internal arbiter, thus any access to the PCI bus will hang the board. When there is no PCI arbiter on the bus the u-boot adds status = broken (no arbiter) property into the PCI

[PATCH v2] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Timur Tabi
Modify the Kconfig so that Freescale QUICC Engine (QE) support is a selectable option, thereby allowing users to compile kernels without any QE support. The drawback is that QE support is now disabled by default on platforms that have a QE, and so a defconfig is needed to enable QE and QE devices

Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Kumar Gala
On Oct 3, 2008, at 11:09 AM, Timur Tabi wrote: Anton Vorontsov wrote: Yup. David said that platform GPIO controllers should not go into the drivers/gpio/, their place is in the arch/. Then when I do make menuconfig, why doesn't that option appear under Platform support? This is what I

Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Anton Vorontsov
Otherwise user-selectable options appears at the top level. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- On Fri, Oct 03, 2008 at 11:09:09AM -0500, Timur Tabi wrote: Anton Vorontsov wrote: Yup. David said that platform GPIO controllers should not go into the drivers/gpio/, their

Re: [PATCH v2] powerpc/83xx: don't probe broken PCI on mpc837x_mds boards

2008-10-03 Thread Anton Vorontsov
On Fri, Oct 03, 2008 at 11:14:18AM -0500, Kumar Gala wrote: On Oct 3, 2008, at 11:08 AM, Anton Vorontsov wrote: In the standalone setup the board's CPLD disables the PCI internal arbiter, thus any access to the PCI bus will hang the board. When there is no PCI arbiter on the bus the u-boot

Re: [PATCH] dma: add new dma_mapping_ops API sync_page

2008-10-03 Thread Remi Machet
On Wed, 2008-10-01 at 15:03 -0700, Remi Machet wrote: This patch replaces the global APIs __dma_sync and __dma_sync_page with a new dma_mapping_ops API named sync_page. This is necessary to make sure that the proper synchronization mechanism is used for a device DMA depending on the bus the

Re: [PATCH] Install document convert-dtsv0

2008-10-03 Thread Jon Loeliger
Patch against http://www.jdl.com/software/dtc.git Signed-off-by: Niklaus Giger [EMAIL PROTECTED] --- Documentation/manual.txt | 20 Makefile |1 + 2 files changed, 21 insertions(+), 0 deletions(-) Applied. Thanks, jdl

Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Timur Tabi
On Fri, Oct 3, 2008 at 11:23 AM, Anton Vorontsov [EMAIL PROTECTED] wrote: How about this patch? Or we can move QUICC_ENGINE into the qe_lib/Kconfig and include it in the platform/Kconfig... either way would work. Thanks for noticing. arch/powerpc/Kconfig |2 --

Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Kumar Gala
I think arch/powerpc/sysdev/qe_lib/Kconfig inclusion should be fixed. How about this patch? Or we can move QUICC_ENGINE into the qe_lib/Kconfig and include it in the platform/Kconfig... either way would work. Thanks for noticing. I want to leave the hidden options in qe_lib/Kconfig.. just

Re: [PATCH v2] powerpc/83xx: don't probe broken PCI on mpc837x_mds boards

2008-10-03 Thread Kumar Gala
On Oct 3, 2008, at 11:27 AM, Anton Vorontsov wrote: On Fri, Oct 03, 2008 at 11:14:18AM -0500, Kumar Gala wrote: On Oct 3, 2008, at 11:08 AM, Anton Vorontsov wrote: In the standalone setup the board's CPLD disables the PCI internal arbiter, thus any access to the PCI bus will hang the

2.6.27-rc8 boot failure

2008-10-03 Thread Badari Pulavarty
Hi, I am not able to boot my Power5 box with 2.6.27-rc8 (defconfig). However, I am able to boot with my own custom config. Known issue ? Thanks, Badari boot: 2627rc8 Please wait, loading kernel... Elf32 kernel loaded... zImage starting: loaded at 0x040001fc (sp: 0x019ffa80) Allocating

RE: [RFC/PATCH 1/2] pci: Add ability to mmap legacy_io on some platforms

2008-10-03 Thread Luck, Tony
I didn't have a chance to test that I didn't break ia64, so I would be if somebody could give it a spin there ! Thanks ! All my ia64 config variations still build cleanly with these two patches applied. I booted a couple of systems too with no obvious ill-effects. I have the same set of

[PATCH] powerpc/QE: move QE_GPIO Kconfig symbol into the platforms/Kconfig

2008-10-03 Thread Anton Vorontsov
Specifying user-selectable option in the qe_lib/Kconfig was a bad idea because the qe_lib/Kconfig is included into the top level Kconfig, and thus the QE_GPIO option appears at the top level menu. This patch effectively moves the QE_GPIO option under the platform menu instead. Signed-off-by:

Re: [PATCH,CFT] dynamic struct mii_bus allocation

2008-10-03 Thread Vitaly Bordug
On Thu, Oct 02, 2008 at 12:15 +0200, Lennert Buytenhek wrote: Hi *, You're listed as maintainer of one of the network drivers in the tree that use phylib. Available at the URL below is a change to the phylib API (dynamic allocation of struct mii_bus, which is needed for hooking up mdio

Re: [RFC/PATCH 2/2] powerpc: Add legacy PCI access via sysfs

2008-10-03 Thread Benjamin Herrenschmidt
On Fri, 2008-10-03 at 08:59 -0700, Jesse Barnes wrote: Feel free to change the generic code if it makes things easier for you, the only limitation is that we have to live within the generic sysfs read/write functions. Obviously I didn't worry about it when doing this code on ia64... I

Re: [PATCH] powerpc/QE: move QE_GPIO Kconfig symbol into the platforms/Kconfig

2008-10-03 Thread Kumar Gala
On Oct 3, 2008, at 2:40 PM, Anton Vorontsov wrote: Specifying user-selectable option in the qe_lib/Kconfig was a bad idea because the qe_lib/Kconfig is included into the top level Kconfig, and thus the QE_GPIO option appears at the top level menu. This patch effectively moves the QE_GPIO

Re: [PATCH v2] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Timur Tabi
Kumar Gala wrote: applied I have a few other patches that I've sent you over the past couple weeks that you haven't applied: powerpc: fix conflict with Elo DMA driver in MPC8610 device tree powerpc: remove CHRP and PMAC support from defconfigs, fix Kconfigs powerpc: remove support for

Re: [PATCH] powerpc: FPGA support for GE Fanuc SBC610

2008-10-03 Thread Kumar Gala
On Oct 1, 2008, at 7:46 AM, Martyn Welch wrote: Support for the SBC610 VPX Single Board Computer from GE Fanuc (PowerPC MPC8641D). This patch adds support for the registers held in the devices main FPGA, exposing extra information about the revision of the board through cpuinfo.

Re: [PATCH v2] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Kumar Gala
On Oct 3, 2008, at 11:14 AM, Timur Tabi wrote: Modify the Kconfig so that Freescale QUICC Engine (QE) support is a selectable option, thereby allowing users to compile kernels without any QE support. The drawback is that QE support is now disabled by default on platforms that have a QE,

Re: [RFC/PATCH 2/2] powerpc: Add legacy PCI access via sysfs

2008-10-03 Thread Benjamin Herrenschmidt
On Fri, 2008-10-03 at 15:09 -0700, Jesse Barnes wrote: On Friday, October 3, 2008 2:52 pm Benjamin Herrenschmidt wrote: On Fri, 2008-10-03 at 08:59 -0700, Jesse Barnes wrote: Feel free to change the generic code if it makes things easier for you, the only limitation is that we have to

Re: [RFC/PATCH 2/2] powerpc: Add legacy PCI access via sysfs

2008-10-03 Thread Jesse Barnes
On Friday, October 3, 2008 2:52 pm Benjamin Herrenschmidt wrote: On Fri, 2008-10-03 at 08:59 -0700, Jesse Barnes wrote: Feel free to change the generic code if it makes things easier for you, the only limitation is that we have to live within the generic sysfs read/write functions.

Re: [PATCH v2] powerpc: make Freescale QE support a selectable Kconfig option

2008-10-03 Thread Kumar Gala
On Oct 3, 2008, at 4:57 PM, Timur Tabi wrote: powerpc: fix conflict with Elo DMA driver in MPC8610 device tree in my queue. powerpc: remove CHRP and PMAC support from defconfigs, fix Kconfigs For BenH to look at. powerpc: remove support for bootmem-allocated memory for the DIU driver

Before adding preiliminary support for Netstal HCU4 (PPC405 based) board

2008-10-03 Thread Niklaus Giger
Hi I will soon submit a patch to add some support for a custom board. I am a SW engineer at Netstal Maschinen in Switzerland. As I would like to get out of the current proprietary OS we currently are using, I have been following more or less closely the Linux kernel for quite a few years.

Re: regression on imac G3: problems with sound

2008-10-03 Thread risto . suominen
2008/10/1, Mariusz Kozlowski [EMAIL PROTECTED]: Hello, I found that on my old iMac G3 aumix behaves weird on newer (up to 2.6.27-rc8) kernels. The sound is only present _when_ muted and is quiet I'd say 10% of 'normal' max level. If you turn the volume up - the box is silent. If you

ehea: Error in ehea_treat_poll_error: CQE Error for QP 16

2008-10-03 Thread Elbert C Hu
System log shows a lot of ehea: Error, see below, during system start up. Not sure what it is. I'd like to understand this, could someone points me the direction? My Machine Type and Model ... ST9146802SS reported from lscfg (p6 blade). OS is RHEL 5.2. Kernel level is 2.6.18-92.1.10.el5.