RE: [PATCH 1/2] Unify pci/pcie initialization code

2011-11-21 Thread Jia Hongtao-B38951
Hi Kumar, If the patch is ok we will apply the patch into other platforms. Thanks. -Original Message- From: Jia Hongtao-B38951 Sent: Tuesday, November 22, 2011 2:21 PM To: Jia Hongtao-B38951; linuxppc-dev@lists.ozlabs.org Cc: Li Yang-R58472; Gala Kumar-B11780 Subject: RE: [PATCH 1/2] Unif

RE: [PATCH 1/2] Unify pci/pcie initialization code

2011-11-21 Thread Jia Hongtao-B38951
Hi Kumar, We want more comments on this series of patches ([1/2] & [2/2]) to speed up the pushing-to-kernel progress. Thanks. -Original Message- From: Jia Hongtao-B38951 Sent: Monday, October 31, 2011 1:55 PM To: linuxppc-dev@lists.ozlabs.org Cc: Li Yang-R58472; Gala Kumar-B11780; Jia Ho

RE: [PATCH] Do not hide resource for pci/pcie when configured as Agent/EP

2011-11-21 Thread Jia Hongtao-B38951
Hi Kumar, We want more comments on this patch to speed up the pushing-to-kernel progress. Thanks. -Original Message- From: Jia Hongtao-B38951 Sent: Friday, October 28, 2011 4:08 PM To: linuxppc-dev@lists.ozlabs.org Cc: Li Yang-R58472; Gala Kumar-B11780; Jia Hongtao-B38951 Subject: [PATCH]

[PATCH][RFC] fsldma: fix performance degradation by optimizing spinlock use.

2011-11-21 Thread b29237
From: Forrest Shi dma status check function fsl_tx_status is heavily called in a tight loop and the desc lock in fsl_tx_status contended by the dma status update function. this caused the dma performance degrades much. this patch releases the lock in the fsl_tx_status functio

RE: [PATCH v2] USB: fsl_udc_core: use usb_endpoint_xfer_isoc to judge ISO XFER

2011-11-21 Thread Li Yang-R58472
> Subject: [PATCH v2] USB: fsl_udc_core: use usb_endpoint_xfer_isoc to judge ISO > XFER > > Some ISO gadgets, like audio, has SYNC attribute as well as > USB_ENDPOINT_XFER_ISOC for their bmAttributes at ISO endpoint descriptor. So, > it > needs to use usb_endpoint_xfer_isoc to judge ISO XFER. >

Re: [PATCH v2] USB: fsl_udc_core: use usb_endpoint_xfer_isoc to judge ISO XFER

2011-11-21 Thread Michal Nazarewicz
On Tue, 22 Nov 2011 02:55:45 +0100, Peter Chen wrote: Some ISO gadgets, like audio, has SYNC attribute as well as USB_ENDPOINT_XFER_ISOC for their bmAttributes at ISO endpoint descriptor. So, it needs to use usb_endpoint_xfer_isoc to judge ISO XFER. Signed-off-by: Peter Chen Acked-by: Michal

[PATCH v2] USB: fsl_udc_core: use usb_endpoint_xfer_isoc to judge ISO XFER

2011-11-21 Thread Peter Chen
Some ISO gadgets, like audio, has SYNC attribute as well as USB_ENDPOINT_XFER_ISOC for their bmAttributes at ISO endpoint descriptor. So, it needs to use usb_endpoint_xfer_isoc to judge ISO XFER. Signed-off-by: Peter Chen --- drivers/usb/gadget/fsl_udc_core.c |4 ++-- 1 files changed, 2 inse

Re: [PATCH] USB: fsl_udc_core: Use (&) instead of (==) to compare ISO XFER

2011-11-21 Thread Michal Nazarewicz
On Tue, 22 Nov 2011 02:15:21 +0100, Peter Chen wrote: @@ -877,7 +877,7 @@ fsl_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) VDBG("%s, bad ep", __func__); return -EINVAL; } - if (ep->desc->bmAttributes == USB_ENDPOINT_XFER_I

Re: [PATCH] USB: fsl_udc_core: Use (&) instead of (==) to compare ISO XFER

2011-11-21 Thread Michal Nazarewicz
On Tue, 22 Nov 2011 02:15:21 +0100, Peter Chen wrote: Some ISO gadgets, like audio, has SYNC attribute as well as USB_ENDPOINT_XFER_ISOC for their bmAttributes at ISO endpoint descriptor. So, it needs to use & instead of == to judge if it is ISO XFER. Signed-off-by: Peter Chen --- drivers/us

[PATCH] USB: fsl_udc_core: Use (&) instead of (==) to compare ISO XFER

2011-11-21 Thread Peter Chen
Some ISO gadgets, like audio, has SYNC attribute as well as USB_ENDPOINT_XFER_ISOC for their bmAttributes at ISO endpoint descriptor. So, it needs to use & instead of == to judge if it is ISO XFER. Signed-off-by: Peter Chen --- drivers/usb/gadget/fsl_udc_core.c |4 ++-- 1 files changed, 2 in

Re: [PATCH v3 2/3] hvc_init(): Enforce one-time initialization.

2011-11-21 Thread Rusty Russell
On Mon, 21 Nov 2011 14:16:38 -0800, Miche Baker-Harvey wrote: > Thanks, Rusty. I'm not using QEMU though, just KVM. I create the device, > wait > for the message from the guest that the device is ready, and then add ports. > > Miche OK, since Amit was the one who implemented multi-port conso

Re: [PATCH 01/11] KVM: PPC: Add memory-mapping support for PCI passthrough and emulation

2011-11-21 Thread Paul Mackerras
On Mon, Nov 21, 2011 at 02:22:58PM +0200, Avi Kivity wrote: > On 11/21/2011 01:03 PM, Paul Mackerras wrote: > > OK, so that's a somewhat different mental model than I had in mind. I > > can change the code to do almost everything on a per-page basis at > > fault time on POWER7. There is one thing

Re: [PATCH v3 2/3] hvc_init(): Enforce one-time initialization.

2011-11-21 Thread Miche Baker-Harvey
Thanks, Rusty. I'm not using QEMU though, just KVM. I create the device, wait for the message from the guest that the device is ready, and then add ports. Miche On Sun, Nov 20, 2011 at 9:01 PM, Rusty Russell wrote: > On Thu, 17 Nov 2011 10:57:37 -0800, Miche Baker-Harvey > wrote: >> Rusty,

Re: [PATCH 2/2] powerpc/85xx: p1022ds: enable monitor switching via pixis indirect mode

2011-11-21 Thread Timur Tabi
Stephen Rothwell wrote: > exit_lcs1_iounmap: > iounmap(lbc_lcs1_ba); > exit_lcs0_iounmap: > iounmap(lbc_lcs0_ba); > exit_indirect_node: > of_node_put(indirect_node); > exit_guts_iounmap: > iounmap(guts); The point I'm trying to make is that I don't want to have multiple go

[PATCH 1/3]arch:powerpc:sysdev:mpic.c Remove extra semicolon.

2011-11-21 Thread Justin P. Mattock
From: "Justin P. Mattock" The patch below removes an extra semicolon. Signed-off-by: Justin P. Mattock CC: linuxppc-dev@lists.ozlabs.org CC: Paul Mackerras --- arch/powerpc/sysdev/mpic.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/sysdev/mpic.c b/arc

Re: [PATCH 01/11] KVM: PPC: Add memory-mapping support for PCI passthrough and emulation

2011-11-21 Thread Avi Kivity
On 11/21/2011 01:03 PM, Paul Mackerras wrote: > On Sun, Nov 20, 2011 at 02:23:52PM +0200, Avi Kivity wrote: > > > > There is no "the VMA". There could be multiple VMAs, or none (with the > > mmap() coming afterwards). You could do all the checks you want here, > > only to have host userspace rem

Re: [RFC PATCH v5 0/9] fadump: Firmware-assisted dump support for Powerpc.

2011-11-21 Thread Cong Wang
Vivek, could you please review this patchset? Thanks. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 01/11] KVM: PPC: Add memory-mapping support for PCI passthrough and emulation

2011-11-21 Thread Paul Mackerras
On Sun, Nov 20, 2011 at 02:23:52PM +0200, Avi Kivity wrote: > > There is no "the VMA". There could be multiple VMAs, or none (with the > mmap() coming afterwards). You could do all the checks you want here, > only to have host userspace remap it under your feet. This needs to be > done on a per

Re: 3.2.0-rc1 panic on PowerPC

2011-11-21 Thread Markus Trippelsdorf
On 2011.11.21 at 12:25 +1100, Benjamin Herrenschmidt wrote: > On Sun, 2011-11-20 at 17:17 -0800, Christian Kujau wrote: > > On Mon, 21 Nov 2011 at 11:58, Benjamin Herrenschmidt wrote: > > > I've seen something similar with 3.2-rc2 at cfcfc9ec, unfortunately I > > > couldn't capture the oops log at