Linux patches for XIP on MPC8xx?

2010-03-23 Thread Németh Márton
Hi Wolfgang, I found your homepage at http://www.denx.de/wiki/bin/view/DULG/ConfigureLinuxForXIP back from 2003. Was there any follow up of your patch for kernel 2.4.4? Regards, Márton Németh ___ Linuxppc-dev mailing list

Re: [V2 PATCH 00/10] of: Consolidate scattered device node pointers in struct device

2010-03-23 Thread Michael Ellerman
On Thu, 2010-03-18 at 09:22 -0600, Grant Likely wrote: Currently, each of_device has a copy of the device tree node pointer in both .node, and in .dev.archdata.of_node (microblaze and powerpc) or .dev.archdata.prom_node (sparc). Also, other architectures will be adding CONFIG_OF support, and

Re: [V2 PATCH 00/10] of: Consolidate scattered device node pointers in struct device

2010-03-23 Thread Grant Likely
On Tue, Mar 23, 2010 at 12:57 AM, Michael Ellerman mich...@ellerman.id.au wrote: On Thu, 2010-03-18 at 09:22 -0600, Grant Likely wrote: Currently, each of_device has a copy of the device tree node pointer in both .node, and in .dev.archdata.of_node (microblaze and powerpc) or

The GPIO problem on MPC8323?

2010-03-23 Thread liu . yaojin
hi,all: i saw peter's mpc8xxx_gpio.c in kernel 2.6.31. it seems that file can only be used on 831x and others, but not mpc8323. my platform is mpc8323, how can i use the GPIO? i also found QE GPIO Support and Support for simple, memory-mapped GPIO controllers selection, how can i use it and

Re: [Patch 1/1] PPC64-HWBKPT: Implement hw-breakpoints for PPC64

2010-03-23 Thread K.Prasad
On Tue, Mar 23, 2010 at 04:33:01PM +1100, Paul Mackerras wrote: On Mon, Mar 08, 2010 at 11:44:48PM +0530, K.Prasad wrote: @@ -479,6 +483,7 @@ struct task_struct *__switch_to(struct t old_thread-accum_tb += (current_tb - start_tb); new_thread-start_tb = current_tb;

Re: Virtio_console usage of early printk

2010-03-23 Thread Alexander Graf
On 22.03.2010, at 18:45, François Diakhate wrote: Hi all, As far as I can see, early_put_chars is not used by virtio_console because it checks whether there is a port available before using it. If I understand correctly, this makes it useless because once we have a port, we can use the

Re: [PATCH 01/10] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-23 Thread Paul Mundt
On Sun, Mar 21, 2010 at 08:32:33PM -0700, Yinghai Lu wrote: diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index 64f6f20..cafd378 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c @@ -1088,7 +1088,7 @@ int arch_early_irq_init(void) return 0; }

Re: [PATCH 2/4] panic: Allow taint flag for warnings to be changed from TAINT_WARN

2010-03-23 Thread Paul Mundt
On Sat, Mar 20, 2010 at 11:05:40PM +, Ben Hutchings wrote: WARN() is used in some places to report firmware or hardware bugs that are then worked-around. These bugs do not affect the stability of the kernel and should not set the usual TAINT_WARN flag. To allow for this, add WARN_TAINT()

powerpc, 8xx: Add support for the MPC8xx based boards from TQC

2010-03-23 Thread Heiko Schocher
Supported SMC1 (serial console), SCC1 Ethernet (10Mbps HD). FEC Ethernet, 8MB NOR CFI Flash. Tested on STK8xx with TQM860L (with FEC) and with TQM855M (without FEC). Signed-off-by: Heiko Schocher h...@denx.de --- - based against git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git

Re: Virtio_console usage of early printk

2010-03-23 Thread Christian Borntraeger
Am Dienstag 23 März 2010 03:16:20 schrieb Amit Shah: On (Mon) Mar 22 2010 [18:45:47], François Diakhate wrote: the console. Does the attached patch seem valid ? Feedback from s390 and powerpc users who use this functionality would be appreciated. Looks OK to me, Christian, others, could

Re: Virtio_console usage of early printk

2010-03-23 Thread Amit Shah
On (Mon) Mar 22 2010 [18:45:47], François Diakhate wrote: Hi all, As far as I can see, early_put_chars is not used by virtio_console because it checks whether there is a port available before using it. If I understand correctly, this makes it useless because once we have a port, we can use

Re: Linux patches for XIP on MPC8xx?

2010-03-23 Thread Wolfgang Grandegger
Németh Márton wrote: Hi Wolfgang, I found your homepage at http://www.denx.de/wiki/bin/view/DULG/ConfigureLinuxForXIP back from 2003. Was there any follow up of your patch for kernel 2.4.4? Not that I remember. Wolfgang. ___ Linuxppc-dev mailing

Re: [PATCH 2/4] panic: Allow taint flag for warnings to be changed from TAINT_WARN

2010-03-23 Thread Ben Hutchings
On Mon, 2010-03-22 at 22:47 -0400, Andrew Morton wrote: On Sat, 20 Mar 2010 23:05:40 + Ben Hutchings b...@decadent.org.uk wrote: WARN() is used in some places to report firmware or hardware bugs that are then worked-around. These bugs do not affect the stability of the kernel and

Re: [PATCH 2/4] panic: Allow taint flag for warnings to be changed from TAINT_WARN

2010-03-23 Thread Ben Hutchings
On Tue, 2010-03-23 at 16:45 +0900, Paul Mundt wrote: On Sat, Mar 20, 2010 at 11:05:40PM +, Ben Hutchings wrote: WARN() is used in some places to report firmware or hardware bugs that are then worked-around. These bugs do not affect the stability of the kernel and should not set the

[RFC Patch 0/2] PPC64-HWBKPT: Hardware Breakpoint interfaces - ver XV

2010-03-23 Thread K.Prasad
Hi Ben, Please find the version XV of the patch that ports the hw-breakpoint interfaces (in kernel/hw_breakpoint.c) to PPC64. The new patch includes the changes as listed below. In particular, comments are sought about the changes in Kconfig, Makefile and cputable.h and whether they

[RFC Patch 1/2] PPC64-HWBKPT: Disable interrupts for data breakpoint exceptions

2010-03-23 Thread K.Prasad
Data address breakpoint exceptions are currently handled along with page-faults which require interrupts to remain in enabled state. Since exception handling for data breakpoints aren't pre-empt safe, we handle them separately. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com ---

[RFC Patch 2/2] PPC64-HWBKPT: Implement hw-breakpoints for PPC64

2010-03-23 Thread K.Prasad
Implement perf-events based hw-breakpoint interfaces for PPC64 processors. These interfaces help arbitrate requests from various users and schedules them as appropriate. Signed-off-by: K.Prasad pra...@linux.vnet.ibm.com --- arch/powerpc/Kconfig |1

Re: Virtio_console usage of early printk

2010-03-23 Thread François Diakhate
On Tue, Mar 23, 2010 at 9:55 AM, Amit Shah amit.s...@redhat.com wrote: On (Mon) Mar 22 2010 [18:45:47], François Diakhate wrote: Hi all, As far as I can see, early_put_chars is not used by virtio_console because it checks whether there is a port available before using it. If I understand

Re: The GPIO problem on MPC8323?

2010-03-23 Thread Scott Wood
On Tue, Mar 23, 2010 at 03:07:49PM +0800, liu.yao...@zte.com.cn wrote: hi,all: i saw peter's mpc8xxx_gpio.c in kernel 2.6.31. it seems that file can only be used on 831x and others, but not mpc8323. my platform is mpc8323, how can i use the GPIO? i also found QE GPIO Support and Support

Re: Linux patches for XIP on MPC8xx?

2010-03-23 Thread Wolfgang Denk
Dear Márton Németh, in message 4ba865d4.1090...@freemail.hu you wrote: I found your homepage at http://www.denx.de/wiki/bin/view/DULG/ConfigureLinuxForXIP back from 2003. Was there any follow up of your patch for kernel 2.4.4? There were very few tests done with later kernel versions, and

[PATCH] powerpc/fsl: add device tree binding for QE firmware

2010-03-23 Thread Timur Tabi
Define a binding for embedding a QE firmware blob into the device tree. Also define a new property for the QE node that links to a firmware node. Signed-off-by: Timur Tabi ti...@freescale.com --- .../powerpc/dts-bindings/fsl/cpm_qe/qe.txt | 50 1 files changed, 50

re: Re: The GPIO problem on MPC8323?

2010-03-23 Thread liu . yaojin
thanks for replying. it's my first time to use POWERPC,and i found it very different from ARM. after i select QE GPIO Suppor in KConfig, i don't know how to use in next step. Because no device node was found in /dev, and the format of dts is strange for me. could you show me a little example?

SPI Driver for CPM2 8260 (8272 family)

2010-03-23 Thread Daniel Ng
Hi, Is there an SPI Driver in Linux for CPM2 8260-based processors? I'm quite surprised that there doesn't seem to be one. Can someone please explain why this is? Cheers, Daniel ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org