From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E8871E4928 for ; Wed, 30 Oct 2024 11:28:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730287699; cv=none; b=eiP4Ky8e3P4h52sowz1hLpdPMBkZPVxDzYT46oEJuU8gAIcfcUHG2mAouyhBMu6sham5VznVHCl4c4RFZ+VNgnhafvcaxgU+Z7Ov+s5aBZ/FxNaWdBsQ5ijCgIQzOxhlHztmjyR1GNKIwxs3P6WmDib9Iv7yuKYj24GQ+3+ccg4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730287699; c=relaxed/simple; bh=1nBiOt4E9hWg/0zn3g4OFCyMxJcpq+nbeiFpVMj1Z9M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=jlRM96o5LZXnkPh3mR8PyA1MsZ+GFBnHtdlV0Ut+py2PJ0G63a3QAQlAWz+1NoTzjOVwqZhKMp8nsEA8WYxWRaqsad0aHmkpSn0KtnU0a4JM6uk/7v8o0Xq8QytjjZtHGa7pg5jKLue7I6jkshIDLrPxEgZszObFwl6fcbAfGYA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=f139vqhp; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="f139vqhp" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730287696; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=F5SOWMgY56iXsI2F11A2ajlpJiSFnTM4sKk1Get+9MQ=; b=f139vqhpFxmoJ0rEyqD5Z1Ex/vKxjax+aiieL3yCqLT+ATzIs+mInzLlYEeXSPsJTuJEnv EIwTGhMEAvDzM+URaC4lYnFdeaY5Gqn1Sem30pzwFxitq5DpePXUuw91sHc1ThoBYW/zez vYQ+ofxaacrWgwxeKrbVTBoOkNoMIkQ= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-395-LjqHrdIVNUmB4K6uaDtWhg-1; Wed, 30 Oct 2024 07:28:13 -0400 X-MC-Unique: LjqHrdIVNUmB4K6uaDtWhg-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a9a1af73615so459779066b.0 for ; Wed, 30 Oct 2024 04:28:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730287692; x=1730892492; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=F5SOWMgY56iXsI2F11A2ajlpJiSFnTM4sKk1Get+9MQ=; b=foSg2/7Q9SUdN7XEthGYV5ATan2epm3TFjZo/2GajuHAQtbAl4od0RhSeohxXUe+Jb G6iJqUkqWdcyDQFIUXcg4l+yjidVCJofLWqQF1rpURUd3ieki8fsVeOw6bYq4qzhgEhm uFCSiES0jQZLPrpUG+d6oVVQGbj966tYr+MAAsilWky/n9p0X5hJ0PmpY+n1m3FNlEUa Q73Qv2zcqw9bhrVlhL9s5lck+ndH9f/wChEOHB3Zf7uJKtldqEqgcId/bos9X7XPDAy/ gpbbHm6tdPYyn0basycMe5kGAGixlfVtu2gVtB0AChMVcrUP6hE8Ji2jtx4xk2ylZfzK k0Ng== X-Forwarded-Encrypted: i=1; AJvYcCUlnk4AnyRweHelGjuWW6v8eeviIPp4TJBND/eK5Tz9ToUT5ZBgbBIFZLiNid5zzn6wSf5wSdHGXx1peko=@vger.kernel.org X-Gm-Message-State: AOJu0YwN+MJ7CkVvXis6DekH2XszjLLqPquvDXBXpHYQHj3/Nrfp/i6s VRBIntmcf036vt0H3vuVTWlAm3t0Y5+ron/iArqZ6mXi94azpBvEKeDKUdAjwjK4HyF2UKYOnXX BrpN56MXZKaxOHwf+4cRpS6Gmrwlx0R69qkGLFJ7364PAUcr6xDKepb4Q8gcemg== X-Received: by 2002:a17:907:3ea6:b0:a9a:d52:9e79 with SMTP id a640c23a62f3a-a9de632e87cmr1484260766b.60.1730287692599; Wed, 30 Oct 2024 04:28:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHnDINiXRUE96BlR23lv9C+OQFBClKdFZUq7ld2UJ9kzdhczUGabkr4/M1e9W23thWxvBAWBg== X-Received: by 2002:a17:907:3ea6:b0:a9a:d52:9e79 with SMTP id a640c23a62f3a-a9de632e87cmr1484255566b.60.1730287692107; Wed, 30 Oct 2024 04:28:12 -0700 (PDT) Received: from eisenberg.fritz.box ([2001:16b8:3db7:f800:98bb:372a:45f9:41e4]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9b30f58991sm557324566b.159.2024.10.30.04.28.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 04:28:11 -0700 (PDT) From: Philipp Stanner To: Jonathan Corbet , Damien Le Moal , Niklas Cassel , Giovanni Cabiddu , Herbert Xu , "David S. Miller" , Boris Brezillon , Arnaud Ebalard , Srujana Challa , Alexander Shishkin , Miri Korenblit , Kalle Valo , Jon Mason , Dave Jiang , Allen Hubbe , Bjorn Helgaas , Kevin Cernekee , Greg Kroah-Hartman , Jiri Slaby , Jaroslav Kysela , Takashi Iwai , Mark Brown , David Lechner , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Philipp Stanner , Jie Wang , Michal Witwicki , Przemek Kitszel , Adam Guerin , Damian Muszynski , Bharat Bhushan , Nithin Dabilpuram , Johannes Berg , Emmanuel Grumbach , Benjamin Berg , Breno Leitao , Yedidya Benshimol , Serge Semin , zhang jiao , Florian Fainelli , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, qat-linux@intel.com, linux-crypto@vger.kernel.org, linux-wireless@vger.kernel.org, ntb@lists.linux.dev, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org, linux-sound@vger.kernel.org Subject: [PATCH v6 00/10] Remove pcim_iomap_regions_request_all() Date: Wed, 30 Oct 2024 12:27:33 +0100 Message-ID: <20241030112743.104395-1-pstanner@redhat.com> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes in v6: - Add Ilpo's RB to patch #1 - Rephrase error log messages in patch #6. (Ilpo) Changes in v5: - Add Acked-by's from Alexander and Bharat (the latter sent off-list, because of some issue with receiving the previous patch sets). Changes in v4: - Add Acked-by's from Giovanni and Kalle. Changes in v3: - Add missing full stops to commit messages (Andy). Changes in v2: - Fix a bug in patch №4 ("crypto: marvell ...") where an error code was not set before printing it. (Me) - Apply Damien's Reviewed- / Acked-by to patches 1, 2 and 10. (Damien) - Apply Serge's Acked-by to patch №7. (Serge) - Apply Jiri's Reviewed-by to patch №8. (Jiri) - Apply Takashi Iwai's Reviewed-by to patch №9. (Takashi) Hi all, the PCI subsystem is currently working on cleaning up its devres API. To do so, a few functions will be replaced with better alternatives. This series removes pcim_iomap_regions_request_all(), which has been deprecated already, and accordingly replaces the calls to pcim_iomap_table() (which were only necessary because of pcim_iomap_regions_request_all() in the first place) with calls to pcim_iomap(). Would be great if you can take a look whether this behaves as you intended for your respective component. Cheers, Philipp Philipp Stanner (10): PCI: Make pcim_request_all_regions() a public function ata: ahci: Replace deprecated PCI functions crypto: qat - replace deprecated PCI functions crypto: marvell - replace deprecated PCI functions intel_th: pci: Replace deprecated PCI functions wifi: iwlwifi: replace deprecated PCI functions ntb: idt: Replace deprecated PCI functions serial: rp2: Replace deprecated PCI functions ALSA: korg1212: Replace deprecated PCI functions PCI: Remove pcim_iomap_regions_request_all() .../driver-api/driver-model/devres.rst | 1 - drivers/ata/acard-ahci.c | 6 +- drivers/ata/ahci.c | 6 +- drivers/crypto/intel/qat/qat_420xx/adf_drv.c | 11 +++- drivers/crypto/intel/qat/qat_4xxx/adf_drv.c | 11 +++- .../marvell/octeontx2/otx2_cptpf_main.c | 14 +++-- .../marvell/octeontx2/otx2_cptvf_main.c | 13 ++-- drivers/hwtracing/intel_th/pci.c | 9 ++- .../net/wireless/intel/iwlwifi/pcie/trans.c | 16 ++--- drivers/ntb/hw/idt/ntb_hw_idt.c | 13 ++-- drivers/pci/devres.c | 59 +------------------ drivers/tty/serial/rp2.c | 12 ++-- include/linux/pci.h | 3 +- sound/pci/korg1212/korg1212.c | 6 +- 14 files changed, 76 insertions(+), 104 deletions(-) -- 2.47.0