From patchwork Fri Aug 16 08:22:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philipp Stanner X-Patchwork-Id: 13765724 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 C86531D69E for ; Fri, 16 Aug 2024 08:23:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723796603; cv=none; b=LzD3yUu45YpJcdDbAo88YLxDE/KuHS+xXiZctAeB7qmClWQt1uZRm3ZpT+USXJZeNqPrf23v3TgGCpX6kiju8cr3dwd6pUmPSjJ1591n05N+GHKGwRPRqD1C8JXm0eqLdVKYrNMuOMkE+iBVCKIq6+gb4bY8kcGiQk486aB6RWo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723796603; c=relaxed/simple; bh=4A0ETd89A4IfgAb0abySs/aZMqbIWPs9HprUGPN5QFo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=PyzqWwwgj5KPGR/ddPfVAqTvzGJPuDy0reOhm9UCXLgCRrRIa6t4kOkeLZ+8yDVjgFDo0MWxo72AyDd05hLUEs8695vkYj25VfwP2/EK+CmGxsdbL58Boj6nD2Hx45Fr+olGQ+FjIkQUavIecuHrWw9EVWD9SaUh6/4G4CKMFVA= 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=U8dHoJEC; arc=none smtp.client-ip=170.10.133.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="U8dHoJEC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1723796599; 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=TrimoxVS1Kj7egtxDkUB7ViRlj0uS++glrAveWNoQyY=; b=U8dHoJECwwm+gKRsyEyCry920d56qngyEgf6rE/81PpLTpAveI7nHOZTYg2fcT/3CYN5mN 1TlLrQEpjY1nLBKq44SVgBPl+hwYwnPZXtL/FaXV+zsw5rRGNQEQf08BEn2Pq8eQdl6H4N VEMV1irrGk46eDQWE0lJFxy+NPtMKo8= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-100-H2McKB-yNXSmwoOgAAIZgQ-1; Fri, 16 Aug 2024 04:23:18 -0400 X-MC-Unique: H2McKB-yNXSmwoOgAAIZgQ-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-428086c2187so3162435e9.2 for ; Fri, 16 Aug 2024 01:23:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723796597; x=1724401397; 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=TrimoxVS1Kj7egtxDkUB7ViRlj0uS++glrAveWNoQyY=; b=NEEIjl9AWnU+CUA4B28RPgGBgu22Aah0cwvO6F6dSKBwDIY1GysOL4qS6Ak1XFvWmt cG4q96VZr2yugTRLDef1MJ5o6cTwSLsImqyPLJlI8jHm5AikXXEYdLaIuqdWb/3Hrmac 7Uyz4q0Y5TyFqh0JIR+3uXiafrN4ry46cH9XMSSYjQ3XLa2KpUX/yRY7oMIHYVQsc9KU RKr7lExtDNWbzgWdV1IVka6tQGHmJLBssVVV0v1WRtN09pQA02La1zM5b4UDmuwpskqI o3BSFHx7ZIlnh6skT2+YpddoU1e10BeE8m5ZlOt3xxXd1pm0ZI7FcVIvRSn3oLOkvGPo IM8g== X-Forwarded-Encrypted: i=1; AJvYcCXddSlWcQ3K62a7jypah5w7eDHjZzgHF3zxFSWYJ77u9df/CzRPc0ifCvYqzn/LR9WUjoVtIZeb2Q/PVz9qhj7kqzhvgFXbNtXrof2I X-Gm-Message-State: AOJu0YxgxXlhbfAjWMjhGUiwTcLGHaX9IKOnl92IfqTGNIoZLqNQt5l2 i7eUJQzwPQalcJK6vzBQYOxmkS1f3bpu6XjzRFKWJmUeoI10wbcENkCbT4LSBmzBIAZe4H8xcFr Io8i//LkBNGSrElsl8A654zVU7SIdXBL1btk40BAoqHcLvaW1SoxGlxDqB6mX8g== X-Received: by 2002:a05:600c:3ba3:b0:426:5f08:542b with SMTP id 5b1f17b1804b1-429ed630745mr8193995e9.0.1723796597028; Fri, 16 Aug 2024 01:23:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHv8X8ePSzchNamGEsYdfB/6Vd1EEN507cd6x8fbad0HupSX3+xiP7ZxfNzBVa2X9ALcjUjSQ== X-Received: by 2002:a05:600c:3ba3:b0:426:5f08:542b with SMTP id 5b1f17b1804b1-429ed630745mr8193805e9.0.1723796596484; Fri, 16 Aug 2024 01:23:16 -0700 (PDT) Received: from eisenberg.redhat.com (nat-pool-muc-t.redhat.com. [149.14.88.26]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429ded367ebsm71461355e9.25.2024.08.16.01.23.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2024 01:23:16 -0700 (PDT) From: Philipp Stanner To: Giovanni Cabiddu , Herbert Xu , "David S. Miller" , Andy Shevchenko , Jie Wang , Shashank Gupta , Philipp Stanner , Adam Guerin , Tero Kristo , Boris Brezillon , Arnaud Ebalard , Srujana Challa , Nithin Dabilpuram , Bharat Bhushan , Alexander Shishkin , Miri Korenblit , Kalle Valo , Johannes Berg , Gregory Greenman , Emmanuel Grumbach , Yedidya Benshimol , Breno Leitao , Jonathan Corbet , Bjorn Helgaas , Mark Brown , David Lechner , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Jonathan Cameron Cc: qat-linux@intel.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-doc@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v3 00/10] Remove pcim_iomap_regions_request_all() Date: Fri, 16 Aug 2024 10:22:52 +0200 Message-ID: <20240816082304.14115-1-pstanner@redhat.com> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 I removed a ton of people from CC and only kept those who's approval is pending. 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(-)