Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1270372ybl; Fri, 23 Aug 2019 16:37:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3CK2HjGtcZqS5Dj2upFROuJy4zc12TmW7FakJRmww6zuDQrGjXvF14xtqIv16dELctNIk X-Received: by 2002:a63:3046:: with SMTP id w67mr6229401pgw.37.1566603424148; Fri, 23 Aug 2019 16:37:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566603424; cv=none; d=google.com; s=arc-20160816; b=X0E6+JUN7jJ3hcAbPiqTcziqpCRRGJgmtvbE7/RSQGmc2Wn95GzdjW6BJpzR28QKLz +GiVcn74PQ86ylsAUJNLVs8VGGldXJj1Xv0PATV2C8tgci9oNt+Jzb4Um/9O2cRcID+4 ihOe2xk9QDE/oDpR9zGnjzEUNDt3rfG7Wy2CvHhf7xsgG/RJyQGSrZy1+GzfAs/ngnHW 4k+yVvjO+iTXA2uWhJJGgha2GFACHYD5WxW7FuyG9yrNxZzaXy4an9dVKrem0DnNp28W irwzqio+dAu5ciK24M8oezeSoi9t6oUVqGI21ZC/+FCs2ONjX/X+fbf1XuhHez5uopR3 SGpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:organization :references:in-reply-to:date:cc:to:from:subject:message-id; bh=/r20XFOpgMzfI3rwYWPlFYkQS8R7N4lOMRJ8omzRwpM=; b=WEOEbRLsiil4FWVoMLff5u+In3+YZaRaMDOIrfV/ynS39Nsnz3NPhgOQwGo+proxZn 3yNjbv/lR/Q6M6d6aKIL9sqFINqHr0fH6CyueSU/fXOvofpmFlb/fe1r+rFMfd9mT1cc 4ZZH/wmtMn4UWpkDEDxXM0GMcF4jdXc48Sn9fmdJdDCoUUEQ8Eqr4QkOiyl8y9KYLWcV hVAVwgSsIk8KfXuA9VfNlRQoP4n0KDH96KVRyIhgcX4KaCgdXBAMGFtjTOLPypYCRAYA eeHuHeLF4gHMV3YgD7F1WNkTW/oojKM8gmde5bYvNHmi5PSheBaUqmeVthP5U3NjVcTf JUnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si3963408plf.222.2019.08.23.16.36.49; Fri, 23 Aug 2019 16:37:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732545AbfHWTOW (ORCPT + 99 others); Fri, 23 Aug 2019 15:14:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42236 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728512AbfHWTOV (ORCPT ); Fri, 23 Aug 2019 15:14:21 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 43A383086262; Fri, 23 Aug 2019 19:14:21 +0000 (UTC) Received: from linux-ws.nc.xsintricity.com (ovpn-112-63.rdu2.redhat.com [10.10.112.63]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6590A5D9E5; Fri, 23 Aug 2019 19:14:20 +0000 (UTC) Message-ID: <324f57e86a1e9240657dd0c3beede10d6c89baea.camel@redhat.com> Subject: Re: [PULL REQUEST] Please pull rdma.git From: Doug Ledford To: "Torvalds, Linus" Cc: "Gunthorpe, Jason" , linux-rdma , linux-kernel Date: Fri, 23 Aug 2019 15:14:17 -0400 In-Reply-To: <5b0aa103f6007e1887f9b2cacaec8015834589b8.camel@xsintricity.com> References: <5b0aa103f6007e1887f9b2cacaec8015834589b8.camel@xsintricity.com> Organization: Red Hat, Inc. Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-d9vBLQc5DZJC2HMDiJ6l" User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Fri, 23 Aug 2019 19:14:21 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-d9vBLQc5DZJC2HMDiJ6l Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Linus, I didn't notice I was on my personal email identity when I sent the pull request. Sorry about that. It's really me ;-) On Fri, 2019-08-23 at 14:48 -0400, Doug Ledford wrote: > Hi Linus, >=20 > No beating around the bush: this is a monster pull request for an -rc5 > kernel. Intel hit me with a series of fixes for TID processing.=20 > Mellanox hit me with a series for their UMR memory support. >=20 > And we had one fix for siw that fixes the 32bit build warnings and > because of the number of casts that had to be changed to properly > silence the warnings, that one patch alone is a full 40% of the LOC of > this entire pull request. Given that this is the initial release > kernel > for siw, I'm trying to fix anything in it that we can, so that adds to > the impetus to take fixes for it like this one. >=20 > I had to do a rebase early in the week. Jason had thought he put a > patch on the rc queue that he needed to be there so he could base some > work off of it, and it had actually not been placed there. So he > asked > me (on Tuesday) to fix that up before pushing my wip branch to the > official rc branch. I did, and that's why the early patches look like > they were all committed at the same time on Tuesday. That bunch had > been in my queue prior. >=20 > The various patches all pass my test for being legitimate fixes and > not > attempts to slide new features or development into a late rc. Well, > they were all fixes with the exception of a couple clean up patches > people wrote for making the fixes they also wrote better (like a > cleanup > patch to move UMR checking into a function so that the remaining UMR > fix > patches can reference that function), so I left those in place too. >=20 > My apologies for the LOC count and the number of patches here, it's > just > how the cards fell this cycle. I hope you agree with me that they're > justified fixes. >=20 > Here's the boilerplate: >=20 > The following changes since commit > d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1: >=20 > Linux 5.3-rc5 (2019-08-18 14:31:08 -0700) >=20 > are available in the Git repository at: >=20 > git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git > tags/for-linus >=20 > for you to fetch changes up to > c536277e0db1ad2e9fbb9dfd940c3565a14d9c52: >=20 > RDMA/siw: Fix 64/32bit pointer inconsistency (2019-08-23 12:08:27 > -0400) >=20 > ---------------------------------------------------------------- > Pull request for 5.3-rc5 >=20 > - Fix siw buffer mapping issue > - Fix siw 32/64 casting issues > - Fix a KASAN access issue in bnxt_re > - Fix several memory leaks (hfi1, mlx4) > - Fix a NULL deref in cma_cleanup > - Fixes for UMR memory support in mlx5 (4 patch series) > - Fix namespace check for restrack > - Fixes for counter support > - Fixes for hfi1 TID processing (5 patch series) > - Fix potential NULL deref in siw > - Fix memory page calculations in mlx5 >=20 > Signed-off-by: Doug Ledford >=20 > ---------------------------------------------------------------- > Bernard Metzler (3): > RDMA/siw: Fix potential NULL de-ref > RDMA/siw: Fix SGL mapping issues > RDMA/siw: Fix 64/32bit pointer inconsistency >=20 > Ido Kalir (1): > IB/core: Fix NULL pointer dereference when bind QP to counter >=20 > Jason Gunthorpe (1): > RDMA/mlx5: Fix MR npages calculation for IB_ACCESS_HUGETLB >=20 > Kaike Wan (5): > IB/hfi1: Drop stale TID RDMA packets > IB/hfi1: Unsafe PSN checking for TID RDMA READ Resp packet > IB/hfi1: Add additional checks when handling TID RDMA READ RESP > packet > IB/hfi1: Add additional checks when handling TID RDMA WRITE DATA > packet > IB/hfi1: Drop stale TID RDMA packets that cause TIDErr >=20 > Leon Romanovsky (2): > RDMA/counters: Properly implement PID checks > RDMA/restrack: Rewrite PID namespace check to be reliable >=20 > Moni Shoua (4): > IB/mlx5: Consolidate use_umr checks into single function > IB/mlx5: Report and handle ODP support properly > IB/mlx5: Fix MR re-registration flow to use UMR properly > IB/mlx5: Block MR WR if UMR is not possible >=20 > Selvin Xavier (1): > RDMA/bnxt_re: Fix stack-out-of-bounds in > bnxt_qplib_rcfw_send_message >=20 > Wenwen Wang (3): > IB/mlx4: Fix memory leaks > infiniband: hfi1: fix a memory leak bug > infiniband: hfi1: fix memory leaks >=20 > zhengbin (1): > RDMA/cma: fix null-ptr-deref Read in cma_cleanup >=20 > drivers/infiniband/core/cma.c | 6 ++- > drivers/infiniband/core/counters.c | 10 ++-- > drivers/infiniband/core/nldev.c | 3 +- > drivers/infiniband/core/restrack.c | 15 +++--- > drivers/infiniband/core/umem.c | 7 +-- > drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 8 ++- > drivers/infiniband/hw/bnxt_re/qplib_rcfw.h | 11 ++-- > drivers/infiniband/hw/hfi1/fault.c | 12 +++-- > drivers/infiniband/hw/hfi1/tid_rdma.c | 76 ++++++++++----------- > ------ > drivers/infiniband/hw/mlx4/mad.c | 4 +- > drivers/infiniband/hw/mlx5/main.c | 6 +-- > drivers/infiniband/hw/mlx5/mem.c | 5 +- > drivers/infiniband/hw/mlx5/mlx5_ib.h | 14 +++++ > drivers/infiniband/hw/mlx5/mr.c | 7 ++- > drivers/infiniband/hw/mlx5/odp.c | 17 ++++--- > drivers/infiniband/hw/mlx5/qp.c | 24 +++++++-- > drivers/infiniband/sw/siw/siw.h | 8 +-- > drivers/infiniband/sw/siw/siw_cm.c | 82 ++++++++++++++------- > --------- > drivers/infiniband/sw/siw/siw_cq.c | 5 +- > drivers/infiniband/sw/siw/siw_mem.c | 14 ++--- > drivers/infiniband/sw/siw/siw_mem.h | 2 +- > drivers/infiniband/sw/siw/siw_qp.c | 2 +- > drivers/infiniband/sw/siw/siw_qp_rx.c | 26 +++++----- > drivers/infiniband/sw/siw/siw_qp_tx.c | 80 ++++++++++++++------- > -------- > drivers/infiniband/sw/siw/siw_verbs.c | 40 +++++++-------- > include/rdma/restrack.h | 3 +- > 26 files changed, 248 insertions(+), 239 deletions(-) >=20 --=20 Doug Ledford GPG KeyID: B826A3330E572FDD Fingerprint =3D AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD --=-d9vBLQc5DZJC2HMDiJ6l Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEErmsb2hIrI7QmWxJ0uCajMw5XL90FAl1gOwkACgkQuCajMw5X L90DKQ//fSAE4ev1OxxfyQzo9HhweIbuZNeY1Iq66mBhDQl6BJUfDq1nZyLxV/Ab vxhCookz3SVn1ItQ4JUrW1LJF9qvuHdRQvWm9KnVhDqRyRvUxkgz8Mxjvr8G8/8h cWwI9PYdcR/yOKNPA4rQ4OGBdVGJePgKdfkFuLojR28KAh4i0XWnJEnsKXEADbGO qqh86Jv2x+wIkaunEOBjMfYdvDz7VhXWuy4Jelqc2WxjbBYPsEXcSWgHB342XTbK j+eBUMv0O+ns4er5ckIefNKWEp/1HK3JI+x2gvRNdy9oBdsYrwnB+5Zkhnohoj8y cZYT3jOwEFKvy0Tt6txcy3KZOzA3gRm3edmg4Ld3FpN5bQ6EGQ0CzGdu7CADCvCg /EmYmVashRxp71QLmP/jKdK3bBHs5NC/he3lkUnzSfNdNlX/JVi//XtztFb8gmRD GIWdEvIBiy5wVoXJ1NKDySbc7SVxhKSUyuPPqxBMp0utxvXOBo3IGu3BHj1UKqUe bTFyaZWnjsrfW8EvYnanuLqCkateNPqs3xUbEmC/kwx5mipcTz9KsJG8+CSUJM+7 drape5hCjo/NESn8VPPc8RHZngIILH/9OpHmRfXApLTwTEaGGW8AiMNqKIXnUhch Fnj5U717adEC3sVsWLbpYk8Tl4pXL1EE72RhEzHjSHr3s4eMPBY= =kyjY -----END PGP SIGNATURE----- --=-d9vBLQc5DZJC2HMDiJ6l--