Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CDF6C07E95 for ; Wed, 7 Jul 2021 17:34:05 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D4AA361CC8 for ; Wed, 7 Jul 2021 17:34:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4AA361CC8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 84D6182054; Wed, 7 Jul 2021 19:33:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="nYn++NVy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3948182E4C; Wed, 7 Jul 2021 19:33:53 +0200 (CEST) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 395268200B for ; Wed, 7 Jul 2021 19:33:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72c.google.com with SMTP id t19so2766247qkg.7 for ; Wed, 07 Jul 2021 10:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+Sr6qTxDTEMN0ej8y/SrrY6W3Vl4+OhoqXc+vGxG/JY=; b=nYn++NVypla/fzYbCFKmnmHLAzJHx923Vin0KRKKRhiiewjkqhEPYwl0Nv+bQ0WsOW MqdbeYMqLpXD/1CtUySyUpu/9TkrmHHuTNA0Rd6UvqCzxPoPKywvecJDCNyDE7YgrII5 L+knJM+kuJoiv6UK6f75tr8T4zyIkpui0FxE8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+Sr6qTxDTEMN0ej8y/SrrY6W3Vl4+OhoqXc+vGxG/JY=; b=Gh1Z8gm/70H+PJ12tXKC2CyM/8+My/jSvF/iATTGRk5fQ/MpTnTW7Hq7+dvmEoQb7T Ll6Z0hYclYX7EjBBDpVE/Yyf8UJRuOk3Ct51WKzOx5XOwpgCoS3tL7pGca+CBDAhe9ro 9xa8z11Mb1s/YzHQIW9NqJs1JWvpr/FrAtmwqTxPGebEPtPe6gzyXj03pc+oMhhC42au u+kmLxF5reVtzPzx89uMTSdRl8gvu4Xe844R1dtQz51jeQXAZo8XXrzVY1//8954RRxg oFJ9pf7KoGE4WT/gREy4tPSYPJ1W87q4WKfkkWRtAf08EocZj6l2omUWugmNWf5K1CU7 kS4Q== X-Gm-Message-State: AOAM533iIKRO4CRIpI6WeSs6PLgpALuiLbFBubfpnZd/r8LfgAOukyy3 VS6MZdm+3S3ZFNZDuUmTNGLcCw== X-Google-Smtp-Source: ABdhPJxJ3FuoCnq/eINpcppbms2U4kRjW+jJ+cpKRthCJEhsbieSAZcBTTbEfQMAfXmfZG76s2+u9w== X-Received: by 2002:a37:7844:: with SMTP id t65mr26842518qkc.429.1625679229132; Wed, 07 Jul 2021 10:33:49 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5120-5dda-66b4-5098.res6.spectrum.com. [2603:6081:7b01:cbda:5120:5dda:66b4:5098]) by smtp.gmail.com with ESMTPSA id k14sm650931qtm.18.2021.07.07.10.33.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Jul 2021 10:33:48 -0700 (PDT) Date: Wed, 7 Jul 2021 13:33:46 -0400 From: Tom Rini To: Bin Meng Cc: Simon Glass , u-boot@lists.denx.de Subject: Re: [PATCH] x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used Message-ID: <20210707173346.GB9516@bill-the-cat> References: <20210707073626.1743-1-bmeng.cn@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xXhhoQnYSGLAIh/5" Content-Disposition: inline In-Reply-To: <20210707073626.1743-1-bmeng.cn@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --xXhhoQnYSGLAIh/5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 07, 2021 at 03:36:26PM +0800, Bin Meng wrote: > With x86 we can execute an option ROM either natively or using the > x86 emulator (if enabled with CONFIG_BIOSEMU). Both of these share > the _X86EMU_env variable, with the native code using it to hold > register state during interrupt processing. >=20 > At present, in 32-bit U-Boot, the variable is declared twice, once > in common code and once in code only compiled with CONFIG_BIOSEMU. >=20 > With GCC 11 this causes a 'multiple definitions' error on boards > with CONFIG_BIOSEMU. >=20 > Drop the emulator definition when CONFIG_BIOSEMU is used. >=20 > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! --=20 Tom --xXhhoQnYSGLAIh/5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmDl5XoACgkQFHw5/5Y0 tyxpVwwAgdsmq4ecJfvDdrp1X3I/x/F8HZtPjcdOpC+3hH5qga9HX5S1mxcz4B6B mcpFkuCUkpvUgJ1GJFfa1ASzPC8n/ye6C+ZyHI0BdHq0iO76uhaPmzLXVqXwNM2l a49JqLn3XgyluaLjkkFewcD861PWlhltjY+WbsnDXd1eHlzWPofEw/ombEx/dUNT 88FPIhdQCulc14O6mJEcYO/cMX1PX3Oikt6Ek4es01WDHf9ZOYPGoyIEBANK25p9 AvbzmFBYoMCUKthWaqvM9cpbwU+H6Xy2FvDIioZyM+5zDSHqkqz7ptqb6sj7zcFp HBD+q7jg80V+aGBl77GWIfSroOhZn6kRov72ryTwke0BUoBjo8K7r40+bQbxpmcP G4Kgurgc0cRKCYoQZ3nJln6JOIO4UzO8/VMZk87de1xpyO8g4h5nU8LH9d1dk06I WgnFa70KYPz/7xd11CzvctsL4SqxMCeBroSh5aXoSz8z2nnVN13gjyWXWqfgQ3ux caBEJYCM =8G0p -----END PGP SIGNATURE----- --xXhhoQnYSGLAIh/5--