Re: [PATCH v6] PPC440EPx gpio driver

2008-10-09 Thread Stefan Roese
On Thursday 09 October 2008, Steven A. Falco wrote: > This patch adds support for the GPIO functions of PPC40x and PPC44x > SOCs. Thanks. Tested successfully on 405EP board. I only have one comment below left. > Signed-off-by: Steve Falco > --- > > I looked more closely at the datasheet. Stefa

Re: [PATCH v3] [NAND] driver extension to support NAND on TQM85xx modules

2008-10-09 Thread David Woodhouse
On Fri, 2008-10-10 at 02:10 +0400, Anton Vorontsov wrote: > You should keep resending the patches till somebody merge them. ;-) > > As for my patches... David, could you please apply that patch: > http://lists.infradead.org/pipermail/linux-mtd/2008-September/023038.html Applied, along with $SUBJE

Re: [PATCH/RFC] 64 bit csum_partial_copy_generic

2008-10-09 Thread Paul Mackerras
[EMAIL PROTECTED] writes: > The current 64 bit csum_partial_copy_generic function is based on the 32 > bit version and never was optimized for 64 bit. This patch takes the 64 bit > memcpy and adapts it to also do the sum. It has been tested on a variety > of input sizes and alignments on Powe

Re: [RFC 0/6] Proposal for a Generic PWM Device API

2008-10-09 Thread Jon Smirl
On Fri, Oct 10, 2008 at 1:02 AM, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Thu, 2008-10-09 at 23:06 -0500, Bill Gatliff wrote: >> Benjamin Herrenschmidt wrote: >> > On Wed, 2008-10-08 at 11:43 -0500, Bill Gatliff wrote: >> >> This series proposes a "generic PWM" driver API. >> >> >> >>

Re: [PATCH v3] powerpc: properly reserve in bootmem the lmb reserved regions that cross NUMA nodes

2008-10-09 Thread Benjamin Herrenschmidt
On Thu, 2008-10-09 at 15:18 -0500, Jon Tollefson wrote: > If there are multiple reserved memory blocks via lmb_reserve() that are > contiguous addresses and on different NUMA nodes we are losing track of which > address ranges to reserve in bootmem on which node. I discovered this > when I recen

Re: [RFC 0/6] Proposal for a Generic PWM Device API

2008-10-09 Thread Benjamin Herrenschmidt
On Thu, 2008-10-09 at 23:06 -0500, Bill Gatliff wrote: > Benjamin Herrenschmidt wrote: > > On Wed, 2008-10-08 at 11:43 -0500, Bill Gatliff wrote: > >> This series proposes a "generic PWM" driver API. > >> > >> This proposed API is motivated by the author's need to support > >> pluggable devices; a

Re: [PATCH 2/2] Move memory size print into common show_cpuinfo for 32-bit

2008-10-09 Thread Benjamin Herrenschmidt
On Wed, 2008-09-24 at 16:53 -0500, Becky Bruce wrote: > Most of the platforms were printing the size of the memory > in their show_cpuinfo implementations. This moves that to > the common show_cpuinfo, so that all 32-bit platforms will > now print the size of memory. I also update the code > to de

Re: [PATCH] remove bogus ppc_select syscall

2008-10-09 Thread Benjamin Herrenschmidt
On Wed, 2008-09-24 at 08:39 +0200, Arnd Bergmann wrote: > The ppc_select function was introduced in linux-2.3.48 in order to support > code confusing the legacy select() calling convention with the standard one. > Even 11 years ago, all correctly built code should not have done this and > could hav

Re: Get USE_STRICT_MM_TYPECHECKS working again

2008-10-09 Thread Benjamin Herrenschmidt
On Tue, 2008-09-09 at 15:04 +1000, David Gibson wrote: > The typesafe version of the powerpc pagetable handling (with > USE_STRICT_MM_TYPECHECKS defined) has bitrotted again. This patch > makes a bunch of small fixes to get it building again. > > Signed-off-by: David Gibson <[EMAIL PROTECTED]> D

Re: [RFC] powerpc/boot: compare _start against ei.loadsize instead ei.memsize

2008-10-09 Thread Benjamin Herrenschmidt
On Thu, 2008-09-25 at 23:43 +0200, Sebastian Siewior wrote: > * Milton Miller | 2008-09-23 20:46:18 [-0500]: > > >On Wed Sep 24 at about 06:38:57 EST in 2008, Sebastian Siewior wrote: > >> My mylinux binary incl. bss is ~5 MiB without bss less than 4 MiB. > >> Therefore I though that I could repla

[PATCH] powerpc: Make ppc32 actually respect the boot cpu id for !CONFIG_SMP

2008-10-09 Thread Kumar Gala
Previosly the FDT header field boot_cpuid_phys wasn't actually used on ppc32. Instead the physical boot cpuid was assumed to be 0 for !CONFIG_SMP. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/smp.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff -

Re: [RFC 1/6] [PWM] Generic PWM API implementation

2008-10-09 Thread Bill Gatliff
Benjamin Herrenschmidt wrote: > On Wed, 2008-10-08 at 11:43 -0500, Bill Gatliff wrote: >> Signed-off-by: Bill Gatliff <[EMAIL PROTECTED]> >> --- > > And you haven't provided -any- changeset comment. That isn't good :-) Apparently not. :) b.g. -- Bill Gatliff [EMAIL PROTECTED]

Re: [RFC 0/6] Proposal for a Generic PWM Device API

2008-10-09 Thread Bill Gatliff
Benjamin Herrenschmidt wrote: > On Wed, 2008-10-08 at 11:43 -0500, Bill Gatliff wrote: >> This series proposes a "generic PWM" driver API. >> >> This proposed API is motivated by the author's need to support >> pluggable devices; a secondary objective is to consolidate the >> existing PWM implement

Re: [RFC] powerpc: add kexec support on Book-E

2008-10-09 Thread Benjamin Herrenschmidt
On Wed, 2008-10-01 at 23:20 +0200, Sebastian Andrzej Siewior wrote: > +#define KEXEC_MODE_NOMMU 1 > +#define KEXEC_MODE_BOOKE 2 No need for runtime detection here, you cannot and likely never will be able to build a kernel that does bot BookE and real mode... > + > +/* 1. Find the index of the e

[PATCH] mtd: remove dead Kconfig associated with !CONFIG_PPC_MERGE

2008-10-09 Thread Kumar Gala
Removed the Kconfig associated with 'NDFC NanD Flash Controller'. We can't enable !CONFIG_PPC_MERGE so there is no way to enable this. Additionally the code needs to get updated for arch/powerpc. For the time being lets just remove the Kconfig option so we can actually remove CONFIG_PPC_MERGE. S

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

2008-10-09 Thread Benjamin Herrenschmidt
> > A virtual address will typically be needed to perform the flush; why > > pass the bus address? > Because it is a sync API. You want to make sure that a physical memory > area is in sync with the caches, not the virtual address. This > distinction can become important in the event where the p

Re: [PATCH 2/3] powerpc: 5121: Add PCI support.

2008-10-09 Thread Kumar Gala
On Oct 8, 2008, at 11:15 AM, Grant Likely wrote: On Wed, Oct 8, 2008 at 6:38 AM, Kumar Gala <[EMAIL PROTECTED]> wrote: On Oct 7, 2008, at 4:13 PM, John Rigby wrote: Uses mpc83xx_add_bridge in fsl_pci.c Adds second register tuple to pci node register property as done for 83xx device trees

Re: [PATCH 1/2] OF: new helper: of_parse_phandles_with_args()

2008-10-09 Thread Benjamin Herrenschmidt
> + for (i = 0; i < list_cells; cur_index++) { > + const u32 *cells; > + const phandle *phandle; > + > + phandle = list + i; > + args = phandle + 1; Rather than incrementing i, I would just use a running pointer "list" and drop "i" totally. Not

Re: [RFC 1/6] [PWM] Generic PWM API implementation

2008-10-09 Thread Benjamin Herrenschmidt
On Wed, 2008-10-08 at 11:43 -0500, Bill Gatliff wrote: > Signed-off-by: Bill Gatliff <[EMAIL PROTECTED]> > --- And you haven't provided -any- changeset comment. That isn't good :-) Ben. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozl

Re: [RFC 0/6] Proposal for a Generic PWM Device API

2008-10-09 Thread Benjamin Herrenschmidt
On Wed, 2008-10-08 at 11:43 -0500, Bill Gatliff wrote: > This series proposes a "generic PWM" driver API. > > This proposed API is motivated by the author's need to support > pluggable devices; a secondary objective is to consolidate the > existing PWM implementations behind an agreeable, consiste

Re: Compact Flash on 8349mITX

2008-10-09 Thread Jeff Borlin
Anton Vorontsov-2 wrote: > > This happens just before the PATA information is printed. I'm not > libata expert; and from the brief look I don't see where libata > clears any pending "unexpected" irqs. Just a guesswork, > could you try this patch? > This patch did not appear to change anything.

[PATCH] powerpc: Fix DMA offset for non-coherent DMA

2008-10-09 Thread Benjamin Herrenschmidt
After Becky's work we can almost have different DMA offsets between on-chip devices and PCI. Almost because there's a problem with the non-coherent DMA code that basically ignores the programmed offset to use the global one for everything. This fixes it. Signed-off-by: Benjamin Herrenschmidt <[EMA

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Benjamin Herrenschmidt
On Thu, 2008-10-09 at 20:51 -0500, Timur Tabi wrote: > On Thu, Oct 9, 2008 at 8:22 PM, Kumar Gala <[EMAIL PROTECTED]> wrote: > > >> The problem with making all platforms default to N is that if you take > >> the default values for all config options you end up with a config > >> that won't build.

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Benjamin Herrenschmidt
On Thu, 2008-10-09 at 20:22 -0500, Kumar Gala wrote: > > Historically they have been the most important 32-bit platforms, along > > with PReP. > > > > The problem with making all platforms default to N is that if you take > > the default values for all config options you end up with a config > > th

[PATCH] powerpc: Add support for ISA holes on 4xx PCI/X/E

2008-10-09 Thread Benjamin Herrenschmidt
This adds support for ISA memory holes on the PCI, PCI-X and PCI-E busses of the 4xx platforms. The patch includes changes to the Bamboo and Canyonlands device-trees to add such a hole, others can be updated separately. The ISA memory hole is an additional outbound window configured in the bridge

[PATCH] powerpc: Fix DMA offset for non-coherent DMA

2008-10-09 Thread Benjamin Herrenschmidt
After Becky's work we can almost have different DMA offsets between on-chip devices and PCI. Almost because there's a problem with the non-coherent DMA code that basically ignores the programmed offset to use the global one for everything. This fixes it. Signed-off-by: Benjamin Herrenschmidt <[EMA

[PATCH] powerpc: Add legacy PCI access via sysfs

2008-10-09 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]> --- This is version 2, slightly different approach for getting at VGA memory which works a lot better with bridges providing a separat

Re: [PATCH v6] PPC440EPx gpio driver

2008-10-09 Thread David Brownell
On Thursday 09 October 2008, Anton Vorontsov wrote: > > > I've incorporated the other changes, with one exception.  I want > > ppc4xx_gpio_get() to return 0 or 1 (rather than Anton's comment that any > > non-zero value is ok), because when you use the new "export feature" in > > sysfs, you see the

Re: Compact Flash on 8349mITX

2008-10-09 Thread Wang Jian
How 8349mITX's compact flash is wired? If it is wired using 8 bit data bus line, without another patch, data transfer can't be done. Looking at logs Sam Sparks provided (without irq): ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) it seems data transfer failed. I have a 8 bit data trans

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Timur Tabi
On Thu, Oct 9, 2008 at 8:22 PM, Kumar Gala <[EMAIL PROTECTED]> wrote: >> The problem with making all platforms default to N is that if you take >> the default values for all config options you end up with a config >> that won't build. So we want at least one platform to default to Y, >> and pmac

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Kumar Gala
On Oct 9, 2008, at 7:43 PM, Paul Mackerras wrote: Timur Tabi writes: I'm waiting for someone to explain to me what's so special about CHRP and PMAC that these two platforms should be enabled by default, when all other PowerPC platforms are disabled by default. Historically they have been th

[GIT PULL] Please pull spufs merge branch

2008-10-09 Thread Jeremy Kerr
Hi Paul / Ben, Please do a: git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/jk/spufs.git merge For a few spufs fixes for 2.6.28 Cheers, Jeremy --- diffstat: arch/powerpc/platforms/cell/spufs/inode.c | 11 ++ 1 file changed, 7 insertions(+), 4 deletions(-) 3 c

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Paul Mackerras
Timur Tabi writes: > I'm waiting for someone to explain to me what's so special about CHRP > and PMAC that these two platforms should be enabled by default, when > all other PowerPC platforms are disabled by default. Historically they have been the most important 32-bit platforms, along with PReP

Re: [PATCH v3] [NAND] driver extension to support NAND on TQM85xx modules

2008-10-09 Thread Anton Vorontsov
On Thu, Oct 09, 2008 at 09:42:38PM +0200, Wolfgang Grandegger wrote: > Wolfgang Grandegger wrote: > > Hello, > > > > I would like to ask for the status of the patch below and the related > > ones. Any chance to get them in for 2.6.27. > > Already sometime ago I asked for the status of these patch

Re: PPC440EPx gpio driver

2008-10-09 Thread Sean MacLennan
On Wed, 08 Oct 2008 16:56:54 -0400 "Steven A. Falco" <[EMAIL PROTECTED]> wrote: > have begun writing a driver for the GPIOs of the PPC440EPx. I just > noticed that the PIKA Warp .dts references a device "ibm,gpio-440ep", > but so far I have not been able to find a driver for that device. It's j

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Timur Tabi
Sven Luther wrote: > You just turn it on by default for 64bit and idsable it for 32bit :) That hack might work for now, but it will break once we have 64-bit embedded systems. Regardless, it doesn't address the core issue - there should be no default platform for PowerPC. -- Timur Tabi Linux k

Re: [RFC 0/6] Proposal for a Generic PWM Device API

2008-10-09 Thread Bill Gatliff
Matt Sealey wrote: > I'm all for this if you manage it. > > The code and API looks good. We have some projects which involve PWM > and having a nice clean standard API like the GPIO API was on the > wishlist.. this will make it so much easier to do fan control, > backlight control, drive motors, a

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Sven Luther
On Thu, Oct 09, 2008 at 04:14:36PM -0500, Timur Tabi wrote: > On Thu, Oct 9, 2008 at 3:18 PM, Sven Luther <[EMAIL PROTECTED]> wrote: > >> Not really true. Having the default be disabled for specific > >> platforms can make a big difference in compile time. > > > > Notice that the defconfigs answer

Re: [PATCH v6] PPC440EPx gpio driver

2008-10-09 Thread Anton Vorontsov
On Thu, Oct 09, 2008 at 04:05:28PM -0400, Steven A. Falco wrote: > This patch adds support for the GPIO functions of PPC40x and PPC44x > SOCs. > > Signed-off-by: Steve Falco > --- > > I looked more closely at the datasheet. Stefan is correct that the > shadow registers are not needed for these

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Timur Tabi
On Thu, Oct 9, 2008 at 3:18 PM, Sven Luther <[EMAIL PROTECTED]> wrote: >> Not really true. Having the default be disabled for specific >> platforms can make a big difference in compile time. > > Notice that the defconfigs answer also applies here :) Not really. In order for me to create a new de

Re: [RFC 0/6] Proposal for a Generic PWM Device API

2008-10-09 Thread Matt Sealey
I'm all for this if you manage it. The code and API looks good. We have some projects which involve PWM and having a nice clean standard API like the GPIO API was on the wishlist.. this will make it so much easier to do fan control, backlight control, drive motors, audio output, and the billion o

[PATCH v3] powerpc: properly reserve in bootmem the lmb reserved regions that cross NUMA nodes

2008-10-09 Thread Jon Tollefson
If there are multiple reserved memory blocks via lmb_reserve() that are contiguous addresses and on different NUMA nodes we are losing track of which address ranges to reserve in bootmem on which node. I discovered this when I recently got to try 16GB huge pages on a system with more then 2 node

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Sven Luther
On Thu, Oct 09, 2008 at 12:23:06PM -0500, Timur Tabi wrote: > On Thu, Oct 9, 2008 at 11:49 AM, Matt Sealey <[EMAIL PROTECTED]> wrote: > > Because they are by far the historically most common configuration, and > > still in production as the defacto standard PowerPC system configuration. > > Not re

[PATCH v6] PPC440EPx gpio driver

2008-10-09 Thread Steven A. Falco
This patch adds support for the GPIO functions of PPC40x and PPC44x SOCs. Signed-off-by: Steve Falco --- I looked more closely at the datasheet. Stefan is correct that the shadow registers are not needed for these processors, because they have separate registers for input and output. I've inco

[PATCH] Fix linking modules against crtsavres.o

2008-10-09 Thread Bernhard Reutner-Fischer
Hi, [ http://bugzilla.kernel.org/show_bug.cgi?id=11143 has it all] targeting ppc(32), e.g. 405 (!fp), previously i got: CC drivers/char/hw_random/rng-core.mod.o LD [M] drivers/char/hw_random/rng-core.ko /there/src/buildroot.git.ppc/build_powerpc_nofpu/staging_dir/usr/bin/powerpc-linux-u

Re: [PATCH v3] [NAND] driver extension to support NAND on TQM85xx modules

2008-10-09 Thread Wolfgang Grandegger
Wolfgang Grandegger wrote: > Hello, > > I would like to ask for the status of the patch below and the related > ones. Any chance to get them in for 2.6.27. Already sometime ago I asked for the status of these patches but I never got an answer and they did make it into 2.6.27, like the related pat

Re: PPC440EPx gpio driver

2008-10-09 Thread Anton Vorontsov
On Thu, Oct 09, 2008 at 08:46:44PM +0200, Stefan Roese wrote: [...] > > +struct ppc4xx_gpio_chip { > > + struct of_mm_gpio_chip mm_gc; > > + spinlock_t lock; > > + u32 shadow_or; > > + u32 shadow_tcr; > > + u32 shadow_osrl; > > + u32 shadow_osrh; > > + u32 shadow_tsrl; > > + u32 sha

Re: PPC440EPx gpio driver

2008-10-09 Thread Stefan Roese
Steve, On Thursday 09 October 2008, Steven A. Falco wrote: > I've moved the config variable to platforms/44x, and added the #include > of linux/types.h. > > Since I don't have any PPC405 boards, I am unable to test with that CPU. > So, I am reluctant to add the config variable to platforms/40x. I

Re: Compact Flash on 8349mITX

2008-10-09 Thread Jeff Borlin
The version on the CD does not seem to see it at all: [...] U-Boot 1.3.4-rc1-00012-g1953d12 (Jul 28 2008 - 09:09:09) MPC83XX [...] Linux version 2.6.13.4 ([EMAIL PROTECTED]) (gcc version 3.4.3) #1 Thu Oct 19 16:27:15 EDT 2006 PCI2 confirm: isa_io_base = 0xfc00 Configure PCI2 controller isa_i

Re: PPC440EPx gpio driver

2008-10-09 Thread Steven A. Falco
I've moved the config variable to platforms/44x, and added the #include of linux/types.h. Since I don't have any PPC405 boards, I am unable to test with that CPU. So, I am reluctant to add the config variable to platforms/40x. It would be trivial to add, if someone else has a suitable setup and c

Re: [PATCH 1/3] powerpc: dma code cleanup

2008-10-09 Thread Remi Machet
On Wed, 2008-10-08 at 08:22 +1100, Benjamin Herrenschmidt wrote: > On Tue, 2008-10-07 at 14:05 -0700, Remi Machet wrote: > > + /* > > +* Mark the pages as Reserved: this memory is used by a DMA > > engine, > > +* it cannot be swapped. > > +* Also mark each page as un-c

Re: PPC440EPx gpio driver

2008-10-09 Thread Anton Vorontsov
On Thu, Oct 09, 2008 at 01:09:18PM -0400, Steven A. Falco wrote: > Please disregard the previous version, and consider this one instead. > The only difference is making better use of to_ppc4xx_gpiochip(), which > helps readability. > > Signed-off-by: Steve Falco [...] > #endif /* __ASM_POWERPC_P

Re: Compact Flash on 8349mITX

2008-10-09 Thread Timur Tabi
On Thu, Oct 9, 2008 at 12:00 PM, Jeff Borlin <[EMAIL PROTECTED]> wrote: > > Can you point me to where that can be found? It's on the CD that came with the board. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing list Linuxppc-d

Re: Compact Flash on 8349mITX

2008-10-09 Thread Anton Vorontsov
On Thu, Oct 09, 2008 at 08:52:09AM -0700, Jeff Borlin wrote: > > I have taken over this effort to get Compact Flash working on the 8349mITX > board and am running into these same issues. I can get uBoot to list the > contents of a CF card, U-Boot doesn't use interrupts. > but am running into a

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Timur Tabi
On Thu, Oct 9, 2008 at 11:49 AM, Matt Sealey <[EMAIL PROTECTED]> wrote: > Because they are by far the historically most common configuration, and > still in production as the defacto standard PowerPC system configuration. Not really. PMAC systems are not being built any more. So that leaves CHRP

Re: PPC440EPx gpio driver

2008-10-09 Thread Steven A. Falco
Please disregard the previous version, and consider this one instead. The only difference is making better use of to_ppc4xx_gpiochip(), which helps readability. Signed-off-by: Steve Falco diff --git a/arch/powerpc/include/asm/ppc4xx.h b/arch/powerpc/include/asm/ppc4xx.h index 033039a..589ff5c 1

Re: Compact Flash on 8349mITX

2008-10-09 Thread Jeff Borlin
Can you point me to where that can be found? Timur Tabi-3 wrote: > > I've heard on-and-off that there are problems with the CF support on > the 8349 ITX, but I've never had the chance to investigate it. > > Can you try using the latest BSP kernel and see if the problem is > present there? S

Re: PPC440EPx gpio driver

2008-10-09 Thread Steven A. Falco
Thanks again for the comments. I followed the structure of your qe_lib/gpio.c; here is the result. At this point, I've tested input and output, so it is looking pretty good for me. I added __init to the ppc4xx_gpio_save_regs because it looks like it is only needed when first adding the gpios. S

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Matt Sealey
Timur Tabi wrote: On Thu, Oct 9, 2008 at 10:59 AM, Matt Sealey <[EMAIL PROTECTED]> wrote: If you really want to build a single-cpu single-board kernel, disable CHRP and PMAC for those board configs, but the default definitely should be to enable them all within reason The problem is that thi

Re: [PATCH] Support for relocatable kdump kernel

2008-10-09 Thread Mohan Kumar M
Hi Paul, Thank you for the review. I will implement the changes you suggested and send the patches. Regards, Mohan. Mohan Kumar M writes: Support for relocatable kdump kernel [snip] @@ -1384,7 +1392,15 @@ _STATIC(__after_prom_start) /* process relocations for the final address

Re: [PATCH] Fix kdump kernel hang issue with relocatable kernel patches

2008-10-09 Thread Mohan Kumar M
Paul Mackerras wrote: Hmmm. Is there any reason to continue to support non-relocatable 64-bit kernels being kdump kernels? In other words, for 64-bit, couldn't we make CONFIG_CRASH_DUMP depend on CONFIG_RELOCATABLE? We wanted to support legacy kdump feature on 64 bit kernels for some time.

Re: Compact Flash on 8349mITX

2008-10-09 Thread Timur Tabi
On Thu, Oct 9, 2008 at 10:52 AM, Jeff Borlin <[EMAIL PROTECTED]> wrote: > > I have taken over this effort to get Compact Flash working on the 8349mITX > board and am running into these same issues. I can get uBoot to list the > contents of a CF card, but am running into a couple problems through t

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Timur Tabi
On Thu, Oct 9, 2008 at 10:59 AM, Matt Sealey <[EMAIL PROTECTED]> wrote: > If you really want to build a single-cpu single-board kernel, disable CHRP > and PMAC for those board configs, but the default definitely should be to > enable them all within reason The problem is that this is inconsistent

Re: PPC440EPx gpio driver

2008-10-09 Thread Anton Vorontsov
On Thu, Oct 09, 2008 at 11:10:25AM -0400, Steven A. Falco wrote: > Anton - thanks very much for your comments. I learned a lot, and I've > incorporated your suggestions into the driver, copy attached. > > Stefan - hope I didn't step on your toes, but I was not aware you were > also working on thi

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Matt Sealey
Timur Tabi wrote: Benjamin Herrenschmidt wrote: I'm happy with -all- platforms for a given CPU type defaulting to y. I'm not sure I understand. The current Kconfigs defaults to Y for CHRP and PMAC on *all* PowerPC systems, including those that are neither CHRP nor PMAC. Are you saying that

RE: Compact Flash on 8349mITX

2008-10-09 Thread Jeff Borlin
I have taken over this effort to get Compact Flash working on the 8349mITX board and am running into these same issues. I can get uBoot to list the contents of a CF card, but am running into a couple problems through the kernel. There appears to be an IRQ problem and a general communication prob

Re: [PATCH] powerpc/4xx: Add 4xx gpio support

2008-10-09 Thread Anton Vorontsov
Hi Stefan, On Thu, Oct 09, 2008 at 04:53:34PM +0200, Stefan Roese wrote: > This patch adds a 4xx gpio driver. Tested on a 405EP and a 440EPx > platform. > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> > --- > > This driver probably needs some final polishing. E.g. some parts can > be extrace

Re: performance: memcpy vs. __copy_tofrom_user

2008-10-09 Thread Matt Sealey
Paul Mackerras wrote: Dominik Bozek writes: Actually I made couple of other tests on that mpc8313. Most of them are to ugly to publish them, but... My problem is that I have to boost the gigabit interface on the mpc8313. I made simple substitution and __copy_tofrom_user was used instead of memc

Re: PPC440EPx gpio driver

2008-10-09 Thread Stefan Roese
On Thursday 09 October 2008, Steven A. Falco wrote: > Anton - thanks very much for your comments. I learned a lot, and I've > incorporated your suggestions into the driver, copy attached. > > Stefan - hope I didn't step on your toes, but I was not aware you were > also working on this. Not at all

Re: PPC440EPx gpio driver

2008-10-09 Thread Steven A. Falco
Anton - thanks very much for your comments. I learned a lot, and I've incorporated your suggestions into the driver, copy attached. Stefan - hope I didn't step on your toes, but I was not aware you were also working on this. Anyway, it seemed like a good place to make my first "significant" cont

[PATCH] powerpc/4xx: Add 4xx gpio support

2008-10-09 Thread Stefan Roese
This patch adds a 4xx gpio driver. Tested on a 405EP and a 440EPx platform. Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- This driver probably needs some final polishing. E.g. some parts can be extraced from ppc4xx_gpio_dir_in()/ppc4xx_gpio_dir_out() and moved into seperate functions to mak

Re: PPC440EPx gpio driver

2008-10-09 Thread Stefan Roese
On Wednesday 08 October 2008, Steven A. Falco wrote: > I have begun writing a driver for the GPIOs of the PPC440EPx. I just > noticed that the PIKA Warp .dts references a device "ibm,gpio-440ep", > but so far I have not been able to find a driver for that device. > > So, here is what I have so far

Re: PPC440EPx gpio driver

2008-10-09 Thread Anton Vorontsov
Hi Steven, On Wed, Oct 08, 2008 at 04:56:54PM -0400, Steven A. Falco wrote: > I have begun writing a driver for the GPIOs of the PPC440EPx. I just > noticed that the PIKA Warp .dts references a device "ibm,gpio-440ep", > but so far I have not been able to find a driver for that device. > > So, h

Re: performance: memcpy vs. __copy_tofrom_user

2008-10-09 Thread Leon Woestenberg
Hello all, On Thu, Oct 9, 2008 at 1:41 PM, Dominik Bozek <[EMAIL PROTECTED]> wrote: > Paul Mackerras wrote: >> Dominik Bozek writes: >>> Actually I made couple of other tests on that mpc8313. Most of them are >>> to ugly to publish them, but... My problem is that I have to boost the >>> gigabit in

Re: performance: memcpy vs. __copy_tofrom_user

2008-10-09 Thread Dominik Bozek
Paul Mackerras wrote: > Dominik Bozek writes: > > >> Actually I made couple of other tests on that mpc8313. Most of them are >> to ugly to publish them, but... My problem is that I have to boost the >> gigabit interface on the mpc8313. I made simple substitution and >> __copy_tofrom_user was use

Re: performance: memcpy vs. __copy_tofrom_user

2008-10-09 Thread Paul Mackerras
Dominik Bozek writes: > Actually I made couple of other tests on that mpc8313. Most of them are > to ugly to publish them, but... My problem is that I have to boost the > gigabit interface on the mpc8313. I made simple substitution and > __copy_tofrom_user was used instead of memcpy. I know, it's

Re: [PATCH] powerpc: remove default=y from PMAC and CHRP Kconfigs

2008-10-09 Thread Timur Tabi
Benjamin Herrenschmidt wrote: > I'm happy with -all- platforms for a given CPU type defaulting to y. I'm not sure I understand. The current Kconfigs defaults to Y for CHRP and PMAC on *all* PowerPC systems, including those that are neither CHRP nor PMAC. Are you saying that's a good thing? --

Please pull 'next' branch of git://git.secretlab.ca/git/linux-2.6-mpc52xx

2008-10-09 Thread Grant Likely
Hi Ben, Can you please pull my mpc52xx support tree? Thanks, g. The following changes since commit 7c12d906f4ef690c65e60111375856640f63a545: Benjamin Herrenschmidt (1): powerpc: Fix sysfs pci mmap on 32-bit machines with 64-bit PCI are available in the git repository at: git://git.

Re: [PATCH 4/5] powerpc: Make the 64-bit kernel as a position-independent executable

2008-10-09 Thread Grant Likely
On Fri, Sep 26, 2008 at 6:10 PM, Remi Machet <[EMAIL PROTECTED]> wrote: > Hi Paul, > > This patch breaks my build with the following error: > > /u1/rmachet/projects/c2k/linux-powerpc-git $ make cuImage.c2k modules > ARCH=powerpc V=1 > ... > powerpc-linux-gnu-ld -m elf32ppc -Bstatic -o .tmp_vmli