Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1258418rdb; Fri, 1 Dec 2023 10:57:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7sx9kO0VYrN7jr/tm1E3GxOFd0MBahkZ9x4iKBVVBA8z6KVw+oHpY+aHIOCWVD3lVQHGU X-Received: by 2002:a05:6a20:2447:b0:18c:23b0:3b0e with SMTP id t7-20020a056a20244700b0018c23b03b0emr26484717pzc.21.1701457015181; Fri, 01 Dec 2023 10:56:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701457015; cv=none; d=google.com; s=arc-20160816; b=NfJE4kWZ9n0f8xcbPLJV03QwPxuCcUFltiwJkPNn3GnXfSCE7HRFuljGkOwBWjI9wo 5muyuHgoLlH1LM8CTYpWfANkQiG/Bvjh7QpVcLWBpAELfdB8m7rnj9x4f18PsEvRxjqv RsHcdn+TTlNDOMutwcq+xe2/LNDnfm0DSXXL6qESf3MIkCfCmi2pH8IEAZfEqluOrexj ZNPUtpN9879qF997dfIDqJakQywIG+J4htbUJ3SmSlAl/fBTFhEyJ5n1sPzl8j65wOD1 oU2G4Re1k2cKw26h4p8D8m5AQm640kJ3G0G0IFzZRyLCuziJtYWgnTghwj8rf5NfcJjq Ohtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=knBMShKmFlUoH2r+m1jr6Ik+IHyXp9YX9Nzcxs2hiqc=; fh=n8YR8/oupl9J19a4CfVNy2SgkSZEpjR2UkcDHAII7KI=; b=wmVgBsa/z9/WA1WdSsXrO1XDDU7l9pZzJYj18cL2/hv0v+mDrcNJ/QXtYEMn097132 KFY+eijVTjp2PgHaqvervkEG62exvEVXuJBV/ZlrlOB/caEhFYehnepF+UUBtZsLwFUs xUiA01ynMyShTnwj38sTRBgIKz/V8Vt+9xOi6y+JK+60HdAcS89UKBalPwZoLJnzqH3q +UiIjtpz6hOePi73l51iplINfTVV/XQxWJPvB2A04Q0RUIahry7+gH4dxVPIXjL1GKUv 9CT4nYXhh+IouG5iID2trBBJWxF3Sc3ynwHhM/ejuCUjUxN8sN+D9xjtjUnj0nzui+b2 6XYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ddI24IQJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id u14-20020a056a00124e00b006cb8cbc9bb8si3700514pfi.284.2023.12.01.10.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 10:56:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ddI24IQJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C36DE805E53A; Fri, 1 Dec 2023 10:56:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229562AbjLAS4j (ORCPT + 99 others); Fri, 1 Dec 2023 13:56:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjLAS4h (ORCPT ); Fri, 1 Dec 2023 13:56:37 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F4A410DB for ; Fri, 1 Dec 2023 10:56:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701457003; 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=knBMShKmFlUoH2r+m1jr6Ik+IHyXp9YX9Nzcxs2hiqc=; b=ddI24IQJeZXmLka7MOcyU5PFjzIEfapnFllumudlnlbukzH5QJvQrRKJW8mU0TGuOvm6i5 rPibpdQNhhaqgYgAs1mnxwH5JHHpd8638amOFjPnyxv/GpZ8PmxLmnoAYKzwhAdUNHVe33 SimmXQl4TNhWee4M4LidaYUf1OtBNUY= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-241-TUAtOt7VNhWPpZlIFdgsvQ-1; Fri, 01 Dec 2023 13:56:41 -0500 X-MC-Unique: TUAtOt7VNhWPpZlIFdgsvQ-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-3333260b3c6so135117f8f.1 for ; Fri, 01 Dec 2023 10:56:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701457000; x=1702061800; 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=knBMShKmFlUoH2r+m1jr6Ik+IHyXp9YX9Nzcxs2hiqc=; b=ETvQgnt5FZKSHEUtJpOLoVs8bTynS4yUzvsgRBNVDsqEZg84unj0I69E646l+ZtJ+J 93DqJ8EkHOKFKDS65EtO8hme8AVNtnTTdPLosBOtrxWpJU30+rMgf9ydJnS/aBvib8xF PFAlV7+FtbvoUJbos/ixqbL4TfPgE6tROiR7kDg2i9BAL3qlwKYtVv57UTaS9PLdzmNo F16PInHpqyW4DEXC7Dq00ihYxlc6I7hlSoMGcEl8Vxb1BB72cEfNmY1ITVPT7UDIhhAC xjkA+q5JW5KQVgKqk46ABIKQVJyyXTKda+U/nFZvMeZwiUzo2tTfBSp9n4fhizNmSaxw +IBw== X-Gm-Message-State: AOJu0YzmTVGWU63ZcLf4y4Mz6F3Z2e0+wtp9ZQ8RC9eSmUHAgEXRS331 NBhDS2Y3VxinHwbA0hgEB852XwdQ8f9OFMK5/ERm1K9h4zfgcsQt0EmBJXoZ9jPa9yXyL/5oIRd vV8WNtt2oM6GuiD67aEF1YHEw X-Received: by 2002:a5d:6c6c:0:b0:333:30ff:1f69 with SMTP id r12-20020a5d6c6c000000b0033330ff1f69mr2267079wrz.2.1701456999975; Fri, 01 Dec 2023 10:56:39 -0800 (PST) X-Received: by 2002:a5d:6c6c:0:b0:333:30ff:1f69 with SMTP id r12-20020a5d6c6c000000b0033330ff1f69mr2267048wrz.2.1701456999652; Fri, 01 Dec 2023 10:56:39 -0800 (PST) Received: from pstanner-thinkpadt14sgen1.remote.csb ([2001:9e8:32e2:4e00:227b:d2ff:fe26:2a7a]) by smtp.gmail.com with ESMTPSA id x7-20020a5d6507000000b003296b488961sm4857046wru.31.2023.12.01.10.56.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 10:56:39 -0800 (PST) Message-ID: <4bf46893a583551c71bdfbf91df9ccc4b51556b1.camel@redhat.com> Subject: Re: [PATCH v2 1/4] lib: move pci_iomap.c to drivers/pci/ From: Philipp Stanner To: Arnd Bergmann , 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 Date: Fri, 01 Dec 2023 19:56:36 +0100 In-Reply-To: References: <20231201121622.16343-1-pstanner@redhat.com> <20231201121622.16343-2-pstanner@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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 morse.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 (morse.vger.email [0.0.0.0]); Fri, 01 Dec 2023 10:56:53 -0800 (PST) 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 P. >=20 > =C2=A0=C2=A0 Arnd >=20