From: Shamir Rabinovitch <shamir.rabinovitch-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
To: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
shamir.rabinovitch-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org
Subject: Re: [PATCH v2] net/mlx4_core: VF probe fail when HW support 64-bit coherent DMA
Date: Wed, 25 Jan 2017 14:42:30 +0200 [thread overview]
Message-ID: <20170125124229.GA14757@srabinov-linux.uk.oracle.com> (raw)
In-Reply-To: <1485293674.43764.86.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
On Tue, Jan 24, 2017 at 04:34:34PM -0500, Doug Ledford wrote:
> On Wed, 2017-01-11 at 10:53 +0200, Leon Romanovsky wrote:
> > On Mon, Jan 09, 2017 at 04:38:19AM -0500, Shamir Rabinovitch wrote:
> > >
> > > [1383664.318513] mlx4_core 0006:01:00.1: HCA minimum page size:1
> > > [1383664.318515] mlx4_core 0006:01:00.1: UAR size:4096 != kernel
> > > PAGE_SIZE of
> > > 8192
> > > [1383664.318517] mlx4_core 0006:01:00.1: Failed to obtain slave
> > > caps
> > >
> > > Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
> > >
> > > ---
> >
> > Doug,
> > To be clear, NAK.
> > It is custom kernel with out-of-tree patches and very specific FW.
>
> As you wish.
Just as FYI, the only reason I can't run upstream vanilla kernel on
SPARC T7-2 (where issue is seen) is that there is series of patches that
fix PCI related issues for this HW that is not fully upstream yet.
Once it is upstream, we will be able to see the issue on upstream
vanilla kernel.
Other drivers do work well with 64-bit coherent DMA addresses and the
PCI fixes so I still suspect this issue is limited to only CX3 HW and
not some wide IOMMU / PCI issue.
Can Mellanox confirm that the CX3 HW & firmware can handle DMA addresses
such as below ?
is_read in_param c00000020253a000 out_param c000000403d4e000
is_read in_param c000000202b42000 out_param c000000403d4e000
is_read in_param c000000202b42000 out_param c00000020253a000
ixgbe easily work with such DMA addresses:
ixgbe: ixgbe dma_alloc_coherent: retruned virtual addr:
0xfff8001f81f48000 , dma_addr 0xc000000480112000
ixgbe: ixgbe dma_alloc_coherent: retruned virtual addr:
0xfff8001f8bdbe000 , dma_addr 0xc000000480114000
ixgbe: ixgbe dma_alloc_coherent: retruned virtual addr:
0xfff8001f8beac000 , dma_addr 0xc000000480116000
BR, Shamir
>
> --
> Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> GPG KeyID: B826A3330E572FDD
>
> Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2017-01-25 12:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 9:38 [PATCH v2] net/mlx4_core: VF probe fail when HW support 64-bit coherent DMA Shamir Rabinovitch
[not found] ` <1483954699-17826-1-git-send-email-shamir.rabinovitch-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2017-01-09 10:21 ` Leon Romanovsky
[not found] ` <20170109102148.GY15685-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-01-09 11:16 ` Shamir Rabinovitch
2017-01-11 8:53 ` Leon Romanovsky
[not found] ` <20170111085358.GX7218-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-01-24 21:34 ` Doug Ledford
[not found] ` <1485293674.43764.86.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-01-25 12:42 ` Shamir Rabinovitch [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170125124229.GA14757@srabinov-linux.uk.oracle.com \
--to=shamir.rabinovitch-qhclzuegtsvqt0dzr+alfa@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox