• Thomas Moll's avatar
    rapidio: fix maintenance access to higher memory areas · bd4fb654
    Thomas Moll authored
    Fix the maintenance access functions to farend RapidIO devices.
    1. Fixed shift of the given offset, to open the maintenance window
    2. Mask offset to limit access to the opened maintenance window
    3. Added extended destid part to rowtear register, required for 16bit mode
    
    This method is matching maintenance transactions generation described
    by Freescale in the appnote AN2932. With this modification full access
    to a 16MB maintenance window is possible, this patch is required for
    IDT cps switches. For easier handling of the access routines, the
    access was limited to aligned memory regions. This should be no problem
    because all registers are 32bit wide.
    Signed-off-by: default avatarThomas Moll <thomas.moll@sysgo.com>
    Tested-by: default avatarAlexandre Bounine <alexandre.bounine@idt.com>
    Cc: Matt Porter <mporter@kernel.crashing.org>
    Cc: Li Yang <leoli@freescale.com>
    Cc: Kumar Gala <galak@kernel.crashing.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    bd4fb654
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt/kvm Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...