2.6.28 radeon.ko oops, QS22 (Cell) blade.

2009-02-10 Thread Wartan Hachaturow
Hi there. While trying to bring up X.org on this beast, I've stumbled upon this oops in radeon.ko (right on the first write attempt): [drm] Initialized drm 1.1.0 20060810 pci 0005:01:00.0: enabling device (0140 - 0143) [drm] Initialized radeon 1.29.0 20080528 on minor 0 [drm] Setting GART

Re: linux2.6.23-rc2 build errors--kernel/traps.c

2009-02-10 Thread Josh Boyer
On Tue, Feb 10, 2009 at 12:30:11PM +0800, Li Jun (Aaron) wrote: Hi, When I make zImage, the errors below came out. Any tips? [linux-2.6-virtex]$ make zImage CHK include/linux/version.h CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh CHK

Re: next Feb 10: mm/slqb build break

2009-02-10 Thread Pekka Enberg
On Tue, Feb 10, 2009 at 11:54 AM, Sachin P. Sant sach...@in.ibm.com wrote: Sachin P. Sant wrote: Hi Stephen, Todays next randconfig build on powerpc fails with  CC      mm/slqb.o mm/slqb.c: In function __slab_free: mm/slqb.c:1648: error: implicit declaration of function

correct way for handling PCIe in endpoint mode

2009-02-10 Thread Scott Coulter
Hi all, Maybe a silly questions, but what is the suggested way for handling a processor which has a PCIe interface, but the interface is not configured to be the root complex (endpoint only)? Should the PCIe interface appear in the dts? If so, with what parameters? Should the kernel config

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Timur Tabi
On Fri, Feb 6, 2009 at 8:00 AM, Timur Tabi ti...@freescale.com wrote: The i2c_wait() function is using wait_event_interruptible_timeout() to wait for the I2C controller to signal that it has completed an I2C bus operation. If the process that causes the I2C operation terminated abruptly, the

[PATCH] powerpc/83xx: Revive Marvell PHY option on MPC8313E-RDB rev. C boards

2009-02-10 Thread Anton Vorontsov
commit e85477f516c2de7ed515fcf94ceab5282eba7fa4 (powerpc/83xx: Fix TSEC0 workability on MPC8313E-RDB boards) fixed TSEC0 workability for rev. A and rev. B boards by using fixed-link property for VSC 7385 5-port switch. But rev. C boards have an option where TSEC0 connected to a Marvell PHY, which

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Wolfram Sang
On Fri, Feb 06, 2009 at 08:00:37AM -0600, Timur Tabi wrote: The i2c_wait() function is using wait_event_interruptible_timeout() to wait for the I2C controller to signal that it has completed an I2C bus operation. If the process that causes the I2C operation terminated abruptly, the wait will

Re: [PATCH] powerpc/83xx: Revive Marvell PHY option on MPC8313E-RDB rev. C boards

2009-02-10 Thread Kumar Gala
On Feb 10, 2009, at 9:10 AM, Anton Vorontsov wrote: commit e85477f516c2de7ed515fcf94ceab5282eba7fa4 (powerpc/83xx: Fix TSEC0 workability on MPC8313E-RDB boards) fixed TSEC0 workability for rev. A and rev. B boards by using fixed-link property for VSC 7385 5-port switch. But rev. C boards have

Re: Booting 2.6.29-rc3 on mpc8661d_hpcn failing

2009-02-10 Thread Kumar Gala
I might have missed this but what u-boot rev are you using? - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH] powerpc/cell: fix dependency in cpufreq

2009-02-10 Thread Arnd Bergmann
cbe_cpufreq has a partial dependency on cbe_cpufreq_pmi, which cannot be easily expressed in Kconfig. This fixes it by introducing an extra Kconfig symbol CBE_CPUFREQ_PMI_ENABLE. To make the dependency clearer, turn PPC_PMI into an automatic symbol. Reported-by: Michael Neuling mi...@neuling.org

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Jean Delvare
On Tue, 10 Feb 2009 08:59:57 -0600, Timur Tabi wrote: On Fri, Feb 6, 2009 at 8:00 AM, Timur Tabi ti...@freescale.com wrote: The i2c_wait() function is using wait_event_interruptible_timeout() to wait for the I2C controller to signal that it has completed an I2C bus operation. If the

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Timur Tabi
Jean Delvare wrote: No, that's something for either Ben Dooks (Cc'd) or the powerpc tree. This patch has nothing to do with ARM, so Kumar will pick it up, if you ACK it. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Jean Delvare
On Tue, 10 Feb 2009 10:01:54 -0600, Timur Tabi wrote: Jean Delvare wrote: No, that's something for either Ben Dooks (Cc'd) or the powerpc tree. This patch has nothing to do with ARM, so Kumar will pick it up, if you ACK it. Why are you mentioning ARM? From MAINTAINERS: I2C SUBSYSTEM P:

[PATCH] Disable mv643xx Ethernet port 0 on Pegasos

2009-02-10 Thread Gabriel Paubert
After the last changes, the mv643xx_eth driver now detects a spurious interface on port 0. Since only port 1 is actually connected to a PHY, remove its description. Signed-off-by: Gabriel Paubert paub...@iram.es --- Tested on the last batch of Pegasos produced. Caveat: do not enable the Marvell

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Timur Tabi
Jean Delvare wrote: To the best of my knowledge i2c-mpc falls into the embedded platforms category and is thus under Ben's responsibility. I don't see his Signed-off-by on any patch to i2c-mpc.c for the past three years (at least). I do see yours, however. You have directly applied similar

Re: correct way for handling PCIe in endpoint mode

2009-02-10 Thread Ira Snyder
On Tue, Feb 10, 2009 at 07:39:47AM -0500, Scott Coulter wrote: Hi all, Maybe a silly questions, but what is the suggested way for handling a processor which has a PCIe interface, but the interface is not configured to be the root complex (endpoint only)? Should the PCIe interface appear

Re: [PATCH] Only disable/enable LSI interrupts in EEH

2009-02-10 Thread Linas Vepstas
2009/2/9 Mike Mason mm...@us.ibm.com: The EEH code disables and enables interrupts during the device recovery process. This is unnecessary for MSI and MSI-X interrupts because they are effectively disabled by the DMA Stopped state when an EEH error occurs. The current code is also incorrect

[PATCH] powerpc/mm: Fix _PAGE_COHERENT support on classic ppc32 HW

2009-02-10 Thread Kumar Gala
The following commit: commit 64b3d0e8122b422e879b23d42f9e0e8efbbf9744 Author: Benjamin Herrenschmidt b...@kernel.crashing.org Date: Thu Dec 18 19:13:51 2008 + powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED broke setting of the _PAGE_COHERENT bit in the PPC HW PTE. Since

Re: Booting 2.6.29-rc3 on mpc8661d_hpcn failing

2009-02-10 Thread Kumar Gala
I've posted a patch that I believe should fix your issue. - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] Only disable/enable LSI interrupts in EEH

2009-02-10 Thread Mike Mason
I'm resubmitting this patch with a couple changes suggested by Michael Ellerman. 1) the new functions should be static, and 2) some people may object to including unrelated formating changes. = The EEH code disables and enables interrupts

2.6.27.6 kernel Bad trap boot problem on MPC8568E

2009-02-10 Thread Scott Coulter
Hi, I am trying to get a 2.6.27.6 kernel to boot on an MPC8568E processor. The kernel/patches/compiler came from Freescale's LTIB release in December 2008. Using the same kernel source, toolchain, and ramdisk image, I can boot and run an SMP kernel on the MPC8572E processor which is on the

Re: 2.6.27.6 kernel Bad trap boot problem on MPC8568E

2009-02-10 Thread Scott Wood
Scott Coulter wrote: Bad trap at PC: 100b7354, SR: 2d000, vector=2020 init has generated signal 5 but has no handler for it Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds.. I am not using a debugger, so I can't see where the SIGTRAP would be coming from. That's

RE: 2.6.27.6 kernel Bad trap boot problem on MPC8568E

2009-02-10 Thread Scott Coulter
Scott That's an SPE Unavailable exception. Try enabling CONFIG_SPE. That was the problem. Thanks for your help. Scott ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH v3 2/4] powerpc: Generic device tree for all AmigaOne boards

2009-02-10 Thread Gerhard Pircher
This device tree does not provide the correct CPU name, as various CPU models and revisions are used in AmigaOnes. Also the PCI root node does not contain a interrupt mapping property, as all boards have different interrupt routing. However the kernel can do a 1:1 mapping of all PCI interrupts, as

[PATCH v3 3/4] powerpc: Bootwrapper and serial console support for AmigaOne

2009-02-10 Thread Gerhard Pircher
This adds the bootwrapper for the cuImage target and a compatible property check for pnpPNP,501 to the generic serial console support code. The default link address for the cuImage target is set to 0x80. This allows to boot the kernel with AmigaOS4's second level bootloader, which always loads

[PATCH v3 4/4] powerpc: Default config for AmigaOne boards

2009-02-10 Thread Gerhard Pircher
CONFIG_CC_OPTIMIZE_FOR_SIZE is selected, because otherwise the kernel wouldn't boot. The AmigaOne's U-boot firmware seems to have a problem loading uImages bigger than 1.8 MB. Signed-off-by: Gerhard Pircher gerhard_pirc...@gmx.net --- arch/powerpc/configs/amigaone_defconfig | 1636

Re: [PATCH] powerpc/cell: fix dependency in cpufreq

2009-02-10 Thread Michael Neuling
cbe_cpufreq has a partial dependency on cbe_cpufreq_pmi, which cannot be easily expressed in Kconfig. This fixes it by introducing an extra Kconfig symbol CBE_CPUFREQ_PMI_ENABLE. To make the dependency clearer, turn PPC_PMI into an automatic symbol. Reported-by: Michael Neuling

Re: [patch] powerpc/ps3: Use hard coded values for LV1 device type

2009-02-10 Thread Geoff Levand
James Bottomley wrote: On Mon, 2009-02-09 at 11:11 +1100, Benjamin Herrenschmidt wrote: The PS3 platform code wants to use some of the standard SCSI types from there though, as they are part of the hypervisor ABI. (And in fact it can be argued that non-block devices using SCSI do exist, such

Re: [PATCH] powerpc/mm: Fix _PAGE_COHERENT support on classic ppc32 HW

2009-02-10 Thread Becky Bruce
On Feb 10, 2009, at 2:57 PM, Kumar Gala wrote: The following commit: commit 64b3d0e8122b422e879b23d42f9e0e8efbbf9744 Author: Benjamin Herrenschmidt b...@kernel.crashing.org Date: Thu Dec 18 19:13:51 2008 + powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED broke setting of

Re: [PATCH] Only disable/enable LSI interrupts in EEH

2009-02-10 Thread Michael Ellerman
On Tue, 2009-02-10 at 11:14 -0600, Linas Vepstas wrote: 2009/2/9 Mike Mason mm...@us.ibm.com: The EEH code disables and enables interrupts during the device recovery process. This is unnecessary for MSI and MSI-X interrupts because they are effectively disabled by the DMA Stopped state

Re: [PATCH] Only disable/enable LSI interrupts in EEH

2009-02-10 Thread Michael Ellerman
On Tue, 2009-02-10 at 13:12 -0800, Mike Mason wrote: I'm resubmitting this patch with a couple changes suggested by Michael Ellerman. 1) the new functions should be static, and 2) some people may object to including unrelated formating changes.

Re: [PATCH] Only disable/enable LSI interrupts in EEH

2009-02-10 Thread Linas Vepstas
2009/2/10 Michael Ellerman mich...@ellerman.id.au: On Tue, 2009-02-10 at 11:14 -0600, Linas Vepstas wrote: On a somewhat-related note: there was an issue (I forget the details) where the kernel needed to shadow some sort of MSI state so that it could be correctly, um, kept-track-of, after an

[PATCH] powerpc/fsl-booke: Add new ISA 2.06 page sizes and MAS defines

2009-02-10 Thread Kumar Gala
The Power ISA 2.06 added power of two page sizes to the embedded MMU architecture. Its done it such a way to be code compatiable with the existing HW. Made the minor code changes to support both power of two and power of four page sizes. Also added some new MAS bits and macros that are defined

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Ben Dooks
On Tue, Feb 10, 2009 at 10:21:04AM -0600, Timur Tabi wrote: Jean Delvare wrote: To the best of my knowledge i2c-mpc falls into the embedded platforms category and is thus under Ben's responsibility. I don't see his Signed-off-by on any patch to i2c-mpc.c for the past three years (at

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Ben Dooks
On Fri, Feb 06, 2009 at 08:00:37AM -0600, Timur Tabi wrote: The i2c_wait() function is using wait_event_interruptible_timeout() to wait for the I2C controller to signal that it has completed an I2C bus operation. If the process that causes the I2C operation terminated abruptly, the wait will

[PATCH v2] powerpc/fsl-booke: Add new ISA 2.06 page sizes and MAS defines

2009-02-10 Thread Kumar Gala
The Power ISA 2.06 added power of two page sizes to the embedded MMU architecture. Its done it such a way to be code compatiable with the existing HW. Made the minor code changes to support both power of two and power of four page sizes. Also added some new MAS bits and macros that are defined

[PATCH v4] powerpc: Unify opcode definitions and support

2009-02-10 Thread Kumar Gala
Create a new header that becomes a single location for defining PowerPC opcodes used by code that is either generationg instructions at runtime (fixups, debug, etc.), emulating instructions, or just compiling instructions old assemblers don't know about. We currently don't handle the floating

Re: [PATCH v4] powerpc: Unify opcode definitions and support

2009-02-10 Thread Stephen Rothwell
Hi Kumar, On Tue, 10 Feb 2009 18:28:30 -0600 Kumar Gala ga...@kernel.crashing.org wrote: +++ b/arch/powerpc/include/asm/ppc-opcode.h @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2009 Freescale Semicondutor, Inc. All rights reserved. If you are going to use All rights reserved, you should also

[PATCH] powerpc: Rework I$/D$ coherency (v3)

2009-02-10 Thread Benjamin Herrenschmidt
This patch reworks the way we do I and D cache coherency on PowerPC. The old way was split in 3 different parts depending on the processor type: - Hash with per-page exec support (64-bit and = POWER4 only) does it at hashing time, by preventing exec on unclean pages and cleaning pages on exec

problem with numa reserve bootmem

2009-02-10 Thread Geoff Levand
Hi Jon, Jon Tollefson wrote: This patch takes out the reserved region loop from inside the loop that goes over each node. It looks up the active region containing the start of the reserved region. If it extends past that active region then it adjusts the size and gets the next active region

Re: problem with numa reserve bootmem

2009-02-10 Thread Michael Ellerman
On Tue, 2009-02-10 at 19:17 -0800, Geoff Levand wrote: Hi Jon, Jon Tollefson wrote: This patch takes out the reserved region loop from inside the loop that goes over each node. It looks up the active region containing the start of the reserved region. If it extends past that active

Re: [PATCH 1/3] Makefile: Include arch Makefiles as late as possible

2009-02-10 Thread Benjamin Herrenschmidt
On Wed, 2009-02-04 at 22:26 +0100, Ingo Molnar wrote: +include $(srctree)/arch/$(SRCARCH)/Makefile + # arch Makefile may override CC so keep this after arch Makefile is included NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) CHECKFLAGS +=

[PATCH] vmalloc: Add __get_vm_area_caller()

2009-02-10 Thread Benjamin Herrenschmidt
We have get_vm_area_caller() and __get_vm_area() but not __get_vm_area_caller() On powerpc, I use __get_vm_area() to separate the ranges of addresses given to vmalloc vs. ioremap (various good reasons for that) so in order to be able to implement the new caller tracking in /proc/vmallocinfo, I

test branch update

2009-02-10 Thread Benjamin Herrenschmidt
Hi ! The powerpc.git test branch has been rebased on top of next with the addition of the following patches: commit 8d30c14cab30d405a05f2aaceda1e9ad57800f36 Author: Benjamin Herrenschmidt b...@kernel.crashing.org Date: Tue Feb 10 16:02:37 2009 + powerpc/mm: Rework I$/D$ coherency (v3)

[git pull] Please pull powerpc.git merge branch

2009-02-10 Thread Benjamin Herrenschmidt
Hi Linus ! This is a single patch, to fix a regression introduced in this merge window. Please apply. The following changes since commit 1db8508cf483dc1ecf66141f90a7c03659d69512: Stefan Richter (1): hugetlbfs: fix build failure with !CONFIG_HUGETLBFS are available in the git

Re: [patch] powerpc/ps3: Use hard coded values for LV1 device type

2009-02-10 Thread Sachin P. Sant
James Bottomley wrote: Actually, I think the fix lies in scsi.h ... we can make that into a nicely independent protocol header file. Your current woes come because it pulls in scsi_cmnd.h ... perhaps just getting rid of this will fix it. Can the rest of linux-scsi verify that the fix below

[PATCH v5] powerpc: Unify opcode definitions and support

2009-02-10 Thread Kumar Gala
Create a new header that becomes a single location for defining PowerPC opcodes used by code that is either generationg instructions at runtime (fixups, debug, etc.), emulating instructions, or just compiling instructions old assemblers don't know about. We currently don't handle the floating

Re: [PATCH v4] powerpc: Unify opcode definitions and support

2009-02-10 Thread Kumar Gala
On Feb 10, 2009, at 6:40 PM, Stephen Rothwell wrote: Hi Kumar, On Tue, 10 Feb 2009 18:28:30 -0600 Kumar Gala ga...@kernel.crashing.org wrote: +++ b/arch/powerpc/include/asm/ppc-opcode.h @@ -0,0 +1,68 @@ +/* + * Copyright (C) 2009 Freescale Semicondutor, Inc. All rights reserved. If

[PATCH] powerpc/fsl-booke: Add support for tlbilx instructions

2009-02-10 Thread Kumar Gala
The e500mc core supports the new tlbilx instructions that do core local invalidates and also provide us the ability to take down all TLB entries matching a given PID. Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- (depends on the powerpc: Unify opcode definitions and support patch)

Re: [PATCH v4] powerpc: Unify opcode definitions and support

2009-02-10 Thread Stephen Rothwell
Hi Kumar, On Wed, 11 Feb 2009 00:11:32 -0600 Kumar Gala ga...@kernel.crashing.org wrote: posted a new version that should fix this (added GPL license) Thanks. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpIDPl9omBfj.pgp