Re: CONFIG_NO_HZ added too much idle time in /proc/stat during throughput test.

2011-12-13 Thread Fushen Chen
> > > On Tue, 2011-12-13 at 12:42 -0800, Fushen Chen wrote: > > > > On APM82181, "vmstat" (/proc/stat) doesn't show correct idle > > > > percent, if kernel enables "CONFIG_NO_HZ" (Tickless System / Dynamic > > > > Tick

CONFIG_NO_HZ added too much idle time in /proc/stat during throughput test.

2011-12-13 Thread Fushen Chen
On APM82181, "vmstat" (/proc/stat) doesn't show correct idle percent, if kernel enables "CONFIG_NO_HZ" (Tickless System / Dynamic Tick). When I run wireless throughput test with heavy traffic, "vmstat" shows very high idle percent while "oprofile" shows very low idle percent. During the test, th

Re: [PATCH V5 0/9] Add Synopsys DesignWare HS USB OTG driver

2010-10-21 Thread fushen chen
On Wed, 2010-10-20 at 21:03 -0700, Greg KH wrote: > On Wed, Oct 20, 2010 at 06:06:34PM -0700, Fushen Chen wrote: > > This patch series add Synopsys DesignWare HS USB OTG driver support. > > Unfortunatly this is right at the start of the merge window for me, > which means it is p

[PATCH V5 0/9] Add Synopsys DesignWare HS USB OTG driver

2010-10-20 Thread Fushen Chen
efan Roese and Chuck Meade. 3. Removed dts file from this pathch per Sergei Shtylyov suggestion. We'll submit a separate patch to PowerPC tree. 4. Modified driver to use generic USB OTG enumeration state. 5. Move Makefiles to the last patch per David Daney suggestion. Fushen

[PATCH V5 7/9] Add Synopsys DesignWare HS USB OTG PCD function.

2010-10-20 Thread Fushen Chen
The PCD is responsible for translating requests from the gadget driver to appropriate actions on the DWC OTG controller. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_pcd.c | 1733 + drivers/usb/dwc_otg/dwc_otg_pcd.h

[PATCH V5 5/9] Add Synopsys DesignWare HS USB OTG HCD interrupt function.

2010-10-20 Thread Fushen Chen
Implements DWC OTG USB HCD interrupt service routine. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_hcd_intr.c | 1465 1 files changed, 1465 insertions(+), 0 deletions(-) create mode 100644 drivers/usb/dwc_otg

[PATCH V5 2/9] Add Synopsys DesignWare HS USB OTG driver framework.

2010-10-20 Thread Fushen Chen
Platform probing is in dwc_otg_apmppc.c. Driver parameter and parameter checking are in dwc_otg_param.c. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_apmppc.c | 394 ++ drivers/usb/dwc_otg/dwc_otg_driver.h | 78 drivers/usb

[PATCH V5 6/9] Add Synopsys DesignWare HS USB OTG HCD queue function.

2010-10-20 Thread Fushen Chen
Implements functions to manage Queue Heads and Queue Transfer Descriptors of DWC USB OTG Controller. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_hcd_queue.c | 697 +++ 1 files changed, 697 insertions(+), 0 deletions

[PATCH V5 9/9] Add Synopsys DesignWare HS USB OTG driver kernel configuration and Makefile.

2010-10-20 Thread Fushen Chen
Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/Makefile |1 + drivers/usb/Kconfig |2 + drivers/usb/dwc_otg/Kconfig | 99 ++ drivers/usb/dwc_otg/Makefile | 19 4 files changed, 121

[PATCH V5 0/9] *** Add Synopsys DesignWare HS USB OTG driver ***

2010-10-20 Thread Fushen Chen
efan Roese and Chuck Meade. 3. Removed dts file from this pathch per Sergei Shtylyov suggestion. We'll submit a separate patch to PowerPC tree. 4. Modified driver to use generic USB OTG enumeration state. 5. Move Makefiles to the last patch per David Daney suggestion. Fushen

Question about dma_direct_ops in PowerPC.

2010-08-12 Thread Fushen Chen
We have a board with PCI device driver that calls for pci_dma_sync_single_for_device. This driver used to work for Linux kernel 2.6.25. We ported to the driver to Linux kernel 2.6.32. The PCI device driver doesn't work anymore. The following call trace shows why the PCI driver won't work in kernel

Re: [PATCH 0/2 v1.04] Add support for DWC OTG driver.

2010-07-29 Thread Fushen Chen
ch according to other reviewer's comment. Thanks, Fushen On Wed, Jul 28, 2010 at 8:05 PM, Greg KH wrote: > On Wed, Jul 28, 2010 at 05:28:41PM -0700, Fushen Chen wrote: > > [PATCH 1/2 v1.04] > > 1. License information is under clarification. > > What do you mean by this? I f

[PATCH 0/2 v1.04] Add support for DWC OTG driver.

2010-07-28 Thread Fushen Chen
[PATCH 1/2 v1.04] 1. License information is under clarification. 2. Difference in v1.04 patch. Added drivers/usb/dwc_otg/dwc_otg_param.c to [PATCH 1/2 v1.03] patch. Coding style: Added space line after declaration. drivers/usb/dwc_otg/Kconfig:

[PATCH 6/9 v1.02] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-22 Thread Fushen Chen
Implements functions to manage Queue Heads and Queue Transfer Descriptors of DWC USB OTG Controller. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_hcd_queue.c | 719 +++ 1 files changed, 719 insertions(+), 0 deletions

[PATCH 1/9 v1.02] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-22 Thread Fushen Chen
The DWC OTG driver module provides the initialization and cleanup entry points for the DWC OTG USB driver. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/Makefile |1 + drivers/usb/Kconfig |2 + drivers/usb/dwc_otg/Kconfig

[PATCH 3/9 v1.02] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-22 Thread Fushen Chen
Core Interface Layer Common Interrupt handlers provides common interrupt handler for both host controller and peripheral controller. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_cil_intr.c | 631 1 files changed, 631

[PATCH 7/9 v1.02] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-22 Thread Fushen Chen
The Peripheral Controller Driver (PCD) is responsible for translating requests from the Function Driver into the appropriate actions on the DWC OTG controller. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_pcd.c | 1758

[PATCH 5/9 v1.02] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-22 Thread Fushen Chen
Implements DWC OTG USB Host Controller Driver (HCD) interrupt service routine. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc_otg/dwc_otg_hcd_intr.c | 1477 1 files changed, 1477 insertions(+), 0 deletions(-) create mode 100644

Re: [PATCH 1/9 v1.01] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-13 Thread fushen chen
On Mon, 2010-07-12 at 16:55 -0700, David Brownell wrote: > Please remove all the changes not related to > this Synopsis IP ... Could you clarify what is not Synopsis IP related in the patch? > and make the OTG functionality > key on the generic OTG symbol, not a DW-specific one. > > Use "drive

[PATCH 7/9 v1.01] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-12 Thread Fushen Chen
The Peripheral Controller Driver (PCD) is responsible for translating requests from the Function Driver into the appropriate actions on the DWC OTG controller. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/otg/dwc_otg_pcd.c | 1749

[PATCH 5/9 v1.01] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-12 Thread Fushen Chen
Implements DWC OTG USB Host Controller Driver (HCD) interrupt service routine. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/otg/dwc_otg_hcd_intr.c | 1473 1 files changed, 1473 insertions(+), 0 deletions(-) create mode 100644

[PATCH 6/9 v1.01] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-12 Thread Fushen Chen
Implements functions to manage Queue Heads and Queue Transfer Descriptors of DWC USB OTG Controller. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/otg/dwc_otg_hcd_queue.c | 719 +++ 1 files changed, 719 insertions(+), 0 deletions

[PATCH 1/9 v1.01] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-12 Thread Fushen Chen
The DWC OTG driver module provides the initialization and cleanup entry points for the DWC OTG USB driver. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/gadget/Kconfig| 32 +- drivers/usb/gadget/gadget_chips.h |7 + drivers/usb/otg/Kconfig

[PATCH 3/9 v1.01] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-12 Thread Fushen Chen
Core Interface Layer Common Interrupt handlers provides common interrupt handler for both host controller and peripheral controller. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/otg/dwc_otg_cil_intr.c | 642 1 files changed, 642

Re: [PATCH 1/9] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-06-30 Thread fushen chen
David, AppliedMicro has PPC-405EX and PPC-460EX SOC using this controller. There will be another arch/powerpc/boot/dts/canyonlands.dts for PPC-460EX board. Thanks, Fushen On Tue, 2010-06-29 at 15:41 -0700, David Brownell wrote: > Good -- MUSB won't be the only one. ;) > > Could you mention

Re: [PATCH 1/9] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-06-30 Thread fushen chen
ch to open source. We modified the driver mostly to follow Linux kernel coding style. Both USB host and device modes are tested. Thanks, Fushen 1. On Wed, 2010-06-30 at 11:27 +0200, Stefan Roese wrote: > Hi Fushen, Hi Mark, > > On Tuesday 29 June 2010 23:26:54 Fushen Chen wrot

[PATCH 7/9] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-06-29 Thread Fushen Chen
The Peripheral Controller Driver (PCD) is responsible for translating requests from the Function Driver into the appropriate actions on the DWC OTG controller. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/otg/dwc_otg_pcd.c | 1749

[PATCH 1/9] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-06-29 Thread Fushen Chen
The DWC OTG driver module provides the initialization and cleanup entry points for the DWC OTG USB driver. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- arch/powerpc/boot/dts/kilauea.dts | 15 + drivers/usb/gadget/Kconfig|8 +- drivers/usb/gadget/gadget_chips.h

[PATCH 5/9] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-06-29 Thread Fushen Chen
Implements DWC OTG USB Host Controller Driver (HCD) interrupt service routine. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/otg/dwc_otg_hcd_intr.c | 1446 1 files changed, 1446 insertions(+), 0 deletions(-) create mode 100644

[PATCH 3/9] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-06-29 Thread Fushen Chen
Core Interface Layer Common Interrupt handlers provides common interrupt handler for both host controller and peripheral controller. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/otg/dwc_otg_cil_intr.c | 625 1 files changed, 625

[PATCH 6/9] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-06-29 Thread Fushen Chen
Implements functions to manage Queue Heads and Queue Transfer Descriptors of DWC USB OTG Controller. Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/otg/dwc_otg_hcd_queue.c | 584 +++ 1 files changed, 584 insertions(+), 0 deletions