Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1323685ybg; Wed, 29 Jul 2020 11:06:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymebY2oB1WTy+bg9pEqp+YXxYLcKTU2DvrWvr5fpcB9tY83vWmxSVo0+AS4R2aVLxuwy0g X-Received: by 2002:a17:906:c7d3:: with SMTP id dc19mr19832258ejb.495.1596046013483; Wed, 29 Jul 2020 11:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596046013; cv=none; d=google.com; s=arc-20160816; b=vVr3TJ1ISe2PTL2U8MuUBpvWRme3hbFBvwojX9cTYxk5NWpT0bkubaCTkwcYqwLomV mcbN0yLREHDfvUsg8ofFPT77RntjCB9069hnbUhoEpU/wfx0ed5umk2lWRY7he/VwCL3 UkIxOUbo6Hpx1v3TV8GrJyqAwdUZIBDHewgyMbryAJKp5rRPiJ7DQtAymj9+HKxfXEbU mCiUrWGoY2tM5mb8MLhgJ7DMmMLU9DegXMq+51A6zPdD9/6GI3v/P1vjSuRdEM2vJjAr BK2P19zgdv8UiRvEL+Ph82qgKZ/4mdn4uF+k5FDkl2LDbfW6RXFw9IOkznhDEeqN5zwc ycDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=o4rHFcSX18taIt22ICNbpXYlTpfl8WXy430SyBBEUAM=; b=tf71ivY8SsxvLD/tnT/LCB8dnS0OFAO+oeDnYOaw43uDrTInjxF+8pJ/8OTpxWYMwt Sq+pKxhMR2Ej/MGh+oEhJTUw0DoerTQs/sfA80FYlvojheww+T+JTARs5zUi5Nb2BPJm sBb11jmZdw2JTXA1mou1fT1KowneOs6xjSmyc1ZDrYmC2nUWruwxymaZwSjEAbHRRgT4 Zo4HKct3/7MvrlsVHT6rhMGLy7KO0jUp/ebsSaEFgJVe0WLdJGcB7pjOgV/qsyoyhpGS 5BuFeiutFbI+BeffXUbHTr67jZreojT/IbBlhWY9Aw7cAfZa/ebTIyqHKmdyxn/sONnS xm5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E5dcDswT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d13si1721261edp.312.2020.07.29.11.06.30; Wed, 29 Jul 2020 11:06:53 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E5dcDswT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726842AbgG2SFn (ORCPT + 99 others); Wed, 29 Jul 2020 14:05:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbgG2SFn (ORCPT ); Wed, 29 Jul 2020 14:05:43 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F09A9C061794; Wed, 29 Jul 2020 11:05:42 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id w126so13165633pfw.8; Wed, 29 Jul 2020 11:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=o4rHFcSX18taIt22ICNbpXYlTpfl8WXy430SyBBEUAM=; b=E5dcDswTV0bghO/zuaUaa+n4pmPDRrS+T8PGxl0a+f0/jTptmvCZU0D771HXDXsIJ3 VyRQvKsc0WpS0ECJruR89RbMsdAneUM7D+QpNx+NjZBF7QIwR2ENKBNuuh8atw/Pxscp hHQRJ1/+9WDb75HnKnCtBNU6lmeFrRYPHCE3tRDgijlQVTnkS/MJHnrirfEFiXw3GMhs idt/Y6zTbS2T8stdWNrubVRtimexORKSQtjMJtchUdxHJnHmJDUDIU9y2ogW7pgbr7cV lxFqD7UxsHmVKDSysSEDTjwsiUUVfmqdCSDpUBq3/qpdUPJWZNLVUhOrnYKPbKLirO2Q bpRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=o4rHFcSX18taIt22ICNbpXYlTpfl8WXy430SyBBEUAM=; b=eVpoFj9OUa6mJPM8bkkr/vEKBObVsxbIppMptd82AUESo0TDRGbzEn2/GGUwIDE+FO kpcKGkljDZLTVSil5IE0Ghx8PPEZ1RshocVwFCYGuZHQyMhUuh9/H4bZmllCeTXVb1Q/ RrCZBAvd2xO4XKfBjaWrAZ0T0vkKFTlvW9WEvJcTAUtWgLOThJlnV5UdKpv9UzcDosWV gq3s5Tk6/qoG3RSIK4mWdpdRH2IFG+T/im9TUuQYG75IYt7PTLNgiXuLv6XN+muCV+rU rLv6k1ePWLhGLf6jX1gkbm75HOf80JJs0reQ/7RCwfVlmkM1VD3IGyAp22Sp2EFfyGWx W2Bw== X-Gm-Message-State: AOAM532c1wQJO/eBlvw4Yx33cnQMnoDBMtjn1XId8EgrSzZqH5HrX5rU hEWZTVukepvghC/I8aAsYJc= X-Received: by 2002:a63:db46:: with SMTP id x6mr29413959pgi.265.1596045942478; Wed, 29 Jul 2020 11:05:42 -0700 (PDT) Received: from blackclown ([103.88.82.91]) by smtp.gmail.com with ESMTPSA id d9sm3089514pgv.45.2020.07.29.11.05.39 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Jul 2020 11:05:41 -0700 (PDT) Date: Wed, 29 Jul 2020 23:35:29 +0530 From: Suraj Upadhyay To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] scsi: Remove pci-dma-compat wrapper APIs. Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hii Maintainers, This patchset replaces the pci-dma-compat wrappers with their dma-mapping counterparts. Thus, removing possible midlayering and unnecessary legacy code and API. Most of the task is fairly trivially scriptable and done with coccinelle. But the handling of pci_z/alloc_consistent needed some hand modification in replacing the flag GFP_ATOMIC with a proper flag depending upon the context. I would be glad to receive any feedbacks. Thanks, Suraj Upadhyay. Suraj Upadhyay (7): scsi: aacraid: Remove pci-dma-compat wrapper APIs scsi: aic7xxx: Remove pci-dma-compat wrapper APIs. scsi: dc395x: Remove pci-dma-compat wrapper APIs. scsi: mpt3sas: Remove pci-dma-compat wrapper APIs. scsi: hpsa: Remove pci-dma-compat wrapper APIs. scsi: qla2xxx: Remove pci-dma-compat wrapper APIs. scsi: megaraid: Remove pci-dma-compat wrapper APIs drivers/scsi/aacraid/aachba.c | 4 +- drivers/scsi/aacraid/commctrl.c | 20 +-- drivers/scsi/aacraid/commsup.c | 8 +- drivers/scsi/aacraid/linit.c | 4 +- drivers/scsi/aic7xxx/aic79xx_osm.c | 7 +- drivers/scsi/dc395x.c | 6 +- drivers/scsi/hpsa.c | 16 +-- drivers/scsi/megaraid.c | 192 +++++++++++++++-------------- drivers/scsi/mpt3sas/mpt3sas_ctl.c | 10 +- drivers/scsi/qla2xxx/qla_os.c | 4 +- 10 files changed, 141 insertions(+), 130 deletions(-) --=20 2.17.1 --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7AbCa0kOsMJ4cx0j+gRsbIfe744FAl8hul8ACgkQ+gRsbIfe 745yWg/8CeOWFmcv9+wzPrfH02Fq11gXeVjZLQryrC0ks9fqo7DFuGSNZ1KI34Tu 7paRWyZNFU/LPSd9TmqnTUKDafICDEXSzsAEC14wgDqFojS/VR9F5iY069SabcUO AWaFJBZ9Oe3qDQ3cD52vtWm3I2nwGP1njiOjQB3tc3qCEC4aIkEYNXY3S3bfe91X 8yK+r44sf6CIBNj5HXBqMlNVdrNUThzWGmBDVfwL6GK57rqgVUzCUVic///TbEiS 2AGk1DSUvzuJ46iqUU6VPodV/OiZlUZKBhdBa7LHGe5GE8jHBtMmWKgOzwTHpUZi WOxaYbBuTPGHWzlX/XOdcbqB6t/N28eBMxxFZ4MSv04U0Bpg7A1wH/QJmJnKmHIO FxwcRmCjbY8d4mdQeUjQjL4Oefevg4t4dziI1Zk7XwatgNnzL4+8iBYtOxzdEZEI YKzw2ncN0cuuB/nxKdoKaCV3L87JbRPYp3JKXh288v16czfOYzlPVkzNduTKvN6i j5ZGUg4nb4wtXUxyZ8VU3skGrK+8Pik85Gwt+ZlLlyKMHn101lE4M2izsPM+8lNP MNjCwQUk7/W3ZhfePaAxsD0LDkvNRDoFt4FVRDCcyhrHAHbrk1qx/G1ETAv1cmSi D6nE89UniN/XjP2SZWWHhatR0LnSbsRxbOKtgvYdflIvogGkMpY= =1Cx6 -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI--