From nobody Thu Nov 28 13:46:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=citrix.com); dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=2; a=rsa-sha256; t=1668775213; cv=pass; d=zohomail.com; s=zohoarc; b=lwcW1got5bCeqrrF4YgtiMBXNeLx6DGG0c+p8u/SkEruf9iPP/YDs4VkHH4J4KWOLj2g3kKSSXLQRZdBwy6L+x1lZaS4mYuNSQRPFAzLXgbL89eqteAwOQPS6N7a7TqP4p+ITVmUlcqmXbBDVeG/FjyvkjAOJuD5qAfLh/ZGaYQ= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1668775213; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=QTllUH44jeX1Wx8iB86t1yMrqhZaOSZxHAOwvvW+GxA=; b=H/8yANO6QgQJHKRUqaNe77PRcrNU4QURg2LW1IAfUjiB3JJvY4pSmJ+CdH2cL+5Y98vqNw7qkNWRpm8GyGdaUG3ByluGUVMaPCPyBjldj7COr0Yg5UuCQ94m6x/geC7uIHOGwtA5Ku1rrYKyWoDGW4fd/0unT3KmtwBDz89l2es= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=citrix.com); dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1668775213272156.00260718366087; Fri, 18 Nov 2022 04:40:13 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.445707.701016 (Exim 4.92) (envelope-from ) id 1ow0ep-00064Y-RF; Fri, 18 Nov 2022 12:39:47 +0000 Received: by outflank-mailman (output) from mailman id 445707.701016; Fri, 18 Nov 2022 12:39:47 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ow0ep-00064R-Mh; Fri, 18 Nov 2022 12:39:47 +0000 Received: by outflank-mailman (input) for mailman id 445707; Fri, 18 Nov 2022 12:39:46 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ow0eo-00064J-Sr for xen-devel@lists.xenproject.org; Fri, 18 Nov 2022 12:39:46 +0000 Received: from esa5.hc3370-68.iphmx.com (esa5.hc3370-68.iphmx.com [216.71.155.168]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 13e4cc9d-673e-11ed-91b6-6bf2151ebd3b; Fri, 18 Nov 2022 13:39:45 +0100 (CET) Received: from mail-mw2nam10lp2108.outbound.protection.outlook.com (HELO NAM10-MW2-obe.outbound.protection.outlook.com) ([104.47.55.108]) by ob1.hc3370-68.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 18 Nov 2022 07:39:38 -0500 Received: from SJ0PR03MB6360.namprd03.prod.outlook.com (2603:10b6:a03:395::11) by SJ0PR03MB5615.namprd03.prod.outlook.com (2603:10b6:a03:27a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.20; Fri, 18 Nov 2022 12:39:36 +0000 Received: from SJ0PR03MB6360.namprd03.prod.outlook.com ([fe80::2393:22c1:7766:5caa]) by SJ0PR03MB6360.namprd03.prod.outlook.com ([fe80::2393:22c1:7766:5caa%5]) with mapi id 15.20.5813.016; Fri, 18 Nov 2022 12:39:36 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 13e4cc9d-673e-11ed-91b6-6bf2151ebd3b DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1668775185; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=H7K4Aag3vTDVp4J51MMe8lRqvROnZ9FLKKtdV0iEWII=; b=dHHmHqI6caRZtSOgmDeoXwo1YEBwTDSrRohyC6fVNePW2ED5CtHWOBTB BfDqKrROVe0Td9oxdaUweZwWZkJfg3A8GBApaw7a7i2drEg1BbZk0sBIJ mpkJkmKaxlpVkwpxVEp4odx9eb9qsYasF1EioGPGYjGUkbjX8Q1WAyzi2 c=; X-IronPort-RemoteIP: 104.47.55.108 X-IronPort-MID: 84169468 X-IronPort-Reputation: None X-IronPort-Listener: OutboundMail X-IronPort-SenderGroup: RELAY_O365 X-IronPort-MailFlowPolicy: $RELAYED IronPort-Data: A9a23:qI3Y/qz6lx11bg1l9LJ6t+cQxyrEfRIJ4+MujC+fZmUNrF6WrkUPz mIdDzqHb66NYWP3f9okaYuzo01XupWBy99rQFRrrSAxQypGp/SeCIXCJC8cHc8wwu7rFxs7s ppEOrEsCOhuExcwcz/0auCJQUFUjP3OHfykTbaeYUidfCc8IA85kxVvhuUltYBhhNm9Emult Mj75sbSIzdJ4RYtWo4vw//F+U0HUMja4mtC5AVnPKAT5jcyqlFOZH4hDfDpR5fHatE88t6SH 47r0Ly/92XFyBYhYvvNfmHTKxBirhb6ZGBiu1IOM0SQqkEqSh8ai87XAME0e0ZP4whlq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/JUhD7FZ+u XtKM1T5f1zZ/5TSZg4KPYKQMOxBGCIawnLKniuLVPuE7xCE27RqqTw/K4+6IiRCdE1JaMJ6d r8uW5jxC8PkxqEM7zP4HQLyGGGfIyFZ0Wj9ikEjKIJ+YEVR9LQQF2+oR4V4omdSs4kc7Pmss aISe5r6sDYXBTT8P5yrmvDsrlpWAsjuZ4uy6MGcmPLhP73AavXkcGeWMrvBdPWYEcZsyXEcz A+YAQ= X-IronPort-AV: E=Sophos;i="5.96,174,1665460800"; d="scan'208";a="84169468" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QseS7O1jqjNPJLVZXLx/1wgIgj55Vt8cphBoRnTn+tLzn4cT9BPhcvx9iiwRRJzt+VValYAl3cELn6E+iKnd0OPl0ni75Uz28JOswUrak+X9Eigbl4la3ua9RhHVZ3wbjrLaLH8mYHCtNZOlvVCxO2Kcg3terHqZGCPD+d6NK+z2i0n1/Glb0Phe0VsvDjgVC8oFxi/qktYYphwLP81dYWrKTjvcI1RIq50mBaARn1+b5tb9f33VWA8WnyKD66D781ti/IVt2MaQeFWdB7cLHGL6adTW5wAk4EOa8BkXSIHJMJ2RZtApJzh2dyGm2ELYA1iLixeo9gMAo0wLENV3ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QTllUH44jeX1Wx8iB86t1yMrqhZaOSZxHAOwvvW+GxA=; b=kKwKQ73yu+hoAiTpBRHIm26UbPLKJPc6zUwtrIuwM5k9javkJ6TG0V8yx1CClMArmi4nKWuCRD34RC7RCFi1N2Px+k69i8/h0ZEYkzcwHQuBWbwOPwbEDuUR7WkxVaa3OLh8eEIUzRljbJSmcm93326iEsJrPsmlEPKBHG+Z0OcMOqkIllkqyJrvCicSTFdTITx+zCWQ86agc3FmqusyPq62dK7JeDx0Y+dMZsA4L1tNU3SYFTtb0s8nihA+vwXjusgZeexv52p2NQZdtdFIDsZ1e6vWwzPJtRHoCNEPJG8HJEaL+NQ3H8313KpjnbHGp5vt92jTij5Ln2SsyEfbEA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.onmicrosoft.com; s=selector2-citrix-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QTllUH44jeX1Wx8iB86t1yMrqhZaOSZxHAOwvvW+GxA=; b=wnYA3zZBsMrSPsMvbwCVEB94wnkEmECEQhV/U5sAKCFh2/eg1CEv8TSOoMmoa4qQUjAy6ZDtyJW5PfI69mWannMi9N+AAQZXPXFv4h8ZIOyXLrbgGOYWBMhmx4nRQop62uhHIxafvyZwqTJJpnmX9n4xFgS+9Rg4Q5AhBdo8vsQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com; From: Roger Pau Monne To: xen-devel@lists.xenproject.org Cc: Roger Pau Monne , Jan Beulich , Andrew Cooper , Wei Liu Subject: [PATCH] efifb: ignore frame buffer with physical address 0 Date: Fri, 18 Nov 2022 13:39:25 +0100 Message-Id: <20221118123925.25363-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.37.3 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: LO3P123CA0008.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:ba::13) To SJ0PR03MB6360.namprd03.prod.outlook.com (2603:10b6:a03:395::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR03MB6360:EE_|SJ0PR03MB5615:EE_ X-MS-Office365-Filtering-Correlation-Id: 69b68b86-f713-4901-de66-08dac961f30d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QQ2d0SwFbeEBiTLW52+VOH4FktC7rqZCKOiwpu+5C01KqJpskVsy4notnwQ5FCepEDKwiOwIQ7nTfqoVXlq1UrD8aeyYHsKHabgDWXHjHK2T0BUVWx1ZIiew7dquRkBrOgTAekoKL+lREL4PaIuIZ+dVuFHppAsKVn9fWqywh0WQxFHBsbrfwdfN+F8QWcUxFOdvWPJVXq+sGgQqoyCvrfVBhJ9UVL5oshpDJVBx26L0R6Pdl5WMwfkEvQS+8FV1oH6Mh5sfP0py4WXl89GKfBsdOi5Cwdm8wZpM8kBjw4b1ulB3gfJodVfQ2Wqkxs9QexWZ1Kws0FltF5jxRFLTqn7cOOKxiFgyv7z64LeyalMXgohscqA7ijgA311XbLm+242zYGvjuGZM2T8z7zKGGkWjnZJovFmehAWvfzo1ZGN2hHY7E1uyysAmmeAADO7d3g2WTpNdtpOAeGfl6LK4nA0qFvSErzV2ANBdjjs+XWcZ9qGV1UjtHAq4iqhCbKtGrgqIRrIbGdy51oGQ1lYNs1+1lLWdkMkGA+2pvLuieHhS10tT1nnPbD/lFJoWCn4o22JfOtVwJ5gg6QBuLm39XZcp8T56Is/m/NsrTGxYD/Wj4Ie0OW59DwYYZbjDXkYGr28k11+k0gQyFK/NiFiZXA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR03MB6360.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(136003)(366004)(39860400002)(346002)(376002)(451199015)(6666004)(6506007)(6916009)(2906002)(54906003)(6512007)(26005)(66556008)(66476007)(66946007)(8676002)(41300700001)(186003)(1076003)(4326008)(2616005)(5660300002)(8936002)(6486002)(478600001)(83380400001)(86362001)(316002)(82960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+AOAaUViEbTqcW7MRQe5ZUeOtn4WpmxM4lmkL014aEOAkrY5iqtP6W/CU4INBJZVV2BrJ5q5NL6oCIY563qzxDjMlW0uVTZ9i+e9fSyoMiN2wo9MwCyqVCG1rum+RmHbOVCDjzRsYfkjxg4yCJAXTCBZP7cqdTYsbLSfaRlJiJDePyUyWVmeTflsXG7p5OHgjUCJYA/qQ4hYyMcHzpHPdRRJ2f8ZQnVzQRsAWF6xWVTPbZZCgO2elNCulPsYcxXaN64aLOB1o/4F3AuZSQVWHH923XUvDzYJ3P1m7mnjDlxVibj3fIOklZwaKEHb3wB/+A26VmaDlN8Ka/1cQ8pF0CE4k0A31onQ7e/ta5NhFWHfggYUt0cGiK9YcKRK5JlY3Q== X-OriginatorOrg: citrix.com X-MS-Exchange-CrossTenant-Network-Message-Id: 69b68b86-f713-4901-de66-08dac961f30d X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB6360.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2022 12:39:36.1085 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335836de-42ef-43a2-b145-348c2ee9ca5b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8sfV7Ta31B3SIJEg698R67CkTY+b1FNrJbOYKyMzIql2VCoeXvwmdlNSGtx1V9gEEXDb8algHwLKKN2sHWhaOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR03MB5615 X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1668775215172100001 On one of my boxes when the HDMI cable is not plugged in the FrameBufferBase of the EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE structure is set to 0 by the firmware (while some of the other fields looking plausible). Such (bogus address) ends up mapped in vesa_init(), and since it overlaps with a RAM region the whole system goes down pretty badly, see: (XEN) vesafb: framebuffer at 0x0000000000000000, mapped to 0xffff82c0002010= 00, using 35209k, total 35209k (XEN) vesafb: mode is 0x37557x32, linelength=3D960, font 8x16 (XEN) vesafb: Truecolor: size=3D8:8:8:8, shift=3D24:0:8:16 (XEN) (XEN) (XEN) (XEN) (XEN) (XEN) (XEN) (XEN) =EF=BF=BDERROR: Class:0; Su= bclass:0; Operation: 0 ERROR: No ConOut ERROR: No ConIn Do like Linux and prevent using the EFI Frame Buffer if the base address is 0. This is inline with the logic in Linuxes fb_base_is_valid() function at drivers/video/fbdev/efifb.c v6.0.9. See also Linux commit 133bb070e94ab41d750c6f2160c8843e46f11b78 for further reference. Signed-off-by: Roger Pau Monn=C3=A9 --- Other options would be doing the check in vesa_init(), but that would also then apply to other framebuffers and won't be strictly limited to the EFI fb. We could also check in vesa_init() whether the framebuffer overlaps with any RAM region, but I think that should be in addition to the change done here. --- xen/arch/x86/efi/efi-boot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/efi/efi-boot.h b/xen/arch/x86/efi/efi-boot.h index e82ac9daa7..a68091d82a 100644 --- a/xen/arch/x86/efi/efi-boot.h +++ b/xen/arch/x86/efi/efi-boot.h @@ -552,7 +552,7 @@ static void __init efi_arch_video_init(EFI_GRAPHICS_OUT= PUT_PROTOCOL *gop, bpp =3D 0; break; } - if ( bpp > 0 ) + if ( bpp > 0 && gop->Mode->FrameBufferBase ) { vga_console_info.video_type =3D XEN_VGATYPE_EFI_LFB; vga_console_info.u.vesa_lfb.gbl_caps =3D 2; /* possibly non-VGA */ --=20 2.37.3