Received: by 2002:a17:505:6015:b0:1be9:327d:8ee3 with SMTP id us21csp296702njc; Thu, 5 Jun 2025 07:41:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXg0em+jukwYiAeVmVxOwlL6cekkPrTU7fvMreNWfJF3tBvd7/ZGbZmxT0nGEhQodYIMuxBmEWjc/j60g==@linaro.org X-Google-Smtp-Source: AGHT+IE9spYX10FnX3EONtsaYJhAQ9JeP6G5MI8VUmfpd1Hv9HQa1lhTNWsC34jsG/QNfOr3Eslh X-Received: by 2002:a05:6102:26ca:b0:4e4:5e11:6832 with SMTP id ada2fe7eead31-4e746d02e4bmr6137919137.7.1749134495326; Thu, 05 Jun 2025 07:41:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1749134495; cv=none; d=google.com; s=arc-20240605; b=QooISAL1Xag/kJihBg+kD8rgekjLs1HgO25gSNSa+7Y/YZh9Xq3I2wUcukWsdd6CAx +eNLxS1urrLu1VHxgdhiTbKv4yjfLVi+cKCUAC1TvBVOTnB/OoIEog4VurgLUNhiLxWY qXwdNeyZqR/yrrMd+uWw/I3yNkNdUC/HNPmAnWIu7wT/Q/EczEatUEOXEhaujWqA0vip rmOu6w+RVM7BC3/P655MLiUFs+xSBQ/1bf4KSzf5C3VvA7+mgOjEXwshrBJgeF69EIli s4YcjPSEicNu1XU+L2y9GwbUPm1SZ/jzma0YKsecjJLn8T+ketcisAtM9iStoLPtPkrV 8PNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:user-agent :in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=mJdJobqKICCx+r3roHqY2p2wWYnZWEkrTeUkqT2LdRA=; fh=0IyZqoL6qSEjXnAU4WOOnh2gdSyBMmI2VlJwLhrMoPY=; b=GVIApiLW4DbbGtkS8CQDQupxwxgVxq70RjI+xWlSPwJcwtKz3ga49pl/CO9CUVcnKL TbjjoCa1dTbWwVvijZ0GI6uhPh8FYHqzOMU+qhcF5Uv62BK3ueJS/JgHMYLLF0FOAwOV DdaEoArEp+YMMP+TSe1R8wQxFGmbH3TbTCrJMwKbCMacVYXaut+nesX+uoisL0I7Wlg1 x7kQc/4MClFt4J4AEA5ibK0zH8Paq4oCqR7UlXHrMt4SMNl5zPDdW7faswwNjR6FySHe yJAOYLadqojWot/kTJwoSC7dFI52+mYsWiOwiD0bTuc2QNIUXiadr5ywVKcfM9hTgQRa XVlQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cPJQQRx8; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ada2fe7eead31-4e644421810si5328519137.132.2025.06.05.07.41.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jun 2025 07:41:35 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cPJQQRx8; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uNBmC-0004Qu-J0; Thu, 05 Jun 2025 10:41:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uNBmA-0004Qc-Sz for qemu-arm@nongnu.org; Thu, 05 Jun 2025 10:41:02 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uNBm8-0006rM-PL for qemu-arm@nongnu.org; Thu, 05 Jun 2025 10:41:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1749134458; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mJdJobqKICCx+r3roHqY2p2wWYnZWEkrTeUkqT2LdRA=; b=cPJQQRx82eGVbkQ3QOGtqujz64sLWaj6WLUh0slII0yqXGjWHQKAb7BucTWPasGd8KJftO UvzscQneNzy5LnCKLSJ/T8CiVkCHZSUMsjzMrYkh2MuQdQHWiGURYm8+ojtUyoIw0uEr9a reL5lmxEH4/C89EYPnrrNOjHNOKkYoc= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-410-u4v2OS86MPe1zPdXDY1HvA-1; Thu, 05 Jun 2025 10:40:55 -0400 X-MC-Unique: u4v2OS86MPe1zPdXDY1HvA-1 X-Mimecast-MFC-AGG-ID: u4v2OS86MPe1zPdXDY1HvA_1749134454 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 211B91801A00; Thu, 5 Jun 2025 14:40:54 +0000 (UTC) Received: from redhat.com (unknown [10.42.28.159]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 9BC8D30002C0; Thu, 5 Jun 2025 14:40:50 +0000 (UTC) Date: Thu, 5 Jun 2025 15:40:46 +0100 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= To: =?utf-8?Q?C=C3=A9dric?= Le Goater Cc: Gerd Hoffmann , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Shaoqin Huang , qemu-arm@nongnu.org, Eric Auger , Peter Maydell , Alex Williamson , qemu-devel@nongnu.org Subject: Re: [PATCH v1] ramfb: Add property to control if load the romfile Message-ID: References: <20250605030351.2056571-1-shahuang@redhat.com> <746b078e-bd06-4361-aec7-2301412abb18@linaro.org> <2030db73-4f1e-46ed-98ea-c469e8b0ecea@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2030db73-4f1e-46ed-98ea-c469e8b0ecea@redhat.com> User-Agent: Mutt/2.2.14 (2025-02-20) X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Received-SPF: pass client-ip=170.10.133.124; envelope-from=berrange@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.132, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: tpSJRC1y796S On Thu, Jun 05, 2025 at 04:24:07PM +0200, Cédric Le Goater wrote: > On 6/5/25 14:21, Gerd Hoffmann wrote: > > Hi, > > > > > > Now the ramfb will load the vgabios-ramfb.bin unconditionally, but only > > > > the x86 need the vgabios-ramfb.bin, this can cause that when use the > > > > release package on arm64 it can't find the vgabios-ramfb.bin. > > > > > Simpler to directly pass the ROM path instead of using a boolean, > > > so board (or CLI) could pass path to non-x86 rom. > > > > The rom is loaded into a fw_cfg file which only seabios will look at. > > So this rom logic is x86-specific. > > > > edk2 ships an EFI driver for ramfb, that is how ramfb is used on !x86 > > platforms today, and I don't expect that to change. > > Should we also set the vfio-pci::ramfb-romfile property to false in > a compat property for ARM machines then ? I don't know for RISC-V and > PPC. Sounds like we'd be better setting the property to false by default, and then special case x86 machine types to set it to true. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|