Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20677589rwd; Thu, 29 Jun 2023 05:47:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5rJjg1X/WnF1fe0bBBUha1Paz+u/Ej90Zg9jkhXN4cEfjJ4z6ispLmjHJP5Y9z4+XDm+4u X-Received: by 2002:a05:6a00:190a:b0:66c:9faa:bb12 with SMTP id y10-20020a056a00190a00b0066c9faabb12mr18302577pfi.9.1688042837805; Thu, 29 Jun 2023 05:47:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688042837; cv=none; d=google.com; s=arc-20160816; b=lXs2WwpB0XulDh3I30BP6GOQFA18qzEydgl8bDim0P0pRhaibqvVEe4+MPjxej5Uuc SAMv5OrIzzcTd1rUDtcnJ/LXi7mYdkO9xs+n9US0NWtXpyU80DQtQLA8ta6nLEgA6VXB C7Prz0I4Z0i9Zw4CbgJhm+inIV8/zVuOlxWfwmnCNABYEvn2FnVCPEivEr+2Zn2vzD9Z AWzgF8ayQIlheGIFLQ5br0eCjAsn4QPR8GLAg2/1avAxtK6hbG9Xw79Fl8pChJm4wQYA MMLCnykbcdLrmhIDiXzX4zfhRHcQ331gJs/I+n1Tz0nBB3aciLyda2Fv9zXHmTxBxJq8 lkLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=bTG+9AqapEnTzTdZN+3/z4mAZ7LW415XlukWbIMXEK4=; fh=vUnX84KOtFUdKlMR888mhfOb/xbruGgEymxxp3UdG6E=; b=zm+jDVtwdy+yI748112oQJDl6Mz7hhsj+QntXYCBHAPbUS/olwBAswVCH9dLd2YB2T MFyeF64ZGCG7PXGnpSyh9smb34aEM7SyPUd6Sd1Cs0VgqYwPU42NFKEQdCxMQLd+cP2i al3KSLFEsoHls/kWVvhx+X5pc8o8dS59RhIdB7LK3ifmygOUJ8rCceo5OmPgqj7Yjczq G8WguAXvqSbw1MOVaVnc+GSwWtJN5MuY8n+BPtFi009EnKe2eqzUMoAERvdPRNwHkod7 jRmpkB+PI+878MTFo5Bho9lpjrujk563+/5wsrXR6sfyjdzoWWBUictCmtIu8CfbkseC BUQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=jVer3ZsY; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=CccPJWvx; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 18-20020a630e52000000b0055b553157a9si218296pgo.827.2023.06.29.05.47.05; Thu, 29 Jun 2023 05:47:17 -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=@arndb.de header.s=fm1 header.b=jVer3ZsY; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=CccPJWvx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231609AbjF2Mg3 (ORCPT + 99 others); Thu, 29 Jun 2023 08:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231496AbjF2MgR (ORCPT ); Thu, 29 Jun 2023 08:36:17 -0400 Received: from wnew3-smtp.messagingengine.com (wnew3-smtp.messagingengine.com [64.147.123.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB9F6297B; Thu, 29 Jun 2023 05:36:15 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.west.internal (Postfix) with ESMTP id 3C0B92B00163; Thu, 29 Jun 2023 08:36:08 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Thu, 29 Jun 2023 08:36:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc: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=fm1; t=1688042167; x=1688049367; bh=bT G+9AqapEnTzTdZN+3/z4mAZ7LW415XlukWbIMXEK4=; b=jVer3ZsYEpv4oKp9MB szsrrrdYGu7rGZrQTOVLMkGALoFHHLvc/oUUpXJBoXJgdCfT0l7aA0yKhATrYNXB aEGN9jvcC01pqiHdFsqq0bkFFSz9UIn0wpYtG5wYSyHBgIUb0q0WF10Dn3D0ys+Q XdVTz1xDdvBF5BWZT8QJkN/TJUgNTFQEn9uRiImRIIIxVlZAUYgfDYxAZN24C9If 0fvLO/7Vh+JJJx9ib3bnVyk06XlQdUmqqoWItzk2IhpGynOSTiS1PFOrwsJCeCaJ 8UiDOATEhC65kKFJEjC7rOkzppp5TX9XQuMvRoXskdiug/iaC/tnwPy1ygPdzaL6 IoZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=fm2; t=1688042167; x=1688049367; bh=bTG+9AqapEnTz TdZN+3/z4mAZ7LW415XlukWbIMXEK4=; b=CccPJWvx1a+Oz1MM5Taiu9fsGftW9 hmgBcLqXYChcnfp2nv6RWUg7M5kQcytbmDfhV1AVipcw49+CmNKous2ER6JLcGud qLKDK3EFXotIhbICdzx3r91mhkebGgUqVWBxeOtOqIwIjt2VLx2+7M0e0ZNBw8IY QYBew9HSxFvupkHfoU1p8ZntBi5WUvQWBmTXQhafzKFZRTGtPdZIsRBX2guG6EvC jm91VDAmWV04RD50eKeuNQ1gIbDXgSNCl/ADV15oAHykwZ0L0pLZZYK3u1cr3+Rr x7zXD2MAiXbufbU1CsLjDKzyEFWnoX4+00s21o08yDXbrmZmwqDH+dXBg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrtdeggdehhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id D6555B60086; Thu, 29 Jun 2023 08:36:06 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-499-gf27bbf33e2-fm-20230619.001-gf27bbf33 Mime-Version: 1.0 Message-Id: <80e3a583-805e-4e8f-a67b-ebe2e4b9a7e5@app.fastmail.com> In-Reply-To: <20230629121952.10559-8-tzimmermann@suse.de> References: <20230629121952.10559-1-tzimmermann@suse.de> <20230629121952.10559-8-tzimmermann@suse.de> Date: Thu, 29 Jun 2023 14:35:46 +0200 From: "Arnd Bergmann" To: "Thomas Zimmermann" , "Helge Deller" , "Daniel Vetter" , "Dave Airlie" Cc: linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-efi@vger.kernel.org, "linux-csky@vger.kernel.org" , linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-hyperv@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, Linux-Arch , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , x86@kernel.org, "H. Peter Anvin" , "Kees Cook" , "Paul E. McKenney" , "Peter Zijlstra" , "Andrew Morton" , "Frederic Weisbecker" , "Nicholas Piggin" , "Ard Biesheuvel" , "Sami Tolvanen" , "Juerg Haefliger" Subject: Re: [PATCH 07/12] arch/x86: Declare edid_info in Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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 Thu, Jun 29, 2023, at 13:45, Thomas Zimmermann wrote: > The global variable edid_info contains the firmware's EDID information > as an extension to the regular screen_info on x86. Therefore move it to > . > > Add the Kconfig token ARCH_HAS_EDID_INFO to guard against access on > architectures that don't provide edid_info. Select it on x86. I'm not sure we need another symbol in addition to CONFIG_FIRMWARE_EDID. Since all the code behind that existing symbol is also x86 specific, would it be enough to just add either 'depends on X86' or 'depends on X86 || COMPILE_TEST' there? Arnd