From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 4F5E0D8027A for ; Tue, 13 Feb 2024 15:47:25 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=MaWs5qlLgiMb7UXuO8YNIQ58mWQF+P8FBjfiLfXOOjY=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20140610; t=1707839244; v=1; b=vi21M72J79eGeHsJ9Er4W3ecSHutoVSCc9I98u86U4rHQr8lHB2u+xW5Y1LR4SO4vBliSGwL yX47f6lZbVt4VzOOSfRb4NniU8yzQHlNQimlXjghbBPk6JTU7rggFqBfpi0x/9OFLJdc30RSTN3 HSVo73bPWENTD2S4VwmPYRag= X-Received: by 127.0.0.2 with SMTP id ATzBYY7687511xu6d2o4a4HP; Tue, 13 Feb 2024 07:47:24 -0800 X-Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) by mx.groups.io with SMTP id smtpd.web10.14697.1707839243456523953 for ; Tue, 13 Feb 2024 07:47:23 -0800 X-Received: by mail-oi1-f177.google.com with SMTP id 5614622812f47-3c0449eaadaso789922b6e.1 for ; Tue, 13 Feb 2024 07:47:23 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUIYJI9n+d6/Bw1bbP2gYcsx/3bJLWN8CLkbKbxcTxIHOuQl8Qfw460MNQ+r/z7ZP2Lf/ZFzMAhu3mZQOCgfrwbRZZGAA== X-Gm-Message-State: F15fzsbkf59HzGhmvlCeO6DCx7686176AA= X-Google-Smtp-Source: AGHT+IEldDXtxlgJRsMEseiigAnw5Fst7JrMGjdsE5+Pkzfa0NE84pEhvoS8m9n0j05Vk6mCnoZtXCVlZyfgpA394rM= X-Received: by 2002:a05:6870:9689:b0:219:6c6d:b91 with SMTP id o9-20020a056870968900b002196c6d0b91mr10063660oaq.53.1707839242834; Tue, 13 Feb 2024 07:47:22 -0800 (PST) MIME-Version: 1.0 References: <20240213085925.687848-1-kraxel@redhat.com> <64005185-3cfd-de56-f086-da301aff13ba@redhat.com> In-Reply-To: From: "Pedro Falcato" Date: Tue, 13 Feb 2024 15:47:11 +0000 Message-ID: Subject: Re: [edk2-devel] [PATCH 1/1] OvmfPkg/QemuVideoDxe: purge VbeShim To: Gerd Hoffmann Cc: Ard Biesheuvel , devel@edk2.groups.io, Laszlo Ersek , Oliver Steffen , Ard Biesheuvel , Jiewen Yao , dun.tan@intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pedro.falcato@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=vi21M72J; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) On Tue, Feb 13, 2024 at 3:28=E2=80=AFPM Gerd Hoffmann w= rote: > > Hi, > > > > > New theory: This is a NULL pointer dereference corrupting the zero = page. > > > > > > Tangentially related: Maybe it's time to unmap the NULL page? :) > > Suggestion: read mails to the end. Had the same idea + question ;) Sorry! My bad. Apparently I don't know how to read ;) > > > That would break many 3rd party GPU and network drivers. > > For virtual machine firmware it might be acceptable to just ignore > that, or at least default to an unmapped zero page and offer an > qemu fw-cfg override in case someone needs that when pci-assigning > nic or gpu to a VM. IMO this is a really nice suggestion. Could QEMU be modified to inject the fwcfg option if a VFIO device is present or something? Would that solve most of the compatibility issues? Are OVMF and QEMU usually packaged (distro-side) in somewhat of a lockstep? --=20 Pedro -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115388): https://edk2.groups.io/g/devel/message/115388 Mute This Topic: https://groups.io/mt/104329097/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-