- Remove check for parallel PHY
- Set LP-Serial Register Map type
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Benjamin Herrenschmidt
Cc: Michael Ellerman
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-ker...@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
---
arch/powerpc/sysdev
larger than 4GB.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Benjamin Herrenschmidt
Cc: Michael Ellerman
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-ker...@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
---
arch/powerpc/sysdev/fsl_rio.c|4 ++--
drivers/rapidio/devices
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
Cc: Matt Porter
Cc: Benjamin Herrenschmidt
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Change mport object initialization/registration sequence to match reworked
version of rio_register_mport() in the core code.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Benjamin Herrenschmidt
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-ker...@vger.kernel.org
Cc: linuxppc-dev
access to the RapidIO device list.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: Stef van Os
Cc: linux-ker...@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
---
drivers/rapidio/rio.c | 66 +++--
include/linux/rio_drv.h | 5
l RapidIO mport devices 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
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc: Stef van Os
Cc: J
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
Cc: Matt Porter
Cc: Xiaotian Feng
Cc: Thomas Gleixner
Cc: Mike Galbraith
Cc:
---
drivers/rapidio/devices/tsi721.h
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
Cc: Matt Porter
Cc: Jean
es the component tag and does not have other use than in
device name generation.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc: Micha Nelissen
Cc: Stef van Os
---
drivers/rapidio/rio-scan.c |5 ++---
include/linux/rio.h|2 --
ation/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
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andr
O bus.
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
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: "David S. Miller"
Cc: Andre van Herk
Cc:
Update RapidIO documentation files to reflect modularization changes.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc: Micha Nelissen
Cc: Stef van Os
Cc: Jean Delvare
---
Documentation/rapidio/rapidio.txt | 98
the best matching
mport ID;
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc: Micha Nelissen
Cc: Stef van Os
Cc: Jean Delvare
---
drivers/rapidio/rio-scan.c |1 +
drivers/rapidio/rio-sysfs.c | 17 +
drivers/rapidio/rio.c
; with its
module-specific analog "rapidio.hdid=".
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc: Micha Nelissen
Cc: Stef van Os
Cc: Jean Delvare
---
arch/x86/Kconfig |4 ++--
drivers/rapidio/Makefile |4 +++-
d
6 bit),
ad - Assembly ID (16 bit),
as they are reported in corresponding Capability Registers (CARs)
of each RapidIO device.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc: Micha Nelissen
Cc: Stef van Os
Cc: Jean Delvare
---
drivers/rapidio/ri
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
enumeration/discovery method.
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc: Micha Nelissen
Cc: Stef van Os
Cc: Jean Delvare
Alexandre Bounine (7):
rapidio: convert switch drivers to modules
rapidio/rionet: rework driver initialization and removal
rapidio: update
: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
---
drivers/rapidio/switches/Kconfig |7 ---
drivers/rapidio/switches/Makefile |1 -
drivers/rapidio/switches/tsi500.c | 78 -
3 files changed, 0 insertions(+), 86 deletions(-)
delete mode
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
Cc: Matt Porter
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 B
endpoints).
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc: Micha Nelissen
---
drivers/rapidio/rio-driver.c |1 +
drivers/rapidio/rio-scan.c | 24 +++--
drivers/rapidio/rio-sysfs.c | 45
Update RapidIO documentation to reflect changes made to enumeration/discovery
build configuration and user space triggering mechanism.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc: Micha Nelissen
---
Documentation/rapidio/rapidio.txt
w
module initialization
- added default value for "Enumeration method" choice in Kconfig
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc: Micha Nelissen
Alexandre Bounine (3):
rapidio: make enumeration/discovery configurable
rapidio: add enumera
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:
Update RapidIO documentation to reflect changes made to enumeration/discovery
build configuration and user space triggering mechanism.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc: Micha Nelissen
---
Documentation/rapidio/rapidio.txt
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
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Andre van Herk
Cc
a Nelissen
Alexandre Bounine (3):
rapidio: make enumeration/discovery configurable
rapidio: add enumeration/discovery start from user space
rapidio: documentation update for enumeration changes
Documentation/rapidio/rapidio.txt | 137 --
Documentation/rapidio/sysfs.tx
y, it abandons discovery for all ports.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
---
drivers/rapidio/rio.c | 75 ++--
1 files changed, 47 insertions(+), 28 deletions(-)
diff --git a/drivers/rapidio/rio.c b/drivers/rapidio/rio.c
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
Cc: Matt Porter
Cc: Li Yang
---
drivers/rapidio/rio-scan.c |2 +-
1 files changed, 1 insertions(+), 1 deletions
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
: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
---
drivers/rapidio/rio-scan.c | 38 --
include/linux/rio.h|1 -
2 files changed, 16 insertions(+), 23 deletions(-)
diff --git a/drivers/rapidio/rio-scan.c b/drivers/rapidio/rio-scan.c
index 05f0ed9
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
Cc: Matt Porter
Cc: Li Yang
Cc: David S. Miller
---
drivers/net/rionet.c
: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
---
drivers/rapidio/rio-scan.c | 205
include/linux/rio.h|9 ++
2 files changed, 179 insertions(+), 35 deletions(-)
diff --git a/drivers/rapidio/rio-scan.c b/drivers/rapidio/rio-scan.c
index
performs as expected.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
---
drivers/rapidio/rio-scan.c | 60 ++-
include/linux/rio.h|1 +
2 files changed, 32 insertions(+), 29 deletions(-)
diff --git a/drivers/rapidio/rio-scan.c b
gement for each available 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
rap
Fix blocking wait loop in the RapidIO discovery routine to avoid warning
dumps about stalled CPU on x86 platforms.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
---
drivers/rapidio/rio-scan.c | 62 ++-
1 files changed, 20 insertions
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
Cc: Matt Porter
Cc: Li Yang
---
drivers/rapidio
routine during multicast transfers in systems with three or
more rionet participants).
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: David S. Miller
Cc: net...@vger.kernel.org
---
drivers/net/rionet.c | 20 +---
1 files changed, 17 insertions(+), 3 deletions(-)
diff
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
Cc: Matt Porter
---
RESEND: Initial submission of this patch was dropped due to feedback
co
Add Tsi721 routines to support RapidIO subsystem's inbound memory mapping
interface (RapidIO to system's local memory).
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
---
drivers/rapidio/devices/tsi721.c | 88 +
en devices connected to a RapidIO network.
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
---
Alexandre Bounine (2):
rapidio: add inbound memory mapping interface
rapidio/tsi721: add inbound memory mapping callbacks
drivers/rapidio/devices/tsi721.c | 88 +
engine
support.
This patch is based on patch submitted by Li Yang
(https://lists.ozlabs.org/pipermail/linuxppc-dev/2009-April/071210.html)
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
---
drivers/rapidio/rio.c | 44
Signed-off-by: Alexandre Bounine
Reported-by: Robert P. J. Day
Cc: Robert P. J. Day
---
include/linux/rio.h |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/linux/rio.h b/include/linux/rio.h
index 1a7b6c7..ba382f2 100644
--- a/include/linux/rio.h
+++ b/include
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
Cc: Matt Porter
---
drivers/rapidio/devices/tsi721.c |3 ++-
include/linux
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
Cc: Matt Porter
---
drivers/rapidio
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
Cc: Matt Porter
---
drivers/rapidio/devices/tsi721.c |5 -
1 files changed, 4 insertions(+), 1
transfers may finish with
"destination unreachable" error message.
This patch is applicable to kernel versions starting from v3.2.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
---
drivers/rapidio/devices/tsi721.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
di
: Alexandre Bounine
---
This patch is applicable to linux-next-20120326 and after.
v2: Address review comments,
Switched to use dma_zalloc_coherent,
Switched to use dma_transfer_direction enumerator,
Uses updated prep_slave_sg() interface.
drivers/rapidio/devices/Makefile |3
scatterlist to describe local data buffer. Address flat data buffer
on a remote side.
Signed-off-by: Alexandre Bounine
---
This patch is applicable to linux-next-20120326 and after.
v2: Uses updated DMA engine prep_slave_sg() interface.
See https://lkml.org/lkml/2012/3/8/373 for more details
Fixes queue wrapping bug in Inbound Doorbell handling routine.
Signed-off-by: Alexandre Bounine
Cc: Chul Kim
Cc: Matt Porter
---
This patch is applicable to kernel version 3.2 and after.
drivers/rapidio/devices/tsi721.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff
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
Cc: Jassi Brar
Cc: Russell King
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
---
include/linux/dmaengine.h
to kernel versions starting from 3.2-rc1.
Signed-off-by: Alexandre Bounine
---
[Resending this patch with updated commit comment]
drivers/rapidio/devices/tsi721.c | 20 +++-
drivers/rapidio/devices/tsi721.h |2 ++
2 files changed, 17 insertions(+), 5 deletions(-)
diff
versions staring from 3.2-rc1.
Signed-off-by: Alexandre Bounine
---
[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/rapidio/devices/tsi721.c
Report support of four RapidIO mailboxes (MBOX0 - MBOX3) instead of MBOX0
only.
Signed-off-by: Alexandre Bounine
---
drivers/rapidio/devices/tsi721.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/rapidio/devices/tsi721.c b/drivers/rapidio/devices/tsi721.c
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
---
drivers/rapidio/devices/tsi721.c | 20 +++-
drivers/rapidio/devices/tsi721.h |2 ++
2
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
---
drivers/rapidio/devices/tsi721.c | 17 -
1 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/drivers
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
Cc: Vinod Koul
Cc: Kumar
only for a remote side.
Signed-off-by: Alexandre Bounine
Cc: Vinod Koul
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
---
drivers/dma/dmaengine.c |4 ++
drivers/rapidio/Kconfig |6 +++
drivers/rapidio/rio.c | 79 +
include/linux
Update rapidio.txt to reflect changes from recent patch.
See http://marc.info/?l=linux-kernel&m=131285620113589&w=2 for details.
Signed-off-by: Alexandre Bounine
Cc: Liu Gang
---
Documentation/rapidio/rapidio.txt |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff
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
Cc: Chul Kim
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
---
drivers/net/rionet.c |4 ++--
1 files changed, 2 insertions(+), 2
The "goto cleanup" path can deference "rswitch" when it is NULL.
Reported-by: Dan Carpenter
Signed-off-by: Alexandre Bounine
Cc: Dan Carpenter
Cc: Kumar Gala
Cc: Matt Porter
Cc: Chul Kim
---
drivers/rapidio/rio-scan.c |2 +-
1 files changed, 1 insertions(+), 1 dele
- address comments made by Andrew Morton,
see http://marc.info/?l=linux-kernel&m=131361256714116&w=2
- add spinlock for IB_MSG handler
- rename private BDMA channel structure to avoid conflict with DMA engine
- fix endianess bug in outbound message interrupt handler
Signed-off-by: A
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
Cc: Kumar
handling of unmapped destinations by tsi57x,
IDT Gen1 and IDT Gen2 switches.
Signed-off-by: Alexandre Bounine
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
Cc: Thomas Moll
---
drivers/rapidio/switches/idt_gen2.c |9 +
drivers/rapidio/switches/idtcps.c |6 ++
drivers/rapidio
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
Cc: Kumar
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Kumar Gala
---
drivers/rapidio/switches/idt_gen2.c |1 +
include/linux/rio_ids.h |1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/rapidio/switches/idt_gen2.c
b/drivers/rapidio/switches
Follows set of patches in -mm tree. Replaces configuration option
missed in previous patches.
Signed-off-by: Alexandre Bounine
---
arch/powerpc/kernel/cpu_setup_fsl_booke.S |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/kernel/cpu_setup_fsl_booke.S
b
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
---
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 +5164,7 @@ F:drivers/char/random.c
RAPIDIO
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
---
arch/mips/Kconfig| 10 ++
arch
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
---
arch/powerpc/sysdev/fsl_rio.c |9
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
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
---
arch/powerpc/sysdev/fsl_rio.c | 10 +-
drivers/net/rionet.c
Extend number of mport callback functions to eliminate direct linking of
architecture specific mport operations.
Signed-off-by: Alexandre Bounine
---
arch/powerpc/sysdev/fsl_rio.c | 52 +---
drivers/rapidio/rio.c | 38
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
)
Signed-off-by: Alexandre Bounine
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
Cc: Thomas Moll
Cc: Micha Nelissen
---
Documentation/rapidio/sysfs.txt | 17 +--
drivers/rapidio/rio-sysfs.c | 41 ++-
2 files changed, 54 insertions(+), 4
Fixes sysfs config attribute to allow access to entire 16MB maintenance
space of RapidIO devices.
Signed-off-by: Alexandre Bounine
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
Cc: Thomas Moll
Cc: Micha Nelissen
---
drivers/rapidio/rio-sysfs.c | 12 ++--
include/linux/rio_regs.h
Add new sRIO switch device IDs and enable a basic support for them.
Signed-off-by: Alexandre Bounine
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
Cc: Thomas Moll
Cc: Micha Nelissen
---
drivers/rapidio/switches/idt_gen2.c |2 ++
include/linux/rio_ids.h |2 ++
2 files
with unique portion of the Component Tag provides unified reference to the
switch by every processor in the system.
Signed-off-by: Alexandre Bounine
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
Cc: Thomas Moll
Cc: Micha Nelissen
---
drivers/rapidio/rio-scan.c | 10 +-
1 files changed, 5
endpoints in large RIO network (16-bit id) plus switches.
Signed-off-by: Alexandre Bounine
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
Cc: Thomas Moll
Cc: Micha Nelissen
---
drivers/rapidio/rio.c |2 +-
include/linux/rio.h | 10 ++
2 files changed, 11 insertions(+), 1
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
)
Signed-off-by: Alexandre Bounine
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
Cc: Thomas Moll
Cc: Micha Nelissen
---
drivers/rapidio/rio-sysfs.c | 39 ++-
1 files changed, 38 insertions(+), 1 deletions(-)
diff --git a/drivers/rapidio/rio-sysfs.c b/drivers
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
.
Signed-off-by: Alexandre Bounine
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
Cc: Thomas Moll
Cc: Micha Nelissen
---
drivers/rapidio/rio-scan.c | 84 ---
drivers/rapidio/rio.c | 74 ---
drivers/rapidio/switches
RIO switch devices.
Signed-off-by: Alexandre Bounine
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
Cc: Thomas Moll
Cc: Micha Nelissen
---
drivers/rapidio/rio-scan.c | 59 +--
drivers/rapidio/rio-sysfs.c |4 +-
include/linux/rio.h | 82
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
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
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
Cc
Replace hardcoded maximum port number with actual reported number of
switch ports.
Signed-off-by: Alexandre Bounine
Cc: Kumar Gala
Cc: Matt Porter
Cc: Li Yang
Cc: Thomas Moll
Cc: Micha Nelissen
---
drivers/rapidio/switches/tsi57x.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions
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
Cc: Thomas Moll
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Micha Nelissen
---
drivers/rapidio/rio.c
Add the RIO switch driver and definitions for IDT CPS-1848 and CPS-1616 Gen2
devices.
Signed-off-by: Alexandre Bounine
Cc: Thomas Moll
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Micha Nelissen
---
drivers/rapidio/switches/Kconfig|7 +
drivers/rapidio/switches/Makefile |1
The default error-stopped state handler provides recovery mechanism as defined
by RIO specification.
Signed-off-by: Alexandre Bounine
Cc: Thomas Moll
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Micha Nelissen
---
drivers/rapidio/rio.c | 218
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
Cc: Thomas Moll
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Micha
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
Cc: Thomas Moll
Cc: Matt Porter
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
Cc: Thomas Moll
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Micha Nelissen
---
drivers/rapidio/rio-scan.c
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
- 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
Cc: Thomas Moll
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Micha
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
Cc: Thomas Moll
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Micha Nelissen
---
drivers/rapidio/rio-sysf
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
Cc: Thomas Moll
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Micha Nelissen
Make RapidIO devices appear in /sys/devices/rapidio directory instead of top
of /sys/devices directory.
Signed-off-by: Alexandre Bounine
Cc: Thomas Moll
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
Cc: Micha Nelissen
---
drivers/rapidio/rio-driver.c |2 +-
drivers/rapidio/rio-scan.c
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.
The
Add the RIO switch driver and definitions for IDT CPS-1848 and CPS-1616 Gen2
devices.
Signed-off-by: Alexandre Bounine
Reviewed-by: Thomas Moll
Cc: Matt Porter
Cc: Li Yang
Cc: Kumar Gala
---
drivers/rapidio/switches/Kconfig|7 +
drivers/rapidio/switches/Makefile |1 +
drivers
1 - 100 of 143 matches
Mail list logo