[linux-yocto] [PATCH 01/35] LSI AXM55xx RapidIO: Fixed a rare case of missing a RIO interrupt

2014-11-13 Thread Daniel Dragomir
From: Palani This happens during multiple mailbox messaging. Removed the redundant serdes register (ncr) read for link status check, as the driver checks the status using the sRIO registers. Signed-off-by: Palani --- arch/arm/mach-axxia/rapidio.c | 8 drivers/rapidio/de

[linux-yocto] [PATCH 04/35] arch/arm: New Device Trees for Axxia Simulation Targets

2014-11-13 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/boot/dts/Makefile | 6 +- arch/arm/boot/dts/axm5504-sim-mmc.dts| 127 + arch/arm/boot/dts/axm5504-sim-virtio.dts | 126 + arch/arm/boot/dts/axm5504-sim.dts

[linux-yocto] [PATCH 03/35] arch/arm/mach-axxia: Make Sure SRIO is Enabled Before Accessing

2014-11-13 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/mach-axxia/rapidio.c | 30 +- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-axxia/rapidio.c b/arch/arm/mach-axxia/rapidio.c index 8e8961f..4de8787 100644 --- a/arch/arm/mach-ax

[linux-yocto] [PATCH 00/35] LSI AXXIA updates to 3.10 standard/axxia/base

2014-11-13 Thread Daniel Dragomir
Hello Bruce, Just want to inform that I picked up Paul Charlie submission responsibilities for LSI/AXXIA patches. I checked the patches with checkpatch script and I verified these apply fine on standard/axxia/base branch. Topics: - Update some RapidIO driver updates and errors fixes. - Add new

[linux-yocto] [PATCH 05/35] arch/powerpc: Update the Axxia NAND Driver for 3500

2014-11-13 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- drivers/mtd/nand/lsi_acp_nand.c | 174 +++- 1 file changed, 84 insertions(+), 90 deletions(-) diff --git a/drivers/mtd/nand/lsi_acp_nand.c b/drivers/mtd/nand/lsi_acp_nand.c index dbb95b5..3f9e79d 100644 ---

[linux-yocto] [PATCH 06/35] arch/arm: Default Configuration for a Guest OS Example (Axxia)

2014-11-13 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/vexpress-a15-guest.dts | 368 +++ 2 files changed, 370 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/vexpress-a15-guest.dts d

[linux-yocto] [PATCH 07/35] arch/powerpc: Reset Updates for Axxia

2014-11-13 Thread Daniel Dragomir
From: John Jacques There is a hardware issue on the 3500 that requires resets to be issued using the system control register instead of dbcr0. This patch implements that work around when the PVR is 0x7ff520c1. Signed-off-by: John Jacques --- arch/powerpc/sysdev/ppc4xx_soc.c | 71 +

[linux-yocto] [PATCH 02/35] arch/arm/mach-axxia: Clean Up Compatible Names

2014-11-13 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/boot/dts/axm5504-emu.dts | 4 ++-- arch/arm/boot/dts/axm5504-sim.dts | 6 +++--- arch/arm/boot/dts/axm5507-emu.dts | 6 +++--- arch/arm/boot/dts/axm5508-amarillo.dts | 6 +++--- arch/arm/boot/dts/axm5512-amarillo.dts | 6

[linux-yocto] [PATCH 09/35] Checking in EDAC support for AXM55xx preempt_rt

2014-11-13 Thread Daniel Dragomir
From: SangeethaRao Signed-off-by: SangeethaRao --- drivers/edac/axxia_edac.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/edac/axxia_edac.c b/drivers/edac/axxia_edac.c index ee62e3e..1facb09 100644 --- a/drivers/edac/axxia_edac.c +++ b/drivers/edac/axxia_eda

[linux-yocto] [PATCH 08/35] Checking in AXM5500 EDAC driver support

2014-11-13 Thread Daniel Dragomir
From: SangeethaRao Signed-off-by: SangeethaRao --- arch/arm/boot/dts/axm5516-amarillo.dts | 4 + arch/arm/boot/dts/axm55xx.dtsi | 11 +- drivers/edac/Kconfig | 5 + drivers/edac/Makefile | 2 +- drivers/edac/axxia_edac.c | 405 +

[linux-yocto] [PATCH 11/35] LSI AXM55xx RapidIO: Added support for variable segment size

2014-11-13 Thread Daniel Dragomir
From: Palani Added support for variable segment size during the mailbox transmission, depending on the message length. The spinlock is acquired only when multiple mailboxes are opened on a single OBDME, to reduce the effect of spinlocks during single mailbox operation. Further optimised the mail

[linux-yocto] [PATCH 10/35] arch/arm/mach-axxia: Updated AXM55xx DTS and EDAC driver

2014-11-13 Thread Daniel Dragomir
From: SangeethaRao Using correct Dickens config memory map Signed-off-by: SangeethaRao --- arch/arm/boot/dts/axm55xx.dtsi | 11 ++-- drivers/edac/axxia_edac.c | 64 ++ 2 files changed, 49 insertions(+), 26 deletions(-) diff --git a/arch/arm/boo

[linux-yocto] [PATCH 14/35] arch/arm/mach-axxia: Check Status and Add Locks to NCR Accesses

2014-11-13 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/mach-axxia/ncr.c | 73 +-- 1 file changed, 64 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-axxia/ncr.c b/arch/arm/mach-axxia/ncr.c index 51fcf66..995e8a0 100644 --- a/arch/arm/ma

[linux-yocto] [PATCH 12/35] drivers/edac/axxia_edac.c: Updated EDAC driver to set pscratch reg bit 3

2014-11-13 Thread Daniel Dragomir
From: SangeethaRao Set pscratch reg bit 3 to indicate uncorrectable errors Signed-off-by: SangeethaRao --- arch/arm/boot/dts/axm55xx.dtsi | 1 + drivers/edac/axxia_edac.c | 52 +- 2 files changed, 47 insertions(+), 6 deletions(-) diff --git a/arch

[linux-yocto] [PATCH 15/35] arch/powerpc/boot/dts: Checking in DTS files for ACP34xx/AXM3500

2014-11-13 Thread Daniel Dragomir
From: SangeethaRao Signed-off-by: SangeethaRao --- arch/powerpc/boot/dts/acp342x.dts | 20 +- arch/powerpc/boot/dts/acp344x.dts | 8 +- arch/powerpc/boot/dts/acp35xx.dts | 111 +++ arch/powerpc/boot/dts/lsi_acp342x.dts | 317 -- arch/powerpc/bo

[linux-yocto] [PATCH 16/35] LSI AXM55xx RapidIO: Added support for periodic timer handlers

2014-11-13 Thread Daniel Dragomir
From: Palani Added support for periodic timer handlers in place of interrupt handlers for mailbox messages to reduce the interrupt handling overhead. The Outbound mailbox message completions are handled by the periodic timer handler. Support has been added to handle inbound message completions b

[linux-yocto] [PATCH 17/35] arm/axxia: pci: Add missing calls to release_resource

2014-11-13 Thread Daniel Dragomir
From: Fredrik Markström Release io-resource in a couple of failure cases, this used to cause oopses when cat:nig /proc/ioports Signed-off-by: Fredrik Markström Signed-off-by: Anders Berg --- arch/arm/mach-axxia/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-axxia/pc

[linux-yocto] [PATCH 18/35] ARM: axxia: Remove unused files

2014-11-13 Thread Daniel Dragomir
From: Anders Berg Signed-off-by: Anders Berg --- arch/arm/mach-axxia/Makefile | 1 - arch/arm/mach-axxia/axxia.c | 1 - arch/arm/mach-axxia/i2c.c| 210 --- arch/arm/mach-axxia/i2c.h| 35 4 files changed, 247 deletions(-) delete mod

[linux-yocto] [PATCH 13/35] arch/arm/mach-axxia: Support for CPU Hotplug

2014-11-13 Thread Daniel Dragomir
From: John Jacques This includes powering down a cluster when all four cores are off and powering up the cluster when one of the cores gets re-enabled. Signed-off-by: John Jacques --- arch/arm/mach-axxia/Makefile |2 +- arch/arm/mach-axxia/axxia-gic.c| 10 +- ar

[linux-yocto] [PATCH 20/35] arm: axxia: Remove GPIO platform data

2014-11-13 Thread Daniel Dragomir
From: Anders Berg Use DT based config for GPIO and drop the platform data setup. Signed-off-by: Anders Berg --- arch/arm/boot/dts/axm55xx.dtsi | 6 ++ arch/arm/mach-axxia/axxia.c| 18 -- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/

[linux-yocto] [PATCH 21/35] net: femac: Avoid panic in skb_put()

2014-11-13 Thread Daniel Dragomir
From: Anders Berg On very rare occations the femac_rx_packet() will overrun the sk_buff causuing skb_put() to panic. To current date, we have only had one reported case which makes it hard to diagnose. This patch is not a proper solution, it is a step on the way to get some more information on th

[linux-yocto] [PATCH 19/35] gpio: pl061: specify gpio base via device tree

2014-11-13 Thread Daniel Dragomir
From: Anders Berg Use DT alias to allow the gpio base to be selected. This solves compatibility with user-space programs that expects a fixed numbering scheme from non-DT system. If an alias for the device node is not defined in device tree, the fallback is to use the dynamically allocated number

[linux-yocto] [PATCH 22/35] arch/powerpc: Removed Axxia Specific Changes

2014-11-13 Thread Daniel Dragomir
From: John Jacques All modifications for Axxia (CONFIG_ACP) have been removed. Signed-off-by: John Jacques --- arch/powerpc/sysdev/ppc4xx_soc.c | 71 1 file changed, 71 deletions(-) diff --git a/arch/powerpc/sysdev/ppc4xx_soc.c b/arch/powerpc/sysdev/pp

[linux-yocto] [PATCH 25/35] arch/arm/mach-axxia: Fix Compiler Warnings

2014-11-13 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/mach-axxia/axxia-gic.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-axxia/axxia-gic.c b/arch/arm/mach-axxia/axxia-gic.c index c670f3d..29a80f6 100644 --- a/arch/arm/mach-axxia/axxia-gic.c +++ b/arch/arm/mach-axxi

[linux-yocto] [PATCH 23/35] arch/powerpc: Add a Work Around for Axxia 3500 Resets

2014-11-13 Thread Daniel Dragomir
From: John Jacques The work around is to switch the PPCs back to the reference clock before issuing a reset. As described in the defect: The reset_system issue is caused since the 6 counters are **NOT** reset by reset_system, but the PLL and clock switch that controls the counters **IS**. Work

[linux-yocto] [PATCH 28/35] drivers/net/ethernet/lsi: Fix Compiler Warnings

2014-11-13 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- drivers/net/ethernet/lsi/lsi_acp_net.c | 6 -- drivers/net/ethernet/lsi/lsi_acp_net.h | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/lsi/lsi_acp_net.c b/drivers/net/ethernet/lsi/lsi_acp_net.

[linux-yocto] [PATCH 31/35] drivers/misc/lsi-smmon.c: Updated smmon driver

2014-11-13 Thread Daniel Dragomir
From: SangeethaRao Updated smmon driver such that uncorrectable errors causes machine_restart instead of kernel panic. Also, setting persistent register (0xdc) bit 3 to indicate uncorrectable errors. Updated kconfig such that if EDAC driver is enabled in Kernel config then smmon driver will be di

[linux-yocto] [PATCH 27/35] arch/arm/mach-axxia: Fix Build Warnings

2014-11-13 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/mach-axxia/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-axxia/platsmp.c b/arch/arm/mach-axxia/platsmp.c index 2d4d0e9..0120745 100644 --- a/arch/arm/mach-axxia/platsmp.c +++ b/arch/arm/mac

[linux-yocto] [PATCH 32/35] arch/arm/mach-axxia: machine_restart() related change to axxia_restart()

2014-11-13 Thread Daniel Dragomir
From: SangeethaRao Signed-off-by: SangeethaRao --- arch/arm/mach-axxia/axxia.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-axxia/axxia.c b/arch/arm/mach-axxia/axxia.c index d3f3e91..52dfe65 100644 --- a/arch/arm/mach-axxia/axxia.c +++ b/arch/arm/mach

[linux-yocto] [PATCH 24/35] arch/arm: Add ioremap_cache() (same functionality as ioremap_cached())

2014-11-13 Thread Daniel Dragomir
From: John Jacques Both are used by some drivers. Signed-off-by: John Jacques --- arch/arm/include/asm/io.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 56d821b..485e7a5 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/i

[linux-yocto] [PATCH 29/35] arch/arm/mach-axxia: Added a Device Tree for Simulation

2014-11-13 Thread Daniel Dragomir
From: John Jacques This simulation device tree supports virtio and mmc. Signed-off-by: John Jacques --- arch/arm/boot/dts/axm5516-sim-common.dts | 131 +++ 1 file changed, 131 insertions(+) create mode 100644 arch/arm/boot/dts/axm5516-sim-common.dts diff --git a/a

[linux-yocto] [PATCH 26/35] drivers/spi: Fix Compiler Warnings

2014-11-13 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- drivers/spi/spi-pl022.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c index 36a33f6..b772c862 100644 --- a/drivers/spi/spi-pl022.c +++ b/drivers/spi/spi-pl022.c @@ -221

[linux-yocto] [PATCH 30/35] arch/arm/mach-axxia: Fixed affinity error on IRQ migration

2014-11-13 Thread Daniel Dragomir
From: Charlie Paul This patch redesigned the gic_set_affinity function and added a system work queue to process the affinity requests that are needed to be processed via the IPI. The reason for the workqueue is to insure that all interrupts get migrated. When code relies on and interrupt to be up

[linux-yocto] [PATCH 34/35] Updated USB driver to not apply USB SW workarounds for 3500

2014-11-13 Thread Daniel Dragomir
From: SangeethaRao Signed-off-by: SangeethaRao --- drivers/usb/host/ehci-ci13612.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/usb/host/ehci-ci13612.c b/drivers/usb/host/ehci-ci13612.c index b20ec40..542a3de 100644 --- a/drivers/usb/host/ehci-ci13612.c +

[linux-yocto] [PATCH 33/35] arch/arm/mach-axxia: Added support for doorbell interrupts

2014-11-13 Thread Daniel Dragomir
From: SangeethaRao Added support for doorbell interrupts for both RootComplex and EndPoint modes. Signed-off-by: SangeethaRao --- arch/arm/mach-axxia/pci.c | 87 +-- 1 file changed, 84 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-axxia/p

[linux-yocto] [PATCH 35/35] arch/arm/mach-axxia: fixed hang in preempt kernel

2014-11-13 Thread Daniel Dragomir
From: John Jacques Fixed the hang in the affinity code. The selection of a cpu on a clear affinity did not have the right mask, causing the affinity to be moved to a cpu that was not powered up. Fixed the intermittent failure to power up the cluster by setting the L2CTLR, L2ACTLR and ACTLR2 regi

[linux-yocto] [PATCH 0/6] LSI AXXIA updates to 3.4 standard/axxia/base

2014-12-18 Thread Daniel Dragomir
Added PCIe MSI support and updated Device Trees for Axxia Targets. John Jacques (4): arch/powerpc: Updated Device Trees for Axxia Targets axxia-nand: Use the right Machine Types in the Axxia NAND Driver arch/powerpc: Fix Up the MDIO Offset and Period on Axxia arch/powerpc: Add a Work Aroun

[linux-yocto] [PATCH 3/6] arch/arm/mach-axxia: Calculate delay calibration once

2014-12-18 Thread Daniel Dragomir
From: SangeethaRao Added calibrate_delay_is_known() such that only the first core calculates delay calibration and rest of the cores use the calculated value by the axxia_calibrate_delay_converge(). Set LPS_PREC - number of bits of precision for the loops_per_jiffy. Each time we refine our estim

[linux-yocto] [PATCH 2/6] axxia-nand: Use the right Machine Types in the Axxia NAND Driver

2014-12-18 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- drivers/mtd/nand/lsi_acp_nand.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/mtd/nand/lsi_acp_nand.c b/drivers/mtd/nand/lsi_acp_nand.c index 07c521e..2a84b96 100644 --- a/drivers/mtd/nand/lsi_acp_n

[linux-yocto] [PATCH 4/6] arch/powerpc: Fix Up the MDIO Offset and Period on Axxia

2014-12-18 Thread Daniel Dragomir
From: John Jacques If the MDIO offset and period are defined in the device tree, use them. Otherwise, don't change anything. Signed-off-by: John Jacques --- drivers/net/ethernet/lsi/lsi_acp_mdio.c | 38 ++--- 1 file changed, 26 insertions(+), 12 deletions(-) diff

[linux-yocto] [PATCH 5/6] arch/powerpc: Add a Work Around for Axxia 3500 Resets

2014-12-18 Thread Daniel Dragomir
From: John Jacques The work around is to switch the PPCs back to the reference clock before issuing a reset. As described in the defect: The reset_system issue is caused since the 6 counters are **NOT** reset by reset_system, but the PLL and clock switch that controls the counters **IS**. Work

[linux-yocto] [PATCH 1/6] arch/powerpc: Updated Device Trees for Axxia Targets

2014-12-18 Thread Daniel Dragomir
From: John Jacques - Updated compatibility strings to work with the latest boot loader. - Updated reg adresses for memory, I2C - Defined I2C devices for acp35xx - Remove unused dts files: lsi_acp342x.dts and lsi_acp344x.dts Signed-off-by: John Jacques Signed-off-by: SangeethaRao --- arch/powe

[linux-yocto] [PATCH 6/6] arch/powerpc/sysdev: Added PCIe MSI support for AXM35xx

2014-12-18 Thread Daniel Dragomir
From: SangeethaRao Signed-off-by: SangeethaRao --- arch/powerpc/boot/dts/acp35xx.dts | 34 +++- arch/powerpc/sysdev/Kconfig | 11 +- arch/powerpc/sysdev/Makefile | 5 +- arch/powerpc/sysdev/lsi_msi.c | 389 ++ arch/powerpc/sysdev/lsi_msi.h

[linux-yocto] [PATCH 02/52] arch/arm/mach-axxia: Clean Up Compatible Names

2015-01-28 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/boot/dts/axm5504-emu.dts | 4 ++-- arch/arm/boot/dts/axm5504-sim.dts | 6 +++--- arch/arm/boot/dts/axm5507-emu.dts | 6 +++--- arch/arm/boot/dts/axm5508-amarillo.dts | 6 +++--- arch/arm/boot/dts/axm5512-amarillo.dts | 6

[linux-yocto] [PATCH 03/52] arch/arm/mach-axxia: Make Sure SRIO is Enabled Before Accessing

2015-01-28 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/mach-axxia/rapidio.c | 30 +- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-axxia/rapidio.c b/arch/arm/mach-axxia/rapidio.c index 8e8961f..4de8787 100644 --- a/arch/arm/mach-ax

[linux-yocto] [PATCH 00/52] LSI AXXIA updates to 3.10 standard/axxia/base

2015-01-28 Thread Daniel Dragomir
Hi Bruce, Resubmitted some patches updated as requested and added some new ones. Topics: - Update RapidIO driver to fix some issues. - Add new Device Trees for Axxia Simulation Targets - Update the Axxia NAND Driver for 3500 - Checking in AXM5500 EDAC driver support - Support for CPU Hotplug - Ch

[linux-yocto] [PATCH 01/52] LSI AXM55xx RapidIO: Fixed a rare case of missing a RIO interrupt

2015-01-28 Thread Daniel Dragomir
From: Palani This happens during multiple mailbox messaging. Removed the redundant serdes register (ncr) read for link status check, as the driver checks the status using the sRIO registers. Signed-off-by: Palani --- arch/arm/mach-axxia/rapidio.c | 8 drivers/rapidio/de

[linux-yocto] [PATCH 04/52] arch/arm: New Device Trees for Axxia Simulation Targets

2015-01-28 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/boot/dts/Makefile | 6 +- arch/arm/boot/dts/axm5504-sim-mmc.dts| 127 + arch/arm/boot/dts/axm5504-sim-virtio.dts | 126 + arch/arm/boot/dts/axm5504-sim.dts

[linux-yocto] [PATCH 06/52] arch/arm: Default Configuration for a Guest OS Example (Axxia)

2015-01-28 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/vexpress-a15-guest.dts | 368 +++ 2 files changed, 370 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/vexpress-a15-guest.dts d

[linux-yocto] [PATCH 10/52] arch/arm/mach-axxia: Check Status and Add Locks to NCR Accesses

2015-01-28 Thread Daniel Dragomir
From: John Jacques When the Preempt-RT patch is applied, and configured for full preemption, spin_lock* are preemptible. Using the raw variant prevents preemption in that case. Signed-off-by: John Jacques --- arch/arm/mach-axxia/ncr.c | 73 +-- 1 fil

[linux-yocto] [PATCH 07/52] arch/powerpc: Reset Updates for Axxia

2015-01-28 Thread Daniel Dragomir
From: John Jacques There is a hardware issue on the 3500 that requires resets to be issued using the system control register instead of dbcr0. This patch implements that work around when the PVR is 0x7ff520c1. Signed-off-by: John Jacques --- arch/powerpc/sysdev/ppc4xx_soc.c | 71 +

[linux-yocto] [PATCH 08/52] LSI AXM55xx RapidIO: Added support for variable segment size

2015-01-28 Thread Daniel Dragomir
From: Palani Added support for variable segment size during the mailbox transmission, depending on the message length. The spinlock is acquired only when multiple mailboxes are opened on a single OBDME, to reduce the effect of spinlocks during single mailbox operation. Further optimised the mail

[linux-yocto] [PATCH 05/52] arch/powerpc: Update the Axxia NAND Driver for 3500

2015-01-28 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- drivers/mtd/nand/lsi_acp_nand.c | 174 +++- 1 file changed, 84 insertions(+), 90 deletions(-) diff --git a/drivers/mtd/nand/lsi_acp_nand.c b/drivers/mtd/nand/lsi_acp_nand.c index dbb95b5..3f9e79d 100644 ---

[linux-yocto] [PATCH 09/52] arch/arm/mach-axxia: Support for CPU Hotplug

2015-01-28 Thread Daniel Dragomir
From: John Jacques This includes powering down a cluster when all four cores are off and powering up the cluster when one of the cores gets re-enabled. Signed-off-by: John Jacques --- arch/arm/mach-axxia/Makefile |2 +- arch/arm/mach-axxia/axxia-gic.c| 10 +- ar

[linux-yocto] [PATCH 12/52] LSI AXM55xx RapidIO: Added support for periodic timer handlers

2015-01-28 Thread Daniel Dragomir
From: Palani Added support for periodic timer handlers in place of interrupt handlers for mailbox messages to reduce the interrupt handling overhead. The Outbound mailbox message completions are handled by the periodic timer handler. Support has been added to handle inbound message completions b

[linux-yocto] [PATCH 11/52] arch/powerpc/boot/dts: Checking in DTS files for ACP34xx/AXM3500

2015-01-28 Thread Daniel Dragomir
From: SangeethaRao Signed-off-by: SangeethaRao --- arch/powerpc/boot/dts/acp342x.dts | 20 +- arch/powerpc/boot/dts/acp344x.dts | 8 +- arch/powerpc/boot/dts/acp35xx.dts | 111 +++ arch/powerpc/boot/dts/lsi_acp342x.dts | 317 -- arch/powerpc/bo

[linux-yocto] [PATCH 13/52] arm/axxia: pci: Add missing calls to release_resource

2015-01-28 Thread Daniel Dragomir
From: Fredrik Markström Release io-resource in a couple of failure cases, this used to cause oopses when cat:nig /proc/ioports Signed-off-by: Fredrik Markström Signed-off-by: Anders Berg --- arch/arm/mach-axxia/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-axxia/pc

[linux-yocto] [PATCH 14/52] ARM: axxia: Remove unused files

2015-01-28 Thread Daniel Dragomir
From: Anders Berg Signed-off-by: Anders Berg --- arch/arm/mach-axxia/Makefile | 1 - arch/arm/mach-axxia/axxia.c | 1 - arch/arm/mach-axxia/i2c.c| 210 --- arch/arm/mach-axxia/i2c.h| 35 4 files changed, 247 deletions(-) delete mod

[linux-yocto] [PATCH 16/52] arm: axxia: Remove GPIO platform data

2015-01-28 Thread Daniel Dragomir
From: Anders Berg Use DT based config for GPIO and drop the platform data setup. Signed-off-by: Anders Berg --- arch/arm/boot/dts/axm55xx.dtsi | 6 ++ arch/arm/mach-axxia/axxia.c| 18 -- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/

[linux-yocto] [PATCH 17/52] net: femac: Avoid panic in skb_put()

2015-01-28 Thread Daniel Dragomir
From: Anders Berg On very rare occations the femac_rx_packet() will overrun the sk_buff causuing skb_put() to panic. To current date, we have only had one reported case which makes it hard to diagnose. This patch is not a proper solution, it is a step on the way to get some more information on th

[linux-yocto] [PATCH 18/52] arch/powerpc: Removed Axxia Specific Changes

2015-01-28 Thread Daniel Dragomir
From: John Jacques All modifications for Axxia (CONFIG_ACP) have been removed. Signed-off-by: John Jacques --- arch/powerpc/sysdev/ppc4xx_soc.c | 71 1 file changed, 71 deletions(-) diff --git a/arch/powerpc/sysdev/ppc4xx_soc.c b/arch/powerpc/sysdev/pp

[linux-yocto] [PATCH 15/52] gpio: pl061: specify gpio base via device tree

2015-01-28 Thread Daniel Dragomir
From: Anders Berg Use DT alias to allow the gpio base to be selected. This solves compatibility with user-space programs that expects a fixed numbering scheme from non-DT system. If an alias for the device node is not defined in device tree, the fallback is to use the dynamically allocated number

[linux-yocto] [PATCH 22/52] drivers/spi: Fix Compiler Warnings

2015-01-28 Thread Daniel Dragomir
From: John Jacques Fixes compilation warning introduced by: - spi: Revert to mainline spi-pl022 commit 4dbd5a248f16e8c16d09132006816aa82f0d author: Anders Berg See below the warning message: drivers/spi/spi-pl022.c: In function 'pl022_probe': drivers/spi/spi-pl022.c::2: warning: for

[linux-yocto] [PATCH 20/52] arch/arm: Add ioremap_cache() (same functionality as ioremap_cached())

2015-01-28 Thread Daniel Dragomir
From: John Jacques Both are used by some drivers. Signed-off-by: John Jacques --- arch/arm/include/asm/io.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 56d821b..485e7a5 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/i

[linux-yocto] [PATCH 19/52] arch/powerpc: Add a Work Around for Axxia 3500 Resets

2015-01-28 Thread Daniel Dragomir
From: John Jacques The work around is to switch the PPCs back to the reference clock before issuing a reset. As described in the defect: The reset_system issue is caused since the 6 counters are **NOT** reset by reset_system, but the PLL and clock switch that controls the counters **IS**. Work

[linux-yocto] [PATCH 23/52] drivers/net/ethernet/lsi: Fix Compiler Warnings

2015-01-28 Thread Daniel Dragomir
From: John Jacques Fixes compilation warnings introduced by: - LSI FEMAC Ethernet Driver commit 3a99fb32b9aee41fc6d30c2ebf68c3cf73a443ce author: David Mercado - arm/include: A clean up of the femac code. commit 4ab937c6b46316531bdf9f099553393fa9406769 author: John Jacques See below the

[linux-yocto] [PATCH 21/52] arch/arm/mach-axxia: Fix Compiler Warnings

2015-01-28 Thread Daniel Dragomir
From: John Jacques Fixes compilation warnings introduced by: - LSI ACP34XX: Update new Axxia GIC Driver commit ba251fcf654cd1f17e72a17f7e0ea903f33f92e0 author: David Mercado - arch/arm/mach-axxia: Support for CPU Hotplug commit ef5cfa9d171bb7525ecd24b1de34342915645a93 author: John Jacques

[linux-yocto] [PATCH 26/52] drivers/misc/lsi-smmon.c: Updated smmon driver

2015-01-28 Thread Daniel Dragomir
From: SangeethaRao Updated smmon driver such that uncorrectable errors causes machine_restart instead of kernel panic. Also, setting persistent register (0xdc) bit 3 to indicate uncorrectable errors. Updated kconfig such that if EDAC driver is enabled in Kernel config then smmon driver will be di

[linux-yocto] [PATCH 25/52] arch/arm/mach-axxia: Fixed affinity error on IRQ migration

2015-01-28 Thread Daniel Dragomir
From: Charlie Paul This patch redesigned the gic_set_affinity function and added a system work queue to process the affinity requests that are needed to be processed via the IPI. The reason for the workqueue is to insure that all interrupts get migrated. When code relies on and interrupt to be up

[linux-yocto] [PATCH 24/52] arch/arm/mach-axxia: Added a Device Tree for Simulation

2015-01-28 Thread Daniel Dragomir
From: John Jacques This simulation device tree supports virtio and mmc. Signed-off-by: John Jacques --- arch/arm/boot/dts/axm5516-sim-common.dts | 131 +++ 1 file changed, 131 insertions(+) create mode 100644 arch/arm/boot/dts/axm5516-sim-common.dts diff --git a/a

[linux-yocto] [PATCH 27/52] arch/arm/mach-axxia: machine_restart() related change to axxia_restart()

2015-01-28 Thread Daniel Dragomir
From: SangeethaRao Signed-off-by: SangeethaRao --- arch/arm/mach-axxia/axxia.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-axxia/axxia.c b/arch/arm/mach-axxia/axxia.c index d3f3e91..52dfe65 100644 --- a/arch/arm/mach-axxia/axxia.c +++ b/arch/arm/mach

[linux-yocto] [PATCH 28/52] arch/arm/mach-axxia: Added support for doorbell interrupts

2015-01-28 Thread Daniel Dragomir
From: SangeethaRao Added support for doorbell interrupts for both RootComplex and EndPoint modes. Signed-off-by: SangeethaRao --- arch/arm/mach-axxia/pci.c | 87 +-- 1 file changed, 84 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-axxia/p

[linux-yocto] [PATCH 32/52] arch/arm/mach-axxia: pcie: Add doorbell suport to use IRQF_SHARED

2015-01-28 Thread Daniel Dragomir
From: SangeethaRao This support expects kernel module to handle the doorbell interrupt. Signed-off-by: SangeethaRao --- arch/arm/mach-axxia/pci.c | 44 +++- 1 file changed, 15 insertions(+), 29 deletions(-) diff --git a/arch/arm/mach-axxia/pci.c b/arch/

[linux-yocto] [PATCH 29/52] Updated USB driver to not apply USB SW workarounds for 3500

2015-01-28 Thread Daniel Dragomir
From: SangeethaRao Signed-off-by: SangeethaRao --- drivers/usb/host/ehci-ci13612.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/usb/host/ehci-ci13612.c b/drivers/usb/host/ehci-ci13612.c index b20ec40..542a3de 100644 --- a/drivers/usb/host/ehci-ci13612.c +

[linux-yocto] [PATCH 30/52] arch/arm/mach-axxia: fixed failure to power up cluster

2015-01-28 Thread Daniel Dragomir
From: John Jacques Fixed the intermittent failure to power up the cluster by setting the L2CTLR, L2ACTLR and ACTLR2 registers. Also updated the power on GIC process to only power on the current cpu when powering up a GIC cluster Signed-off-by: John Jacques --- arch/arm/mach-axxia/hotplug.c

[linux-yocto] [PATCH 31/52] arch/arm/mach-axxia: fixed hang in preempt kernel

2015-01-28 Thread Daniel Dragomir
From: John Jacques Fixed the hang in the affinity code. The selection of a cpu on a clear affinity did not have the right mask, causing the affinity to be moved to a cpu that was not powered up. Signed-off-by: John Jacques --- arch/arm/mach-axxia/axxia-gic.c | 242 +

[linux-yocto] [PATCH 35/52] bus: arm-ccn: Fix error handling at event allocation

2015-01-28 Thread Daniel Dragomir
From: Jonas Svennebring commit 3e528cb7bae00ba0d73def6645d0f2fa906ee3e8 upstream The bitfield allocation function returns error condition as a negative value, but in two cases its result was assigned to an unsigned member of the hw_perf_event structure, thus the error would not be ever detected.

[linux-yocto] [PATCH 33/52] net: femac: Rate limit error logs in RX path

2015-01-28 Thread Daniel Dragomir
From: Anders Berg Change the log messages used in the RX path to be rate limited to avoid excessive log outputs in overload situations. Signed-off-by: Anders Berg --- drivers/net/ethernet/lsi/lsi_acp_net.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/d

[linux-yocto] [PATCH 34/52] bus: ARM CCN PMU driver

2015-01-28 Thread Daniel Dragomir
From: Jonas Svennebring commit a33b0daab73a0e08cc04459dd44b0121a8e8f81b upstream Driver providing perf backend for ARM Cache Coherent Network interconnect. Supports counting all hardware events and crosspoint watchpoints. Currently works with CCN-504 only, although there should be no changes re

[linux-yocto] [PATCH 36/52] bus: arm-ccn: Fix warning message

2015-01-28 Thread Daniel Dragomir
From: Jonas Svennebring commit bf87bb12bd7062bf577163f3f6d765debbae6200 upstream A message warning a user about wrong vc value was printing out port instead. Reported-by: Drew Richardson Signed-off-by: Pawel Moll Signed-off-by: Olof Johansson Signed-off-by: Jonas Svennebring --- drivers/bu

[linux-yocto] [PATCH 38/52] bus: arm-ccn: Fix spurious warning message

2015-01-28 Thread Daniel Dragomir
From: Jonas Svennebring commit fa637bf0595ee1796d728a0d33b6b7fff12e1f3d upstream Because CCN's cycle counter always runs, it will generate an interrupt on overflow even if the relevant perf event was not requested, causing a spurious warning message. Fixed now by warning on only normal counter

[linux-yocto] [PATCH 37/52] bus: arm-ccn: Move event cleanup routine

2015-01-28 Thread Daniel Dragomir
From: Jonas Svennebring commit 8fb22264350d99793a12867f4e2a43e50150f778 upstream The function cleaning up an initialized event was called from the "event_del" handler, instead of being used as the "destroy" callback. In case of events group allocation this caused NULL pointer dereference (as eve

[linux-yocto] [PATCH 42/52] ARM: axxia: add dts support to platform perf

2015-01-28 Thread Daniel Dragomir
From: Jonas Svennebring AXXIA uncore perf support, added dts support in driver as well as perf delta read support to smon block. Signed-off-by: Jonas Svennebring --- arch/arm/mach-axxia/perf_event_platform.c | 13 + arch/arm/mach-axxia/smon.c| 31 +++

[linux-yocto] [PATCH 41/52] ARM: axxia: uncore perf fix for multiple reads

2015-01-28 Thread Daniel Dragomir
From: Jonas Svennebring AXXIA uncore perf fix that allows multiple reads per event add/delete pair. Generally perf events are added, read and then removed, but it is also possible to read continusly. This was not supported until now, which is related to how perf handles platform events. By using

[linux-yocto] [PATCH 39/52] ARM: dts: axxia: add CCN to dts

2015-01-28 Thread Daniel Dragomir
From: Jonas Svennebring Add ccn-504 to dts, used by the ARM CCN driver. The CCN driver support the CCN-504 bus and allows for event counter readout through perf. See Documentation/arm/CCN.txt Axxia AXM55xx supports XP nodes 0-10 and HFN nodes 3,5,7,8,13,15,17,18. Note that the CCN perf driver u

[linux-yocto] [PATCH 46/52] arm: axxia: Fix compiler warning from PCI driver

2015-01-28 Thread Daniel Dragomir
From: Anders Berg Fix missing return value in PCI drivers probe function. Signed-off-by: Anders Berg --- arch/arm/mach-axxia/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-axxia/pci.c b/arch/arm/mach-axxia/pci.c index f85b047..65e2f39 100644 --- a/arch/

[linux-yocto] [PATCH 48/52] ARM: axxia: Support MSI on both PCIe controllers

2015-01-28 Thread Daniel Dragomir
From: Anders Berg Add support for PCIe MSI on both controllers. On AXM5516, PCIE0 has the ability to signal MSI interrupts on 16 separate lines to the CPU cores, where as PCIE1 only has a single interrupt line that is used for legacy, status/error and MSI. This patch adds MSI support on a control

[linux-yocto] [PATCH 45/52] misc: Updated lsi-ncr driver for ARM support

2015-01-28 Thread Daniel Dragomir
From: SangeethaRao Updated LSI NCR driver to use CPU jiffies for ncr_lock() timeout. Also, LSI NCR driver under drivers/misc/lsi-ncr.c is integrated as the common driver for ARM/PPC platforms. Signed-off-by: SangeethaRao --- arch/arm/mach-axxia/Makefile | 2 +- arch/arm/mach-axxia/ncr.c|

[linux-yocto] [PATCH 44/52] edac: Added AXM55xx support for System Memory, L3, L2 cache and CPU

2015-01-28 Thread Daniel Dragomir
From: SangeethaRao Redesigned EDAC driver to split the system memory, L2/CPU and L3 EDAC drivers as separate EDAC drivers so users have the flexibility of using any or all. Also, made changes in accordance with upward compatibility. Signed-off-by: SangeethaRao --- arch/arm/boot/dts/axm5516-ama

[linux-yocto] [PATCH 47/52] arm: kvm: Fix crash when hotplugging CPU

2015-01-28 Thread Daniel Dragomir
From: Anders Berg CPU4: Booted secondary processor Kernel panic - not syncing: unexpected prefetch abort in Hyp mode at: 0x921680 unexpected data abort in Hyp mode at: 0xc0916c2c unexpected HVC/SVC trap in Hyp mode at: 0xc0b2d4a0 CPU: 4 PID: 0 Comm: swapper/4 Not tainted 3.10.38-ltsi-00013-g59f30

[linux-yocto] [PATCH 43/52] ARM: dts: axxia: add axxia platform perf to dts

2015-01-28 Thread Daniel Dragomir
From: Jonas Svennebring AXXIA uncore perf support, added platform perf to axxia dts for hardware targets. Signed-off-by: Jonas Svennebring --- arch/arm/boot/dts/axm5508-amarillo.dts | 8 arch/arm/boot/dts/axm5512-amarillo.dts | 8 arch/arm/boot/dts/axm5516-amarillo.dts | 8 ++

[linux-yocto] [PATCH 40/52] ARM: axxia: uncore perf support, misc fixes

2015-01-28 Thread Daniel Dragomir
From: Jonas Svennebring AXXIA uncore perf support, fixes for the following issues: - Added files to makefile, build based on CONFIG_HW_PERF_EVENTS. - Added support for silicon rev 1.1 changes to DDR controllers. - Changed default to use rev 1.1 silicon register map. If rev 1.0 is needed the AXM

[linux-yocto] [PATCH 52/52] misc: Exporting ncr_lock/ncr_unlock functions for RTE use

2015-01-28 Thread Daniel Dragomir
From: SangeethaRao LSI NCR driver has been updated to export ncr_lock()/ncr_unlock() Kernel functions so that kernel modules can use it. Signed-off-by: SangeethaRao --- drivers/misc/lsi-ncr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/misc/lsi-ncr.c b/drivers/misc/lsi-ncr.c

[linux-yocto] [PATCH 49/52] arch/arm/mach-axxia: Add Support for Big Endian

2015-01-28 Thread Daniel Dragomir
From: John Jacques Signed-off-by: John Jacques --- arch/arm/Kconfig| 2 + arch/arm/Makefile | 6 ++- arch/arm/include/asm/assembler.h| 7 arch/arm/include/asm/hardware/debug-pl01x.S | 6 ++- arch/arm/kernel/entry-armv.S

[linux-yocto] [PATCH 50/52] arch/arm/mach-axxia: Backport of KVM BE Patch

2015-01-28 Thread Daniel Dragomir
From: John Jacques Backport of a patch by Victor Kamensky from Linaro to get KVM working in big endian mode on armv7. Signed-off-by: John Jacques --- arch/arm/include/asm/kvm_asm.h | 18 arch/arm/kvm/coproc.c | 208 +++-- arch/arm/kvm/init.S

[linux-yocto] [PATCH 51/52] powerpc: io: implement dummy relaxed accessor macros for writes

2015-01-28 Thread Daniel Dragomir
From: John Jacques commit 5da590574cbc39e48d1b71d87b62766c044b9b52 upstream write{b,w,l,q}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessor

[linux-yocto] [PATCH 3/5] misc: lsi-ncr: Locking Mechanism Update

2015-02-09 Thread Daniel Dragomir
From: Gary McGee Allow for other drivers to share the locking mechanisms for lsi-ncr h/w - provide unlocked methods for read/write - provide consistent way of detecting/reporting lsi-ncr errors Signed-off-by: Gary McGee --- drivers/misc/lsi-ncr.c | 308 ++---

[linux-yocto] [PATCH 0/5] LSI AXXIA updates to 3.10 standard/axxia/base

2015-02-09 Thread Daniel Dragomir
Hi Bruce! That's another series of patches from LSI/Intel. The last one wasn't reviewed yet. Thanks. Daniel Topics: - tty serial updates - RapidIO driver updates - Misc NCR driver updates Gary McGee (2): misc: lsi-ncr: Locking Mechanism Update arch/arm/mach-axxia: DDR Retention Locking Chan

[linux-yocto] [PATCH 1/5] tty: serial: Updated Baud Rate Calcualtion

2015-02-09 Thread Daniel Dragomir
From: John Jacques The baud rate calculation was truncating instead of rounding. This caused, in some cases, the initial baud rate to be set incorrectly. Updated to use DIV_ROUND_CLOSEST(). Signed-off-by: John Jacques --- drivers/tty/serial/amba-pl011.c | 3 ++- 1 file changed, 2 insertions(+

[linux-yocto] [PATCH 4/5] arch/arm/mach-axxia: DDR Retention Locking Change

2015-02-09 Thread Daniel Dragomir
From: Gary McGee Use unlocked ncr_read/write methods for DDR retention reset. This allows the reset to proceed if it's called when some other thread is holding the ncr lock. Signed-off-by: Gary McGee --- arch/arm/mach-axxia/ddr_retention.c | 14 +- 1 file changed, 9 insertions(+),

  1   2   3   4   5   >