Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2810172iof; Wed, 8 Jun 2022 12:30:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztsfLxG3X1it+IFrtc1fdSHf076Vdk8dVcAzxxI0foQ4mWt7jD329X1X0U/n63o+I4I1K0 X-Received: by 2002:aa7:d14c:0:b0:42d:bbab:43d6 with SMTP id r12-20020aa7d14c000000b0042dbbab43d6mr41572052edo.15.1654716604683; Wed, 08 Jun 2022 12:30:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654716604; cv=none; d=google.com; s=arc-20160816; b=n4nEIB5bcmGV7qIysh0Jz5AKhZJZDblkEu9gSSwv1yb/T5Rj0sTrEci9EZd2EAMCEY I++hPoaahJLja8JLoFl1Lixz/l4AEDIS4F2SIE6jh0WrSdZXxodX/QbRCWcskjn7jG++ 6T8hZV4ZIpIqOyV7OBTME+l18c7UAkpjIwGEZqJC587ZwasF3bkayEuOzfumyC4qLlvI Yxwt99gZJY2P2FlrWKNLgkQGjFkLteAU3862Ewe5ArFFtMu22cF2kjNVHeNR349urKCN +ogq75ruxdGw9vq6nuP0DP8qxLkI3uJxm+t0orO5YQ8nhz9sbmFUIj6XLZBBJsfycgVF 5fwA== 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=LMVByKZyKRWQcgxHxPPtysgMvNCtk90gLFSOzMCR7OY=; b=i7LShT9AaTdCW/QTMZbH+OdwiMVcNmjCbtQyN/NaRrZVqncoJ8IiuRByIjmw8MOss5 rFZnQIgHtdXwqS3VzgQ4TOL0shn6qY9D+vWVeOli5VYOEcsGsI2iut6ELjjq5w63pmx4 l9pKaT+//FokiRQyra0OI0Up3Swc1mlWRWhUPGqRNDAXM/QMwJ9KVMH4B/vzk24Wvahm DlRK0Pb8uVVHlhUYLCxgm2JNUgceH01tYY8eMj5BAg+NF2teB5PTzk0umXJ+uloFSSMU Jf1S20g6Albw3InY9rPkeny0+ohEC/ZYrJej6sRjd26tGjhqCf2k/VTHpxJ2uMwu8/jj JlNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cmmAYTA9; 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 lj16-20020a170906f9d000b006f88b28f31asi20411294ejb.382.2022.06.08.12.29.36; Wed, 08 Jun 2022 12:30:04 -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=cmmAYTA9; 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 S234322AbiFHSbA (ORCPT + 99 others); Wed, 8 Jun 2022 14:31:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234174AbiFHSa5 (ORCPT ); Wed, 8 Jun 2022 14:30:57 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84A16371A9A; Wed, 8 Jun 2022 11:30:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id B5E9CCE2AB5; Wed, 8 Jun 2022 18:30:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BCEEC34116; Wed, 8 Jun 2022 18:30:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654713052; bh=b9/kuuRQQRjEDP11Tq7tcmL9Mh2gUfgYbjzpa6WdSrk=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=cmmAYTA9PuNar1v31NXBSFYDEJA0kA20A8iYlUj2z07K+0UOJkLA/CZbuzBHZ6vsu S8C42PmLhQ76TfkCd89qmGUHz6GULFUCBNmaS/5Y+AWmiDj4nBm2p8C3ArL1QmuU/i Nh4U0izTFw5tBBZbuF6I8HZlyxoo4AJZIYdwAAIQnIUPiLujS9lI8FtZgYEGOsc97i WZ6rCZwYnKjjogI100alNR0f1ChfcmPDF+4KoMw+mi7Iln0vIIHb9VMl9wLEmDf2dz xaS2/bJd6t+vdinpU7ZR5W+XSIFJAmKySS/DdH6rZnKDwcScsP3kA94n4P+ztvFqu9 4hzsWson2Ee2A== Date: Wed, 8 Jun 2022 13:30:51 -0500 From: Bjorn Helgaas To: Niklas Schnelle Cc: Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , Bjorn Helgaas Subject: Re: [RFC v2 23/39] PCI: make quirk using inw() depend on HAS_IOPORT Message-ID: <20220608183051.GA409319@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220429135108.2781579-40-schnelle@linux.ibm.com> X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 In subject, s/make quirk/Make quirk/ On Fri, Apr 29, 2022 at 03:50:37PM +0200, Niklas Schnelle wrote: > In the future inw() and friends will not be compiled on architectures > without I/O port support. Commit log should say what the patch does. Even if it's in the subject, make the commit log stand alone. With the above, Acked-by: Bjorn Helgaas > Co-developed-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- > drivers/pci/quirks.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c > index da829274fc66..27db2810f034 100644 > --- a/drivers/pci/quirks.c > +++ b/drivers/pci/quirks.c > @@ -265,6 +265,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_CBUS_1, quirk_isa_d > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_CBUS_2, quirk_isa_dma_hangs); > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_CBUS_3, quirk_isa_dma_hangs); > > +#ifdef CONFIG_HAS_IOPORT > /* > * Intel NM10 "TigerPoint" LPC PM1a_STS.BM_STS must be clear > * for some HT machines to use C4 w/o hanging. > @@ -284,6 +285,7 @@ static void quirk_tigerpoint_bm_sts(struct pci_dev *dev) > } > } > DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TGP_LPC, quirk_tigerpoint_bm_sts); > +#endif > > /* Chipsets where PCI->PCI transfers vanish or hang */ > static void quirk_nopcipci(struct pci_dev *dev) > -- > 2.32.0 >