Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26527609rwd; Mon, 3 Jul 2023 10:55:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6lhCDFyO8lrFgzoOkKeEA8HuE/0iiwopqLbnnieen/BdDQ71Hg3isjgJfsfTi45DXR9qDR X-Received: by 2002:a05:6870:669a:b0:19f:1a92:6e1a with SMTP id ge26-20020a056870669a00b0019f1a926e1amr10910338oab.5.1688406926750; Mon, 03 Jul 2023 10:55:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688406926; cv=none; d=google.com; s=arc-20160816; b=Sia3BfvYniMp8wlkMnpbAGZQq+wSaqEqcw+Hg/+lyCd3kKz0JoZyTYx2JSWLCi+Fip mH8czXhCXZlVbh8al0z0vTPhIhPqRn6oujUkdJGXtCvHPTttwMw4JeOmYV9vlU+6g5pG Ztlo2yXN3M2sqM7ktBkWK9Bk0GsIiTGQGNFMrCRLstjPJW2/qE8WAqPS0zEnaeoLukoF XGacQxfIMivgPVKcTOxnXUqQmk5zcbVu2uFMlLvw7U+ehZKGJ2ZIfs0mR+zCzTfV7qRi cXFmaX0JowdWXe2XpFe/7bTy6Z7ZG65AzmzrplYi7SmOnhjG6mXOKFuoNa1dRqQO1keB yopA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=EsgqKZ9robWVs7AGUy1BZgaLGpaMIlLWR1D43oXXoas=; fh=9LFdcczFGki62IuTzsm+bp3B4FbLPeJNaN8L+8IwxUA=; b=Itgcx4btWPdz+wtW1I2qd7dI7CCB96wQmBKbUHxpezQboXs7R/TFpg2FrIR8XfIH2x JvkJ4/uPrjzDFxOVnjHaO5/+SM3mGiN4eZB5GTskrLz9CqzWLtDtxJ6owBLDanOHKxih tcyuRez5A71fRSlrwrVlTHBUCOiBWtJMo9PENogvfA7htFM9Yg6GRh7uJUOQbjMoICqB okVyIOiLT7++Rd6rq81z8vpAKB2mgYyU0Lqdi+D48njjxVns5id6LwoduXUoNKs/At0N YcxQxdf9c06YnPzSVkL4eRxHXNedAg406yC86DsO7uYBpD0eAoEDztIBC5jk6cWM9IOq EhuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HGw9CZ5r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s24-20020a63f058000000b005537a94f14dsi19411120pgj.844.2023.07.03.10.55.11; Mon, 03 Jul 2023 10:55:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HGw9CZ5r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230256AbjGCRmi (ORCPT + 99 others); Mon, 3 Jul 2023 13:42:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbjGCRmh (ORCPT ); Mon, 3 Jul 2023 13:42:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B908CE; Mon, 3 Jul 2023 10:42:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9D2B560FF0; Mon, 3 Jul 2023 17:42:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96D55C433C7; Mon, 3 Jul 2023 17:42:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688406156; bh=N8wxrNCYvX8wNW2cTR4uro5GUwtNXUBwLv1PJ0Yqmdo=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=HGw9CZ5rItbgVEwHO5VhZTeGdt3MiKy0uJpM+1co8ZR01wOTNeoPjA3q0afX624ob uGbItAxPuuTdJYsY6anIl6vpsLrFVRNFrlGsJRqLap657jrv62rhIGono2Lz4I4Afe oxNcz4Bq94xsZg9Q84eVbIk52eTM8eG5TGqE1Ol/esaxw43yBLkNlWFKqvFgDuXdr1 pFjbxD8JQYAuxH5DuqFeN2p+38iZLu3EVO5sZ10aepz1iOQRoZBSOq8mzvPn5hixrO zVM/H6X0zo0aZuEilP3l5QeSFGZ2tKA48sSJNnfnYSHzLAIQC7WuamBFxqUi4xZtIA AJiv5ogzqS6qw== Date: Mon, 3 Jul 2023 12:42:33 -0500 From: Bjorn Helgaas To: Niklas Schnelle Cc: Bjorn Helgaas , Arnd Bergmann , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 0/2] PCI: Handle HAS_IOPORT dependencies Message-ID: <20230703174233.GA529479@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230703135255.2202721-1-schnelle@linux.ibm.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 03, 2023 at 03:52:53PM +0200, Niklas Schnelle wrote: > Hi Bjorn, > > This is a follow up to my ongoing effort of making the inb()/outb() and > similar I/O port accessors compile-time optional. Previously I sent this as > a complete treewide series titled "treewide: Remove I/O port accessors for > HAS_IOPORT=n" with the latest being its 5th version[0]. Now about half of > the per-subsystem patches have been merged so I'm changing over to stand > alone subsystem patches. These series are stand alone and should be merged > via the relevant tree such that with all subsystems complete we can follow > this up with the last patch[1] that will make the I/O port accessors > compile-time optional. Is the merge plan for each subsystem to merge this separately? I acked these so they could be merged along with all the tree-wide changes. > As for compile-time vs runtime see Linus' reply to my first attempt[2]. > > Other than rebasing on current master there are no changes to these > two patches for the PCI subsystem. > > Thanks, > Niklas > > [0] https://lore.kernel.org/all/20230516110038.2413224-1-schnelle@linux.ibm.com/ > [1] https://lore.kernel.org/all/20230516110038.2413224-42-schnelle@linux.ibm.com/ > [2] https://lore.kernel.org/lkml/CAHk-=wg80je=K7madF4e7WrRNp37e3qh6y10Svhdc7O8SZ_-8g@mail.gmail.com/ > > Niklas Schnelle (2): > PCI: Make quirk using inw() depend on HAS_IOPORT > PCI/sysfs: Make I/O resource depend on HAS_IOPORT > > drivers/pci/pci-sysfs.c | 4 ++++ > drivers/pci/quirks.c | 2 ++ > 2 files changed, 6 insertions(+) > > > base-commit: a901a3568fd26ca9c4a82d8bc5ed5b3ed844d451 > -- > 2.39.2 >