linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Selvin Xavier <selvin.xavier-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH V4 for-next 00/14] RDMA/bnxt_re: Bug fixes
Date: Tue, 13 Jun 2017 22:32:45 -0400	[thread overview]
Message-ID: <1497407565.7171.249.camel@redhat.com> (raw)
In-Reply-To: <1497386691.7171.244.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On Tue, 2017-06-13 at 16:44 -0400, Doug Ledford wrote:
> On Mon, 2017-05-22 at 03:15 -0700, Selvin Xavier wrote:
> > 
> > The patch series has some bug fixes for bnxt_re driver.
> > This series includes implementation of some of the workarounds
> > required for the HW and FW and removes the FMR verb support from
> > the driver.
> > I have addressed all the review comments from Leon and Dennis in
> > this series.
> > 
> > Doug,
> >  Please review and apply these changes to your repository.
> 
> As we discussed off-list, I took the most important of these for -rc
> (but I have to say, you requested both 1/14 and 2/14 for -rc, and I
> took them, but they are *much* larger than I like to see in -rc
> patches...please try to keep -rc patches smaller in the future).
> 
> 1, 2, 4, 6, 10, 14 in -rc.  The rest being reviewed for for-next.

Patch 2/14 cause a build regression:

tree:   https://github.com/dledford/linux.git k.o/for-4.12-rc
head:   1e40a786493e7256cc9192165b431fba3fb2023b
commit: fabfb8786409d7be24ac84150b1fa025e181861d [29/36] RDMA/bnxt_re:
HW workarounds for handling specific conditions
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/s
bin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout fabfb8786409d7be24ac84150b1fa025e181861d
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All warnings (new ones prefixed by >>):

   drivers/infiniband/hw/bnxt_re/ib_verbs.c: In function
'bnxt_re_create_fence_wqe':
>> drivers/infiniband/hw/bnxt_re/ib_verbs.c:470:17: warning: cast from
pointer to integer of different size [-Wpointer-to-int-cast]
     wqe->bind.va = (u64)fence->va;
                    ^
   drivers/infiniband/hw/bnxt_re/ib_verbs.c: In function
'bnxt_re_create_fence_mr':
   drivers/infiniband/hw/bnxt_re/ib_verbs.c:578:28: warning: cast from
pointer to integer of different size [-Wpointer-to-int-cast]
     mr->qplib_mr.va         = (u64)fence->va;
                               ^
--
   drivers/infiniband/hw/bnxt_re/qplib_fp.c: In function 'do_wa9060':
>> drivers/infiniband/hw/bnxt_re/qplib_fp.c:1612:16: warning: cast to
pointer from integer of different size [-Wint-to-pointer-cast]
         peek_qp = (struct bnxt_qplib_qp *)
                   ^

This appears to be a general problem on 32bit arches (at least i386,
parisc, and xtensa all reported this problem).  Please fix ASAP or I'll
need to remove this patch from the series.

-- 
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

  parent reply	other threads:[~2017-06-14  2:32 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-22 10:15 [PATCH V4 for-next 00/14] RDMA/bnxt_re: Bug fixes Selvin Xavier
     [not found] ` <1495448144-18966-1-git-send-email-selvin.xavier-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2017-05-22 10:15   ` [PATCH V4 for-next 01/14] RDMA/bnxt_re: Fixing the Control path command and response handling Selvin Xavier
2017-05-22 10:15   ` [PATCH V4 for-next 02/14] RDMA/bnxt_re: HW workarounds for handling specific conditions Selvin Xavier
     [not found]     ` <1495448144-18966-3-git-send-email-selvin.xavier-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2017-05-23  7:23       ` Leon Romanovsky
2017-05-22 10:15   ` [PATCH V4 for-next 03/14] RDMA/bnxt_re: Fix race between netdev register and unregister events Selvin Xavier
2017-05-22 10:15   ` [PATCH V4 for-next 04/14] RDMA/bnxt_re: Dereg MR in FW before freeing the fast_reg_page_list Selvin Xavier
2017-05-22 10:15   ` [PATCH V4 for-next 05/14] RDMA/bnxt_re: Free doorbell page index (DPI) during dealloc ucontext Selvin Xavier
2017-05-22 10:15   ` [PATCH V4 for-next 06/14] RDMA/bnxt_re: Add HW workaround for avoiding stall for UD QPs Selvin Xavier
2017-05-22 10:15   ` [PATCH V4 for-next 07/14] RDMA/bnxt_re: Fix WQE Size posted to HW to prevent it from throwing error Selvin Xavier
2017-05-22 10:15   ` [PATCH V4 for-next 08/14] RDMA/bnxt_re: Add vlan tag for untagged RoCE traffic when PFC is configured Selvin Xavier
     [not found]     ` <1495448144-18966-9-git-send-email-selvin.xavier-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2017-05-23  7:21       ` Leon Romanovsky
2017-05-22 10:15   ` [PATCH V4 for-next 09/14] RDMA/bnxt_re: Do not free the ctx_tbl entry if delete GID fails Selvin Xavier
2017-05-22 10:15   ` [PATCH V4 for-next 10/14] RDMA/bnxt_re: Fix RQE posting logic Selvin Xavier
2017-05-22 10:15   ` [PATCH V4 for-next 11/14] RDMA/bnxt_re: Report supported value to IB stack in query_device Selvin Xavier
2017-05-22 10:15   ` [PATCH V4 for-next 12/14] RDMA/bnxt_re: Fixed the max_rd_atomic support for initiator and destination QP Selvin Xavier
2017-05-22 10:15   ` [PATCH V4 for-next 13/14] RDMA/bnxt_re: Specify RDMA component when allocating stats context Selvin Xavier
2017-05-22 10:15   ` [PATCH V4 for-next 14/14] RDMA/bnxt_re: Remove FMR support Selvin Xavier
     [not found]     ` <1495448144-18966-15-git-send-email-selvin.xavier-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2017-05-23  7:19       ` Leon Romanovsky
2017-06-13 20:44   ` [PATCH V4 for-next 00/14] RDMA/bnxt_re: Bug fixes Doug Ledford
     [not found]     ` <1497386691.7171.244.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-06-14  2:32       ` Doug Ledford [this message]
     [not found]         ` <1497407565.7171.249.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-06-14  5:20           ` Selvin Xavier

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=1497407565.7171.249.camel@redhat.com \
    --to=dledford-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=selvin.xavier-dY08KVG/lbpWk0Htik3J/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;
as well as URLs for NNTP newsgroup(s).