From patchwork Wed Oct 16 12:41:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philipp Stanner X-Patchwork-Id: 13838368 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 1C7A2206E71 for ; Wed, 16 Oct 2024 12:41:45 +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=1729082509; cv=none; b=EKH6w6dbI1aqDSt5G1qfndKH1z+yl0cUx06906QFDSR/ooAfcSL9IyJ8/fUQQ14pV2qFdtMPtlxg4TnsH4SY4SK0karo5sNzMN2OCUFd4C4H5b7bjRhk5nieDxD6O5RNuApaqdp5zYN3HnmVUdpY+PAxSPEPDTn0Yttu/rv1lgY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729082509; c=relaxed/simple; bh=7s7mxb8AWORUrhpnBZAuRs0KJYeixrfxteXdwF3mTU0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=iCkIevkVyENd6fRviP7ASNMdrHRxfl010suUtdvAcfwx4TMCP4A8VRBFu8I1XZ87E0qGsGvvSEWMY/+35qN8cz4koxDBuN0U7gqmyNg9GYOoAMsa/gbbPLphN9z5elPfrQu8P/1tHAZ/yHaquwIDIcdkAAvPt7OteGVFS/ENE4o= 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=Nvt28Qux; 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="Nvt28Qux" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729082505; 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=sR2BJapihNLggAZsP9A0NQSPFnGH7MhHauwtA745mN0=; b=Nvt28QuxR9kNPbcjfnPgDIpDNASRY+0u/CQxTVu7WMUvohaeSN8x1to+s3fV72eUJkKrPT M05VY7N8UAxLbLK90NvPFOHNCPgacV++JkBj7HaMH473fYl7F9XLat7z2eoTKFyNUNE1eO 7DzkwhTKlCy9xro/O/Q+DL8GZmGtWPM= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-169-SfALDSaePc64HQ_R_dFYWQ-1; Wed, 16 Oct 2024 08:41:44 -0400 X-MC-Unique: SfALDSaePc64HQ_R_dFYWQ-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4311c681dfcso36270525e9.2 for ; Wed, 16 Oct 2024 05:41:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729082503; x=1729687303; 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=sR2BJapihNLggAZsP9A0NQSPFnGH7MhHauwtA745mN0=; b=rr6WDtsVWsIZHelXqRW9gkeOJHQ/uGZDGEblqa1gWlv8+oo1MbIUDFIGdU1mV6kzNw jslyr1h4Ic9q/KBGm0zqCozCrGbLjrQ8Bppcr48aHp4dOc2FQ4okh0Nsj33ogSB/M9j7 OUl8fXZXkHN3+ffHR1s6cqxLyGgSEPHmNV+nY2Kh+8SD1uAyTS6fnvfvyQPUvA+uGHX0 5cwzqkMKR60VmcwR6OOCfnqOYpUlSRZALcxESlFq+xVM8vOIRpIp0orKvWgahdOFJxGa 1ZlNe3kTnpTGJtSS12qgzE6dCwRekeIW7ld8U7Xt0mwsumtKtTmeLA5Xb37ltnXLSl74 ZYtg== X-Forwarded-Encrypted: i=1; AJvYcCVjsI92WbAO2WArg1LE/pmiXbASt9+FtngxBLEkdLwTrgLmKUtvV9Qe+r57o1gt7lePdK5gJtNUSM1wtg==@vger.kernel.org X-Gm-Message-State: AOJu0YxE6yShvOjWQ4K6prKu3s4IrY8iJlO5XcxYUbH8SIe4ioGku/PT aJj1YbvnUbfq6AP9r50uXeML5ofhsqLcz+hS8V1yUfb9cTtMznKZJA0GQxkROPhNPTyi15IRWbf XYjxnhJetUld228QikL+Vhead/BWW0wuLAD2Wx/dT5m4bnb418C2mqLtP9ZbF X-Received: by 2002:a05:600c:4514:b0:431:157a:986e with SMTP id 5b1f17b1804b1-4314a31d357mr28400805e9.20.1729082502956; Wed, 16 Oct 2024 05:41:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEf6DkLObKhMSbcWX25Z8cQR8BxA15anQyPPh8evt92tsHg1K+r+MKmZynxnhYXfRl0KAulLQ== X-Received: by 2002:a05:600c:4514:b0:431:157a:986e with SMTP id 5b1f17b1804b1-4314a31d357mr28400355e9.20.1729082502483; Wed, 16 Oct 2024 05:41:42 -0700 (PDT) Received: from eisenberg.muc.redhat.com (nat-pool-muc-t.redhat.com. [149.14.88.26]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d7fa8ffd6sm4246879f8f.50.2024.10.16.05.41.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 05:41:42 -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 v4 00/10] Remove pcim_iomap_regions_request_all() Date: Wed, 16 Oct 2024 14:41:22 +0200 Message-ID: <20241016124136.41540-1-pstanner@redhat.com> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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(-)