From mboxrd@z Thu Jan 1 00:00:00 1970 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 AB9271547F3 for ; Mon, 14 Oct 2024 08:27:38 +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=1728894461; cv=none; b=qdnFLL5YQUyFmi+aZxGxUFsxU6c7WabPSZ3GrBBXaWV+6ztdMfhJU3Jn+ZY3Q2N5ELeMJPYQERJpwpYE0fTxMhzQ6HQwKesdPXebpPq1yhnIehfjPgup2pAooN7m2H7wG7efrpzyus5flGC1wqjhP8ryUmpi5+BkSBB4OjXORtc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728894461; c=relaxed/simple; bh=TJzj3Ji7bLkY42Y0Qiq/OYG4j5c51i9ljEt10a3JImU=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=ZFyXHEriVWi6c397EpkQK0QOXISmFxaMK9DeFN94FjVjUGb0QlvbjVzUIUXKYNTTTW/O9qpBAbu8RQlYR7knbQg9fhKy3jc+LjFcznyKiW0AlyBFnfzsx5T0cSADcu3cSs6nT5hLYsQTbArNCCV9GQvAPSYrJxVyfJ/VFWUkSCo= 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=PbRNX1Zs; 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="PbRNX1Zs" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1728894457; 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: in-reply-to:in-reply-to:references:references; bh=TJzj3Ji7bLkY42Y0Qiq/OYG4j5c51i9ljEt10a3JImU=; b=PbRNX1ZshN58cYiRytLHe2zuQ+/6rP//QQiSNZCDMlp8SYuS0/B91Aw2FtcjALj5zjxvak jjAirUG570CEmOaIbvA0uByYjfY5PsD60vRsn7XnD3XWNOtGENlrhcygG9HffuR25Ac8MC hMEFAstQLbijM1s+npqa6gdGUXP8AUI= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-611-8Ic6e7PwPmKvm6fw5LJTtA-1; Mon, 14 Oct 2024 04:27:36 -0400 X-MC-Unique: 8Ic6e7PwPmKvm6fw5LJTtA-1 Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a99ea3e1448so113037366b.3 for ; Mon, 14 Oct 2024 01:27:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728894455; x=1729499255; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TJzj3Ji7bLkY42Y0Qiq/OYG4j5c51i9ljEt10a3JImU=; b=EqVsmlMMN4O3Z0lwMshsH2Qe/aGWtJyKwqi6rcd3uTnXm5ofz7jdj+XR2Q8KFOIzsd TXjI5pC1oiMJZCapYE4jcdeTVwv+I2XUxGks9zhsnWsafWOMwS6Q+BYfpzKKSUBlZTzs Qrj+joJN/0doHYLAZiTKnYlfhdvpX9hHOYPUe2KcwMqTVHOYSqn8MGFrMYUnWbGaRsRl MeE2WiDbTKDUYYVGwLOuRC6i/rDHfSCzKBNfKk+3t8XlcaOOKp/2n8kwP3lLW7//Sxj4 s/nb0rZdd7PgVTmzcJDtfPPlRS8cK7HU4aiccwBIkurOR7CWSkyqqeDWNwuyvVmrzRsr wLUw== X-Forwarded-Encrypted: i=1; AJvYcCWpS9Rl2sG4tHCfIEeCINhcyCINNXyNr0Vy/Apq9zXA7ufcVwCg7i2Pp0L0n2K5I7xhhUyRQTQ2GvRp@vger.kernel.org X-Gm-Message-State: AOJu0YwRM+d7PodhUoRglPtu7AFGc6Y1UQpCeiABe+Hjo1/jWtHMXiNf WBORtV6HSZHP0MJGwpBxoztXkytXMP/tmX9gGkX8i5KAh2Dl2RS2TB2PH1GskesvMS/sN4M748b NNg6H9z6Ws2c9skvhtDO/fFJwbB9o9OochCHS1I/Wb2JlkEd9EQ1iMtv2Xi0= X-Received: by 2002:a17:907:d03:b0:a8d:3d36:3169 with SMTP id a640c23a62f3a-a99b95e99afmr1010124666b.63.1728894454857; Mon, 14 Oct 2024 01:27:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IET06hligI0OlzzqWIT8Zxv8HD0sGUV38UYd28vMXZeTZMRv5ATRNZ8cQQeTW6fnRICTxBimQ== X-Received: by 2002:a17:907:d03:b0:a8d:3d36:3169 with SMTP id a640c23a62f3a-a99b95e99afmr1010120866b.63.1728894454431; Mon, 14 Oct 2024 01:27:34 -0700 (PDT) Received: from ?IPv6:2001:16b8:2d37:9800:1d57:78cf:c1ae:b0b3? (200116b82d3798001d5778cfc1aeb0b3.dip.versatel-1u1.de. [2001:16b8:2d37:9800:1d57:78cf:c1ae:b0b3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a0edb1a00sm113812666b.128.2024.10.14.01.27.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 01:27:34 -0700 (PDT) Message-ID: Subject: Re: [PATCH v7 4/5] gpio: Replace deprecated PCI functions From: Philipp Stanner To: Bartosz Golaszewski Cc: Jens Axboe , Wu Hao , Tom Rix , Moritz Fischer , Xu Yilun , Andy Shevchenko , Linus Walleij , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bjorn Helgaas , Richard Cochran , Damien Le Moal , Hannes Reinecke , Al Viro , Keith Busch , Li Zetao , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, linux-gpio@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, Bartosz Golaszewski Date: Mon, 14 Oct 2024 10:27:32 +0200 In-Reply-To: References: <20241014075329.10400-1-pstanner@redhat.com> <20241014075329.10400-5-pstanner@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.4 (3.52.4-1.fc40) Precedence: bulk X-Mailing-List: linux-fpga@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Mon, 2024-10-14 at 10:15 +0200, Bartosz Golaszewski wrote: > On Mon, Oct 14, 2024 at 10:08=E2=80=AFAM Philipp Stanner > wrote: > >=20 > > On Mon, 2024-10-14 at 09:59 +0200, Bartosz Golaszewski wrote: > > > On Mon, Oct 14, 2024 at 9:53=E2=80=AFAM Philipp Stanner > > > > > > wrote: > > > >=20 > > > > pcim_iomap_regions() and pcim_iomap_table() have been > > > > deprecated by > > > > the > > > > PCI subsystem in commit e354bb84a4c1 ("PCI: Deprecate > > > > pcim_iomap_table(), pcim_iomap_regions_request_all()"). > > > >=20 > > > > Replace those functions with calls to pcim_iomap_region(). > > > >=20 > > > > Signed-off-by: Philipp Stanner > > > > Reviewed-by: Andy Shevchenko > > > > Acked-by: Bartosz Golaszewski > > > > --- > > >=20 > > > This is part of a larger series so I acked it previously but at > > > second > > > glance it doesn't look like it depends on anything that comes > > > before? > > > Should it have been sent separately to the GPIO tree? Should I > > > pick > > > it > > > up independently? > >=20 > > Thx for the offer, but it depends on pcim_iounmap_region(), which > > only > > becomes a public symbol through patch No.1 of this series :) > >=20 >=20 > Then a hint: to make it more obvious to maintainers, I'd change the > commit title for patch 1 to say explicitly it makes this function > public. In fact: I'd split it and the deprecation into two separate > patches. Yeah, good idea. The maintainer could squash then if two atomic patches are deemed undesirable. Noted. Thank you! P. >=20 > Bart >=20