Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2254654pxj; Sun, 13 Jun 2021 14:07:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2HO/c1WIobgmZUvv4EOyI40GtmDdo4wWPdeIS3ZldmdQV0XReiPVqOLpqohgDvGchLmeH X-Received: by 2002:aa7:cb19:: with SMTP id s25mr14189104edt.194.1623618462986; Sun, 13 Jun 2021 14:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623618462; cv=none; d=google.com; s=arc-20160816; b=C/NDJXHaHRVt+isLvVeawYeZ53REtAm4bi9KOg1L9IJm2qm9FQkU1It0aqEniDnVct yGydm8jp8cUfPxkx0O1NcavXC6UKalhA9tv1AdmJehHFnZGFLd2q4XrqEyv7OGkp74eK Yyf2zUZc29pTY/wzC29q1FsvO/GWuNjbC+EYjW3j83OwFqKmFjtqx4rkb5SJ+BgY/2SC D4VZKzyS1D2BHsk2DDSQvQIZrRrlVmvzS0eEqGkZL2KWlCiAb5xIybseziPk6wsPpyOj Ud/cJI4bXtRae9qRZnkYBT8FAc/fPIzod1sWMCYP9/EBwhheZ/VjNB9Tj6KC4no3Y/dR 1r2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Tlh7eOeXjPDiimTfQnJ6T7DKkQVLQcfCQCXP/y1bXAg=; b=a+P1f6LtIO9963txpCS5iiKn3ZskGaDx6PxqpqWtiGSEISwQcN3JKYWm4/nLztp+Vm mQrg1r3dF7THWul+axsUUfeEvJ9G/BjvSkTB1+urLJZD+H6My2wbnlapgDWG23gMjOVm w+xIMxm3CLoiVFfkSAPmELGJ3OEwHarfUvDUPlap8j5fo8XNSu4lQe6Hst5KbqPt64ce YbwiLMztdGMXHKtY5skVMJeIQLiPNydyGzG5p2RFlEOhoj72xN2yqqGgjluYxddLgQDs ii790jRft/Q4FWCX8Q/kvvVk+ucv4uSl3R5E5qY27LfipTaFpHI85biqrIugjEOXxzPE gTjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si9664334eds.607.2021.06.13.14.07.19; Sun, 13 Jun 2021 14:07:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232107AbhFMVGL (ORCPT + 99 others); Sun, 13 Jun 2021 17:06:11 -0400 Received: from smtp11.smtpout.orange.fr ([80.12.242.133]:27791 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232106AbhFMVGK (ORCPT ); Sun, 13 Jun 2021 17:06:10 -0400 Received: from localhost.localdomain ([86.243.172.93]) by mwinf5d46 with ME id Gl462500721Fzsu03l467y; Sun, 13 Jun 2021 23:04:07 +0200 X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 13 Jun 2021 23:04:07 +0200 X-ME-IP: 86.243.172.93 From: Christophe JAILLET To: sathya.prakash@broadcom.com, sreekanth.reddy@broadcom.com, suganath-prabu.subramani@broadcom.com Cc: MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH 0/1] scsi: mptctl: switch from 'pci_' to 'dma_' API Date: Sun, 13 Jun 2021 23:04:04 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This cover letter is only there to draw attention on the fact that I'm a bit unsure about the use of GFP_KERNEL in 'kbuf_alloc_2_sgl()'. In all conversion that I've done, GFP_USER was never used. I don't fully understand the difference between GFP_USER and GFP_KERNEL. So please review with care :). For the 3 other functions, I'm much more confident. I've put the explanation of why I think that GFP_KERNEL is safe in patch 1/1. Basically, these functions already call fome functions that can sleep. Christophe JAILLET (1): scsi: mptctl: switch from 'pci_' to 'dma_' API drivers/message/fusion/mptctl.c | 82 ++++++++++++++++++++------------- 1 file changed, 49 insertions(+), 33 deletions(-) -- 2.30.2