Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1360561rdb; Fri, 1 Dec 2023 14:18:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEuxB2pAc5M/XTDb/oxDDKQSVptsRYqgHIfWfSVY4Tng34+XNIZDxTnaWca157v7bbE5KjN X-Received: by 2002:a05:6358:919e:b0:16f:ffd6:7ccb with SMTP id j30-20020a056358919e00b0016fffd67ccbmr314453rwa.20.1701469105336; Fri, 01 Dec 2023 14:18:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701469105; cv=none; d=google.com; s=arc-20160816; b=X0iBOoqYcziXXOfeLVLjx/A/+d7wOwKk+1Q8C0mpJvgrUFScTYNw2QmSmxL7cV6LRf MHDVmeO3pjRPMSOBk+pJ+kTFQOLk5gu2CMa9qFCuvPgo/M3HONAHvUvh7qJObpoYo6tq xbl0UB/vk9yNydGBYUdjdwxprcLBdt2FU0E1Ko31uTUAT0IaeHuI3unL04CUb9zkOL0t d5mPzw1dj5e7az9tDWHUJd3srciF/bxIE+nAYJ+JHLcQbzVdoQloyi5bWAgFQ4o1oRay ojNyxW/z3A4L4NFyPnzwgBaKsjDhODjQMogG8BQgjbEMMyhF5xVgDlwk1KHLeoOI/VWT 9DfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :feedback-id:dkim-signature:dkim-signature; bh=Yf0DCq6uHReIEXb4I8GDi+xTuGOMnvQzeuVfuSfiqD0=; fh=dTtrAcGs2K0uRyVUqjRkO1Is4PnzkiHWJaMmpc6Zsfo=; b=SBKXMIT83g2vMd/Fwdr4o7UJw3RL2YK+I6lBoGNNmpphW3bH1vgOHxpmp5I2EgD0Vq lADiWxgMZnNyH81FhYcsAebEk2NTq8KHMROI4VkiQmETl9DV+k8+KHREkKBarPRm1iJf tb0I20adIlGI6PNHBVvTvu7CO99eJ4HEnvUJtVCm+duGntkdAIDd2KNyi3X/I502xJOZ zDfufj2+n0QAJzISaeC3B/EReXPxg6APtdDjjvX8UNomq331X8hHAI2j5cbb3nlFRWnj CZ9F5VTI10mxsKR8sT8ZU93+PXD16JyRPRgwbldYIXImBiSqIHkuQYtqldM9b4bMnblt Cs8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=OhVX1ual; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=EhHpiTeZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id l10-20020a17090a850a00b00285ba36dc4csi1091712pjn.0.2023.12.01.14.18.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 14:18:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=OhVX1ual; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=EhHpiTeZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 791F385CAA90; Fri, 1 Dec 2023 14:18:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231181AbjLAWSI (ORCPT + 99 others); Fri, 1 Dec 2023 17:18:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbjLAWSF (ORCPT ); Fri, 1 Dec 2023 17:18:05 -0500 Received: from wnew2-smtp.messagingengine.com (wnew2-smtp.messagingengine.com [64.147.123.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBE31128; Fri, 1 Dec 2023 14:18:11 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.west.internal (Postfix) with ESMTP id 132F22B00496; Fri, 1 Dec 2023 17:18:08 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Fri, 01 Dec 2023 17:18:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1701469088; x=1701476288; bh=Yf0DCq6uHReIEXb4I8GDi+xTuGOMnvQzeuV fuSfiqD0=; b=OhVX1ualRwWUKIOdDP1Op+eyMmNsNY9/yG+CBhNxoiyi7ol5pyD ZP0tE9z3n608DUxFND6NXf/km6NYlvp1sobl4u54CJphz9E66Bw3JuGV5aSKjba3 ACmPKAbPl0NwNmEny2JAvegVKeVNCdC/qb3dgCKSljwYDm1PjMgRi+Ds7Pt4BCen Wdf4F9Sm6GaZy52w5enOae2FQw9jzFuJVkBKobEKA4aymWs1ZiduXTo6AX1z8Dwk IuOVzZ0pLxrdHT2RLWM51B+kejHC0ef/GOuUnFtAnoeu1JWiqn0BSOeBRWOnL95d iQk1EChGVa5c1xjuuVjEzeyklZIn0Te7GNw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1701469088; x=1701476288; bh=Yf0DCq6uHReIEXb4I8GDi+xTuGOMnvQzeuV fuSfiqD0=; b=EhHpiTeZg4ikcKwMOfBQBIpa8CV1aHi/eisJy/so0UOP1EidwOc t948VO7F2q5Ql8nngYB6dYNWo9xDciiqel4nILJquaFLjIRxMQbDyYZ/3gcQKk9Y fpAA/81LDdIrIcVIWvIrLyNhy9p0VcwlFuQRezW4koG1jEBgEzD8pGlQDoFT20+Z isymSy2n5jU81yhDmOIuW3fBSXnr3nN6kBq6s8CMSMIXLXZ3AJ+XYYL9nNOJc2+g shYs3U8UnYzA0oNpAJRtYr4lTsjZHSCvCThLX9TiTSrEPJfykyExLCHGSRKZZWTh hT2lCdLH0Rl/xqw2rW6iqI7UhUhE5MQECPA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeiledgudehlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedf tehrnhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrf grthhtvghrnhepgeefjeehvdelvdffieejieejiedvvdfhleeivdelveehjeelteegudek tdfgjeevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id B4070B60089; Fri, 1 Dec 2023 17:18:07 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1178-geeaf0069a7-fm-20231114.001-geeaf0069 MIME-Version: 1.0 Message-Id: <0ed157c7-e0be-43d9-afb1-2bd53b934f56@app.fastmail.com> In-Reply-To: <4bf46893a583551c71bdfbf91df9ccc4b51556b1.camel@redhat.com> References: <20231201121622.16343-1-pstanner@redhat.com> <20231201121622.16343-2-pstanner@redhat.com> <4bf46893a583551c71bdfbf91df9ccc4b51556b1.camel@redhat.com> Date: Fri, 01 Dec 2023 23:17:47 +0100 From: "Arnd Bergmann" To: "Philipp Stanner" , "Bjorn Helgaas" , "Andrew Morton" , "Dan Williams" , "Jonathan Cameron" , "Jakub Kicinski" , "Dave Jiang" , "Uladzislau Koshchanka" , "Neil Brown" , "Niklas Schnelle" , "John Sanpe" , "Kent Overstreet" , "Masami Hiramatsu" , "Kees Cook" , "David Gow" , "Yury Norov" , "wuqiang.matt" , "Jason Baron" , "Kefeng Wang" , "Ben Dooks" , "Danilo Krummrich" Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Linux-Arch Subject: Re: [PATCH v2 1/4] lib: move pci_iomap.c to drivers/pci/ Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 01 Dec 2023 14:18:22 -0800 (PST) On Fri, Dec 1, 2023, at 19:56, Philipp Stanner wrote: > On Fri, 2023-12-01 at 15:43 +0100, Arnd Bergmann wrote: >> On Fri, Dec 1, 2023, at 13:16, Philipp Stanner wrote: >> >=20 >> > -#ifdef CONFIG_PCI >> > =C2=A0/** >>=20 >> You should not remove the #ifdef here, it probably results in >> a build failure when CONFIG_GENERIC_PCI_IOMAP is set and >> GENERIC_PCI is not. > > CONFIG_PCI you mean. > Yes, that results in a build failure. That's what the Intel bots have > reminded me of subtly before, which is why I: > >>=20 >> Alternatively you could use Kconfig or Makefile logic to >> prevent the file from being built without CONFIG_PCI. > > did exactly that in this very patch: > > @@ -14,6 +14,7 @@ ifdef CONFIG_PCI <------------ > obj-$(CONFIG_PROC_FS) +=3D proc.o > obj-$(CONFIG_SYSFS) +=3D slot.o > obj-$(CONFIG_ACPI) +=3D pci-acpi.o > +obj-$(CONFIG_GENERIC_PCI_IOMAP) +=3D iomap.o <----------- > endif Ok, got it, looks good then. Arnd