From patchwork Mon Aug 19 16:51:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Stanner X-Patchwork-Id: 13768713 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A9E21C52D6F for ; Mon, 19 Aug 2024 17:01:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=oDgCmWXPsT/ByKSJo2B5hdxGUNecM9yTJg3LqwyPBvM=; b=UjSe8SJ5m0TRCqGIYo97DnMfsb 7ga/m1caQmaeGihql3dr03Hwptr4gfjnM/vQt6dj1sAaj7bjpF07/c/H83w0bkP26as3bpThuJVSB 5J5gzH9GPW/3uJvAgrFNXe9DeNkfe+sB3Bj6Jx9Frk8j3//lgP1oOPbTaTaswFMDsvibeRbuDconp sVdhi3yYYw+NuQUb3bWlu5dXqGkuPc71BXsZ+HBgHTjWBvqDve0i4xvAukC91B3Zdom2lniigFyKD WLfy7o8Ilf7YlOrEwWSgxcyPcKIJTy/h8RtygwWOCxxjYUPEySr4Trs55gDisUsf+cYBHkhKQQhFV Er8EnJZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg5ka-00000002IGQ-2Bb5; Mon, 19 Aug 2024 17:01:00 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg5ce-00000002FcC-3U04 for linux-arm-kernel@bombadil.infradead.org; Mon, 19 Aug 2024 16:52:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=oDgCmWXPsT/ByKSJo2B5hdxGUNecM9yTJg3LqwyPBvM=; b=qFa7Zoj9YAgbd6HHlZpCHZPdtO MQI5Vr43ngEdP0D+TX9aqkt3wMeFY08CoV6hK/S6VMxtO0oeSuqE/PQ2/33JJn/72OslSE2P2pni3 bfTQPdiWKfBL9U7l9s5fo29+MKvnhw2lLyp6TZG5mhOU1XVnp1/Evnm433H65Gtjp/L9SFKahs1PM RaaSRNC3X52WCIKzqSVmymbhT2PTxb39B4I+hl94BlBqjWVcixUH4r2ZFIBGqFTA5l61O/vMg480O Dky21gFnXhzga+a37eqbXvDL+lWppuRm9SYga4vEWgtc2qbOCkRmAnVZKEKxBfyixFt2gnMjheEIC iEbS5cpw==; Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg5ca-00000009AuE-22Ar for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 16:52:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1724086354; 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=oDgCmWXPsT/ByKSJo2B5hdxGUNecM9yTJg3LqwyPBvM=; b=c3PIROzYChOEkCMNL3+JKDkdWxx4sQ5XmLezRLblRFvPM5M6pLNNx3PR0bJd5N9TA4heYV toYrFMiQrZRmQLc7EFd1Gvs4BIPgUWCKWlh1aY++evT3PiI8QWtoAUgnZ+dppkbM+j64ym 2SVGqcA24+Sjto/y4QjPLxlew08/yWI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1724086361; 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=oDgCmWXPsT/ByKSJo2B5hdxGUNecM9yTJg3LqwyPBvM=; b=C9RNl0QkxPl+Dww/0YyYhq1dr2lYhLQOgWkq7km1CYwTZ/Mu1gYuPak+C6wSZ1fbvquQXS LGFkQIWCaXhmOWF9vbbC/1P4h7UMR2kI/KvCj1jZbPOdK9u4ncKV3SjtR86J+mmqjap9eM 7/SJkpSskh9M9hDxoA4u543CG4MD6NE= Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-126-I3nEa-saMg6yA-nH8uSK2Q-1; Mon, 19 Aug 2024 12:52:30 -0400 X-MC-Unique: I3nEa-saMg6yA-nH8uSK2Q-1 Received: by mail-ot1-f69.google.com with SMTP id 46e09a7af769-7093752a9f5so827675a34.1 for ; Mon, 19 Aug 2024 09:52:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724086350; x=1724691150; 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=oDgCmWXPsT/ByKSJo2B5hdxGUNecM9yTJg3LqwyPBvM=; b=GYkmsZuSJ61bzLDpHY/uZ2KAuqHBS8hV0Om2mgQ9etRBjmPQ/Ub62lG/fatq/JqAOe 8LQsWObzqYilrQ74YvZ4tKSFap2qW7G7dpJ1w/5KuposjIWjyH1qDxYUgFry5XhRAv1m hRy9rl+c4Un5MhTbr4Xrf0BjqPFvw1Nmak5ZA+SYBDPuhpqBupweALmrX4uTotsx4/aW Tx8+T1obDfFLZ3V4I13WTOOmHrnkxEfQeR6WDf+Ks9NGr2GI2mvlbaF4ftomy6W68gEy 2Ehx6u2cncPjz44cILopZjNPdhCfoCF35+0vvrDv1Nz4u5tr/977QVJKwuHNwPneB8B3 CnuA== X-Forwarded-Encrypted: i=1; AJvYcCX9Ngvjn2RtGrh2bjjoL4tNSEOU/u6L/ErdUc8eU4yHGAAAKco0ECG9K+v41trkiaAztA7gkwOQos0CBn1BGeKR@lists.infradead.org X-Gm-Message-State: AOJu0YziVQv0wQPaNZ31pSkhceZSNHia+VmMqk4IhT0dfTs2g85fSHJJ IbVoHNow39mTKVs3j3QVYptECxklkOe0ZrcHiwlbZ1XPS4eA9jnnhOuYxJGY+74KvKYBnPaUZGU abQ7xui0dHtogMq8MyFdfC6+1UhHIg6dovuxSxW3H38GYEgPMnzHk+7lwwZfk+eV0kFhcSXDo X-Received: by 2002:a05:6359:4c87:b0:1ac:a26c:a5e8 with SMTP id e5c5f4694b2df-1b39333e0c1mr737787055d.4.1724086349977; Mon, 19 Aug 2024 09:52:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEksR+Cpw2eRNuHRkEIfwdvURGCWFxAEIEKM8Aw05iYSBMnqj3x39V0KKigIE6pVo5nSVtsiQ== X-Received: by 2002:a05:6359:4c87:b0:1ac:a26c:a5e8 with SMTP id e5c5f4694b2df-1b39333e0c1mr737785755d.4.1724086349577; Mon, 19 Aug 2024 09:52:29 -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 af79cd13be357-7a4ff01e293sm446579885a.26.2024.08.19.09.52.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2024 09:52:29 -0700 (PDT) From: Philipp Stanner To: onathan Corbet , Jens Axboe , Wu Hao , Tom Rix , Moritz Fischer , Xu Yilun , Andy Shevchenko , Linus Walleij , Bartosz Golaszewski , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Bjorn Helgaas , Alvaro Karsz , "Michael S. Tsirkin" , Jason Wang , Xuan Zhuo , =?utf-8?q?Eugenio_P=C3=A9rez?= , Richard Cochran , Mark Brown , David Lechner , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Jonathan Cameron , Philipp Stanner , Hannes Reinecke , Damien Le Moal , Chaitanya Kulkarni , "Martin K. Petersen" Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-fpga@vger.kernel.org, linux-gpio@vger.kernel.org, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, virtualization@lists.linux.dev Subject: [PATCH 0/9] PCI: Remove pcim_iounmap_regions() Date: Mon, 19 Aug 2024 18:51:40 +0200 Message-ID: <20240819165148.58201-2-pstanner@redhat.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240819_175244_867780_6698F705 X-CRM114-Status: GOOD ( 11.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Important things first: This series is based on [1] and [2] which Bjorn Helgaas has currently queued for v6.12 in the PCI tree. This series shall remove pcim_iounmap_regions() in order to make way to remove its brother, pcim_iomap_regions(). @Bjorn: Feel free to squash the PCI commits. Regards, P. [1] https://lore.kernel.org/all/20240729093625.17561-4-pstanner@redhat.com/ [2] https://lore.kernel.org/all/20240807083018.8734-2-pstanner@redhat.com/ Philipp Stanner (9): PCI: Make pcim_release_region() a public function PCI: Make pcim_iounmap_region() a public function fpga/dfl-pci.c: Replace deprecated PCI functions block: mtip32xx: Replace deprecated PCI functions gpio: Replace deprecated PCI functions ethernet: cavium: Replace deprecated PCI functions ethernet: stmicro: Simplify PCI devres usage vdap: solidrun: Replace deprecated PCI functions PCI: Remove pcim_iounmap_regions() .../driver-api/driver-model/devres.rst | 1 - drivers/block/mtip32xx/mtip32xx.c | 11 +++-- drivers/fpga/dfl-pci.c | 9 ++-- drivers/gpio/gpio-merrifield.c | 14 +++--- .../net/ethernet/cavium/common/cavium_ptp.c | 10 ++-- .../ethernet/stmicro/stmmac/dwmac-loongson.c | 25 +++------- .../net/ethernet/stmicro/stmmac/stmmac_pci.c | 18 +++---- drivers/pci/devres.c | 25 ++-------- drivers/pci/pci.h | 1 - drivers/vdpa/solidrun/snet_main.c | 47 +++++++------------ include/linux/pci.h | 3 +- 11 files changed, 57 insertions(+), 107 deletions(-)