[PATCH 12/13] powerpc/fsl_rio: apply changes for RIO spec rev 3

2016-07-21 Thread Alexandre Bounine
- Remove check for parallel PHY - Set LP-Serial Register Map type Signed-off-by: Alexandre Bounine <alexandre.boun...@idt.com> Cc: Matt Porter <mpor...@kernel.crashing.org> Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org> Cc: Michael Ellerman <m...@ellerman.id.a

[PATCH 10/13] rapidio: change inbound window size type to u64

2016-07-21 Thread Alexandre Bounine
larger than 4GB. Signed-off-by: Alexandre Bounine <alexandre.boun...@idt.com> Cc: Matt Porter <mpor...@kernel.crashing.org> Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org> Cc: Michael Ellerman <m...@ellerman.id.au> Cc: Andre van Herk <andre.van.h...@prodrive-techn

[PATCH] powerpc/fsl_rio: update for port-write interface change

2016-02-11 Thread Alexandre Bounine
Platform-specific update following changes in port-write handler interface. This is a follow-up patch for [PATCH 22/30] rapidio: add global inbound port write interfaces Signed-off-by: Alexandre Bounine <alexandre.boun...@idt.com> Cc: Matt Porter <mpor...@kernel.crashing.org>

[PATCH 16/30] powerpc/fsl_rio: changes to mport registration

2016-02-05 Thread Alexandre Bounine
Change mport object initialization/registration sequence to match reworked version of rio_register_mport() in the core code. Signed-off-by: Alexandre Bounine <alexandre.boun...@idt.com> Cc: Matt Porter <mpor...@kernel.crashing.org> Cc: Benjamin Herrenschmidt <b...@kernel.c

[RESEND PATCH] rapidio: add new RapidIO DMA interface routines

2014-07-23 Thread Alexandre Bounine
an access to the RapidIO device list. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Andre van Herk andre.van.h...@prodrive-technologies.com Cc: Stef van Os stef.van...@prodrive-technologies.com Cc: linux-ker...@vger.kernel.org Cc: linuxppc-dev

[PATCH] rapidio: rework device hierarchy and introduce mport class of devices

2014-02-25 Thread Alexandre Bounine
and provide device details needed for upper layers. This change to RapidIO device hierarchy does not break any known existing kernel or user space interfaces. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc

[PATCH] rapidio/tsi721: fix tasklet termination in dma channel release

2014-02-21 Thread Alexandre Bounine
, but tasklet is disabled. tasklet_kill should be used in this case. This patch is applicable to kernel versions starting from v3.5. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Xiaotian Feng xtf...@gmail.com Cc: Thomas Gleixner t

[PATCH] rapidio: add modular rapidio core build into powerpc and mips branches

2013-12-18 Thread Alexandre Bounine
Allow modular build option for RapidIO subsystem core in MIPS and PowerPC architectural branches. At this moment modular RapidIO subsystem build is enabled only for platforms that use PCI/PCIe based RapidIO controllers (e.g. Tsi721). Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc

[PATCH] rapidio: change endpoint device name format

2013-07-03 Thread Alexandre Bounine
and does not have other use than in device name generation. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Andre van Herk andre.van.h...@prodrive.nl Cc: Micha Nelissen

[PATCH 0/7] rapidio: modularize rapidio subsystem

2013-06-28 Thread Alexandre Bounine
...@suse.de Alexandre Bounine (7): rapidio: convert switch drivers to modules rapidio/rionet: rework driver initialization and removal rapidio: update enumerator registration mechanism rapidio/tsi721: convert to modular mport driver rapidio: add modular build option for the subsystem core

[PATCH 4/7] rapidio/tsi721: convert to modular mport driver

2013-06-28 Thread Alexandre Bounine
This patch adds an option to build device driver for Tsi721 PCIe-to-SRIO bridge device as a kernel module. Currently this module cannot be unloaded because the existing RapidIO subsystem code does not support dynamic removal of local RapidIO controllers (TODO). Signed-off-by: Alexandre Bounine

[PATCH 5/7] rapidio: add modular build option for the subsystem core

2013-06-28 Thread Alexandre Bounine
module-specific analog rapidio.hdid=. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Andre van Herk andre.van.h...@prodrive.nl Cc: Micha Nelissen micha.nelis

[PATCH 6/7] rapidio: add udev notification

2013-06-28 Thread Alexandre Bounine
ID (16 bit), as they are reported in corresponding Capability Registers (CARs) of each RapidIO device. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Andre van Herk

[PATCH 3/7] rapidio: update enumerator registration mechanism

2013-06-28 Thread Alexandre Bounine
with the best matching mport ID; Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Andre van Herk andre.van.h...@prodrive.nl Cc: Micha Nelissen micha.nelis

[PATCH 7/7] rapidio: documentation update

2013-06-28 Thread Alexandre Bounine
Update RapidIO documentation files to reflect modularization changes. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Andre van Herk andre.van.h...@prodrive.nl Cc

[PATCH 2/7] rapidio/rionet: rework driver initialization and removal

2013-06-28 Thread Alexandre Bounine
. The reworked rio_remove_dev() and rionet_exit() routines also include handling of individual rionet peer device removal which was not supported before. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc

[PATCH 1/7] rapidio: convert switch drivers to modules

2013-06-28 Thread Alexandre Bounine
/discovery starts. This patch also moves several common routines from enumeration/discovery module into the RapidIO core code to make switch-specific operations accessible to all components of RapidIO subsystem. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor

[PATCH] rapidio/switches: remove tsi500 driver

2013-05-09 Thread Alexandre Bounine
-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga...@kernel.crashing.org --- drivers/rapidio/switches/Kconfig |7 --- drivers/rapidio/switches/Makefile |1 - drivers/rapidio/switches/tsi500.c | 78

[PATCH] rapidio/tsi721: fix bug in MSI interrupt handling

2013-05-08 Thread Alexandre Bounine
handler routine and re-enabled when exiting it. Re-enabling device interrupts will trigger new MSI message(s) if Tsi721 registered new events since entering interrupt handler routine. This patch is applicable to kernel versions starting from v3.2. Signed-off-by: Alexandre Bounine alexandre.boun

[PATCH v2 0/3] rapidio: changes to enumeration/discovery

2013-04-30 Thread Alexandre Bounine
initialization - added default value for Enumeration method choice in Kconfig Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Andre van Herk andre.van.h...@prodrive.nl Cc: Micha Nelissen micha.nelis...@prodrive.nl Alexandre

[PATCH v2 3/3] rapidio: documentation update for enumeration changes

2013-04-30 Thread Alexandre Bounine
Update RapidIO documentation to reflect changes made to enumeration/discovery build configuration and user space triggering mechanism. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga

[PATCH v2 2/3] rapidio: add enumeration/discovery start from user space

2013-04-30 Thread Alexandre Bounine
endpoints). Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Andre van Herk andre.van.h...@prodrive.nl Cc: Micha Nelissen micha.nelis...@prodrive.nl --- drivers/rapidio

[PATCH v2 1/3] rapidio: make enumeration/discovery configurable

2013-04-30 Thread Alexandre Bounine
as statically linked or modular method. This configuration option is named Basic enumeration/discovery method. Several common routines have been moved from rio-scan.c to make them available to other enumeration methods and reduce number of exported symbols. Signed-off-by: Alexandre Bounine

[PATCH 0/3] rapidio: changes to enumeration/discovery

2013-04-24 Thread Alexandre Bounine
...@kernel.crashing.org Cc: Andre van Herk andre.van.h...@prodrive.nl Cc: Micha Nelissen micha.nelis...@prodrive.nl Alexandre Bounine (3): rapidio: make enumeration/discovery configurable rapidio: add enumeration/discovery start from user space rapidio: documentation update for enumeration

[PATCH 2/3] rapidio: add enumeration/discovery start from user space

2013-04-24 Thread Alexandre Bounine
endpoints). For compatibility with the existing RapidIO subsystem implementation, automatic boot time enumeration/discovery start can be configured in by selecting CONFIG_RAPIDIO_ENUM_AUTO option. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org

[PATCH 3/3] rapidio: documentation update for enumeration changes

2013-04-24 Thread Alexandre Bounine
Update RapidIO documentation to reflect changes made to enumeration/discovery build configuration and user space triggering mechanism. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga

[PATCH 1/3] rapidio: make enumeration/discovery configurable

2013-04-24 Thread Alexandre Bounine
was updated to be used as built-in or modular method. This configuration option is named Basic enumeration/discovery method. Several common routines have been moved from rio-scan.c to make them available to other enumeration methods and reduce number of exported symbols. Signed-off-by: Alexandre

[PATCH 3/3] rapidio: update for destination ID allocation

2012-10-09 Thread Alexandre Bounine
-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com --- drivers/rapidio/rio-scan.c | 38 -- include/linux/rio.h|1 - 2 files changed, 16 insertions(+), 23 deletions(-) diff --git

[PATCH 0/3] rapidio: updates for multiple mport patches

2012-10-09 Thread Alexandre Bounine
This is a set of updates for patches submitted earlier: https://lkml.org/lkml/2012/10/3/460. Alexandre Bounine (3): rapidio: use msleep in discovery wait rapidio: update asynchronous discovery initialization rapidio: update for destination ID allocation drivers/rapidio/rio-scan.c | 40

[PATCH 1/3] rapidio: use msleep in discovery wait

2012-10-09 Thread Alexandre Bounine
Use msleep() routine for code clarity as suggested by Andrew Morton in his comments for the original patch: https://lkml.org/lkml/2012/10/3/546. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com --- drivers

[PATCH 2/3] rapidio: update asynchronous discovery initialization

2012-10-09 Thread Alexandre Bounine
, it abandons discovery for all ports. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com --- drivers/rapidio/rio.c | 75 ++-- 1 files changed, 47 insertions(+), 28 deletions

[PATCH 3/5] rapidio: run discovery as an asynchronous process

2012-10-03 Thread Alexandre Bounine
a discovering one. Making netID matching to mportID ensures consistent net ID assignment in multiport RapidIO systems with asynchronous discovery process (global counter implementation is affected by race between threads). Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor

[PATCH 1/5] rapidio: fix blocking wait for discovery ready

2012-10-03 Thread Alexandre Bounine
Fix blocking wait loop in the RapidIO discovery routine to avoid warning dumps about stalled CPU on x86 platforms. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com --- drivers/rapidio/rio-scan.c | 62

[PATCH 0/5] rapidio: patches to support multiple master ports

2012-10-03 Thread Alexandre Bounine
RapidIO network. Using bitmap based mechanism instead of counters allows destination ID release and reuse in systems that support hot-swap. Alexandre Bounine (5): rapidio: fix blocking wait for discovery ready rapidio: use device lists handling on per-net basis rapidio: run discovery

[PATCH 2/5] rapidio: use device lists handling on per-net basis

2012-10-03 Thread Alexandre Bounine
performs as expected. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com --- drivers/rapidio/rio-scan.c | 60 ++- include/linux/rio.h|1 + 2 files changed, 32

[PATCH 5/5] rapidio: add destination ID allocation mechanism

2012-10-03 Thread Alexandre Bounine
-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com --- drivers/rapidio/rio-scan.c | 205 include/linux/rio.h|9 ++ 2 files changed, 179 insertions(+), 35 deletions(-) diff

[PATCH 4/5] rapidio/rionet: rework to support multiple RIO master ports

2012-10-03 Thread Alexandre Bounine
Make RIONET driver multi-net safe/capable by introducing per-net lists of RapidIO network peers. Rework registration of network adapters to support all available RIO master port devices. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li

[PATCH] rapidio/rionet: fix multicast packet transmit logic

2012-09-26 Thread Alexandre Bounine
routine during multicast transfers in systems with three or more rionet participants). Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: David S. Miller da...@davemloft.net Cc: net...@vger.kernel.org --- drivers/net/rionet.c | 20

[PATCH 1/2] rapidio: add inbound memory mapping interface

2012-09-18 Thread Alexandre Bounine
engine support. This patch is based on patch submitted by Li Yang le...@freescale.com (https://lists.ozlabs.org/pipermail/linuxppc-dev/2009-April/071210.html) Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc

[PATCH 0/2] rapidio: add inbound memory mapping API

2012-09-18 Thread Alexandre Bounine
between devices connected to a RapidIO network. Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga...@kernel.crashing.org --- Alexandre Bounine (2): rapidio: add inbound memory mapping interface rapidio/tsi721: add inbound memory mapping callbacks

[PATCH 2/2] rapidio/tsi721: add inbound memory mapping callbacks

2012-09-18 Thread Alexandre Bounine
Add Tsi721 routines to support RapidIO subsystem's inbound memory mapping interface (RapidIO to system's local memory). Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga...@kernel.crashing.org

[PATCH RESEND] rapidio: apply RX/TX enable to active switch ports only

2012-09-18 Thread Alexandre Bounine
reset state for these bits. This patch ensures that TX/RX enable action is applied only to active switch's ports while preserving an initial state of inactive ones. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org --- RESEND: Initial submission

[PATCH] rapidio: fix kerneldoc warnings after DMA support was added

2012-09-14 Thread Alexandre Bounine
Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Reported-by: Robert P. J. Day rpj...@crashcourse.ca Cc: Robert P. J. Day rpj...@crashcourse.ca --- include/linux/rio.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/linux/rio.h b/include/linux/rio.h

[PATCH] rapidio: apply RX/TX enable to active switch ports only

2012-08-21 Thread Alexandre Bounine
Modify RIO enumeration to apply RX/TX enable operations only to active switch ports. This will leave inactive ports in condition consistent with their state. This patch is applicable to kernel versions starting from v2.6.35. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt

[PATCH] rapidio/tsi721: modify mport name assignment

2012-08-21 Thread Alexandre Bounine
Modify mport device name assignment to provide clear reference to devices in systems with multiple Tsi721 bridges. This patch is applicable to kernel versions starting from v3.2. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org --- drivers

[PATCH] rapidio/tsi721: fix inbound doorbell interrupt handling

2012-08-15 Thread Alexandre Bounine
transfers may finish with destination unreachable error message. This patch is applicable to kernel versions starting from v3.2. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org --- drivers/rapidio/devices/tsi721.c |7 +++ 1 files changed

[PATCH] rapidio/tsi721: fix unused variable compiler warning

2012-08-15 Thread Alexandre Bounine
Fix unused variable compiler warning when built with CONFIG_RAPIDIO_DEBUG option off. This patch is applicable to kernel versions starting from v3.2 Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org --- drivers/rapidio/devices/tsi721.c |5

[PATCH] rapidio/tsi721: fix bug in inbound doorbell handler

2012-03-05 Thread Alexandre Bounine
Fixes queue wrapping bug in Inbound Doorbell handling routine. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Chul Kim chul@idt.com Cc: Matt Porter mpor...@kernel.crashing.org --- This patch is applicable to kernel version 3.2 and after. drivers/rapidio/devices/tsi721.c

[RFC] dmaengine/dma_slave: add context parameter to prep_slave_sg callback

2012-01-26 Thread Alexandre Bounine
and does not include corresponding changes to existing DMA_SLAVE clients. Complete set of patches will be provided after (if) this API change is accepted. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Jassi Brar jaswinder.si...@linaro.org Cc: Russell King r...@arm.linux.org.uk Cc

[PATCH RESEND] rapidio/tsi721: Fix mailbox resource reporting

2011-12-07 Thread Alexandre Bounine
versions staring from 3.2-rc1. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- [Resending this patch with updated commit comment] drivers/rapidio/devices/tsi721.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rapidio/devices/tsi721.c b/drivers

[PATCH RESEND] rapidio/tsi721: modify PCIe capability settings

2011-12-07 Thread Alexandre Bounine
to kernel versions starting from 3.2-rc1. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- [Resending this patch with updated commit comment] drivers/rapidio/devices/tsi721.c | 20 +++- drivers/rapidio/devices/tsi721.h |2 ++ 2 files changed, 17 insertions

[PATCH] rapidio/tsi721: modify PCIe capability settings

2011-12-06 Thread Alexandre Bounine
Change Completion Timeout Value to avoid data transfer aborts during intensive data transfers. Remove hardcoded offset for PCIe capability registers. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- drivers/rapidio/devices/tsi721.c | 20 +++- drivers/rapidio

[PATCH] rapidio/tsi721: Fix mailbox resource reporting

2011-12-06 Thread Alexandre Bounine
Report support of four RapidIO mailboxes (MBOX0 - MBOX3) instead of MBOX0 only. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- drivers/rapidio/devices/tsi721.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rapidio/devices/tsi721.c b/drivers

[PATCH] rapidio/tsi721: switch to dma_zalloc_coherent

2011-12-05 Thread Alexandre Bounine
Replaces pair dma_alloc_coherent()+memset() with new dma_zalloc_coherent() added by Andrew Morton for kernel version 3.2 Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- drivers/rapidio/devices/tsi721.c | 17 - 1 files changed, 4 insertions(+), 13 deletions

[RFC PATCH 1/2] RapidIO: Add DMA Engine support for RIO data transfers

2011-09-30 Thread Alexandre Bounine
only for a remote side. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Vinod Koul vinod.k...@intel.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com --- drivers/dma/dmaengine.c |4 ++ drivers/rapidio

[RFC PATCH 2/2 -mm] RapidIO: TSI721 Add DMA Engine support

2011-09-30 Thread Alexandre Bounine
Adds support for DMA Engine API. Includes following changes: - Modifies BDMA register offset definitions to support per-channel handling - Separates BDMA channel reserved for RIO Maintenance requests - Adds DMA Engine callback routines Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com

[PATCH] RapidIO: documentation update

2011-09-15 Thread Alexandre Bounine
Update rapidio.txt to reflect changes from recent patch. See http://marc.info/?l=linux-kernelm=131285620113589w=2 for details. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Liu Gang gang@freescale.com --- Documentation/rapidio/rapidio.txt |2 +- 1 files changed, 1

[PATCH] RapidIO: fix potential null deref in rio_setup_device()

2011-09-06 Thread Alexandre Bounine
The goto cleanup path can deference rswitch when it is NULL. Reported-by: Dan Carpenter erro...@gmail.com Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Dan Carpenter erro...@gmail.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Chul

[PATCH] RapidIO, rionet: Fix ethernet address macros for LE platforms

2011-09-06 Thread Alexandre Bounine
Modify Ethernet addess macros to be compatible with BE/LE platforms (applicable to kernel versions starting from 2.6.39). Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Chul Kim chul@idt.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org

[PATCH] RapidIO: Fix use of non-compatible registers

2011-07-26 Thread Alexandre Bounine
Replace/remove use of RIO v.1.2 registers/bits that are not forward-compatible with newer versions of RapidIO specification. RapidIO specification v. 1.3 removed Write Port CSR, Doorbell CSR, Mailbox CSR and Mailbox and Doorbell bits of the PEF CAR. Signed-off-by: Alexandre Bounine

[PATCH] RapidIO: Fix default routing initialization

2011-05-11 Thread Alexandre Bounine
handling of unmapped destinations by tsi57x, IDT Gen1 and IDT Gen2 switches. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Thomas Moll thomas.m...@sysgo.com --- drivers

[PATCH 1/1] RapidIO: Add IDT CPS-1432 switch definitions

2011-04-06 Thread Alexandre Bounine
Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Kumar Gala ga...@kernel.crashing.org --- drivers/rapidio/switches/idt_gen2.c |1 + include/linux/rio_ids.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff

[PATCH] RapidIO/mpc85xx: Fix possible mport registration problems.

2011-04-06 Thread Alexandre Bounine
Fix possible problem with mport registration left non cleared after fsl_rio_setup() exits on link error. Abort mport initialization if registration failed. This patch is applicable to 2.6.39-rc1 only. The problem does not exists for earlier versions. Signed-off-by: Alexandre Bounine

[PATCH -mm] RapidIO,powerpc/85xx: Fix configuration option

2011-03-18 Thread Alexandre Bounine
Follows set of patches in -mm tree. Replaces configuration option missed in previous patches. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- arch/powerpc/kernel/cpu_setup_fsl_booke.S |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel

[PATCH] RapidIO: Update MAINTAINERS

2011-03-03 Thread Alexandre Bounine
Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Matt Porter mpor...@kernel.crashing.org --- MAINTAINERS |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6f99e12..f9630d6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5164,6

[PATCH 0/5] RapidIO: configuration and initialization changes

2011-02-28 Thread Alexandre Bounine
This set of patches eliminates RapidIO dependency on PowerPC architecture and makes it available to other architectures (x86 and MIPS). It also enables support of new platform independent RapidIO controllers such as PCI-to-SRIO and PCI Express-to-SRIO. Alexandre Bounine (5): RapidIO: Add

[PATCH 1/5] RapidIO: Add architecture specific callbacks

2011-02-28 Thread Alexandre Bounine
Extend number of mport callback functions to eliminate direct linking of architecture specific mport operations. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- arch/powerpc/sysdev/fsl_rio.c | 52 +--- drivers/rapidio/rio.c | 38

[PATCH 3/5] RapidIO: Modify subsystem and driver initialization sequence

2011-02-28 Thread Alexandre Bounine
Subsystem initialization sequence modified to support presence of multiple RapidIO controllers in the system. The new sequence is compatible with initialization of PCI devices. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- arch/powerpc/sysdev/fsl_rio.c | 10 +- drivers

[PATCH 4/5] RapidIO: Modify mport ID assignment

2011-02-28 Thread Alexandre Bounine
Changes mport ID and host destination ID assignment to implement unified method common to all mport drivers. Makes riohdid= kernel command line parameter common for all architectures with support for more that one host destination ID assignment. Signed-off-by: Alexandre Bounine alexandre.boun

[PATCH 5/5] RapidIO: remove mport resource reservation from common RIO code

2011-02-28 Thread Alexandre Bounine
Removes resource reservation from the common sybsystem initialization code and make it part of mport driver initialization. This resolves conflict with resource reservation by device specific mport drivers. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- arch/powerpc/sysdev

[PATCH 2/5] RapidIO: Modify configuration to support PCI-SRIO controller

2011-02-28 Thread Alexandre Bounine
1. Add an option to include RapidIO support if the PCI is available. 2. Add FSL_RIO configuration option to enable controller selection. 3. Add RapidIO support option into x86 and MIPS architectures. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com --- arch/mips/Kconfig

[PATCH] rapidio: Fix sysfs config attribute to access 16MB of maint space

2011-02-25 Thread Alexandre Bounine
Fixes sysfs config attribute to allow access to entire 16MB maintenance space of RapidIO devices. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Thomas Moll

[PATCH -mm V2] rapidio: Add new sysfs attributes

2011-02-25 Thread Alexandre Bounine
) Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Micha Nelissen mi...@neli.hopto.org --- Documentation/rapidio/sysfs.txt | 17

[PATCH -mm 2/4] RapidIO: Add device object linking into discovery

2010-12-10 Thread Alexandre Bounine
Add setting links between rio_dev objects into the discovery process. This needed to report device connections on agent (non-host) processors that perform RIO discovery. Originally, these links have been introduced for enumerating host only to support error management. Signed-off-by: Alexandre

[PATCH -mm 4/4] RapidIO: Add new sysfs attributes

2010-12-10 Thread Alexandre Bounine
) Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Micha Nelissen mi...@neli.hopto.org --- drivers/rapidio/rio-sysfs.c | 39

[PATCH -mm 0/4] RapidIO: Misc updates

2010-12-10 Thread Alexandre Bounine
The following four patches are follow-up to two RapidIO patches that are in the -mm tree now. Alexandre Bounine (4): RapidIO: Add definitions of Component Tag fields RapidIO: Add device object linking into discovery RapidIO: Use Component Tag for unified switch identification RapidIO: Add

[PATCH -mm 1/4] RapidIO: Add definitions of Component Tag fields

2010-12-10 Thread Alexandre Bounine
of endpoints in large RIO network (16-bit id) plus switches. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Micha Nelissen mi

[PATCH -mm 3/4] RapidIO: Use Component Tag for unified switch identification

2010-12-10 Thread Alexandre Bounine
with unique portion of the Component Tag provides unified reference to the switch by every processor in the system. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Thomas

[PATCH] RapidIO: Add new IDT sRIO switches

2010-12-10 Thread Alexandre Bounine
Add new sRIO switch device IDs and enable a basic support for them. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Micha

[PATCH -mm 0/2] RapidIO: Changes to handling of RIO switches

2010-10-21 Thread Alexandre Bounine
devices with added space for switch information simplifies handling of RIO switch device objects. Alexandre Bounine (2): RapidIO: Use common destid storage for endpoints and switches RapidIO: Integrate rio_switch into rio_dev drivers/rapidio/rio-scan.c | 139

[PATCH -mm 2/2] RapidIO: Integrate rio_switch into rio_dev

2010-10-21 Thread Alexandre Bounine
of RIO switch devices. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Micha Nelissen mi...@neli.hopto.org --- drivers/rapidio/rio

[PATCH -mm 1/2] RapidIO: Use common destid storage for endpoints and switches

2010-10-21 Thread Alexandre Bounine
. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Micha Nelissen mi...@neli.hopto.org --- drivers/rapidio/rio-scan.c | 84

[PATCH -mm 1/2] RapidIO: Fix maximum port number in tsi57x EM initialization

2010-10-18 Thread Alexandre Bounine
Replace hardcoded maximum port number with actual reported number of switch ports. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Kumar Gala ga...@kernel.crashing.org Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Thomas Moll thomas.m...@sysgo.com

[PATCH -mm 2/2] RapidIO: Fix destructive port EM initialization for Tsi568

2010-10-18 Thread Alexandre Bounine
Replaces possibly damaging broadcast writes into the per-port SP_MODE registers with individual writes for each port. This will preserve individual port configurations in case if ports are configured differently. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Kumar Gala ga

[PATCH -mm] RapidIO: fix IDLE2 bits corruption

2010-10-01 Thread Alexandre Bounine
RapidIO spec v.2.1 adds Idle Sequence 2 into LP-Serial Physical Layer. The fix ensures that corresponding bits are not corrupted during error handling. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Matt Porter mpor...@kernel.crashing.org Cc

[PATCH v2 0/10] RapidIO: Set of patches to add Gen2 switches

2010-09-14 Thread Alexandre Bounine
This set of RapidIO patches extends support for standard error recovery mechanism and adds new IDT Gen2 sRIO switch devices - CPS-1848 and CPS-1616. Implementation of the standard error-stopped state recovery mechanism (as defined by the RapidIO specification) is required for the new switches.

[PATCH v2 01/10] RapidIO: Fix RapidIO sysfs hierarchy

2010-09-14 Thread Alexandre Bounine
Make RapidIO devices appear in /sys/devices/rapidio directory instead of top of /sys/devices directory. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga

[PATCH v2 08/10] RapidIO: Add device access check into the enumeration

2010-09-14 Thread Alexandre Bounine
Add explicit device access check before performing device enumeration. This gives a chance to clear possible link error conditions by issuing safe maintenance read request(s). Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Matt Porter mpor

[PATCH v2 06/10] RapidIO: Modify sysfs initialization for switches

2010-09-14 Thread Alexandre Bounine
1. Change to create attribute routes only for switches. 2. Add a switch-specific callback to create/remove proprietary attributes. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le

[PATCH v2 02/10] RapidIO:powerpc/85xx: Modify RIO port-write interrupt handler

2010-09-14 Thread Alexandre Bounine
- Rearranged RIO port-write interrupt handling to perform message buffering as soon as possible. - Modified to disable port-write controller when clearing Transaction Error (TE) bit. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Matt Porter

[PATCH v2 07/10] RapidIO: Add handling of orphan port-write message

2010-09-14 Thread Alexandre Bounine
Add check for access to port-write (PW) message source device before processing the PW message. If source RIO device is not available (power down or RIO link failure) trace back to a last available switch/port on the PW message route and service failure at that point. Signed-off-by: Alexandre

[PATCH v2 03/10] RapidIO: Use stored ingress port number instead of register read

2010-09-14 Thread Alexandre Bounine
A switch port information is obtained and stored during RIO device setup. Therefore repeated reads from Switch Port Information CAR may be removed. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li

[PATCH v2 04/10] RapidIO: Add relation links between RIO device structures

2010-09-14 Thread Alexandre Bounine
Create back and forward links between RIO devices. These links are intended for use by error management and hot-plug extensions. Links for redundant RIO connections between switches are not set (will be fixed in a separate patch). Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc

[PATCH v2 10/10] RapidIO: Add handling of redundant routes

2010-09-14 Thread Alexandre Bounine
register was used before for this purpose). 2. Enumerator sets Component Tag (!= 0) immediately during device setup. This allows to identify the device if the redundant route exists in a RIO system. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Matt

[PATCH v2 05/10] RapidIO: Add default handler for error-stopped state

2010-09-14 Thread Alexandre Bounine
The default error-stopped state handler provides recovery mechanism as defined by RIO specification. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga

[PATCH v2 09/10] RapidIO: Add support for IDT CPS Gen2 switches

2010-09-14 Thread Alexandre Bounine
Add the RIO switch driver and definitions for IDT CPS-1848 and CPS-1616 Gen2 devices. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Cc: Thomas Moll thomas.m...@sysgo.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar Gala ga

[PATCH 1/9] RapidIO: fix RapidIO sysfs hierarchy

2010-08-13 Thread Alexandre Bounine
Makes RapidIO devices appear in /sys/devices/rapidio directory instead of top of /sys/devices directory. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Reviewed-by: Thomas Moll thomas.m...@sysgo.com Cc: Matt Porter mpor...@kernel.crashing.org Cc: Li Yang le...@freescale.com Cc: Kumar

[PATCH 0/9] RapidIO: Set of patches to add Gen2 switches

2010-08-13 Thread Alexandre Bounine
This set of RapidIO patches adds support for new IDT Gen2 sRIO switch devices - CPS-1848 and CPS-1616. Adding these sRIO switches required to implement standard error recovery mechanism defined by the RapidIO specification. ___ Linuxppc-dev mailing list

[PATCH 2/9] RapidIO, powerpc/85xx: modify RIO port-write interrupt handler

2010-08-13 Thread Alexandre Bounine
- Rearranged RIO port-write interrupt handling to perform message buffering as soon as possible. - Modified to disable port-write controller when clearing Transaction Error (TE) bit. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Reviewed-by: Thomas Moll thomas.m...@sysgo.com Cc: Matt

[PATCH 3/9] RapidIO: Add the ingress port number into the RIO switch data structure

2010-08-13 Thread Alexandre Bounine
A switch ingress port number has to be saved for software assisted error recovery from the error-stopped state. Saving this information also allows to remove several register reads from the RIO enumeration process. Signed-off-by: Alexandre Bounine alexandre.boun...@idt.com Reviewed-by: Thomas

  1   2   >