]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NTB: Handle 64bit BAR sizes
authorJon Mason <jon.mason@intel.com>
Wed, 30 Jan 2013 18:40:52 +0000 (11:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 May 2013 18:36:04 +0000 (11:36 -0700)
commit086ae86effb4ba7d744f85f14cb9c63061fa38ce
treefd92533fbaf1ef5eb6d925340bb90a6b749f70e1
parent36d51588f86a7c816ccbc06d6de2166f995d3e97
NTB: Handle 64bit BAR sizes

commit 113fc505b83b2d16e820ca74fa07f99a34877b1d upstream.

64bit BAR sizes are permissible with an NTB device.  To support them
various modifications and clean-ups were required, most significantly
using 2 32bit scratch pad registers for each BAR.

Also, modify the driver to allow more than 2 Memory Windows.

Signed-off-by: Jon Mason <jon.mason@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ntb/ntb_hw.c
drivers/ntb/ntb_transport.c