From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B22A6C433E0 for ; Fri, 19 Feb 2021 18:39:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 66C8B64E54 for ; Fri, 19 Feb 2021 18:39:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229612AbhBSSjU (ORCPT ); Fri, 19 Feb 2021 13:39:20 -0500 Received: from stargate.chelsio.com ([12.32.117.8]:10030 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbhBSSjU (ORCPT ); Fri, 19 Feb 2021 13:39:20 -0500 Received: from localhost (pvp1.blr.asicdesigners.com [10.193.80.26]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id 11JIcOaC003823; Fri, 19 Feb 2021 10:38:25 -0800 Date: Sat, 20 Feb 2021 00:08:25 +0530 From: Krishnamraju Eraparaju To: Greg KH Cc: sashal@kernel.org, stable@vger.kernel.org, Bernard Metzler , Christoph Hellwig , bharat@chelsio.com Subject: Re: backport of dma_virt_ops related fixes to 5.10.y kernels Message-ID: <20210219183823.GA26562@chelsio.com> References: <20210219095510.GA24256@chelsio.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Friday, February 02/19/21, 2021 at 11:39:04 +0100, Greg KH wrote: > On Fri, Feb 19, 2021 at 03:25:12PM +0530, Krishnamraju Eraparaju wrote: > > Hi All, > > > > Below commits needs to be backported to 5.10.y kernels to avoid NULL > > pointer deref panic(while trying to access 'numa_node' from NULL > > 'dma_device'), @ Line: > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/nvme/host/rdma.c?h=v5.10.17#n863) > > > > commit:22dd4c707673129ed17e803b4bf68a567b2731db > > commit:8ecfca68dc4cbee1272a0161e3f2fb9387dc6930 > > So just these 2 commits? In which order? > > > The panic is observed at nvme host(provider/transport being SoftiWARP), > > while perfroming "nvme discover". > > > > Hence, please backport the below patch series to '5.10.y' kernel. > > "https://lore.kernel.org/linux-iommu/20201106181941.1878556-1-hch@lst.de/" > > What are the git commit ids of these patches in Linus's tree and have > you tested them to ensure that they work? Why this 10 patch series and > not the 2 above? Or is this a different request? > > confused, Hi Greg, Sorry for the confusion, I didn't know that I can request for the backport of selected patches in a patch series. As I don't have much background & testing feasability of other patches, I request you to backport only below two patches(same order as below): commit#1:8ecfca68dc4cbee1272a0161e3f2fb9387dc6930 RDMA: Lift ibdev_to_node from rds to common code author: Christoph Hellwig commit#2:22dd4c707673129ed17e803b4bf68a567b2731db nvme-rdma: Use ibdev_to_node instead of dereferencing ->dma_device author: Christoph Hellwig And I belive these two patches has no dependency with other patches in the series. I've tested, it's working fine. Thanks, Krishnamraju. > > greg k-h