Acked-by: Alexandre Bounine
On 2018-07-11 04:23 AM, Colin King wrote:
From: Colin Ian King
Pointer md is being assigned but is never used hence it is redundant
and can be removed.
Cleans up clang warning:
warning: variable 'md' set but not used [-Wunused-but-set-variable]
Sig
On 2018-04-12 05:28 PM, Andrew Morton wrote:
On Thu, 12 Apr 2018 17:06:05 +0200 Ioan Nicu wrote:
Some of the mport_dma_req structure members were initialized late
inside the do_dma_request() function, just before submitting the
request to the dma engine. But we have some error branches before
rio_dma_transfer() immediately after the request structure gets
allocated.
Signed-off-by: Ioan Nicu
---
drivers/rapidio/devices/rio_mport_cdev.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
Acked-by: Alexandre Bounine
CC: Barry Wood
Signed-off-by: Alexandre Bounine
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 89fd804..a6a1359 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -11723,7 +11723,7 @@ F: drivers/char/random.c
RAPIDIO
: Alexey Khoroshilov
Cc: Alexey Khoroshilov
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Alexandre Bounine
---
drivers/rapidio/rio_cm.c | 20 +---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/drivers/rapidio/rio_cm.c b/drivers/rapidio/rio_cm.c
index 3226983
-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/tsi721.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/rapidio/devices/tsi721.c b/drivers/rapidio/devices/tsi721.c
index 32f0
Fix compile error reported by Michael Ellerman:
https://lkml.org/lkml/2016/7/27/14
also corrects fix: https://lkml.org/lkml/2016/7/27/488
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Michael Ellerman
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
Fix for patch "rapidio: change inbound window size type to u64".
Remove compiler warning about size of constant.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Michael Ellerman
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
arch/powerpc/sysdev/fsl_ri
This patch has two fixes for the patch
"rapidio/switches: add driver for IDT gen3 switches" currently in -mm tree.
First address Andrew's comment about blocking delay.
The second fix was missed during the original patch preparation.
Signed-off-by: Alexandre Bounine
Cc: Matt Po
Add RapidIO switch driver for IDT Gen3 switch devices: RXS1632 and RXS2448.
Signed-off-by: Alexandre Bounine
Tested-by: Barry Wood
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/switches/Kconfig|6 +
drivers/rapidio/switches
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-kernel@vger.kernel.org
Cc: linuxppc-...@lists.ozlabs.org
---
arch/powerpc/sysdev/fsl_rio.c|4 ++--
drivers/rapidio/devices
Fix lockdep warning during device probing: move sysfs initialization out
of code protected by a spin lock.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/switches/idt_gen2.c |7 +++
1 files
).
- remove deprecated Parallel Physical layer definitions and related code.
Signed-off-by: Alexandre Bounine
Tested-by: Barry Wood
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/rio_mport_cdev.c |2 +-
drivers/rapidio/devices
- 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-kernel@vger.kernel.org
Cc: linuxppc-...@lists.ozlabs.org
---
arch/powerpc/sysdev
: Alexandre Bounine
Tested-by: Barry Wood
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
Documentation/rapidio/tsi721.txt |5 +
drivers/rapidio/devices/tsi721.c | 15 +++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git
Add checking for error code returned by HW-specific mbox open routines.
Ensure that resources are properly release if failed.
This patch is applicable to kernel versions starting from v2.6.15.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel
Add advancing transfer queue immediately from transfer submit call.
DMA performance improvement: This will start transfer without waiting for
'issue_pending' command if there is no DMA transfer in progress.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barr
Minor edits to correct parameter description.
This patch is applicable to kernel versions starting from v4.6.
Signed-off-by: Alexandre Bounine
Reported-by: Barry Wood
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
Documentation/rapidio/mport_cdev.txt
limitations for supported MRRS and therefore the
default value should be preserved, unless it is known that given platform
supports full set of MRRS values defined by PCI Express specification.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel
(from
seven available) are controlled by the mport device driver and reserve
some of them for direct use by other drivers.
Signed-off-by: Alexandre Bounine
Tested-by: Barry Wood
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
Documentation/rapidio/tsi721
.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/rio.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/rapidio/rio.c b/drivers/rapidio/rio.c
index 0dcaa66..8408029 100644
).
Alexandre Bounine (12):
rapidio/documentation: fix mangled paragraph in mport_cdev
rapidio: fix return value description for dma_prep functions
rapidio/tsi721_dma: add channel mask and queue size parameters
rapidio/tsi721: add PCIe MRRS override parameter
rapidio/tsi721: add messaging
xes in the formats are unnecessary.
Signed-off-by: Joe Perches
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/rio_mport_cdev.c |4 ++--
drivers/rapidio/devices/tsi721.c |8 ---
ser-space parameter checking in ioctl handlers
+ added brief ioctl descriptions in doc file
- changed data types in definitions shared with user-space apps
Signed-off-by: Alexandre Bounine
Tested-by: Barry Wood
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: Barry Wood
Cc: li
service routines
Signed-off-by: Alexandre Bounine
Reported-by: Gabriel Laskar
Tested-by: Barry Wood
Cc: Gabriel Laskar
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/rio_mport_cdev.c | 115
: Alexandre Bounine
Tested-by: Barry Wood
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
Documentation/rapidio/rio_cm.txt | 94 ++
drivers/rapidio/Kconfig |8 +
drivers/rapidio/Makefile |2 +
drivers/rapidio
Fix to ensure that only CONFIG_RAPIDIO_DMA_ENGINE option is used to control
DMA code build.
Signed-off-by: Alexandre Bounine
Reported-by: Randy Dunlap
Cc: Randy Dunlap
Cc: Matt Porter
Cc: linux-kernel@vger.kernel.org
Cc: linux-n...@vger.kernel.org
---
drivers/rapidio/devices/rio_mport_cdev.c
Fix the driver build failure if CONFIG_DMA_ENGINE option is not enabled
This patch is applicable to linux-next tree.
Signed-off-by: Alexandre Bounine
Reported-by: Stephen Rothwell
Cc: Randy Dunlap
Cc: Matt Porter
Cc: linux-kernel@vger.kernel.org
Cc: linux-n...@vger.kernel.org
---
drivers
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
-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
Cc: net...@vger.kernel.org
---
drivers/net/rionet.c | 152 +
1 files changed, 102 insertions(+), 50 deletions(-)
diff --git a
Add device-specific implementation of query_mport callback function.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/tsi721.c | 34 ++
1 files changed, 34
Switch to returning error-valued pointer instead of simple NULL pointer.
This allows to properly identify situation when request queue is full
and therefore gives to upper layer an option to retry operation later.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre
Add bus-specific callback to stop RapidIO devices during a system shutdown.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/rio-driver.c | 12
include/linux/rio.h |2
Add device driver specific shutdown notification callback.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/tsi721.c | 15 +++
drivers/rapidio/devices/tsi721.h |3
starting from v3.2.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/tsi721.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/rapidio/devices/tsi721.c b
incorrect DMA
transfer status report
Signed-off-by: Alexandre Bounine
Reported-by: Barry Wood
Tested-by: Barry Wood
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/tsi721_dma.c | 25
starting from v3.7.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/tsi721.c | 72 +++---
drivers/rapidio/devices/tsi721.h | 11 ++
2 files changed, 62
message receive
queue processing.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/tsi721.c | 42 +++--
1 files changed, 30 insertions(+), 12 deletions(-)
diff
Add lock protection around doorbell list handling to prevent list
corruption on SMP platforms.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/rio.c |9 ++---
include/linux/rio.h |2
make use of these
interfaces in user space. Intensive testing with these applications prompted
the RapidIO subsystem updates provided within this set of patches.
Alexandre Bounine (28):
rapidio/tsi721: fix hardcoded MRRS setting
rapidio/tsi721: add check for overlapped IB window mappings
This patch moves per-net device list handling from rio-scan to common
RapidIO core and adds a matching device deletion routine. This makes
device object creation/removal available to other implementations of
enumeration/discovery process.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc
Make rio_pw_enable() routine available to other RapidIO drivers.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/rio-scan.c | 11 ---
drivers/rapidio/rio.c | 19
Fix pending DMA request queue handling to avoid broken ordering during
concurrent request submissions.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/tsi721.h |2 +-
drivers
()
have been moved into separate function rio_mport_initialize() to allow to
perform mport registration as the final step of setup process.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/rio.c | 98
to it.
This implementation selects RapidIO base address and size for inbound
window that are capable to accommodate the local memory buffer.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices
Add mport query operation to report master port RapidIO
capabilities and run time configuration to upper level drivers.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/rio.c| 17
Add device-specific callback functions to support outbound windows mapping
and release.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/tsi721.c | 222
all RapidIO devices residing in it
and register net as a child of active mport device.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/rio-scan.c | 98
structures.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/devices/tsi721.c | 302 --
drivers/rapidio/devices/tsi721.h |4 +-
drivers/rapidio/devices
From: Aurelien Jacquiot
Replace default Ethernet-specific routine by the custom one to allow
setting of larger MTU supported by RapidIO messaging (max RIO packet
size is 4096 bytes).
Signed-off-by: Aurelien Jacquiot
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc
)
while the old interface is available for individual device drivers.
This patch is based on patch proposed by Andre van Herk but preserves
existing per-device interface and adds lock protection for list handling.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van
Add shutdown notification handler which terminates active connections
with remote RapidIO nodes. This prevents remote nodes from sending packets
to the powered off node and eliminates hardware error events on remote
nodes.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
window mapping part has been applied later during tsi721 mport
driver submission. Now goes the second part with corresponding HW support.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Li Yang
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio
el versions starting from v2.15.
Signed-off-by: Aurelien Jacquiot
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
Cc: net...@vger.kernel.org
---
drivers/net/rionet.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff
Add mport character device driver to provide user space interface
to basic RapidIO subsystem operations.
See included Documentation/rapidio/mport_cdev.txt for more details.
Signed-off-by: Alexandre Bounine
Tested-by: Barry Wood
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc
Replace "all-or-nothing" debug output with controlled debug output using
functional block masks. This allows run time control of debug messages
through 'dbg_level' module parameter.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van He
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-kernel@vger.kernel.org
Cc: linuxppc
Add DMA channel re-initialization after an error to avoid termination
of all pending transfer requests.
Signed-off-by: Alexandre Bounine
Reported-by: Barry Wood
Tested-by: Barry Wood
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: Barry Wood
Cc: linux-kernel@vger.kernel.org
ing remote peer addition) satisfies this condition.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
Cc: net...@vger.kernel.org
---
drivers/net/rionet.c | 70 +++--
1 files c
Make function rio_local_set_device_id() common for all components of
RapidIO subsystem.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Aurelien Jacquiot
Cc: Andre van Herk
Cc: linux-kernel@vger.kernel.org
---
drivers/rapidio/rio-scan.c | 13 -
drivers/rapidio/rio.c
error is properly returned to a caller
instead of an invalid entry.
This patch is applicable to kernel versions starting from v3.5.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: Stef van Os
Cc: Vinod Koul
Cc: Dan Williams
Cc:
Cc:
---
drivers/rapidio/devices
meter "dma_desc_per_channel" to allow
run-time configuration of Tsi721 hardware buffer descriptor rings.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: Stef van Os
Cc: Vinod Koul
Cc: Dan Williams
Cc:
---
Documentation/rapidio/tsi721.txt | 19 +-
access to the RapidIO device list.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Andre van Herk
Cc: Stef van Os
Cc: linux-kernel@vger.kernel.org
Cc: linuxppc-...@lists.ozlabs.org
---
drivers/rapidio/rio.c | 66 +++--
include/linux/rio_drv.h | 5
but tasklet is disabled. tasklet_kill should be used in this case."
This patch is applicable to kernel versions starting from v3.5.
v2 - fixes compile error if MSI support (CONFIG_PCI_MSI) is disabled.
Signed-off-by: Alexandre Bounine
Cc: Matt Porter
Cc: Xiaotian Feng
Cc: Thomas
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
Combine SG entries describing single contiguous memory block into one Tsi721
BDMA descriptor. This reduces number of hardware descriptors required for large
data transfers and improves performance on the PCIe side by reducing number of
descriptor fetch requests.
Signed-off-by: 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
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 --
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
; 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
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
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
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
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
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
: 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
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
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
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:
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
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
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
: 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
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
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
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
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
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
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
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
: 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
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
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
1 - 100 of 108 matches
Mail list logo