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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FB42C433F5 for ; Thu, 10 Mar 2022 17:30:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245009AbiCJRbc (ORCPT ); Thu, 10 Mar 2022 12:31:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233084AbiCJRb2 (ORCPT ); Thu, 10 Mar 2022 12:31:28 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EA9EF11A1; Thu, 10 Mar 2022 09:30:27 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CA225B8270A; Thu, 10 Mar 2022 17:30:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 204F6C340E8; Thu, 10 Mar 2022 17:30:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646933424; bh=Xm6HxslQ4JAAUO3tzolqj+8HYytM0C3tyab+DDDGYzg=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=TGzEeayaGIUwsWouUcKF4SWChC2LR5w0YVUpr8d3xaYNHng/Bd0l08mgnGB2R822O Jmc4gUuF7I9hroi9OZThClOmK9qmySYqdokWAue55JV3dhBP5mrMadkx6u6gkfyN9v nD1YroODIFl1Ojivnta16dWkGrqJ89I/pvhDd1aRe3TnWKAbZJL+B06a6QgNm/U6/F wDdgs5h+RG+73MHHGPTpW2WGcIBj5CQOmlCD9EfEVJG3N0DSstQwwkFpQ7vrkr+c/3 LWiGseBi/6ieqQtFZwur+ikH10P49H5YjdTeylxCWCsLnJJRpHcKSG5TGQDRPHrwHo 4jG6yh2V2fvxg== Date: Thu, 10 Mar 2022 11:30:22 -0600 From: Bjorn Helgaas To: Christophe JAILLET Cc: bhelgaas@google.com, arnd@arndb.de, hch@infradead.org, akpm@linux-foundation.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] PCI: Remove the deprecated "pci-dma-compat.h" API Message-ID: <20220310173022.GA166412@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220310170445.GA163749@bhelgaas> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 10, 2022 at 11:04:45AM -0600, Bjorn Helgaas wrote: > On Wed, Mar 09, 2022 at 08:50:39PM +0100, Christophe JAILLET wrote: > > Now that all usages of the functions defined in "pci-dma-compat.h" have > > been removed, it is time to remove this file as well. > > As of 1db333d9a51f ("Merge tag 'spi-fix-v5.17-rc7' of > git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi"), all the > following still appear to be used: > > git grep -E "\ git grep -E "pci_(alloc|zalloc|free)_consistent" > git grep -E "pci_(map|unmap)_single" > git grep -E "\ git grep -E "pci_(map|unmap)_sg" > git grep -E "pci_dma_sync_" > git grep pci_dma_mapping_error > git grep -E "pci_set_.*dma_mask" Christoph mentioned several other trees that this depends on, and those would likely be in linux-next, but not yet in Linus' tree. The above poking around is from the tip of Linus' tree, which was the wrong place for me to look. But I did the same in current linux-next, 71941773e143 ("Add linux-next specific files for 20220310"), and still found quite a few uses. Some are in comments, printks, coccinelle scripts, etc. I would assume we'd want to remove them all? Bjorn