meters pcie_bus_tune_off, pcie_bus_safe,
> pcie_bus_peer2peer, pcie_bus_perf into Documentation/kernel-parameters.txt.
> These parameters were introduced by Jon Mason at
> commit 5f39e6705 and commit b03e7495a8.
>
> Signed-off-by: Yijing Wang
> ---
> Documentation/kernel-parameters.txt
On Mon, Jan 28, 2013 at 11:09 PM, Yijing Wang wrote:
> On 2013/1/29 13:00, Jon Mason wrote:
>> On Fri, Jan 25, 2013 at 2:36 AM, Yijing Wang wrote:
>>> v0->v1: Update MPS parameters as non-arch and add MRRS
>>> description into pci
On Wed, Jan 23, 2013 at 10:26:05PM +0300, Dan Carpenter wrote:
> ->remote_rx_info and ->rx_info are struct ntb_rx_info pointers. If we
> add sizeof(struct ntb_rx_info) then it goes too far.
Good catch, I'll add it to me pending patch queue.
Thanks,
Jon
>
> Signed-off-by: Dan Carpenter
> ---
>
A virtual ethernet device that uses the NTB transport API to send/receive data.
Signed-off-by: Jon Mason
---
drivers/net/Kconfig |4 +
drivers/net/Makefile |1 +
drivers/net/ntb_netdev.c | 407 ++
3 files changed, 412 insertions
I am submitting version 4 of the PCI-Express Non-Transparent Bridge
patches for inclusion in 3.7. All outstanding issues from the RFC
process have been addressed.
version 1
http://thread.gmane.org/gmane.linux.kernel.pci/16443
Version 2 incorporates numerous clean-ups
http://thread.gmane.org/gma
On Thu, Jul 26, 2012 at 12:08 PM, Tim Gardner wrote:
> Cc: Jon Mason
> Cc: "David S. Miller"
> Cc: Joe Perches
> Cc: Jiri Pirko
> Cc: Stephen Hemminger
> Cc: Paul Gortmaker
> Cc: net...@vger.kernel.org
> Signed-off-by: Tim Gardner
> ---
> driver
Version 2 of the patch that adds support for PCI-Express Non-Transparent
Bridges in Linux. This version incorporates the changes suggested by
Stephen Hemminger
Greg KH
chetan loke
Jiri Pirko
Thanks,
Jon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body o
A virtual ethernet device that uses the NTB transport API to send/receive data.
Signed-off-by: Jon Mason
---
drivers/net/Kconfig |4 +
drivers/net/Makefile |1 +
drivers/net/ntb_netdev.c | 417 ++
3 files changed, 422 insertions
On Mon, Jul 30, 2012 at 10:50:13AM -0600, Bjorn Helgaas wrote:
> On Sun, Jul 29, 2012 at 6:26 PM, Jon Mason wrote:
> > A PCI-Express non-transparent bridge (NTB) is a point-to-point PCIe bus
> > connecting 2 systems, providing electrical isolation between the two
> >
On Mon, Jul 30, 2012 at 04:02:16PM +0200, Jiri Pirko wrote:
> Mon, Jul 30, 2012 at 02:26:34AM CEST, jon.ma...@intel.com wrote:
> >+static int __devinit ntb_netdev_probe(struct pci_dev *pdev)
> >+{
> >+struct net_device *ndev;
> >+struct ntb_netdev *dev;
> >+int rc;
> >+
> >+ndev = a
On Tue, Jul 31, 2012 at 11:35:33AM +0800, Jianbin Kang wrote:
> > I've tried to make it all generic enough that non-Intel NTBs should plug in
> > with
> > minimal changes to ntb_hw.c. If their design is too divergent, then a
> > slight
> > redesign of ntb_hw.c might be necessary. But from what
On Tue, Jul 31, 2012 at 07:45:29AM -0600, Bjorn Helgaas wrote:
> On Mon, Jul 30, 2012 at 12:15 PM, Jon Mason wrote:
> > On Mon, Jul 30, 2012 at 10:50:13AM -0600, Bjorn Helgaas wrote:
> >> On Sun, Jul 29, 2012 at 6:26 PM, Jon Mason wrote:
> >> > A PCI-Express non
On Tue, Jul 31, 2012 at 12:02:20PM -0400, chetan loke wrote:
> On Tue, Jul 31, 2012 at 9:45 AM, Bjorn Helgaas wrote:
> > On Mon, Jul 30, 2012 at 12:15 PM, Jon Mason wrote:
> >>
> >> I've tried to make it all generic enough that non-Intel NTBs should plug
>
On Tue, Jul 31, 2012 at 03:23:38PM -0700, Greg KH wrote:
> On Sun, Jul 29, 2012 at 05:26:33PM -0700, Jon Mason wrote:
> > + * You should have received a copy of the GNU General Public License
> > + * along with this program; if not, write to the Free Software
> > + *
Version 3 of the patch that adds support for PCI-Express Non-Transparent
Bridges in Linux. This version incorporates changes to conform NTB and
client devices to the Linux device model (per Greg KH's request).
Thanks,
Jon
--
To unsubscribe from this list: send the line "unsubscribe linux-kern
A virtual ethernet device that uses the NTB transport API to send/receive data.
Signed-off-by: Jon Mason
---
drivers/net/Kconfig |4 +
drivers/net/Makefile |1 +
drivers/net/ntb_netdev.c | 407 ++
3 files changed, 412 insertions
On Fri, Sep 21, 2012 at 02:14:47PM -0400, David Miller wrote:
> From: Jon Mason
> Date: Fri, 21 Sep 2012 11:09:48 -0700
>
> > A PCI-Express non-transparent bridge (NTB) is a point-to-point PCIe bus
> > connecting 2 systems, providing electrical isolation between the two
On Wed, Oct 02, 2013 at 12:49:33PM +0200, Alexander Gordeev wrote:
> As result of recent re-design of the MSI/MSI-X interrupts enabling
> pattern this driver has to be updated to use the new technique to
> obtain a optimal number of MSI/MSI-X interrupts required.
>
> Signed-off-by: Alexander Gorde
On Wed, Oct 02, 2013 at 12:48:17PM +0200, Alexander Gordeev wrote:
> Signed-off-by: Alexander Gordeev
Since you are changing the behavior of the msix_capability_init
function on populate_msi_sysfs error, a comment describing why in this
commit would be nice.
> ---
> drivers/pci/msi.c | 11 +++
On Wed, Oct 02, 2013 at 12:49:10PM +0200, Alexander Gordeev wrote:
> Signed-off-by: Alexander Gordeev
> ---
> drivers/ntb/ntb_hw.c |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c
> index de2062c..eccd5e5 100644
> --- a/dr
On Wed, Oct 02, 2013 at 12:49:09PM +0200, Alexander Gordeev wrote:
> Current MSI-X enablement code assumes MSI-Xs were successfully
> allocated in case less than requested vectors were available.
> That assumption is wrong, since MSI-Xs should be enabled with
> a repeated call to pci_enable_msix().
On Wed, Oct 02, 2013 at 12:49:11PM +0200, Alexander Gordeev wrote:
> As result of recent re-design of the MSI/MSI-X interrupts enabling
> pattern this driver has to be updated to use the new technique to
> obtain a optimal number of MSI/MSI-X interrupts required.
>
> Signed-off-by: Alexander Gorde
On Thu, Oct 03, 2013 at 10:46:21PM +0100, Ben Hutchings wrote:
> On Wed, 2013-10-02 at 17:39 -0700, Jon Mason wrote:
> > On Wed, Oct 02, 2013 at 12:48:17PM +0200, Alexander Gordeev wrote:
> > > Signed-off-by: Alexander Gordeev
> >
> > Since you ar
location.
Jon Mason (16):
NTB: Add Error Handling in ntb_device_setup
NTB: Correct Number of Scratch Pad Registers
NTB: Correct USD/DSD Identification
NTB: Correct debugfs to work with more than 1 NTB Device
On Thu, Sep 5, 2013 at 12:55 AM, Yijing Wang wrote:
> v1->v2: use pcie_get/set_readrq to simplify code
> a lot suggestd by Bjorn.
>
> Use pcie_get_readrq()/pcie_set_readrq() to simplify
> code.
Very similar to a patch I sent out in 2011
http://www.spinics.net/lists/linux-scsi/msg52990.html
Hopef
On Mon, Sep 09, 2013 at 11:12:51AM -0700, Randy Dunlap wrote:
> On 09/08/13 23:16, Stephen Rothwell wrote:
> > Hi all,
> >
> > Please do not add any code for v3.13 to your linux-next included branches
> > until after v3.12-rc1 is released.
> >
> > Changes since 20130906:
> >
>
>
> on x86_64:
>
nctions if CONFIG_DMA_ENGINE is undefined.
Signed-off-by: Jon Mason
---
include/linux/dmaengine.h | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index cb286b1..cd4d1ca 100644
--- a/include/linux/dmaengine.h
+++ b/inc
On Sat, Oct 05, 2013 at 11:43:04PM +0200, Alexander Gordeev wrote:
> On Wed, Oct 02, 2013 at 05:48:05PM -0700, Jon Mason wrote:
> > On Wed, Oct 02, 2013 at 12:49:10PM +0200, Alexander Gordeev wrote:
> > > Signed-off-by: Alexander Gordeev
> > > ---
> > > dri
On Mon, Oct 07, 2013 at 08:38:45PM +0200, Alexander Gordeev wrote:
> On Mon, Oct 07, 2013 at 09:50:57AM -0700, Jon Mason wrote:
> > On Sat, Oct 05, 2013 at 11:43:04PM +0200, Alexander Gordeev wrote:
> > > On Wed, Oct 02, 2013 at 05:48:05PM -0700, Jon Mason wrote:
> > > &
/documents/specification-updates/xeon-c5500-c3500-spec-update.pdf
See BT92 in
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/xeon-e5-family-spec-update.pdf
Tested-by: Gary Hade
Signed-off-by: Jon Mason
---
drivers/dma/ioat/dma.c|1 +
drivers/dma/ioat
On Sun, Oct 07, 2012 at 02:13:44PM +0200, Jakub Kicinski wrote:
> Hi,
>
> it's good to see some NTB code getting into mainline! I have a few comments
> though.
>
> On Tue, 02 Oct 2012 21:26:16 -, Jon Mason
> wrote:
>
> [...]
> >+/**
> >+ * ntb
I am submitting version 5 of the PCI-Express Non-Transparent Bridge
patches for inclusion in 3.8 via Greg KH's char-misc-next tree. All
outstanding issues have been addressed.
Version 1
http://thread.gmane.org/gmane.linux.kernel.pci/16443
Version 2 incorporates numerous clean-ups
http://thread.g
A virtual ethernet device that uses the NTB transport API to
send/receive data.
Signed-off-by: Jon Mason
Reviewed-by: Nicholas Bellinger
---
MAINTAINERS |1 +
drivers/net/Kconfig |4 +
drivers/net/Makefile |1 +
drivers/net/ntb_netdev.c | 415
On Wed, Nov 7, 2012 at 9:50 AM, Andy Grover wrote:
> Nick,
>
> Your company appears to be shipping kernel features in RTS OS that are
> not made available under the GPL, specifically support for the
> EXTENDED_COPY and COMPARE_AND_WRITE SCSI commands, in order to claim
> full Vmware vSphere 5 VAAI
On Fri, Nov 09, 2012 at 06:44:18PM +, Dan Williams wrote:
>
>
> On 11/9/12 7:26 AM, "Viresh Kumar" wrote:
>
> >From: Shiraz Hashim
> >
> >dmatest erroneously terminated transfers in normal cases also leading to
> >test failures for multiple threads over a channel. Fix this and
> >terminate
checking for a non-existant device_control function pointer
there.
Signed-off-by: Jon Mason
CC: Vinod Koul
CC: Dan Williams
---
drivers/dma/dmatest.c |4 ++--
include/linux/dmaengine.h |5 -
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/dma/dmatest.c b
On Sat, Nov 10, 2012 at 09:00:15AM +0530, viresh kumar wrote:
> On Sat, Nov 10, 2012 at 2:27 AM, Jon Mason wrote:
> > device_control is an optional and not implemented in all DMA drivers.
> > Any calls to these will result in a NULL pointer dereference. dmatest
> > makes tw
checking for a non-existant device_control function pointer
there.
Signed-off-by: Jon Mason
CC: Vinod Koul
CC: Dan Williams
---
drivers/dma/dmatest.c |4 ++--
include/linux/dmaengine.h |5 -
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/dma/dmatest.c b
On Thu, Nov 15, 2012 at 04:29:04PM -0800, Greg KH wrote:
> On Mon, Nov 05, 2012 at 05:11:08PM -0700, Jon Mason wrote:
> > --- /dev/null
> > +++ b/drivers/ntb/ntb_hw.h
> > @@ -0,0 +1,195 @@
> > +/*
> > + * This file is provided under a dual BSD/GPLv2 license. When
On Thu, Nov 15, 2012 at 04:30:43PM -0800, Greg KH wrote:
> On Mon, Nov 05, 2012 at 05:11:09PM -0700, Jon Mason wrote:
> > A virtual ethernet device that uses the NTB transport API to
> > send/receive data.
> >
> > Signed-off-by: Jon Mason
> >
I am submitting version 6 of the PCI-Express Non-Transparent Bridge
patches for inclusion in 3.8 via Greg KH's char-misc-next tree. All
outstanding issues have been addressed.
Version 6 corrects Greg KH's issues, most notably the improper usage of
the Linux device model.
http://thread.gmane.org/g
A virtual ethernet device that uses the NTB transport API to
send/receive data.
Signed-off-by: Jon Mason
Reviewed-by: Nicholas Bellinger
---
MAINTAINERS |1 +
drivers/net/Kconfig |4 +
drivers/net/Makefile |1 +
drivers/net/ntb_netdev.c | 419
On Mon, Jun 17, 2013 at 11:59:00AM +0300, Andy Shevchenko wrote:
> On Thu, Jun 13, 2013 at 8:24 PM, Jubin Mehta wrote:
> > The current dmatest module tests all the hardware capabilities (MEMCPY, XOR
> > and PQ) supported by a particular DMA channel and these tests are performed
> > concurrently by
These 2 patches address issues encountered while attempting to use the
DMA subsystem in the NTB driver. While outside of the scope of that
patch (which will be forthcoming), these fixes are necessary to get it
working.
Thanks,
Jon
--
To unsubscribe from this list: send the line "unsubscribe linu
unction if
CONFIG_DMA_ENGINE is undefined.
Signed-off-by: Jon Mason
Acked-by: Dave Jiang
---
include/linux/dmaengine.h |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 96d3e4a..e3652ac 100644
--- a/inc
Set the DMA_PRIVATE dma_transaction_type in the capability mask. This
enables the ability to get an exclusive ioatdma DMA channel for any
devices that requests one via the dma_request_channel function call.
Signed-off-by: Jon Mason
Acked-by: Dave Jiang
---
drivers/dma/ioat/dma_v3.c |1
On Tue, Jun 18, 2013 at 06:13:28PM -0700, Dan Williams wrote:
> On Tue, Jun 18, 2013 at 5:46 PM, Jon Mason wrote:
> > dma_sync_wait is declared regardless of whether CONFIG_DMA_ENGINE is
> > enabled, but calling the function without CONFIG_DMA_ENGINE enabled
> > results in th
On Tue, Jun 18, 2013 at 05:59:59PM -0700, Dan Williams wrote:
> On Tue, Jun 18, 2013 at 5:46 PM, Jon Mason wrote:
> > Set the DMA_PRIVATE dma_transaction_type in the capability mask. This
> > enables the ability to get an exclusive ioatdma DMA channel for any
> > devices
On Wed, Jun 19, 2013 at 11:56:38AM -0700, Dan Williams wrote:
> On Wed, Jun 19, 2013 at 10:52 AM, Jon Mason wrote:
> >> DMA_PRIVATE here keeps all channels private, so they couldn't be used
> >> elsewhere, for example raid offload. Do you need a private allocation
>
On Fri, May 31, 2013 at 11:22:10AM +0300, Andy Shevchenko wrote:
> On Fri, May 17, 2013 at 8:54 PM, Jon Mason wrote:
> > dmatest would create a thread to stress XOR and PQ, if the capability is
> > present in the hardware. Add the ability to disable XOR and PQ by
> > disa
Allocate and use a DMA engine channel to transmit and receive data over
NTB. If none is allocated, fall back to using the CPU to transfer data.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c| 19 ++-
drivers/ntb/ntb_hw.h|1 +
drivers/ntb/ntb_transport.c | 285
On Fri, Jun 21, 2013 at 04:46:59PM -0700, Jubin Mehta wrote:
> The current dmatest module tests all the hardware capabilities (MEMCPY, XOR
> and PQ) supported by a particular DMA channel and these tests are performed
> concurrently by default. This patch allows the user to enable or disable the
> t
On Thu, Jun 20, 2013 at 02:20:30PM -0700, Dan Williams wrote:
> On Wed, Jun 19, 2013 at 9:28 AM, Jon Mason wrote:
> > On Tue, Jun 18, 2013 at 06:13:28PM -0700, Dan Williams wrote:
> [..]
> > NTB is currently using it to flush any pending DMAs. This is needed
> > to allo
On Wed, Jun 19, 2013 at 01:44:08PM -0700, Dan Williams wrote:
> On Wed, Jun 19, 2013 at 1:10 PM, Jon Mason wrote:
> > On Wed, Jun 19, 2013 at 11:56:38AM -0700, Dan Williams wrote:
> >> On Wed, Jun 19, 2013 at 10:52 AM, Jon Mason wrote:
> >> >> DMA_PRIVATE here ke
On Mon, Aug 19, 2013 at 03:01:54AM -0700, Dan Williams wrote:
> On Fri, Aug 2, 2013 at 10:35 AM, Jon Mason wrote:
> > Allocate and use a DMA engine channel to transmit and receive data over
> > NTB. If none is allocated, fall back to using the CPU to transfer data.
> >
On Mon, Aug 19, 2013 at 11:36:13PM +, Dan Williams wrote:
>
>
> On 8/19/13 1:37 PM, "Jon Mason" wrote:
>
> >On Mon, Aug 19, 2013 at 03:01:54AM -0700, Dan Williams wrote:
> >> On Fri, Aug 2, 2013 at 10:35 AM, Jon Mason wrote:
> >> > Allo
Allocate and use a DMA engine channel to transmit and receive data over
NTB. If none is allocated, fall back to using the CPU to transfer data.
Cc: Dan Williams
Cc: Vinod Koul
Cc: Dave Jiang
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c| 17 +++
drivers/ntb/ntb_hw.h
On Wed, Jul 31, 2013 at 03:14:07PM -0700, Jiang, Dave wrote:
> I'm ok with enabling this for people that just want to use DMA and not
> RAID.
I might be crazy, but I'd be in favor of disabling the RAID offload by
default on non-Atom platforms.
Thanks,
Jon
>
> Acked-by: Dave Jiang
>
> On Thu,
A fairly major update for NTB. Numerous fixes and features being added,
including adding support for NTB-RP and using DMA engines to
transmit/receive data. Reviews are appreciated!
Thanks,
Jon
MAINTAINERS |2 +
drivers/ntb/Kconfig |2 +-
drivers/ntb/ntb_hw.c
NTB-RP is not a supported configuration on BWD hardware. Remove the
code attempting to set it up.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c | 16
drivers/ntb/ntb_regs.h |1 -
2 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/drivers/ntb/ntb_hw.c b
rface
exposed to the remote system.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c | 29 -
drivers/ntb/ntb_hw.h | 15 ++-
2 files changed, 30 insertions(+), 14 deletions(-)
diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c
index d259d41..fc6b19d
Add "data" ntb_register_db_callback parameter description comment and
correct poor spelling.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c|5 +++--
drivers/ntb/ntb_transport.c |6 +++---
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/ntb/
Due to ambiguous documentation, the USD/DSD identification is backward
when compared to the setting in BIOS. Correct the bits to match the
BIOS setting.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/ntb
been added.
See BF113 in
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/xeon-c5500-c3500-spec-update.pdf
See BT119 in
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/xeon-e5-family-spec-update.pdf
Signed-off-by: Jon Mason
Many variable names in the NTB driver refer to the primary or secondary
side. However, these variables will be used to access the reverse case
when in NTB-RP mode. Make these names more generic in anticipation of
NTB-RP support.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c| 83
Allocate and use a DMA engine channel to transmit and receive data over
NTB. If none is allocated, fall back to using the CPU to transfer data.
Cc: Dan Williams
Cc: Vinod Koul
Cc: Dave Jiang
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c| 17 +++
drivers/ntb/ntb_hw.h
xeon_errata_workaround=0 modparm. However, this can cause the hang
described in the errata.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c | 239 +---
drivers/ntb/ntb_regs.h |5 +-
2 files changed, 150 insertions(+), 94 deletions(-)
diff --git a/drivers
The NTB Xeon hardware has 16 scratch pad registers and 16 back-to-back
scratch pad registers. Correct the #define to represent this and update
the variable names to reflect their usage.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c |2 +-
drivers/ntb/ntb_regs.h |4 ++--
2 files
Correct the issues on NTB that prevented it from working on x86_32 and
modify the Kconfig to allow it to be permitted to be used in that
environment as well.
Signed-off-by: Jon Mason
---
drivers/ntb/Kconfig |2 +-
drivers/ntb/ntb_hw.c |4 ++--
drivers/ntb/ntb_hw.h | 17
Add website and git tree for the NTB entry in MAINTAINERS
Signed-off-by: Jon Mason
---
MAINTAINERS |2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ad7e322..821f468 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -5741,6 +5741,8 @@ F:drivers/scsi
Update NTB version to 1.0
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c
index 95603f8..9dd69d8 100644
--- a/drivers/ntb/ntb_hw.c
+++ b/drivers/ntb/ntb_hw.c
@@ -57,7 +57,7
round this issue, return if an error is encountered
prior to attempting to write to the spci_cmd offset.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c
index 2dacd19..51
.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c | 110 ++--
drivers/ntb/ntb_hw.h |5 +++
drivers/ntb/ntb_regs.h | 15 +++
3 files changed, 127 insertions(+), 3 deletions(-)
diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c
index
ed on cleanup). Correct this by creating a secondary directory of
the PCI BDF for each device present, and nesting the previously existing
information in those directories.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c| 27 +++
drivers/ntb/ntb_hw.h|
On Fri, Aug 02, 2013 at 04:57:44PM +, Dan Williams wrote:
>
>
> On 8/2/13 12:34 AM, "Brice Goglin" wrote:
>
> >Le 01/08/2013 19:15, Jiang, Dave a écrit :
> >> On Thu, 2013-08-01 at 10:11 -0700, Jon Mason wrote:
> >>> On Wed, Jul 31, 2013 a
/documents/specification-updates/xeon-c5500-c3500-spec-update.pdf
See BT92 in
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/xeon-e5-family-spec-update.pdf
Tested-by: Gary Hade
Signed-off-by: Jon Mason
---
drivers/dma/ioat/dma.c|1 +
drivers/dma/ioat
to the possibility of idx being negative, thus being outside
the boulds of the array. Correct this by making idx an unsigned int.
Signed-off-by: Jon Mason
---
drivers/dma/ioat/dma_v3.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/ioat/dma_v3.c b/drivers
On Tue, Aug 06, 2013 at 11:52:35PM +0200, Paul Bolle wrote:
> On Tue, 2013-08-06 at 14:36 -0700, Jon Mason wrote:
> > GCC v4.6.3 complains:
> > drivers/dma/ioat/dma_v3.c: In function ‘__ioat3_prep_pq16_lock’:
> > drivers/dma/ioat/dma_v3.c:264:11: warning: array subscript is be
ac_template, byte, NULL, S_IRUGO);
> drivers/ntb/ntb_transport.c:68:module_param(max_num_clients, byte, 0644);
This shouldn't affect NTB negatively.
Acked-by: Jon Mason
> drivers/scsi/lpfc/lpfc_attr.c:4207:module_param(lpfc_prot_guard, byte,
> S_IRUGO);
> drivers/usb/atm/spe
ci_find_capability(pci_dev, PCI_CAP_ID_MSI/MSIX).
> Access to PCIe device config space again will consume more time.
>
> Signed-off-by: Yijing Wang
> Cc: Jon Mason
Acked-by: Jon Mason
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/ntb/ntb_hw.c |7 +++
> 1 f
On Thu, Aug 8, 2013 at 3:59 AM, Wang, Rui Y wrote:
> (resend adding cc list)
The e-mail you are responding to is over a year old, but doesn't
appear to have been accepted. I suppose late is better than never...
Adding Dan Williams new e-mail address and Dave Jiang.
Thanks,
Jon
>
> Hi Jiang,
>
On Fri, Aug 02, 2013 at 09:18:03PM +0200, Brice Goglin wrote:
> Le 02/08/2013 19:47, Dan Williams a écrit :
> > Yup, but should also fold in the deletions of the other is_xeon_cb32()
> > alignment fixups further below.
> >
> > Actually all the alignment settings can be removed now.
> >
> > ...and t
(2):
ntb: off by one sanity checks
NTB: fix pointer math issues
Jon Mason (8):
NTB: variable dereferenced before check
NTB: Handle 64bit BAR sizes
NTB: Link toggle memory leak
NTB: reset tx_index on link toggle
NTB: Correctly handle receive buffers of the
trying to alloc a new one.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_transport.c | 32
1 file changed, 20 insertions(+), 12 deletions(-)
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c
index 79a3203..be416d6 100644
--- a/drivers/ntb
If the NTB link toggles, the driver could stop receiving due to the
tx_index not being set to 0 on the transmitting size on a link-up event.
This is due to the driver expecting the incoming data to start at the
beginning of the receive buffer and not at a random place.
Signed-off-by: Jon Mason
Fix issue with adding multiple ntb client devices to the ntb virtual
bus. Previously, multiple devices would be added with the same name,
resulting in crashes. To get around this issue, add a unique number to
the device when it is added.
Signed-off-by: Jon Mason
---
drivers/ntb
The ntb_netdev device is not removed from the global list of devices
upon device removal. If the device is re-added, the removal code would
find the first instance and try to remove an already removed device.
Signed-off-by: Jon Mason
---
drivers/net/ntb_netdev.c |2 ++
1 file changed, 2
From: Dan Carpenter
These tests are off by one. If "mw" is equal to NTB_NUM_MW then we
would go beyond the end of the ndev->mw[] array.
Signed-off-by: Dan Carpenter
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_hw.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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
---
drivers/ntb
The system will appear to lockup for long periods of time due to the NTB
driver spending too much time in memcpy. Avoid this by reducing the
number of packets that can be serviced on a given interrupt.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_transport.c | 11 ---
1 file changed
The ring logic of the NTB receive buffer/transmit memory window requires
there to be at least 2 payload sized allotments. For the minimal size
case, split the buffer into two and set the transport_mtu to the
appropriate size.
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_transport.c |8
Correct instances of variable dereferencing before checking its value on
the functions exported to the client drivers. Also, add sanity checks
for all exported functions.
Reported-by: Dan Carpenter
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_transport.c | 16 ++--
1 file
one sanity checks
NTB: fix pointer math issues
Jon Mason (8):
NTB: variable dereferenced before check
NTB: Handle 64bit BAR sizes
NTB: Link toggle memory leak
NTB: reset tx_index on link toggle
NTB: Correctly handle receive buffers of the minimal size
NTB
From: Dan Carpenter
->remote_rx_info and ->rx_info are struct ntb_rx_info pointers. If we
add sizeof(struct ntb_rx_info) then it goes too far.
Signed-off-by: Dan Carpenter
Signed-off-by: Jon Mason
---
drivers/ntb/ntb_transport.c |4 ++--
1 file changed, 2 insertions(+), 2 del
On Sat, May 11, 2013 at 03:22:52PM -0700, Linus Torvalds wrote:
> On Fri, May 10, 2013 at 6:30 PM, Jon Mason wrote:
> >
> > https://github.com/jonmason/ntb.git for-linus
>
> This has so much wrong that I don't know where to start.
>
> Don't use the https
Add device control support for CBDMA v2 and v3 in the ioat driver.
This allows DMA engine clients to call into the ioat driver and issue a
DMA_TERMINATE_ALL.
Signed-off-by: Jon Mason
---
drivers/dma/ioat/dma_v2.c | 22 ++
drivers/dma/ioat/dma_v3.c | 22
dmatest would create a thread to stress XOR and PQ, if the capability is
present in the hardware. Add the ability to disable XOR and PQ by
disabling it if *_sources are set to zero.
Signed-off-by: Jon Mason
---
drivers/dma/dmatest.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions
>
> These tests are off by one. If "mw" is equal to NTB_NUM_MW then we
> would go beyond the end of the ndev->mw[] array.
>
> Signed-off-by: Dan Carpenter
> Signed-off-by: Jon Mason
> Signed-off-by: Jonghwan Choi
> ---
> drivers/ntb/ntb_hw.c | 6 ++
On Sat, May 18, 2013 at 11:41:56AM +0900, Jonghwan Choi wrote:
> From: Jon Mason
>
> This patch looks like it should be in the 3.9-stable tree, should we apply
> it?
Yes, thanks.
>
> ------
>
> From: "Jon Mason "
>
> commit 113fc505b
On Sat, May 18, 2013 at 11:44:51AM +0900, Jonghwan Choi wrote:
> From: Jon Mason
>
> This patch looks like it should be in the 3.9-stable tree, should we apply
> it?
Yes, thanks.
>
> ------
>
> From: "Jon Mason "
>
> commit b77b2637b
1 - 100 of 793 matches
Mail list logo