From patchwork Sun Dec 15 21:57:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Ledford X-Patchwork-Id: 11293213 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 71DBB184C for ; Sun, 15 Dec 2019 21:57:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4527A2467A for ; Sun, 15 Dec 2019 21:57:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="PRZKcLeh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726219AbfLOV5N (ORCPT ); Sun, 15 Dec 2019 16:57:13 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:40843 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726146AbfLOV5N (ORCPT ); Sun, 15 Dec 2019 16:57:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576447031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=Msvls+smTfugP8yTYOgGlNZxBRCNhGv5tqO3Bav8AAc=; b=PRZKcLehVrACUEDU0lSyn7JvrzOot4ynkPHAjRyIeooT5ycBTiAdVgER3AEuxNC6T9xsBu XDhE6pF4mZhpNbnygK2OhgVxa8YPFIytCZZAjiP2ehNu3qaOG1PyB15PZ60XnflLAVMst7 aX++zXyL7IPk1aD+4npHFxvmzUciGUQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-174-H4Fh0ThbPd6aRqu5P2-VWg-1; Sun, 15 Dec 2019 16:57:07 -0500 X-MC-Unique: H4Fh0ThbPd6aRqu5P2-VWg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A3BE410509A0; Sun, 15 Dec 2019 21:57:06 +0000 (UTC) Received: from linux-ws.nc.xsintricity.com (ovpn-112-42.rdu2.redhat.com [10.10.112.42]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EAF0A28D00; Sun, 15 Dec 2019 21:57:05 +0000 (UTC) Message-ID: <9249797ff05697261e7bc1f3fa42d43d184a44ac.camel@redhat.com> Subject: [PULL REQUEST] Please pull rdma.git From: Doug Ledford To: "Torvalds, Linus" Cc: "Gunthorpe, Jason" , linux-rdma Date: Sun, 15 Dec 2019 16:57:03 -0500 Organization: Red Hat, Inc. User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Hi Linus, A small collection of -rc fixes. Mostly. One API addition, but that's because we wanted to use it in a fix. There's also a bug fix that is going to render the 5.5 kernel's soft-RoCE driver incompatible with all soft-RoCE versions prior, but it's required to actually implement the protocol according to the RoCE spec and required in order for the soft- RoCE driver to be able to successfully work with actual RoCE hardware. Commit log message has more details of what's in the pull request. Here's the git boilerplate: The following changes since commit e42617b825f8073569da76dc4510bfa019b1c35a: Linux 5.5-rc1 (2019-12-08 14:57:55 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus for you to fetch changes up to dc2316eba73ff03da6dde082a372c6b5209304c5: IB/mlx5: Fix device memory flows (2019-12-12 16:55:36 -0500) ---------------------------------------------------------------- Pull request for 5.5-rc2 - Update Steve Wise info - Fix for soft-RoCE crc calculations (will break back compatibility, but only with the soft-RoCE driver, which has had this bug since it was introduced and it is an on-the-wire bug, but will make soft-RoCE fully compatible with real RoCE hardware) - cma init fixup - counters oops fix - fix for mlx4 init/teardown sequence - fix for mkx5 steering rules - introduce a cleanup API, which isn't a fix, but we want to use it in the next fix - fix for mlx5 memory management that uses API in previous patch Signed-off-by: Doug Ledford ---------------------------------------------------------------- Chuhong Yuan (1): RDMA/cma: add missed unregister_pernet_subsys in init failure Maor Gottlieb (1): IB/mlx5: Fix steering rule of drop and count Mark Zhang (1): RDMA/counter: Prevent auto-binding a QP which are not tracked with res Parav Pandit (1): IB/mlx4: Follow mirror sequence of device add during device removal Steve Wise (2): Update mailmap info for Steve Wise rxe: correctly calculate iCRC for unaligned payloads Yishai Hadas (2): IB/core: Introduce rdma_user_mmap_entry_insert_range() API IB/mlx5: Fix device memory flows .mailmap | 2 + drivers/infiniband/core/cma.c | 1 + drivers/infiniband/core/counters.c | 3 + drivers/infiniband/core/ib_core_uverbs.c | 48 ++++++++--- drivers/infiniband/hw/mlx4/main.c | 9 ++- drivers/infiniband/hw/mlx5/cmd.c | 16 ++-- drivers/infiniband/hw/mlx5/cmd.h | 2 +- drivers/infiniband/hw/mlx5/main.c | 133 ++++++++++++++++++++----------- drivers/infiniband/hw/mlx5/mlx5_ib.h | 19 ++++- drivers/infiniband/sw/rxe/rxe_recv.c | 2 +- drivers/infiniband/sw/rxe/rxe_req.c | 6 ++ drivers/infiniband/sw/rxe/rxe_resp.c | 7 ++ include/rdma/ib_verbs.h | 5 ++ 13 files changed, 180 insertions(+), 73 deletions(-)