From patchwork Wed Oct 30 11:27:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philipp Stanner X-Patchwork-Id: 13856386 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 2AA741E47BF for ; Wed, 30 Oct 2024 11:28:15 +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=1730287698; cv=none; b=nZGBCM/oatQeKPAeoH7MLbqhvqYnsX4rTawxJqjGkqSlb9+P1cvvmaGg0jBbl6ZipcFRsdgzz5gY9hpXo73Rth1+NLu5Mwi1wtNiQ4rHEpKNW3g+HpS+3kREZ7LhNNlPfXHVJ0DC+1/vD+uNNXHZ8httFZwdOK32HqA4NtvnGFM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730287698; c=relaxed/simple; bh=1nBiOt4E9hWg/0zn3g4OFCyMxJcpq+nbeiFpVMj1Z9M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Aux84zroJhfYkFozqPALP1o7ZvWAG4Rn5bmZF0OTb4HX0Bm5I3fqCQvvJcdNXZ37wkrxGv3fCLU3KhfdpFRHvdb9snhFzd7GAyuLhrhVpvFYkFqvr+PRkQhgECub33V+g/HcGNEe5XcX1P+J+WZmXqVBaE7eUZk8/Yn+TlJl8hk= 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=a+Naaeaa; 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="a+Naaeaa" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730287695; 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=a+NaaeaaKJno8CT/BASz0ZJCQm9fPymncP98pfKd5eyo8DK5AQqZ/PQA8qBbbSQnH1DnRb haEKOAXIVjiK+X0VeWTOll+qcBjlkRGVvw8saKHwUvKT22xmWnjnZWpv2766a2ERyITIpB H6ErQvjINkCLl8T+Ybz69o5qaeXUnng= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-213-MggqlvEqOv-y64AbJx49Bw-1; Wed, 30 Oct 2024 07:28:13 -0400 X-MC-Unique: MggqlvEqOv-y64AbJx49Bw-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a9a2ccb77ceso449081666b.2 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=1730287693; x=1730892493; 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=Ry3kGcMz8r37xH3CVXb0OOn/6yd6nbO2JVCjZCEA8XmxnmNSAbcFESap2P1NRFxeLo W8mxe7ZiXobeiBDwZivSkOSE0BC99NZ248uI5jTi9CNOVhrtxCAZqc2VMyxEyTGcDbfC HrtUL6pvnzE1gfKCd/T6JNCItg72cF+XTrBFFelEHFJcooXkAi2BEhMirPFLZEQDknlK tee/tYKr/I/1zXjd0hlq0oU0/qxToRsaJLucU/7RghbZBKqBwyuIhS0sOvD0UDenTTfE AuHQQNSsAOPJLVH7jG7DD1vvfWjLY6S/WZaNuIzYZH9+3fuGUtjJh2Dr1S3t4nU+aSmC /fwA== X-Forwarded-Encrypted: i=1; AJvYcCUouWM8ggrbF92c/PwmKkpqm+q05KbVDKFxNYCFlF4NfOyHtDmQN8DYPmtlHjD2vNdM/lwsaZjea4cWfvfnKQ==@vger.kernel.org X-Gm-Message-State: AOJu0Yz8BKKxCS78rgpPZ+0XVtRWGqOQC3IMBpic2+maRNQkUPdtELoK ORmDAXM32Twp9blWJOhDdFXdn4d1fiTR1M8dKUYRgLIKfHuQesGS3khpda6HsXt7PH56jQ4UDQR UIabCDLAVIlXW7XsVOKsM75/20L8FdBNtZtCo3lREKR/UBzvsdhHVirmjSrjHa2Hh X-Received: by 2002:a17:907:3ea6:b0:a9a:d52:9e79 with SMTP id a640c23a62f3a-a9de632e87cmr1484259166b.60.1730287692583; 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_Kleine-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_J=C3=A4rvi?= =?utf-8?q?nen?= 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-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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(-)