| Message ID | 20251006232236.2091941-7-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759792996; bh=ANJ4CU3BphfRx/UIx2mEwjCxOT/4jIPmn59QsV7TGmE=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=o7In8S4iBnUf9xtoRN16ludN44GyHRFDb8g83ImxoIXfshPpMmQKLL8eO+bBE+zxp 85NmAUkvi+IeySVDnl2hmW7yF5Ma3cRLDKJg+UcbTkR5haKy/vhZeLa/2W7hGCEz8t r3lM1f648Vmn+FmDm1zQicsQZvcRLb0N8RneCoqWFr1fs7Q89soSzR4kmcbDtolFIW CHd7fDqfisi68wZNtOh0sSzVCgCuckrjHQ7qwF18kiSmwYoe1ShUwVoRDevQ4AthdR vIDNoI65Jpwv0rBJDh4rXJ79SRs6yOXAaQHj0sDD4h3y9lQg+odiJYFEH+Hb2wZKkI mdEBCx68+5AJA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 75C0067DB4 for <u-boot-concept@u-boot.org>; Mon, 6 Oct 2025 17:23:16 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id gcHC795xInEU for <u-boot-concept@u-boot.org>; Mon, 6 Oct 2025 17:23:16 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759792994; bh=ANJ4CU3BphfRx/UIx2mEwjCxOT/4jIPmn59QsV7TGmE=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Ax5mvq7Wh2Mcsw8ppJq4yJxRJjqZ0I1LPsla9EAmbthYIjD+aeUAaVSGd58XmzeJc qdxXfHmlqdILNcSTcHj4Ypl0qEYwm3Ar2bU78jkhUrdVkGcLmnSULDgRyevGyCg7xt SvFZFeqjSLH04VvSpYrLuYpXyk6VRxj8Pn18sXWGv7lymGpyG7zBeQFsPRzcA8QP0G /XkSnT20195BH4ykqTbigqDarI/6aY3Gie2gA0NIBngtyK6mBV+MGf+Ec+715k11da HHAJ+12f4a0faYOP7qkHTw8s0wT8AoC4fMj6TdL5y05FscCCELyCJ7j0YZVYQ/7Ueo Z//U86JhWa8Tg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id D39B667FD5 for <u-boot-concept@u-boot.org>; Mon, 6 Oct 2025 17:23:14 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759792993; bh=OWTVWWyIWllE4wPPtcQRM64nUgc8Pb8ifRayX5/rds0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nKkp/iV+lGTHEQAMp+/n+S6+XxLQSF1Wi2JuspPxRpzT+6VR0s0SZmXa6zVszGwt0 z5pWWQp/XVTafLwAi9BrgwKfUYrgNrJUi+5IEuk/SOk5ZzGoN2V1Qcfc3NUiJXjrE9 70mj1+9S0BGXuwx0eHMt+OsoX6qXJJ0Cxwwsi1LpPWzJylt1FjCM6c/PeHc4Hm69u3 fAHRrJUJLKvNr/m3mF6SKPm7wL05/VAjRttnJ88PAtinpUlnjU9u0JdJSAAvNyEIfu 9/tBk+8mw5u/9jiMkiFykYRI7/jYHULCU1NusVOaOoARkGAlduAIn44DS8g7SCmJaI 5npsLxRDvN6BQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 6856767F03; Mon, 6 Oct 2025 17:23:13 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id uVdgwAjiTBAc; Mon, 6 Oct 2025 17:23:13 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759792992; bh=DLyee2EVLkuNXxEqkSxYvFfjLhinq8YtreEZdgbSBCM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BuBK6VJboCI8qTlGYeN8Ul+sMxgpt/zB5lSqtF9olIKZYu5SuEFbnfMRN6L3xAWin o1xMqonPvDJPs4uBz/hquA0JNqEzotqgp7RvTv6PPtWjLLe1nZvfxy+fLvrTg0TRsE Es3piwSt6+RhuGLA80x04HcrV0EZ33C1IfR4k3HvzrRqwTMJVY5fhuh7qUVFDDHWhO vHVTD+jdc07VV2E7QIN4bdvrlnNhzdWmwWD4Qd+yTSP0rhzzcoAgJ2PBpkiD7YEjQ9 jStwWJ3LkGHLn9LjXfCw2YOGY2znbzvWBcGrgsq5xX8AV+W2o9zz74s7Xc0tfq/20/ jWWF2kIo4685g== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id B08D567AF3; Mon, 6 Oct 2025 17:23:11 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Mon, 6 Oct 2025 17:21:48 -0600 Message-ID: <20251006232236.2091941-7-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251006232236.2091941-1-sjg@u-boot.org> References: <20251006232236.2091941-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: J7BE7YIAPL6DA67IA5U2HTPB4RXC4GCS X-Message-ID-Hash: J7BE7YIAPL6DA67IA5U2HTPB4RXC4GCS X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 06/17] x86: efi: Avoid setting MTRRs in the app List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/J7BE7YIAPL6DA67IA5U2HTPB4RXC4GCS/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
expo: Complete mouse operation in the EFI app
|
|
Commit Message
Simon Glass
Oct. 6, 2025, 11:21 p.m. UTC
From: Simon Glass <sjg@chromium.org> The MTRRs have already been set by the previous phase so we should not set them when the U-Boot app starts. Add a condition to prevent it. Signed-off-by: Simon Glass <sjg@chromium.org> --- arch/x86/lib/init_helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/x86/lib/init_helpers.c b/arch/x86/lib/init_helpers.c index bd0efde00c1..4384c10f697 100644 --- a/arch/x86/lib/init_helpers.c +++ b/arch/x86/lib/init_helpers.c @@ -29,7 +29,8 @@ int init_cache_f_r(void) * the MTRRs here */ do_mtrr &= !IS_ENABLED(CONFIG_FSP_VERSION1) && - !IS_ENABLED(CONFIG_SYS_SLIMBOOTLOADER); + !IS_ENABLED(CONFIG_SYS_SLIMBOOTLOADER) && + !IS_ENABLED(CONFIG_EFI_APP); if (do_mtrr) { ret = mtrr_commit(false);