Re: Re: How to support 3GB pci address?

2008-12-12 Thread maillist.kernel
Thanks for all the suggestions and Comments! In the system, the total memory size is less than 4GB. I want to know how to map the 3GB pci address to the kernel , and how can my driver access all the pci device. Usually we have only 1GB kernel address, minus the 896MB for memory map, we can onl

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread David Gibson
On Fri, Dec 12, 2008 at 01:39:45PM -0800, Trent Piepho wrote: > On Fri, 12 Dec 2008, Anton Vorontsov wrote: > > On Fri, Dec 12, 2008 at 11:59:13AM -0500, Steven A. Falco wrote: > >> What do you think about having a mechanism to specify that some > >> SPI slaves have a chip select, while others don'

Re: powerbook VT garbled between rc7 and rc8

2008-12-12 Thread Johannes Berg
On Fri, 2008-12-12 at 13:05 +0100, Andreas Schwab wrote: > Johannes Berg writes: > > > After upgrading to -rc8 yesterday my powerbook started up today with the > > screen totally garbled, only occasionally was a word readable. > > Try 6c34bc2976b30dc8b56392c020e25bae1f363cab (Revert "radeonfb: >

Re: Trying to understand ppc4xx_configure_pciex_PIMs mapping to physical address 0

2008-12-12 Thread Benjamin Herrenschmidt
On Fri, 2008-12-12 at 10:49 -0600, Ayman El-Khashab wrote: > I am using the ppc460ex as an endpoint and I see that the mentioned > function setups a 32Mb > window at address 0 in sdram. what i want is some memory that the > host can read/write to. > But the 32Mb that are already mapped at the bott

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Trent Piepho
On Fri, 12 Dec 2008, Anton Vorontsov wrote: > On Fri, Dec 12, 2008 at 11:59:13AM -0500, Steven A. Falco wrote: >> What do you think about having a mechanism to specify that some >> SPI slaves have a chip select, while others don't have to have a >> chip select managed by the SPI subsystem? > > Um..

Re: How to support 3GB pci address?

2008-12-12 Thread Trent Piepho
On Fri, 12 Dec 2008, Kumar Gala wrote: > On Dec 12, 2008, at 3:04 AM, Trent Piepho wrote: >> On Thu, 11 Dec 2008, Kumar Gala wrote: >> > On Dec 11, 2008, at 10:07 PM, Trent Piepho wrote: >> > > On Thu, 11 Dec 2008, Kumar Gala wrote: >> > > > The 36-bit support is current (in tree) in complete. Wor

Re: 8260 and powerpc with dts

2008-12-12 Thread Scott Wood
jeff angielski wrote: I am looking to upgrade an old mpc8260 board from 2.4 to 2.6.x and was looking for a reference to port against. However, I cannot find any reference to 8260 in the dts files in kernel.org or the DENX kernel. Is anybody using the latest 2.6.x with the 8260s? After the swit

8260 and powerpc with dts

2008-12-12 Thread jeff angielski
I am looking to upgrade an old mpc8260 board from 2.4 to 2.6.x and was looking for a reference to port against. However, I cannot find any reference to 8260 in the dts files in kernel.org or the DENX kernel. Is anybody using the latest 2.6.x with the 8260s? After the switch to the dts implement

Re: powerbook VT garbled between rc7 and rc8

2008-12-12 Thread Benjamin Herrenschmidt
On Fri, 2008-12-12 at 16:00 +0100, Andreas Schwab wrote: > Johannes Berg writes: > > > On Fri, 2008-12-12 at 13:05 +0100, Andreas Schwab wrote: > >> Johannes Berg writes: > >> > >> > After upgrading to -rc8 yesterday my powerbook started up today with the > >> > screen totally garbled, only occ

powerpc/cell/axon-msi: fix MSI after kexec

2008-12-12 Thread Arnd Bergmann
Commit d015fe995 'powerpc/cell/axon-msi: Retry on missing interrupt' has turned a rare failure to kexec on QS22 into a reproducible error, which we have now analysed. The problem is that after a kexec, the MSIC hardware still points into the middle of the old ring buffer. We set up the ring buffer

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Steven A. Falco
Anton Vorontsov wrote: > On Fri, Dec 12, 2008 at 11:59:13AM -0500, Steven A. Falco wrote: >> Anton Vorontsov wrote: >>> On Fri, Dec 12, 2008 at 09:22:02AM -0500, Steven A. Falco wrote: This patch adds a dummy GPIO driver, which is useful for SPI devices that do not have a physical chip se

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Anton Vorontsov
On Fri, Dec 12, 2008 at 11:59:13AM -0500, Steven A. Falco wrote: > Anton Vorontsov wrote: > > On Fri, Dec 12, 2008 at 09:22:02AM -0500, Steven A. Falco wrote: > >> This patch adds a dummy GPIO driver, which is useful for SPI devices > >> that do not have a physical chip select. > > > > Hm. Then yo

Re: How to support 3GB pci address?

2008-12-12 Thread Scott Wood
Kumar Gala wrote: On Dec 12, 2008, at 3:04 AM, Trent Piepho wrote: On Thu, 11 Dec 2008, Kumar Gala wrote: On Dec 11, 2008, at 10:07 PM, Trent Piepho wrote: Don't the ATMU windows in the pcie controller serve as a IOMMU, making swiotlb unnecessary and wasteful? Nope. You have no way to tel

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Steven A. Falco
Anton Vorontsov wrote: > On Fri, Dec 12, 2008 at 09:22:02AM -0500, Steven A. Falco wrote: >> This patch adds a dummy GPIO driver, which is useful for SPI devices >> that do not have a physical chip select. > > Hm. Then you don't need a chip-select, and SPI driver must understand > this case. When

PowerMac3,6 (G4 MDD): X.org radeon + DVI panel = red flickering

2008-12-12 Thread Linux User #330250
Hi! Reading of "powerbook VT garbled between rc7 and rc8" by Johannes Berg reminded me of my own graphics problem with the X.org radeon driver when connected to a TFT panel using the DVI connector. The symtom: after initial X video initialization the screen flickers red. This red flickering g

Trying to understand ppc4xx_configure_pciex_PIMs mapping to physical address 0

2008-12-12 Thread Ayman El-Khashab
I am using the ppc460ex as an endpoint and I see that the mentioned function setups a 32Mb window at address 0 in sdram. what i want is some memory that the host can read/write to. But the 32Mb that are already mapped at the bottom of ram, so it would not be good do writes to those addresses. Am

Re: [RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Anton Vorontsov
On Fri, Dec 12, 2008 at 09:22:02AM -0500, Steven A. Falco wrote: > This patch adds a dummy GPIO driver, which is useful for SPI devices > that do not have a physical chip select. Hm. Then you don't need a chip-select, and SPI driver must understand this case. When SPI controller has no "gpios" pro

Re: powerbook VT garbled between rc7 and rc8

2008-12-12 Thread Andreas Schwab
Johannes Berg writes: > On Fri, 2008-12-12 at 13:05 +0100, Andreas Schwab wrote: >> Johannes Berg writes: >> >> > After upgrading to -rc8 yesterday my powerbook started up today with the >> > screen totally garbled, only occasionally was a word readable. >> >> Try 6c34bc2976b30dc8b56392c020e25

Re: powerbook VT garbled between rc7 and rc8

2008-12-12 Thread Johannes Berg
On Fri, 2008-12-12 at 13:05 +0100, Andreas Schwab wrote: > Johannes Berg writes: > > > After upgrading to -rc8 yesterday my powerbook started up today with the > > screen totally garbled, only occasionally was a word readable. > > Try 6c34bc2976b30dc8b56392c020e25bae1f363cab (Revert "radeonfb: >

[RFC] Dummy GPIO driver for use with SPI

2008-12-12 Thread Steven A. Falco
This patch adds a dummy GPIO driver, which is useful for SPI devices that do not have a physical chip select. Signed-off-by: Steven A. Falco --- The SPI subsystem requires a chip-select for each connected slave device. I have a custom board with an Atmel "co-processor". This part is reprogramme

Re: How to support 3GB pci address?

2008-12-12 Thread Kumar Gala
On Dec 12, 2008, at 3:04 AM, Trent Piepho wrote: On Thu, 11 Dec 2008, Kumar Gala wrote: On Dec 11, 2008, at 10:07 PM, Trent Piepho wrote: On Thu, 11 Dec 2008, Kumar Gala wrote: On Dec 11, 2008, at 6:04 AM, maillist.kernel wrote: In the system, the total PCI address needed is about 3GB, so I

Re: powerbook VT garbled between rc7 and rc8

2008-12-12 Thread Andreas Schwab
Johannes Berg writes: > After upgrading to -rc8 yesterday my powerbook started up today with the > screen totally garbled, only occasionally was a word readable. Try 6c34bc2976b30dc8b56392c020e25bae1f363cab (Revert "radeonfb: accelerate imageblit and other improvements"). Andreas. -- Andreas

powerbook VT garbled between rc7 and rc8

2008-12-12 Thread Johannes Berg
Hi, After upgrading to -rc8 yesterday my powerbook started up today with the screen totally garbled, only occasionally was a word readable. I also tried adding radeonfb=accel_cexp to the command line but that changed nothing. Also, once I was in X, it seemingly worked fine, but then I opened up a

Re: [PATCH] NOMMU: Rename PowerPC's struct vm_region

2008-12-12 Thread Benjamin Herrenschmidt
On Thu, 2008-12-11 at 12:53 +, David Howells wrote: > Rename PowerPC's struct vm_region so that I can introduce my own global > version > for NOMMU. It's feasible that the PowerPC version may wish to use my global > one instead. > > The NOMMU vm_region struct defines areas of the physical me

Re: How to support 3GB pci address?

2008-12-12 Thread Trent Piepho
On Thu, 11 Dec 2008, Kumar Gala wrote: > On Dec 11, 2008, at 10:07 PM, Trent Piepho wrote: >> On Thu, 11 Dec 2008, Kumar Gala wrote: >> > On Dec 11, 2008, at 6:04 AM, maillist.kernel wrote: >> > > In the system, the total PCI address needed is about 3GB, so I want to >> > > know >> > > how to supp