Re: pmac_zilog debugging ...

2008-11-08 Thread Benjamin Herrenschmidt
On Sat, 2008-11-08 at 16:52 +1100, Paul Mackerras wrote: Kevin Diggs writes: pppd ttyS0 1200 satellites: netmask 255.255.255.0 lock crtscts mru 1064 noauth debug kdebug 7 logfile /tmp/pppd.log local to connect an 8600 to a laptop via ppp the link will lock up in short order from

Re: MPC5200B and the CAN interface

2008-11-08 Thread Gary Thomas
Nick wrote: Hi Everyone, I am looking for information on how to use the CAN driver for the MPC5200b. I have built the kernel (2.6.27) with the MPC5200b can bus drivers and I see them being initialized on start up. [ 37.122041] can: controller area network core (rev 20071116 abi 8) [

[PATCH 1/2] powerpc: Update QE/CPM2 usb_ctlr structures for USB support

2008-11-08 Thread Anton Vorontsov
From: Li Yang [EMAIL PROTECTED] Fixes following build error: CC drivers/usb/gadget/fsl_qe_udc.o drivers/usb/gadget/fsl_qe_udc.c: In function 'qe_eprx_stall_change': drivers/usb/gadget/fsl_qe_udc.c:156: error: 'struct usb_ctlr' has no member named 'usb_usep'

[PATCH 2/2] usb/fsl_qe_udc: Check for muram allocation errors

2008-11-08 Thread Anton Vorontsov
The QE UDC doesn't check for cpm_muram_alloc() return values, this might cause all sorts of misbehaviour when cpm_muram_alloc() failed to allocate the muram memory. While at at, change few dev_dbg() calls to dev_err(), so that the driver would not die silently. Signed-off-by: Anton Vorontsov

[PATCH] powerpc/qe: Select QE_USB with USB_GADGET_FSL_QE

2008-11-08 Thread Anton Vorontsov
Boards should know when QE_USB is used, so that they can configure USB clocks and pins. Another option would be to add 'select QE_USB' into USB_GADGET_FSL_QE, but selects are evil since they don't support dependencies. While at it, also remove 'host' from the symbol description, since the QE_USB

Re: [PATCH V3] powerpc: Fix Book-E watchdog timer interval setting

2008-11-08 Thread Kumar Gala
On Nov 5, 2008, at 2:53 PM, Matthias Fuchs wrote: This patch fixes the setting of the Book-E watchdog timer interval setup on initialization and by ioctl(). On initialization the period bits have to be masked before setting a new period. In WDIOC_SETTIMEOUT ioctl we have to use the correct

Re: [PATCH] powerpc/86xx: Correct SOC bus-frequency in GE Fanuc SBC610 DTS

2008-11-08 Thread Kumar Gala
On Nov 7, 2008, at 7:43 AM, Martyn Welch wrote: This patch corrects the bus-frequency value provided in the SBC610's dts. Signed-off-by: Martyn Welch [EMAIL PROTECTED] --- arch/powerpc/boot/dts/gef_sbc610.dts |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) applied to merge. -

Re: [PATCH 1/2] powerpc: Update QE/CPM2 usb_ctlr structures for USB support

2008-11-08 Thread Kumar Gala
On Nov 8, 2008, at 11:51 AM, Anton Vorontsov wrote: From: Li Yang [EMAIL PROTECTED] Fixes following build error: CC drivers/usb/gadget/fsl_qe_udc.o drivers/usb/gadget/fsl_qe_udc.c: In function 'qe_eprx_stall_change': drivers/usb/gadget/fsl_qe_udc.c:156: error: 'struct usb_ctlr' has no

[PATCH] usb/fsl_qe_udc: Implement port reset

2008-11-08 Thread Anton Vorontsov
Without that patch a USB host won't find the QE UDC device if a USB cable plugged before the QE UDC probe. A user have to re-plug the USB cable so that the host would reenumerate the device. To solve the issues the QE UDC should reset the port at bind time. Signed-off-by: Anton Vorontsov [EMAIL

[PATCH] powerpc: Updated Freescale PPC related defconfigs

2008-11-08 Thread Kumar Gala
unset CONFIG_PCI_LEGACY in the defconfigs as none of them enable ISDN drivers which seem to be the only place we are using pci_find_device Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- arch/powerpc/configs/83xx/asp8347_defconfig | 121 ++

Please pull from 'merge' branch (for 2.6.28)

2008-11-08 Thread Kumar Gala
Please pull from 'merge' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git merge to receive the following updates: arch/powerpc/boot/dts/gef_sbc610.dts |2 arch/powerpc/configs/83xx/asp8347_defconfig | 121 +

Re: [PATCH 0/3 RFC] MMC SPI support for OpenFirmware platforms

2008-11-08 Thread Pierre Ossman
On Thu, 30 Oct 2008 22:55:46 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: Pierre, the approach is somewhat similar to this one: http://lkml.org/lkml/2008/5/26/135 Posted few months ago. I know you don't like it, but I ask you to reconsider it. The I2C and SPI cases are similar, and

Re: [PATCH 2/3] mmc: Add mmc_vddrange_to_ocrmask() helper function

2008-11-08 Thread Pierre Ossman
On Thu, 30 Oct 2008 22:56:32 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: +/** + * mmc_vddrange_to_ocrmask - Convert a voltage range to the OCR mask + * @vdd_min: minimum voltage value (mV) + * @vdd_max: maximum voltage value (mV) + * @mask:pointer to the mask + * Why the pointer?

Re: [PATCH 1/1] irq: Maintain user set affinity

2008-11-08 Thread Yinghai Lu
On Tue, Nov 4, 2008 at 8:31 AM, Kumar Gala [EMAIL PROTECTED] wrote: From 819ad3ed4660f4238e053728a8b5aa93d22b13d7 Mon Sep 17 00:00:00 2001 From: Kumar Gala [EMAIL PROTECTED] Date: Tue, 4 Nov 2008 10:13:53 -0600 Subject: [PATCH 1/1] irq: Maintain user set affinity This addresses a regression

Re: [PATCH 1/1] irq: Maintain user set affinity

2008-11-08 Thread Yinghai Lu
On Thu, Nov 6, 2008 at 1:35 PM, Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 4 Nov 2008 10:31:05 -0600 (CST) Kumar Gala [EMAIL PROTECTED] wrote: From 819ad3ed4660f4238e053728a8b5aa93d22b13d7 Mon Sep 17 00:00:00 2001 From: Kumar Gala [EMAIL PROTECTED] Date: Tue, 4 Nov 2008 10:13:53 -0600

Re: [PATCH 1/1] irq: Maintain user set affinity

2008-11-08 Thread Benjamin Herrenschmidt
On Sat, 2008-11-08 at 14:12 -0800, Yinghai Lu wrote: On Tue, Nov 4, 2008 at 8:31 AM, Kumar Gala [EMAIL PROTECTED] wrote: From 819ad3ed4660f4238e053728a8b5aa93d22b13d7 Mon Sep 17 00:00:00 2001 From: Kumar Gala [EMAIL PROTECTED] Date: Tue, 4 Nov 2008 10:13:53 -0600 Subject: [PATCH 1/1] irq:

Re: [PATCH] powerpc: Updated Freescale PPC related defconfigs

2008-11-08 Thread Stephen Rothwell
Hi Kumar, On Sat, 8 Nov 2008 12:42:27 -0600 Kumar Gala [EMAIL PROTECTED] wrote: unset CONFIG_PCI_LEGACY in the defconfigs as none of them enable ISDN drivers which seem to be the only place we are using pci_find_device Than you very much! :-) -- Cheers, Stephen Rothwell

Re: [PATCH 1/1] irq: Maintain user set affinity

2008-11-08 Thread Yinghai Lu
On Sat, Nov 8, 2008 at 2:17 PM, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Sat, 2008-11-08 at 14:12 -0800, Yinghai Lu wrote: On Tue, Nov 4, 2008 at 8:31 AM, Kumar Gala [EMAIL PROTECTED] wrote: From 819ad3ed4660f4238e053728a8b5aa93d22b13d7 Mon Sep 17 00:00:00 2001 From: Kumar Gala

Re: [PATCH 1/1] irq: Maintain user set affinity

2008-11-08 Thread Benjamin Herrenschmidt
for MSI, affinity is set two times. also in dynamic_irq_init is setting with #ifdef CONFIG_SMP cpus_setall(desc-affinity); #endif it seems should use irq_default_affinity instead of CPU_MASK_ALL directly there. That sounds more like it. Cheers, Ben.

Re: MPC5200B and the CAN interface

2008-11-08 Thread Robert Schwebel
On Sat, Nov 08, 2008 at 05:32:35AM -0700, Gary Thomas wrote: I'm pretty sure this is just the SocketCAN interface. You still need a hardware driver (and one which is SocketCAN compatible). I don't see such a driver for the MSCAN (the hardware on the MPC5200) in the stock 2.6.27 tree. The