Re: [PATCH 2/2] powerpc/pci: Use PCIe IP block revision register instead of compatible

2012-09-12 Thread Kumar Gala
On Sep 3, 2012, at 4:22 AM, Roy Zang wrote: > Freescale PCIe IP block revision bigger than rev2.2 will also need > redefine the sequence of inbound windows. So change to use IP block > revision instead of compatible for the judgment. > > Signed-off-by: Roy Zang > --- > > arch/powerpc/sysdev/fs

Re: [PATCH 2/3] powerpc/esdhc: add property to disable the CMD23

2012-09-13 Thread Kumar Gala
On Sep 12, 2012, at 9:02 PM, Huang Changming-R66093 wrote: >>> >>>> -Original Message- >>>> From: Chris Ball [mailto:c...@laptop.org] >>>> Sent: Wednesday, September 12, 2012 4:59 AM >>>> To: Kumar Gala >>>> Cc: Huan

Re: [PATCH] driver/mtd:IFC NAND:Initialise internal SRAM before any write

2012-09-13 Thread Kumar Gala
On Sep 13, 2012, at 3:54 AM, Prabhakar Kushwaha wrote: > IFC-1.1.0 uses 28nm techenology for SRAM. This tech has known limitaion for > SRAM i.e. "byte select" is not supported. Hence Read Modify Write is > implemented in IFC for any "system side write" into sram buffer. Reading an > uninitialized

Re: [PATCH] powerpc/smp: Do not disable IPI interrupts during suspend

2012-09-13 Thread Kumar Gala
On Aug 10, 2012, at 7:40 AM, Kumar Gala wrote: > > On Aug 2, 2012, at 5:04 AM, Zhao Chenhui wrote: > >> On Sat, Jul 28, 2012 at 08:20:31AM +1000, Benjamin Herrenschmidt wrote: >>> On Fri, 2012-07-27 at 16:58 -0500, Kumar Gala wrote: >>>> On Jul 20,

[git pull] Please pull powerpc.git next branch

2012-09-13 Thread Kumar Gala
The following changes since commit 6b5e7229bbd59f0cfce7015fd46736fc93d8c8c3: powerpc/mm: Match variable types to API (2012-09-10 14:37:31 +1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git next for you to fetch changes up to 905e75

Re: [PATCH 2/3] powerpc/esdhc: add property to disable the CMD23

2012-09-14 Thread Kumar Gala
>>>>> >>>>>> -Original Message- >>>>>> From: Chris Ball [mailto:c...@laptop.org] >>>>>> Sent: Wednesday, September 12, 2012 4:59 AM >>>>>> To: Kumar Gala >>>>>> Cc: Huang

Re: [PATCH 2/3] powerpc/esdhc: add property to disable the CMD23

2012-09-17 Thread Kumar Gala
On Sep 17, 2012, at 7:36 AM, Chris Ball wrote: > Hi, > > On Thu, Sep 13 2012, Kumar Gala wrote: >>>> Can you list out which SoCs support it and which don't. Having this list >>>> will be useful in understanding which controller versions supported it. >&

Re: [PATCH 2/3] powerpc/esdhc: add property to disable the CMD23

2012-09-17 Thread Kumar Gala
On Sep 17, 2012, at 8:09 PM, Huang Changming-R66093 wrote: >> On Sep 17, 2012, at 7:36 AM, Chris Ball wrote: >> >>> Hi, >>> >>> On Thu, Sep 13 2012, Kumar Gala wrote: >>>>>> Can you list out which SoCs support it and which don't.

Re: [PATCH][V4] powerpc/fsl-pci: Add pci inbound/outbound PM support

2012-09-17 Thread Kumar Gala
On Sep 17, 2012, at 9:10 PM, Jia Hongtao wrote: > Power supply for PCI inbound/outbound window registers is off when system > go to deep-sleep state. We save the values of registers before suspend > and restore to registers after resume. > > Signed-off-by: Jiang Yutang > Signed-off-by: Jia Hong

Re: [PATCH v2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-09-17 Thread Kumar Gala
On Aug 22, 2012, at 5:17 AM, Shengzhou Liu wrote: > when missing USB PHY clock, kernel booting up will hang during USB > initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid > CPU hanging in this case. > > Signed-off-by: Shengzhou Liu > --- > v2 changes: use spin_event_timeout() in

Re: [RFC][PATCH 0/3] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2012-09-19 Thread Kumar Gala
On Sep 19, 2012, at 8:17 AM, wrote: > From: Varun Sethi > > This patchset provides the Freescale PAMU (Peripheral Access Management Unit) > driver > and the corresponding IOMMU API implementation. PAMU is the IOMMU present on > Freescale > QorIQ platforms. PAMU can authorize memory access,

Re: [RFC][PATCH 2/3] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-09-19 Thread Kumar Gala
On Sep 19, 2012, at 8:17 AM, wrote: > From: Varun Sethi > > Added the following domain attributes required by FSL PAMU driver: > 1. Subwindows field added to the iommu domain geometry attribute. > 2. Added new iommu stash attribute, which allows setting of the > LIODN specific stash id par

Re: [PATCH] powerpc/fsl-pci: use 'Header Type' to identify PCIE mode

2012-09-19 Thread Kumar Gala
On Sep 19, 2012, at 2:23 AM, Minghuan Lian wrote: > The original code uses 'Programming Interface' field to judge if PCIE is > EP or RC mode, however, some latest silicons do not support this > functionality. > According to PCIE specification, 'Header Type' offset 0x0e is used to > indicate head

Re: [PATCH][V4] powerpc/fsl-pci: Add pci inbound/outbound PM support

2012-09-19 Thread Kumar Gala
On Sep 19, 2012, at 2:10 AM, Jia Hongtao-B38951 wrote: > > >> -Original Message----- >> From: Kumar Gala [mailto:ga...@kernel.crashing.org] >> Sent: Tuesday, September 18, 2012 1:04 PM >> To: Jia Hongtao-B38951 >> Cc: linuxppc-dev@lists.ozlabs.or

Re: [PATCH] powerpc/fsl-pci: fix warning when CONFIG_SWIOTLB is disabled

2012-09-19 Thread Kumar Gala
On Sep 18, 2012, at 4:57 AM, Jia Hongtao wrote: > Fix the following warning: > arch/powerpc/sysdev/fsl_pci.c: In function 'fsl_pci_probe': > arch/powerpc/sysdev/fsl_pci.c:867:25: error: unused variable 'hose' > > Signed-off-by: Jia Hongtao > --- > arch/powerpc/sysdev/fsl_pci.c |2 ++ > 1 fil

Re: [PATCH] powerpc/mpc85xx:Update interrupt handling for IFC controller

2012-09-19 Thread Kumar Gala
On Sep 13, 2012, at 3:04 AM, Prabhakar Kushwaha wrote: > IFC may have one or two interrupts. If two interrupt specifiers are present, > the first is the "common" interrupt (CM_EVTER_STAT), and the second is the > NAND > interrupt (NAND_EVTER_STAT). > If there is only one, that interrupt reports

Re: [PATCH] powerpc/smp: Do not disable IPI interrupts during suspend

2012-09-19 Thread Kumar Gala
On Jul 20, 2012, at 7:47 AM, Zhao Chenhui wrote: > During suspend, all interrupts including IPI will be disabled. In this case, > the suspend process will hang in SMP. To prevent this, pass the flag > IRQF_NO_SUSPEND when requesting IPI irq. > > Signed-off-by: Zhao Chenhui > Signed-off-by: Li Y

[git pull] Please pull powerpc.git next branch

2012-09-19 Thread Kumar Gala
The following changes since commit caa1d631fc99940f866480c2bb88a6f5a235e7a2: Merge remote-tracking branch 'kumar/next' into next (2012-09-18 16:04:33 +1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git next for you to fetch change

Re: [RFC][PATCH 1/3] iommu/fsl: Store iommu domain information pointer in archdata.

2012-09-19 Thread Kumar Gala
On Sep 19, 2012, at 8:17 AM, wrote: > From: Varun Sethi > > Add a new field in the device (powerpc) archdata structure for storing iommu > domain > information pointer. This pointer is stored when the device is attached to a > particular > domain. > > Signed-off-by: Varun Sethi > --- > a

Re: [PATCH][V4] powerpc/fsl-pci: Add pci inbound/outbound PM support

2012-09-19 Thread Kumar Gala
>>> On Sep 17, 2012, at 9:10 PM, Jia Hongtao wrote: >>> Power supply for PCI inbound/outbound window registers is off when system go to deep-sleep state. We save the values of registers before suspend and restore to registers after resume. Signed-off-by: Jiang Yutang >>>

Re: [RFC][PATCH 2/3] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-09-20 Thread Kumar Gala
On Sep 20, 2012, at 4:46 AM, Sethi Varun-B16395 wrote: > > >> -Original Message- >> From: Wood Scott-B07421 >> Sent: Thursday, September 20, 2012 5:42 AM >> To: Kumar Gala >> Cc: Sethi Varun-B16395; joerg.roe...@amd.com; iommu@lists.li

Re: [PATCH][v2] powerpc/mm: using two zones for freescale 64 bit kernel

2012-09-20 Thread Kumar Gala
On Sep 20, 2012, at 5:14 AM, Xie Shaohui-B21989 wrote: >>> On Thu, 2012-08-30 at 15:49 -0500, Kumar Gala wrote: >>>> On Aug 24, 2012, at 5:50 AM, Shaohui Xie wrote: >>>> >>>>> PowerPC platform only supports ZONE_DMA zone for 64bit kernel, so >

Re: Deprecating reserve-map in favor of properties

2012-09-20 Thread Kumar Gala
On Sep 20, 2012, at 5:10 PM, Benjamin Herrenschmidt wrote: > Hi folks ! > > The reserve map is, imho, my biggest mistake when coming up with the FDT > format. > > The main problem is that it doesn't survive the transition via a real > Open Firmware interface. There is no practical way to indica

Re: [PATCH] powerpc/fsl-pci: use 'Header Type' to identify PCIE mode

2012-09-21 Thread Kumar Gala
On Sep 20, 2012, at 10:37 PM, Lian Minghaun-b31939 wrote: > Hi Kumar, > > please see my comments inline. > > > On 09/19/2012 10:22 PM, Kumar Gala wrote: >> On Sep 19, 2012, at 2:23 AM, Minghuan Lian wrote: >> >>> The original code uses 'Programming

Re: [PATCH][V4] powerpc/fsl-pci: Add pci inbound/outbound PM support

2012-09-21 Thread Kumar Gala
>>> >>> On Sep 17, 2012, at 9:10 PM, Jia Hongtao wrote: >>> Power supply for PCI inbound/outbound window registers is off when system go to deep-sleep state. We save the values of registers before suspend and restore to registers after resume.

Re: PCI device not working

2012-09-21 Thread Kumar Gala
On Sep 21, 2012, at 6:33 AM, Davide Viti wrote: > Hi, > I'm working on a custom board based on P1020 with two (identical) PCI devices > attached; > The work is derived from another board with a single instance of that device. > The system is based on u-boot-2009.11 and Linux 2.6.34.6 > > The "p

Re: [PATCH v3] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-09-22 Thread Kumar Gala
On Sep 21, 2012, at 11:43 AM, Greg KH wrote: > On Tue, Sep 18, 2012 at 04:52:39PM +0800, Shengzhou Liu wrote: >> when missing USB PHY clock, kernel booting up will hang during USB >> initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid >> CPU hanging in this case. >> >> Signed-off-b

Re: [PATCH][v2] powerpc/mm: using two zones for freescale 64 bit kernel

2012-09-24 Thread Kumar Gala
On Sep 20, 2012, at 8:36 AM, Kumar Gala wrote: > > On Sep 20, 2012, at 5:14 AM, Xie Shaohui-B21989 wrote: > >>>> On Thu, 2012-08-30 at 15:49 -0500, Kumar Gala wrote: >>>>> On Aug 24, 2012, at 5:50 AM, Shaohui Xie wrote: >>>>> >>&g

Re: Probing for native availability of isel from userspace

2012-09-25 Thread Kumar Gala
On Sep 25, 2012, at 3:59 PM, Benjamin Herrenschmidt wrote: > On Tue, 2012-09-25 at 15:17 +0200, Segher Boessenkool wrote: Fine. But I believe that mfpvr emulation came first, which is the point I object to (see the mess that the fact that CPUID is available to applications m

Re: PCI device not working

2012-09-26 Thread Kumar Gala
-efff : ef00.nor > > ffe04500-ffe04507 : serial > > ffe04600-ffe04607 : serial > > > > thanx for your help, > > Davide > > > > > I mean that the kernel detects the first controller and the device attached > to it, plus the second contr

Re: PCI device not working

2012-09-26 Thread Kumar Gala
000-0xff7fcfff] > pci_bus :01: resource 1 [mem 0xa000-0xafff] > pci_bus 0001:02: resource 0 [io 0xff7db000-0xff7eafff] > pci_bus 0001:02: resource 1 [mem 0xb000-0xbfff] > pci_bus 0001:03: resource 0 [io 0xff7db000-0xff7eafff] > pci_bus 0001:03: resource 1 [mem 0xb

Re: [PATCH][V4] powerpc/fsl-pci: Add pci inbound/outbound PM support

2012-09-27 Thread Kumar Gala
>> >> On Sep 17, 2012, at 9:10 PM, Jia Hongtao wrote: >> >>> Power supply for PCI inbound/outbound window registers is off >>> when system go to deep-sleep state. We save the values of >>> registers >>> before >>> suspend and restore to

Re: PCI device not working

2012-09-27 Thread Kumar Gala
On Sep 27, 2012, at 6:43 AM, Davide Viti wrote: > Hi, > >> So its odd that scanning of the second bus didn't report any devices. Do > you have code that implements ppc_md.pci_exclude_device ? > > not that I'm aware > of > >> You might also want to put some code in the indirect PCI ops (indi

Re: [PATCH][v2] powerpc/fsl-pci: use 'Header Type' to identify PCIE mode

2012-09-27 Thread Kumar Gala
On Sep 24, 2012, at 12:50 AM, Minghuan Lian wrote: > The original code uses 'Programming Interface' field to judge if PCIE is > EP or RC mode, however, some latest silicons do not support this > functionality. > According to PCIE specification, 'Header Type' offset 0x0e is used to > indicate hea

Re: [PATCH] driver/mtd:IFC NAND:Initialise internal SRAM before any write

2012-09-27 Thread Kumar Gala
On Sep 13, 2012, at 3:54 AM, Prabhakar Kushwaha wrote: > IFC-1.1.0 uses 28nm techenology for SRAM. This tech has known limitaion for > SRAM i.e. "byte select" is not supported. Hence Read Modify Write is > implemented in IFC for any "system side write" into sram buffer. Reading an > uninitialized

Re: [PATCH][v2] powerpc/mm: using two zones for freescale 64 bit kernel

2012-09-27 Thread Kumar Gala
On Sep 24, 2012, at 7:31 AM, Kumar Gala wrote: > > On Sep 20, 2012, at 8:36 AM, Kumar Gala wrote: > >> >> On Sep 20, 2012, at 5:14 AM, Xie Shaohui-B21989 wrote: >> >>>>> On Thu, 2012-08-30 at 15:49 -0500, Kumar Gala wrote: >>>

Re: [PATCH][V4] powerpc/fsl-pci: Add pci inbound/outbound PM support

2012-09-27 Thread Kumar Gala
>>> Hi Kumar, >>> I have already sent the log. >>> Do you have any comment on it? >>> >>> Thanks. >>> - Hongtao. >>> >> >> Hongtao, >> >> You mentioned: >> >>> I tested the re-parsing way by using setup_pci_atmu() when resume. >>> And I found out that re-parsing will *change* outbound IO >>> t

Re: PCI device not working

2012-09-27 Thread Kumar Gala
On Sep 27, 2012, at 8:14 AM, Davide Viti wrote: > Hi Kumar, > >> Messaggio originale >> Da: ga...@kernel.crashing.org >> Data: > 27/09/2012 14.27 >> A: "Davide Viti" >> Cc: ozlabs.org> >> Ogg: Re: PCI device not working >> > ... >> Can you see what bus_no > actually gets set to in th

Re: [PATCH][V4] powerpc/fsl-pci: Add pci inbound/outbound PM support

2012-09-27 Thread Kumar Gala
On Sep 27, 2012, at 11:27 AM, Li Yang-R58472 wrote: > > 在 Sep 28, 2012,0:07,"Kumar Gala" 写道: > >>>>> Hi Kumar, >>>>> I have already sent the log. >>>>> Do you have any comment on it? >>>>> >>>>&g

Re: [PATCH 3/3] edac/85xx: Enable the EDAC PCI err driver by device_initcall

2012-09-28 Thread Kumar Gala
On Sep 27, 2012, at 4:51 PM, Scott Wood wrote: > On 09/27/2012 04:45:08 PM, Gala Kumar-B11780 wrote: >> On Sep 27, 2012, at 11:09 AM, Scott Wood wrote: >>> On 09/27/2012 02:02:03 PM, Chunhe Lan wrote: Original process of call: The mpc85xx_pci_err_probe function completes to been regi

[git pull] Please pull powerpc.git next branch

2012-10-03 Thread Kumar Gala
Ben, A few minor patches for v3.7. The following changes since commit 7844663a31e97930e3949430573452ac245bfdd5: powerpc/eeh: Don't release eeh_mutex in eeh_phb_pe_get (2012-09-27 12:51:07 +1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/po

Re: [RFC PATCH] powerpc/fsl: add timer wakeup source

2012-10-03 Thread Kumar Gala
On Oct 3, 2012, at 5:42 AM, Wang Dongsheng wrote: > This is only for freescale powerpc platform. The driver provides a way > to wake up system. Proc interface(/proc/powerpc/wakeup_timer_seconds). > > eg: "echo 5 > /proc/powerpc/wakeup_timer_seconds", 5 seconds > after the system will be woken up

Re: PCI device not working

2012-10-04 Thread Kumar Gala
On Oct 4, 2012, at 7:24 AM, Davide Viti wrote: > Hi, > it turns out that if define CONFIG_PCI_NOSCAN in u-boot (as per [1]), the > devide behind the second controller is detected by the Linux kernel. > > Would > you suggest any particular patch I should apply to fix this (I'm using kernel >

Re: [PATCH 2/3 v2] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-10-04 Thread Kumar Gala
On Oct 4, 2012, at 6:56 AM, wrote: > From: Varun Sethi > > Added the following domain attributes required by FSL PAMU driver: > 1. Subwindows field added to the iommu domain geometry attribute. > 2. Added new iommu stash attribute, which allows setting of the > LIODN specific stash id param

Re: [PATCH 3/3 v2] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2012-10-04 Thread Kumar Gala
On Oct 4, 2012, at 6:56 AM, wrote: > From: Varun Sethi > > Following is a brief description of the PAMU hardware: > PAMU determines what action to take and whether to authorize the action on > the basis > of the memory address, a Logical IO Device Number (LIODN), and PAACT table > (logicall

Re: PCI device not working

2012-10-05 Thread Kumar Gala
On Oct 5, 2012, at 3:54 AM, Davide Viti wrote: > (just realized I did not send this to the mailing list: sorry for the noise) > > Hi Kumar, > > 2012/10/4 Kumar Gala : >> >> On Oct 4, 2012, at 7:24 AM, Davide Viti wrote: >> >>> Hi, >>> it t

Re: [PATCH 2/6] powerpc: Define CPU_FTR_HAS_PPR

2012-10-31 Thread Kumar Gala
On Oct 31, 2012, at 1:52 AM, Haren Myneni wrote: > [PATCH 2/6] powerpc: Define CPU_FTR_HAS_PPR > > CPU_FTR_HAS_PPR is defined for POWER7. Would be nice if commit message spelled out what PPR is. > > Signed-off-by: Haren Myneni > --- > arch/powerpc/include/asm/cputable.h |6 -- > 1 fil

Re: [PATCH] powerpc/pci-hotplug: fix the rescanned pci device's dma_set_mask issue

2012-11-25 Thread Kumar Gala
On Nov 22, 2012, at 10:29 PM, Yuanquan Chen wrote: > On powerpc arch, dma_ops of rescanned pci device after system's booting up > won't be > initialized by system, so it will fail to execute the dma_set_mask in the > device's > driver. Initialize it to solve this issue. > > Signed-off-by: Yuan

Re: [PATCH 1/2] powerpc/85xx: p1022ds: Use NULL instead of 0 for pointers

2012-11-25 Thread Kumar Gala
On Nov 19, 2012, at 10:31 PM, Tushar Behera wrote: > The third argument for of_get_property() is a pointer, hence pass > NULL instead of 0. > > Signed-off-by: Tushar Behera > --- > arch/powerpc/platforms/85xx/p1022_ds.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) applied to ne

Re: [PATCH 2/2] powerpc/86xx: fsl_pcibios_fixup_bus requires CONFIG_PCI

2012-11-25 Thread Kumar Gala
On Oct 15, 2012, at 2:52 PM, Timur Tabi wrote: > Function fsl_pcibios_fixup_bus() is available only if PCI is enabled. The > MPC8610 HPCD platform file was not protecting the assigned with an #ifdef, > which results in a link failure when PCI is disabled. Every other platform > already has this

Re: [PATCH][V3] powerpc/fsl-pci: Add PCI controller ATMU PM support

2012-11-25 Thread Kumar Gala
On Nov 7, 2012, at 8:11 PM, Jia Hongtao wrote: > Power supply for PCI controller ATMU registers is off when system go to > deep-sleep state. So ATMU registers should be re-setup during PCI > controllers resume from sleep. > > Signed-off-by: Jia Hongtao > Signed-off-by: Li Yang > --- > arch/pow

Re: [PATCH 2/4] iommu/fsl: Add PAMU bypass enable register to ccsr_guts structure.

2012-11-25 Thread Kumar Gala
On Nov 20, 2012, at 7:54 AM, Varun Sethi wrote: > PAMU bypass enable register added to the ccsr_guts structure. > > Signed-off-by: Timur Tabi > Signed-off-by: Varun Sethi > --- > arch/powerpc/include/asm/fsl_guts.h |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) applied to next

Re: [PATCH 1/2] powerpc/dma/raidengine: add raidengine device

2012-11-25 Thread Kumar Gala
On Nov 21, 2012, at 3:01 AM, wrote: > From: Xuelin Shi > > The RaidEngine is a new Freescale hardware that used for parity > computation offloading in RAID5/6. > > This patch adds the device node in device tree and related binding > documentation. > > Signed-off-by: Harninder Rai > Signed

Re: [PATCH] i2c-cpm: Fix to takeback i2c bus master-ship after a collision

2012-11-25 Thread Kumar Gala
On Oct 30, 2012, at 10:00 PM, sachin surendran wrote: > In case of collision on i2c bus the controller which lost bus mastership > stays as a slave > for all subsequent transfers. This results in the i2c controller never > writing to the bus > for future transactions, resulting in i2c transfer

[git pull] Please pull powerpc.git next branch

2012-11-25 Thread Kumar Gala
The following changes since commit ce812a79a4fda3885a15711aee3de78c4a24: powerpc: Disable relocation on exceptions when kexecing (2012-11-15 15:08:08 +1100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git next for you to fetch cha

Re: [PATCH] powerpc/pci-hotplug: fix the rescanned pci device's dma_set_mask issue

2012-11-29 Thread Kumar Gala
On Nov 27, 2012, at 8:34 PM, Chen Yuanquan-B41889 wrote: > On 11/25/2012 08:41 PM, Kumar Gala wrote: >> On Nov 22, 2012, at 10:29 PM, Yuanquan Chen wrote: >> >>> On powerpc arch, dma_ops of rescanned pci device after system's booting up >>> won't be

Re: [PATCH 1/4 v2] iommu/fsl: Store iommu domain information pointer in archdata.

2012-11-29 Thread Kumar Gala
On Nov 25, 2012, at 11:33 PM, Sethi Varun-B16395 wrote: > Hi Kumar, > Can you please apply this patch. > > Regards > Varun Was waiting on the others to apply this all together. (ie getting an Ack from Joerg, and follow comments from Timur to be resolved) - k > >> -Original Message-

Re: [PATCH] powerpc/pci-hotplug: fix the rescanned pci device's dma_set_mask issue

2012-12-04 Thread Kumar Gala
On Nov 28, 2012, at 11:34 AM, Kumar Gala wrote: > > On Nov 27, 2012, at 8:34 PM, Chen Yuanquan-B41889 wrote: > >> On 11/25/2012 08:41 PM, Kumar Gala wrote: >>> On Nov 22, 2012, at 10:29 PM, Yuanquan Chen wrote: >>> >>>> On powerpc arch, dma_ops o

Re: 5020 SATA fix

2012-02-16 Thread Kumar Gala
On Feb 16, 2012, at 6:29 PM, Benjamin Herrenschmidt wrote: > Hi Lei ! > > In your SDK kernel I see this commit: > > 92c0ce1e599e788ffc0908739db9bd5e0dbdad69 > sata_fsl: Add the workaround for SATA-A005 erratum on P2040/P3041/P5020 > > Without this commit, SATA doesn't work on the p5020ds board

Re: [PATCH 1/2] powerpc/85xx: fix problem that prevents PHYS_64BIT from configurable

2012-02-16 Thread Kumar Gala
On Feb 16, 2012, at 6:10 AM, Li Yang wrote: > Fix the problem that large physical address support cannot be > disabled when some platforms which only provides 36-bit support > are selected. According to the philosophy of kernel config > enabling a platform support doesn't mean the kernel is only

Re: [PATCH] powerpc/srio: Fix the compile errors when building with 64bit

2012-03-02 Thread Kumar Gala
On Mar 2, 2012, at 1:08 AM, Liu Gang wrote: > For the file "arch/powerpc/sysdev/fsl_rmu.c", there will be some compile > errors while using the corenet64_smp_defconfig: > > .../fsl_rmu.c:315: error: cast from pointer to integer of different size > .../fsl_rmu.c:320: error: cast to pointer from i

Re: [PATCH] powerpc/dts: fix the compatible string of sec 4.0

2012-03-06 Thread Kumar Gala
On Mar 6, 2012, at 1:21 AM, Shengzhou Liu wrote: > From: Liu Shuo > > Fix the compatible string of sec 4.0 to match with CAMM driver according > to the documentation file > Documentation/devicetree/bindings/crypto/fsl-sec4.txt. > > Signed-off-by: Liu Shuo > Signed-off-by: Shengzhou Liu > --

Re: [PATCH 2/4] fsl_pci: Add a workaround for PCI 5 errata in MPC8548

2012-03-06 Thread Kumar Gala
On Mar 6, 2012, at 3:10 AM, Zhao Chenhui wrote: > + if ((fsl_svr_is(SVR_8548) || fsl_svr_is(SVR_8548_E)) && Should this also have 8547, 8547E, 8545, 8545E, 8543, & 8543E? > + !early_find_capability(hose, 0, 0, PCI_CAP_ID_PCIX)) { > + early_read_co

Re: [PATCH 1/9] pci_ids: Add device ID for IBM PCI-X bridge

2012-03-06 Thread Kumar Gala
On Mar 6, 2012, at 3:05 AM, Zhao Chenhui wrote: > Signed-off-by: Zhao Chenhui > --- > include/linux/pci_ids.h |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) Just merge this with the 2nd patch that actually uses the ID. - k ___ Linuxppc-d

Re: [PATCH 2/9] powerpc/mpc85xxcds: Fix PCI I/O space resource of PCI bridge

2012-03-06 Thread Kumar Gala
rch/powerpc/platforms/85xx/mpc85xx_cds.c > b/arch/powerpc/platforms/85xx/mpc85xx_cds.c > index 40f03da..c009c5b 100644 > --- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c > +++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c > @@ -3,7 +3,7 @@ > * > * Maintained by Kumar Gala (

Re: [PATCH 6/9] powerpc/mpc8548cds: Add FPGA node to dts

2012-03-06 Thread Kumar Gala
On Mar 6, 2012, at 3:06 AM, Zhao Chenhui wrote: > From: chenhui zhao > > Remove FPGA(CADMUS) macros in code. Move it to dts. > > Signed-off-by: Zhao Chenhui > Signed-off-by: Li Yang > --- Timur, Do you mind reviewing & ack'ing. - k > arch/powerpc/boot/dts/mpc8548cds.dts |8 -

Re: [PATCH V2 1/2] powerpc: Move GE GPIO and PIC drivers

2012-03-06 Thread Kumar Gala
On Feb 28, 2012, at 4:22 AM, Martyn Welch wrote: > Move the GE GPIO and PIC drivers to allow these to be used by non-86xx > boards. > > Signed-off-by: Martyn Welch > --- > > v2: Move GPIO and PIC drivers to sysdev/ge/ rather than platforms/. > > arch/powerpc/platforms/86xx/Kconfig

Re: [PATCH] powerpc/srio: Fix the compile errors when building with 64bit

2012-03-06 Thread Kumar Gala
On Mar 5, 2012, at 8:20 AM, Liu Gang wrote: > Hi, Kumar, > > On Fri, 2012-03-02 at 09:11 -0600, Kumar Gala wrote: >>> diff --git a/arch/powerpc/sysdev/fsl_rmu.c b/arch/powerpc/sysdev/fsl_rmu.c >>> index 1548578..468011e 100644 >>> --- a/arch/powerpc/sys

Re: [PATCH 2/9] powerpc/mpc85xxcds: Fix PCI I/O space resource of PCI bridge

2012-03-07 Thread Kumar Gala
gt;>> +++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c >>> @@ -3,7 +3,7 @@ >>> * >>> * Maintained by Kumar Gala (see MAINTAINERS for contact information) >>> * >>> - * Copyright 2005 Freescale Semiconductor Inc. >>> + * Copyright 2005, 2011-2012 Free

Re: [PATCH 2/2 V3] powerpc/85xx: Add p2020rdb-pc dts support

2012-03-16 Thread Kumar Gala
On Feb 10, 2012, at 1:59 AM, wrote: > From: Tang Yuantian > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Poonam Aggrwal > Signed-off-by: Tang Yuantian > --- > v3: > -correct the patch author > > arch/powerpc/boot/dts/p2020rdb-pc.dtsi| 241 +

Re: [PATCH] powerpc/85xx:Add usb controller version info

2012-03-16 Thread Kumar Gala
On Jan 17, 2012, at 11:40 PM, Ramneek Mehresh wrote: > Add usb controller version info for the following: > MPC8536, P1010, P1020, P1021, P1022, P1023, P2020, P2041, > P3041, P3060, P5020 > > Signed-off-by: Ramneek Mehresh > --- > Applies on git://git.kernel.org/pub/scm/linux/kernel/git/galak/p

Re: [PATCH 1/2 v4] powerpc/85xx: Add p1025rdb platform support

2012-03-16 Thread Kumar Gala
On Feb 16, 2012, at 3:07 PM, Tabi Timur-B04825 wrote: > On Tue, Feb 14, 2012 at 2:06 AM, Zhicheng Fan wrote: >> From: Zhicheng Fan >> >> Signed-off-by: Zhicheng Fan >> --- > > Acked-by: Timur Tabi > > -- applied - k ___ Linuxppc-dev mailing li

Re: [PATCH 2/2 v4] powerpc/dts: Add dts for p1025rdb board

2012-03-16 Thread Kumar Gala
On Feb 16, 2012, at 3:06 PM, Tabi Timur-B04825 wrote: > On Tue, Feb 14, 2012 at 2:06 AM, Zhicheng Fan wrote: >> From: Zhicheng Fan >> >> P1025RDB Overview >> -- >> 1Gbyte DDR3 SDRAM >> 32 Mbyte NAND flash >> 16Mbyte NOR flash >> 16 Mbyte SPI flash >> SD connector to interface w

Re: [PATCH] powerpc/srio: Fix the relocation errors when building with 64bit

2012-03-16 Thread Kumar Gala
On Mar 5, 2012, at 8:58 PM, Liu Gang wrote: > For the file "arch/powerpc/sysdev/fsl_rio.c", there will be some relocation > errors while using the corenet64_smp_defconfig: > > WARNING: modpost: Found 6 section mismatch(es). > To see full details build your kernel with: > 'make CONFIG_DEBUG_SECTI

Re: [PATCH v3] powerpc/srio: Fix the compile errors when building with 64bit

2012-03-16 Thread Kumar Gala
On Mar 9, 2012, at 2:10 AM, Liu Gang wrote: > For the file "arch/powerpc/sysdev/fsl_rmu.c", there will be some compile > errors while using the corenet64_smp_defconfig: > > .../fsl_rmu.c:315: error: cast from pointer to integer of different size > .../fsl_rmu.c:320: error: cast to pointer from i

Re: [PATCH] powerpc/boot: fix typo in p1010rdb.dtsi

2012-03-16 Thread Kumar Gala
On Feb 28, 2012, at 1:43 PM, Gustavo Zacarias wrote: > Fix typo introduced by "powerpc: Add TBI PHY node to first MDIO bus" > from Andy Fleming. > It's device_type rather than device-type, which causes the mdio probe to > fail thus making all gianfar ethernet interfaces unusable. > > Signed-off-

Re: [PATCH 2/2] powerpc/p2020rdb p1010rdb: lower spi flash freq to 40Mhz

2012-03-16 Thread Kumar Gala
On Mar 15, 2012, at 12:40 PM, Sebastian Andrzej Siewior wrote: > This is here most likely since the FSL bsp. Back in the FSL bsp it was > set to 50Mhz and working. However the driver divided the SoC freq. only > by 2. According to the TRM the platform clock (which the manual refers > in its formu

Re: [PATCH] powerpc/fsl_msi : return proper error value when ioremap failed.

2012-03-16 Thread Kumar Gala
On Mar 8, 2012, at 4:47 PM, soniccat@gmail.com wrote: > From: Liu Shuo > > Signed-off-by: Liu Shuo > --- > arch/powerpc/sysdev/fsl_msi.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) applied - k ___ Linuxppc-dev mailing list Linux

Re: [PATCH 1/2] powerpc/fsl-booke: Fixup calc_cam_sz to support MMU v2

2012-03-16 Thread Kumar Gala
On Jan 18, 2012, at 1:39 PM, Kumar Gala wrote: > The registers that describe size supported by TLB are different on MMU > v2 as well as we support power of two page sizes. For now we continue > to assume that FSL variable size array supports all page sizes up to the > maximum one

Re: [PATCH 2/2] powerpc: Add initial e6500 cpu support

2012-03-16 Thread Kumar Gala
On Jan 18, 2012, at 1:39 PM, Kumar Gala wrote: > Add basic support for e6500 core in its single threaded mode. > > Signed-off-by: Kumar Gala > --- > arch/powerpc/include/asm/cputable.h | 12 > arch/powerpc/kernel/cputable.c | 18 ++ >

Re: [PATCH] p1010rdb: gianfar config does not have queues.

2012-03-16 Thread Kumar Gala
On Aug 11, 2011, at 9:25 AM, Robin Holt wrote: > If I have the the fsl,num_rx_queues and fsl,num_tx_queues properties > defined in the p1010's device tree file, I get a kernel panic very > shortly after boot. The failure indicates we are configuring the > gianfar.c driver for a queue depth great

Re: [PATCH] P1021: set IReady in QE Microcode Upload

2012-03-16 Thread Kumar Gala
On Nov 24, 2011, at 7:57 AM, Tabi Timur-B04825 wrote: > On Nov 24, 2011, at 1:55 AM, Kumar Gala wrote: > >>> >>> I'll have to check. But this patch can't be applied as-is unless it's >>> proven safe for all QE-enabled chips. >> >>

Re: [PATCH] powerpc/fsl_msi : return proper error value when ioremap failed.

2012-03-16 Thread Kumar Gala
On Mar 8, 2012, at 4:47 PM, soniccat@gmail.com wrote: > From: Liu Shuo > > Signed-off-by: Liu Shuo > --- > arch/powerpc/sysdev/fsl_msi.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) applied - k ___ Linuxppc-dev mailing list Linux

Re: [PATCH 1/2] powerpc/p2020rdb: move the NAND address.

2012-03-16 Thread Kumar Gala
On Mar 15, 2012, at 12:40 PM, Sebastian Andrzej Siewior wrote: > It is not at 0xffa0. According to current u-boot source the NAND > controller is always at 0xff80 and it is either at CS0 or CS1 > depending on NAND or NAND+NOR mode. In 36bit mode it is shifted to > 0xfff80 but it has a

Re: [PATCH 3/4] powerpc/85xx: add the P1020MBG-PC DTS support

2012-03-16 Thread Kumar Gala
On Mar 14, 2012, at 4:08 AM, wrote: > + partition@0 { > + /* 128KB for DTB Image */ > + reg = <0x0 0x0002>; > + label = "NOR (RO) DTB Image"; > + read-only; > + }; > + How many times ar

Re: [PATCH 1/2] powerpc/dts: Add some DTS nodes and attributes for mpc8536ds

2012-03-16 Thread Kumar Gala
On Jan 17, 2012, at 3:59 AM, Xie Xiaobo wrote: > 1. Add partitions for NOR and NAND Flash. > 2. Additional attributes for sdhc. > > Signed-off-by: Xie Xiaobo > --- > arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi |5 ++ > arch/powerpc/boot/dts/mpc8536ds.dts |6 ++- > arch/powerpc

Re: [PATCH 2/2] powerpc/dts: Add magic-packet properties for etsec

2012-03-16 Thread Kumar Gala
On Jan 17, 2012, at 3:59 AM, Xie Xiaobo wrote: > The properties indicates that the hardware supports waking up via magic > packet. > > Signed-off-by: Xie Xiaobo > --- > arch/powerpc/boot/dts/fsl/pq3-etsec1-0.dtsi |3 ++- > arch/powerpc/boot/dts/fsl/pq3-etsec1-1.dtsi |3 ++- > arch/powerp

Re: [PATCH 2/2] [v4] powerpc/85xx: create 32-bit DTS for the P1022DS

2012-03-16 Thread Kumar Gala
On Feb 15, 2012, at 6:25 PM, Timur Tabi wrote: > Create a 32-bit address space version of p1022ds.dts. To avoid confusion, > p1022ds.dts is renamed to p1022ds_36b.dts. We also create p1022ds.dtsi > to store some common nodes. > > Signed-off-by: Timur Tabi > --- > arch/powerpc/boot/dts/p1022ds

Re: [PATCH 1/2] [v4] powerpc/85xx: p1022ds: disable the NOR flash node if video is enabled

2012-03-16 Thread Kumar Gala
On Feb 15, 2012, at 6:25 PM, Timur Tabi wrote: > The Freescale P1022 has a unique pin muxing "feature" where the DIU video > controller's video signals are muxed with 24 of the local bus address signals. > When the DIU is enabled, the bulk of the local bus is disabled, preventing > access to memo

Re: [PATCH] powerpc/85xx: Clean up partition nodes in dts for MPC8572DS

2012-03-16 Thread Kumar Gala
On Feb 20, 2012, at 8:11 PM, Jia Hongtao wrote: > Signed-off-by: Jin Qing > Signed-off-by: Jia Hongtao > Signed-off-by: Li Yang > --- > arch/powerpc/boot/dts/mpc8572ds.dtsi | 50 + > 1 files changed, 32 insertions(+), 18 deletions(-) applied - k _

Re: [PATCH 1/4] powerpc/85xx: add P1020MBG-PC platform support

2012-03-16 Thread Kumar Gala
On Mar 14, 2012, at 4:08 AM, wrote: > From: Jerry Huang > > The p1020mbg-pc has the similar feature as the p1020rdb. > Therefore, p1020mbg-pc use the same platform file as the p1/p2 rdb board. > Overview of P1020MBG-PC platform: >- DDR3 2GB >- NOR flash 64MB >- I2C EE

Re: [PATCH][v4] NAND Machine support for Integrated Flash Controller

2012-03-16 Thread Kumar Gala
On Mar 15, 2012, at 12:34 AM, Prabhakar Kushwaha wrote: > Integrated Flash Controller(IFC) can be used to hook NAND Flash > chips using NAND Flash Machine available on it. > > Signed-off-by: Dipen Dudhat > Signed-off-by: Scott Wood > Signed-off-by: Li Yang > Signed-off-by: Liu Shuo > Signed-

Re: [PATCH 2/4] powerpc/85xx: add P1020UTM-PC platform support

2012-03-16 Thread Kumar Gala
On Mar 14, 2012, at 4:08 AM, wrote: > From: Jerry Huang > > The p1020utm-pc has the similar feature as the p1020rdb. > Therefore, p1020utm-pc use the same platform file as the p1/p2 rdb board. > Overview of P1020UTM-PC platform: >- DDR3 1GB >- NOR flash 32MB >- I2C EE

Re: [PATCH 1/4] powerpc/85xx: add P1020MBG-PC platform support

2012-03-16 Thread Kumar Gala
On Mar 14, 2012, at 4:08 AM, wrote: > From: Jerry Huang > > The p1020mbg-pc has the similar feature as the p1020rdb. > Therefore, p1020mbg-pc use the same platform file as the p1/p2 rdb board. > Overview of P1020MBG-PC platform: >- DDR3 2GB >- NOR flash 64MB >- I2C EE

Re: [PATCH 1/2 v5] powerpc/85xx: Add p1020rdb-pc platform support

2012-03-16 Thread Kumar Gala
On Feb 10, 2012, at 12:48 AM, Zhicheng Fan wrote: > From: Zhicheng Fan > > Signed-off-by: Zhicheng Fan > --- > arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 24 +++- > 1 files changed, 23 insertions(+), 1 deletions(-) applied - k ___

Re: [PATCH 2/2 v5] powerpc/dts: Add dts for p1020rdb-pc board

2012-03-16 Thread Kumar Gala
On Feb 10, 2012, at 12:48 AM, Zhicheng Fan wrote: > From: Zhicheng Fan > > P1020RDB-PC Overview > -- > 1Gbyte DDR3 SDRAM > 32 Mbyte NAND flash > 10 16Mbyte NOR flash > 16 Mbyte SPI flash > SD connector to interface with the SD memory card > Real-time clock on I2C bus > > PCIe:

Re: [PATCH v3 1/4] powerpc: Add GE FPGA config option

2012-03-16 Thread Kumar Gala
On Mar 12, 2012, at 12:12 PM, Martyn Welch wrote: > This patch adds the GE_FPGA configuration option. This is being carried > out as ground work to allow the PIC and GPIO drivers to be move from the > powerpc 86xx platform directory to more general locations to allow them to > be used on non-86xx

Re: [PATCH v3 2/4] gpio: Move GE GPIO driver to reside within GPIO subsystem

2012-03-16 Thread Kumar Gala
On Mar 12, 2012, at 12:12 PM, Martyn Welch wrote: > The GE GPIO driver provides basic support (set direction, read/write state) > for the GPIO provided on some GE single board computers. This patch moves > the driver from the 86xx specific platform directrory to the GPIO subsystem > so that it ca

Re: [PATCH v3 3/4] powerpc: Move GE PIC drivers

2012-03-16 Thread Kumar Gala
On Mar 12, 2012, at 12:12 PM, Martyn Welch wrote: > Move the GE PIC drivers to allow these to be used by non-86xx boards. > > Signed-off-by: Martyn Welch > --- > > v2: Move GPIO and PIC drivers to sysdev/ge/ rather than platforms/. > > v3: Now just PIC driver. GPIO driver going to drivers/gpi

Re: [PATCH v3 4/4] powerpc: Board support for GE IMP3A

2012-03-16 Thread Kumar Gala
On Mar 12, 2012, at 12:13 PM, Martyn Welch wrote: > Initial board support for the GE IMP3A, a 3U compactPCI card with a p2020 > processor. > > Signed-off-by: Martyn Welch > --- > > v2: Rebase patch onto powerpc/next, taking work by Kyle Moffett into >account. > > v3: Correct detection of

<    3   4   5   6   7   8   9   10   11   12   >