From patchwork Fri Oct 25 14:59:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philipp Stanner X-Patchwork-Id: 2002331 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Qob7HIc4; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=linux-ide+bounces-2626-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XZmG73X3Mz1xtp for ; Sat, 26 Oct 2024 02:01:51 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 30E521F21F57 for ; Fri, 25 Oct 2024 15:01:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1A4B186298; Fri, 25 Oct 2024 15:00:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Qob7HIc4" X-Original-To: linux-ide@vger.kernel.org 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 246C016DEAC for ; Fri, 25 Oct 2024 15:00:41 +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=1729868444; cv=none; b=iDWwwHMSt+YyrlqmS42iKQVf2eXQ435DExr+yE4g8QmvlAXcLs3Vac5SeasF6OHdNbfql67PTziELqmhfcZSJcgekZcFW1OSO4gYauBqJfUfkpJIUhz605MrVEdA/hyYG/O3DPMrU/mV2UYbijkvzC7Y/Lb3J4H2GBOYO70feM0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729868444; c=relaxed/simple; bh=qn2zisIVAp1A3sOByjD0CKUjzgN/331GtrAdNv9H2Gs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ouWjTcXJREa7KmZXS8eBrQ88VwvCy5jZtT7aIu3h0OXFy2vWv1Wh0qaLW81juaKmKIs5HtXuCGkfgtpPm7R91DFYyoGEjLwRUn1Tda5yDOACEUGtwNahg6fWAYnnynuZQSu3PhsC301Bc7f/QmDuU9e6+RylCkdnZTQnixJiOes= 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=Qob7HIc4; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729868440; 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=6mk7pVJi4FxC5YCmtGMcoceHkePQhE8sXwo0Yl4cl4Y=; b=Qob7HIc4Wrm3dkeebT65QDRBQdpwoDIr50JdBVgorj40sDsV1WuiJcMLitmOc2WTxbIrIN S1nPL4XT2eeE/DmmOobRZ2wf+wCnVEe3ePTwXu0bpOwqsHE/7Eo8NuN4Y1Bbpx7cy8XgLS k0I1KyDjI9nPDwARkxi54pqE1icV5Ss= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-37-6C7xU0cuNTuT1YuglKOqgw-1; Fri, 25 Oct 2024 11:00:38 -0400 X-MC-Unique: 6C7xU0cuNTuT1YuglKOqgw-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-37d589138a9so1022081f8f.1 for ; Fri, 25 Oct 2024 08:00:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729868437; x=1730473237; 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=6mk7pVJi4FxC5YCmtGMcoceHkePQhE8sXwo0Yl4cl4Y=; b=HdQZyyFD2d88wpxDfYQP3fH2y3ucuGSL8oBNYxjoE4Y5jbnlZdLAIjM5TSepHg1obs isDxd+q2AwjokTrTjPmfEINx9BUoY3BBZlkOL4/ACiYZg7K/M0DIr3FcMmmygZP23jZn 2UKjrKpFN0jcWPI1YGibP8JWUScQ2bc7ysV7Qhquujs2cxqRNqebgcC7iOizmbYFk89F w0tZcjHkYJAP8GbaPNAo08s5FUkcbZ7Lhobg/E8SN7x8Bxs9tLcw3ZoAS0dG0/6OdqEc aerXzJJOx9R//TaXCa+TPm7p8KPzwtZevzP22jcnZBR95eZAt2EPWxpIq+uE2+QyLw5m J9cw== X-Forwarded-Encrypted: i=1; AJvYcCVmX/Wnr4eK5ucftg9O8/UkchDrm5Yrlwc5VEXfgvnpyFXFpxPqF3ANkSeX3WxN8cv01Up7Cef637Q=@vger.kernel.org X-Gm-Message-State: AOJu0Yy6S2X8Yhe19aTDRv4+uKMn5KryKpDFfKxpNqkIvF1JCA5BJ1Tk KmJ2MU/uX7frLxqncIwo+RbDwbr4g15aa/q0VQuqjtnnPXMiGwnO6nfOVQrmIgw+0KW5ScvbNu6 WNGbAo9cvTdnqtoR3XJ3UVckgrkEVrEIFOFw9ojAj8f72ED9/euWL2rrL5A== X-Received: by 2002:adf:eac4:0:b0:37c:d2f0:7331 with SMTP id ffacd0b85a97d-3803ab1a8bbmr4410440f8f.0.1729868436612; Fri, 25 Oct 2024 08:00:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHDs+qGkPhYGAaZ+QRORXNw+V6iATQJifr1mVHJ8hw/ogKGV0BNUWn6+ubNlvP8p8bNny4MNA== X-Received: by 2002:adf:eac4:0:b0:37c:d2f0:7331 with SMTP id ffacd0b85a97d-3803ab1a8bbmr4410253f8f.0.1729868435070; Fri, 25 Oct 2024 08:00:35 -0700 (PDT) Received: from eisenberg.fritz.box (200116b82de5ba00738ac8dadaac7543.dip.versatel-1u1.de. [2001:16b8:2de5:ba00:738a:c8da:daac:7543]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38058b9216fsm1727189f8f.100.2024.10.25.08.00.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 08:00:34 -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 , Serge Semin , Jon Mason , Dave Jiang , Allen Hubbe , Bjorn Helgaas , Kevin Cernekee , Greg Kroah-Hartman , Jiri Slaby , Jaroslav Kysela , Takashi Iwai , Mark Brown , David Lechner , Philipp Stanner , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Jie Wang , Tero Kristo , Adam Guerin , Shashank Gupta , Przemek Kitszel , Bharat Bhushan , Nithin Dabilpuram , Johannes Berg , Emmanuel Grumbach , Gregory Greenman , Benjamin Berg , Yedidya Benshimol , Breno Leitao , 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 00/10] Remove pcim_iomap_regions_request_all() Date: Fri, 25 Oct 2024 16:59:43 +0200 Message-ID: <20241025145959.185373-1-pstanner@redhat.com> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-ide@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 All Acked-by's are in place now. 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(-)