Re: [PATCH 00/14] Modifications for DWC OTG since v13

2011-08-30 Thread Alexander Gordeev
Hi, В Wed, 31 Aug 2011 10:18:42 +0900 Kyungmin Park пишет: > On Wed, Aug 31, 2011 at 12:46 AM, Pratyush Anand > wrote: > > On Tue, Aug 30, 2011 at 8:57 PM, Tirumala Marri wrote: > >> <-Original Message- > >> mailto:pratyush.an...@st.com] > >> >> >> >> >> >> >> >> >> < > >> http

[git pull] Please pull powerpc.git merge branch

2011-08-30 Thread Benjamin Herrenschmidt
Hi Linus ! Here are some minor defconfig updates and a device tree fix from Kumar for 3.1. Cheers, Ben. The following changes since commit c6a389f123b9f68d605bb7e0f9b32ec1e3e14132: Linux 3.1-rc4 (2011-08-28 21:16:01 -0700) are available in the git repository at: git://git.kernel.org/pub/sc

[PATCH] powerpc: Remove linkage for sys_nfsservctl system call

2011-08-30 Thread Kumar Gala
The following commit didn't actually remove it from powerpc: commit f5b940997397229975ea073679b03967932a541b Author: NeilBrown Date: Fri Aug 26 18:03:11 2011 -0400 All Arch: remove linkage for sys_nfsservctl system call The nfsservctl system call is now gone, so we should remove all

Re: [PATCH part1 v2 0/9] ps3: General improvements and preparation for support more than the OtherOS lpar

2011-08-30 Thread Benjamin Herrenschmidt
On Thu, 2011-08-11 at 21:31 +0200, Andre Heider wrote: > This is the first part of my previous series including the discussed fixups. > > I dropped the old #2 ([PS3] Get lv1 high memory region from devtree) > and replaced it with 2 new patches, now #2 and #3. The latter contains > the fixups menti

Re: [Cbe-oss-dev] [PATCH 01/15] [PS3] Add udbg driver using the PS3 gelic Ethernet device

2011-08-30 Thread Benjamin Herrenschmidt
On Thu, 2011-08-11 at 19:32 +0200, Andre Heider wrote: > On Thu, Aug 11, 2011 at 2:13 PM, Arnd Bergmann wrote: > > On Thursday 04 August 2011, Geoff Levand wrote: > >> > + * > >> > + * udbg debug output routine via GELIC UDP broadcasts > >> > + * Copyright (C) 2010 Hector Martin > >> > + * Copyri

Re: [RFC PATCH 05/10] fadump: Convert firmware-assisted cpu state dump data into elf notes.

2011-08-30 Thread Anton Blanchard
> diff --git a/kernel/panic.c b/kernel/panic.c > index 6923167..1965b50 100644 > --- a/kernel/panic.c > +++ b/kernel/panic.c > @@ -49,6 +49,15 @@ static long no_blink(int state) > long (*panic_blink)(int state); > EXPORT_SYMBOL(panic_blink); > > +#ifdef CONFIG_FA_DUMP > +/* > + * provide an em

Re: [RFC PATCH 03/10] fadump: Register for firmware assisted dump.

2011-08-30 Thread Anton Blanchard
Hi, > +static void fadump_show_config(void) > +{ > + DBG("Support for firmware-assisted dump (fadump): %s\n", > + (fw_dump.fadump_supported ? "present" : "no support")); > + > + if (!fw_dump.fadump_supported) > + return; > + > + DBG("Fadump enabled:

Re: [RFC PATCH 02/10] fadump: Reserve the memory for firmware assisted dump.

2011-08-30 Thread Anton Blanchard
Hi Mahesh, Just a few comments. > +#define RMR_START0x0 > +#define RMR_END (0x1UL << 28) /* 256 MB */ What if the RMO is bigger than 256MB? Should we be using ppc64_rma_size? > +#ifdef DEBUG > +#define PREFIX "fadump: " > +#define DBG(fmt...) printk(KERN_ERR P

Re: [PATCH] powerpc/p1023rds: Fix the error of bank-width of nor flash

2011-08-30 Thread Kumar Gala
On Aug 12, 2011, at 6:00 AM, Chunhe Lan wrote: > In the p1023rds, a physical bus of nor flash is 16 bits width. > The bank-width is width (in bytes) of the bus width. So, the > value of bank-width of nor flash is not one, and it should be > two. > > Signed-off-by: Chunhe Lan > --- > arch/powerp

Re: [PATCH] [v2] powerpc/85xx: enable the audio drivers in the defconfigs

2011-08-30 Thread Kumar Gala
On Aug 16, 2011, at 5:44 PM, Timur Tabi wrote: > Enable the audio drivers in the non-corenet 85xx defconfigs so that audio > is enabled on the Freescale P1022DS reference board. > > Signed-off-by: Timur Tabi > --- > arch/powerpc/configs/mpc85xx_defconfig |1 + > arch/powerpc/configs/mpc8

Re: [PATCH v2] powerpc/85xx: enable caam crypto driver by default

2011-08-30 Thread Kumar Gala
On Jul 22, 2011, at 3:48 PM, Kim Phillips wrote: > corenet based SoCs have SEC4 h/w, so enable the SEC4 driver, > caam, and the algorithms it supports, and disable the > SEC2/3 driver, talitos. > > Signed-off-by: Kim Phillips > --- > v2: rebase from old e55xx_smp_defconfig file to new corenet &

[git pull] Please pull powerpc.git merge branch

2011-08-30 Thread Kumar Gala
Ben, A few minor defconfig updates and a dts fix to send up to Linus for 3.1 - k The following changes since commit c6a389f123b9f68d605bb7e0f9b32ec1e3e14132: Linux 3.1-rc4 (2011-08-28 21:16:01 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gala

Re: [PATCH] powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards

2011-08-30 Thread Kumar Gala
On Aug 30, 2011, at 10:01 PM, Tabi Timur-B04825 wrote: > Kumar Gala wrote: >> >> On Aug 30, 2011, at 9:51 PM, Tabi Timur-B04825 wrote: >> >>> Kumar Gala wrote: Do we really want the generic "fsl,fpga-cpld"& "fsl,fpga-pixis"? This seems to vague. >>> >>> Yes, the PIXIS is generall

Re: [PATCH] powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards

2011-08-30 Thread Tabi Timur-B04825
Kumar Gala wrote: > > On Aug 30, 2011, at 9:51 PM, Tabi Timur-B04825 wrote: > >> Kumar Gala wrote: >>> Do we really want the generic "fsl,fpga-cpld"& "fsl,fpga-pixis"? This >>> seems to vague. >> >> Yes, the PIXIS is generally register compatible across all boards. There >> may be some minor d

Re: [PATCH] powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards

2011-08-30 Thread Kumar Gala
On Aug 30, 2011, at 9:51 PM, Tabi Timur-B04825 wrote: > Kumar Gala wrote: >> Do we really want the generic "fsl,fpga-cpld"& "fsl,fpga-pixis"? This >> seems to vague. > > Yes, the PIXIS is generally register compatible across all boards. There > may be some minor differences, but the OCM dri

Re: [PATCH] powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards

2011-08-30 Thread Tabi Timur-B04825
Kumar Gala wrote: > Do we really want the generic "fsl,fpga-cpld"& "fsl,fpga-pixis"? This seems > to vague. Yes, the PIXIS is generally register compatible across all boards. There may be some minor differences, but the OCM driver can work with all PIXIS boards that have an PIXIS. > Also y

Re: [PATCH] powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards

2011-08-30 Thread Kumar Gala
On Aug 29, 2011, at 2:09 PM, Timur Tabi wrote: > Standarize and document the FPGA nodes used on Freescale QorIQ reference > boards. There are three kinds of FPGAs used on the boards: pixis, qixis, and > cpld. Although their are minor differences among the boards that have one > kind of FPGA, mo

Re: Virtual addresses in arch/powerpc/boot/dts/tqm8548*.dts ?

2011-08-30 Thread Paul Walmsley
On Tue, 30 Aug 2011, Gary Thomas wrote: > On 2011-08-30 15:43, Paul Walmsley wrote: > > > So are these addresses virtual? My (perhaps incorrect) understanding of > > the device tree files was that they were intended to describe the physical > > memory map, rather than the virtual memory map. Or

Re: [PATCH 00/14] Modifications for DWC OTG since v13

2011-08-30 Thread Kyungmin Park
On Wed, Aug 31, 2011 at 12:46 AM, Pratyush Anand wrote: > On Tue, Aug 30, 2011 at 8:57 PM, Tirumala Marri wrote: >> <-Original Message- >> mailto:pratyush.an...@st.com] >> > > > > > > > > < >> http://patchwork.ozlabs.org/patch/89560/ >> > > > > > > >> [Tirumala Marri] We are working on ou

Re: [PATCH 2/2] [PowerPC Book3E] Introduce new ptrace debug feature flag

2011-08-30 Thread Thiago Jung Bauermann
On Fri, 2011-08-26 at 14:41 +1000, David Gibson wrote: > On Wed, Aug 24, 2011 at 09:41:43PM -0300, Thiago Jung Bauermann wrote: > > On Wed, 2011-08-24 at 14:00 +1000, David Gibson wrote: > > > On Tue, Aug 23, 2011 at 02:57:56PM +0530, K.Prasad wrote: > > > > On Tue, Aug 23, 2011 at 03:09:31PM +1000

Re: Virtual addresses in arch/powerpc/boot/dts/tqm8548*.dts ?

2011-08-30 Thread Gary Thomas
On 2011-08-30 15:43, Paul Walmsley wrote: Hi, Looking at some of the PPC DTS files in arch/powerpc/boot/dts, there are some files that are mostly identical, except for some strange differences. For example, tqm8548.dts and tqm8548-bigflash.dts differ mostly in that the former file claims that

Re: [PATCH] powerpc/fsl_msi: clean up and document calculation of MSIIR address

2011-08-30 Thread Tabi Timur-B04825
Timur Tabi wrote: > Commit 3da34aae (powerpc/fsl: Support unique MSI addresses per PCIe Root > Complex) redefined the meanings of msi->msi_addr_hi and msi->msi_addr_lo to be > an offset rather than an address. To help clarify the code, we make the > following changes: Kumar, I'm going to merge th

Virtual addresses in arch/powerpc/boot/dts/tqm8548*.dts ?

2011-08-30 Thread Paul Walmsley
Hi, Looking at some of the PPC DTS files in arch/powerpc/boot/dts, there are some files that are mostly identical, except for some strange differences. For example, tqm8548.dts and tqm8548-bigflash.dts differ mostly in that the former file claims that the SoC registers start at 0xe000[1],

[PATCH] Implement CONFIG_STRICT_DEVMEM support for Powerpc

2011-08-30 Thread Sukadev Bhattiprolu
>From 9d899c6bcb685afc58245f1fcfe5de1e8b499856 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Mon, 29 Aug 2011 14:12:08 -0700 Subject: [PATCH 1/1] Implement CONFIG_STRICT_DEVMEM support for Powerpc. As described in the help text in the patch, this token restricts general access to /dev/

Re: [PATCH] powerpc: Fix xmon for systems without MSR[RI]

2011-08-30 Thread Scott Wood
On 08/30/2011 01:11 AM, Benjamin Herrenschmidt wrote: > On Mon, 2011-08-08 at 16:25 -0500, Jimi Xenidis wrote: >> From: David Gibson >> >> Based on patch by David Gibson >> >> xmon has a longstanding bug on systems which are SMP-capable but lack >> the MSR[RI] bit. In these cases, xmon invoked b

Re: kvm PCI assignment & VFIO ramblings

2011-08-30 Thread Joerg Roedel
On Sun, Aug 28, 2011 at 05:04:32PM +0300, Avi Kivity wrote: > On 08/28/2011 04:56 PM, Joerg Roedel wrote: >> This can't be secured by a lock, because it introduces potential >> A->B<-->B->A lock problem when two processes try to take each others mm. >> It could probably be solved by a task->real_m

Re: kvm PCI assignment & VFIO ramblings

2011-08-30 Thread Joerg Roedel
On Fri, Aug 26, 2011 at 12:04:22PM -0600, Alex Williamson wrote: > On Thu, 2011-08-25 at 20:05 +0200, Joerg Roedel wrote: > > If we really expect segment numbers that need the full 16 bit then this > > would be the way to go. Otherwise I would prefer returning the group-id > > directly and partiti

Re: [PATCH 00/14] Modifications for DWC OTG since v13

2011-08-30 Thread Pratyush Anand
On Tue, Aug 30, 2011 at 8:57 PM, Tirumala Marri wrote: > <-Original Message- > mailto:pratyush.an...@st.com] > < > http://patchwork.ozlabs.org/patch/89560/ > > [Tirumala Marri] We are working on our next release of patches. They > should be coming out soon. Oh, thats great !

Re: [PATCH 02/14] dwc/otg: Structure declaration for shared data

2011-08-30 Thread Pratyush Anand
On Tue, Aug 30, 2011 at 8:59 PM, Tirumala Marri wrote: > <-Original Message- > mailto:pratyush.an...@st.com] > < >< > > <--- > < include/linux/usb/dwc_otg.h |  274 > > [Tirumala Marri] I am not sure how to separate your changes. But we need > More time as our initial patches a

Re: [PATCH 11/14] dwc/otg: Driver enable gadget support

2011-08-30 Thread Pratyush Anand
On Tue, Aug 30, 2011 at 6:31 PM, Sergei Shtylyov wrote: > > Hello. > > On 08/30/2011 03:57 PM, Pratyush Anand wrote: > >> From: Tirumala Marri > >> Enable gadget support > >> Signed-off-by: Tirumala R Marri >> Signed-off-by: Fushen Chen >> Signed-off-by: Mark Miesfeld >> Signed-off-by: Pratyush An

RE: [PATCH 02/14] dwc/otg: Structure declaration for shared data

2011-08-30 Thread Tirumala Marri
<-Original Message- mailto:pratyush.an...@st.com] <--- < include/linux/usb/dwc_otg.h | 274 [Tirumala Marri] I am not sure how to separate your changes. But we need More time as our initial patches are still pending. --marri ___ Linuxppc-dev mai

RE: [PATCH 00/14] Modifications for DWC OTG since v13

2011-08-30 Thread Tirumala Marri
<-Original Message- mailto:pratyush.an...@st.com] http://patchwork.ozlabs.org/patch/89560/ https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: VFIO v2 design plan

2011-08-30 Thread Alex Williamson
On Tue, 2011-08-30 at 17:48 +1000, David Gibson wrote: > On Mon, Aug 29, 2011 at 10:24:43PM -0600, Alex Williamson wrote: > > On Tue, 2011-08-30 at 13:04 +1000, David Gibson wrote: > > > On Fri, Aug 26, 2011 at 11:05:23AM -0600, Alex Williamson wrote: > > > > > > > > I don't think too much has cha

[PATCH 02/14] dwc/otg: Structure declaration for shared data

2011-08-30 Thread Pratyush Anand
There are some DWC OTG parameters which might be passed by a platform. Declaration for structure of those parameters have been provided in this include file. Signed-off-by: Pratyush Anand --- include/linux/usb/dwc_otg.h | 274 +++ 1 files changed, 274 ins

[PATCH 03/14] dwc/otg: Add driver framework

2011-08-30 Thread Pratyush Anand
From: Tirumala Marri Platform probing is in dwc_otg_apmppc.c. Driver parameter and parameter checking are in dwc_otg_param.c. Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld Signed-off-by: Pratyush Anand --- drivers/usb/dwc/apmppc.c | 436 +++

[PATCH 00/14] Modifications for DWC OTG since v13

2011-08-30 Thread Pratyush Anand
These patches are based on:http://patchwork.ozlabs.org/patch/89560/ After not getting any reply from developers, I started to do modifications for my platform (SPEAr1340). I have done modifications in such a way that all the code in driver/usb/dwc/ would be platform independent. I have tested this

[PATCH 10/14] dwc/otg: Add driver kernel configuration and Makefile

2011-08-30 Thread Pratyush Anand
From: Tirumala Marri Add Synopsys DesignWare HS USB OTG driver kernel configuration. Synopsys OTG driver may operate in host only, device only, or OTG mode. The driver also allows user configure the core to use its internal DMA or Slave (PIO) mode. Signed-off-by: Tirumala R Marri Signed-off-by

[PATCH 08/14] dwc/otg: Add PCD function

2011-08-30 Thread Pratyush Anand
From: Tirumala Marri The PCD is responsible for translating requests from the gadget driver to appropriate actions on the DWC OTG controller. Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld Signed-off-by: Pratyush Anand --- drivers/usb/dwc/pcd.c | 181

[PATCH 11/14] dwc/otg: Driver enable gadget support

2011-08-30 Thread Pratyush Anand
From: Tirumala Marri Enable gadget support Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld Signed-off-by: Pratyush Anand --- drivers/usb/gadget/gadget_chips.h | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/d

[PATCH 12/14] include/linux/usb/gadget.h : include for successful compilation

2011-08-30 Thread Pratyush Anand
gadget.h uses struct device, which has been declared in linux/device.h. So it must be included. Signed-off-by: Pratyush Anand --- include/linux/usb/gadget.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index 0064

[PATCH 14/14] arm/include/asm/io.h : added macros to read/write big/little endian register

2011-08-30 Thread Pratyush Anand
There are some peripheral(e.g dwc otg) whose registers can be configured to work in either little or big endian mode. Therefor macros like out_be32, in_be32, out_le32 and in_le32 have been added to support such peripherals. Signed-off-by: Pratyush Anand --- arch/arm/include/asm/io.h |8 +

[PATCH 01/14] dwc/otg: Add Register definitions

2011-08-30 Thread Pratyush Anand
From: Tirumala Marri Add Synopsys Design Ware core register definitions. Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld Signed-off-by: Pratyush Anand --- drivers/usb/dwc/regs.h | 1324 1 files changed,

[PATCH 06/14] dwc/otg: Add HCD interrupt function

2011-08-30 Thread Pratyush Anand
From: Tirumala Marri Implements DWC OTG USB HCD interrupt service routine. Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld Signed-off-by: Pratyush Anand --- drivers/usb/dwc/hcd_intr.c | 1481 1 files change

[PATCH 07/14] dwc/otg: Add HCD queue function

2011-08-30 Thread Pratyush Anand
From: Tirumala Marri Implements functions to manage Queue Heads and Queue Transfer Descriptors of DWC USB OTG Controller. Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld --- drivers/usb/dwc/hcd_queue.c | 696 +++

[PATCH 13/14] usb/gadget/kconfig: added dwc otg as an option for peripheral controller

2011-08-30 Thread Pratyush Anand
When dwc otg is configured as either dual or device only mode, then it can also be used as a usb gadget. So added dwc otg as an option for peripheral controller. Signed-off-by: Pratyush Anand --- drivers/usb/gadget/Kconfig | 17 + 1 files changed, 17 insertions(+), 0 deletions(

Re: [PATCH 11/14] dwc/otg: Driver enable gadget support

2011-08-30 Thread Sergei Shtylyov
Hello. On 08/30/2011 03:57 PM, Pratyush Anand wrote: From: Tirumala Marri Enable gadget support Signed-off-by: Tirumala R Marri Signed-off-by: Fushen Chen Signed-off-by: Mark Miesfeld Signed-off-by: Pratyush Anand --- drivers/usb/gadget/gadget_chips.h | 18 +- 1 files

Re: [PATCH 12/14] include/linux/usb/gadget.h : include for successful compilation

2011-08-30 Thread Sergei Shtylyov
Hello. On 08/30/2011 03:57 PM, Pratyush Anand wrote: gadget.h uses struct device, which has been declared in linux/device.h. So it must be included. Signed-off-by: Pratyush Anand --- include/linux/usb/gadget.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/incl

Re: VFIO v2 design plan

2011-08-30 Thread David Gibson
On Mon, Aug 29, 2011 at 10:24:43PM -0600, Alex Williamson wrote: > On Tue, 2011-08-30 at 13:04 +1000, David Gibson wrote: > > On Fri, Aug 26, 2011 at 11:05:23AM -0600, Alex Williamson wrote: > > > > > > I don't think too much has changed since the previous email went out, > > > but it seems like a