From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
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 <christophe.jaillet@wanadoo.fr>
Subject: [PATCH 0/2] scsi: mptsas: switch from 'pci_' to 'dma_' API
Date: Sun, 13 Jun 2021 12:25:53 +0200 [thread overview]
Message-ID: <cover.1623579808.git.christophe.jaillet@wanadoo.fr> (raw)
In order to convert this file to the dma_ API, 2 steps are proposed.
The first one is purely mechanical. All the updated memory allocations can
use GFP_KERNEL because of 'mpt_config()' calls. This function can sleep so
it sounds like a reasonable assumption to use GFP_KERNEL.
The 2nd patch is slighly more subtle. It is sent separatly to ease review.
Christophe JAILLET (2):
scsi: mptsas: switch from 'pci_' to 'dma_' API
scsi: mptsas: switch from 'pci_' to 'dma_' API in
'mptsas_exp_repmanufacture_info()'
drivers/message/fusion/mptsas.c | 138 ++++++++++++++++----------------
1 file changed, 70 insertions(+), 68 deletions(-)
--
2.30.2
WARNING: multiple messages have this Message-ID
From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
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 <christophe.jaillet@wanadoo.fr>
Subject: [PATCH 0/2] scsi: mptsas: switch from 'pci_' to 'dma_' API
Date: Sun, 13 Jun 2021 12:26:23 +0200 [thread overview]
Message-ID: <cover.1623579808.git.christophe.jaillet@wanadoo.fr> (raw)
Message-ID: <20210613102623.TM2_eqiZuTxkCRfmOcCviOpPIS_wHe4eKotTX5j9Umg@z> (raw)
In order to convert this file to the dma_ API, 2 steps are proposed.
The first one is purely mechanical. All the updated memory allocations can
use GFP_KERNEL because of 'mpt_config()' calls. This function can sleep so
it sounds like a reasonable assumption to use GFP_KERNEL.
The 2nd patch is slighly more subtle. It is sent separatly to ease review.
Christophe JAILLET (2):
scsi: mptsas: switch from 'pci_' to 'dma_' API
scsi: mptsas: switch from 'pci_' to 'dma_' API in
'mptsas_exp_repmanufacture_info()'
drivers/message/fusion/mptsas.c | 138 ++++++++++++++++----------------
1 file changed, 70 insertions(+), 68 deletions(-)
--
2.30.2
next reply other threads:[~2021-06-13 10:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-13 10:25 Christophe JAILLET [this message]
2021-06-13 10:26 ` Christophe JAILLET
2021-06-13 10:26 ` [PATCH 1/2] " Christophe JAILLET
2021-06-13 10:26 ` [PATCH 2/2] scsi: mptsas: switch from 'pci_' to 'dma_' API in 'mptsas_exp_repmanufacture_info()' Christophe JAILLET
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=cover.1623579808.git.christophe.jaillet@wanadoo.fr \
--to=christophe.jaillet@wanadoo.fr \
--cc=MPT-FusionLinux.pdl@broadcom.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=sathya.prakash@broadcom.com \
--cc=sreekanth.reddy@broadcom.com \
--cc=suganath-prabu.subramani@broadcom.com \
/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
all inboxes | Powered by JetHome®