From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail03.groups.io (mail03.groups.io [45.79.227.220]) by spool.mail.gandi.net (Postfix) with ESMTPS id 139D79418B3 for ; Fri, 12 Apr 2024 14:08:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=z8P1x/WFFEcQkUvznxDuFIH9Lr9AzGxUQ58Azs1Zm7s=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20240206; t=1712930905; v=1; b=jhX4K8DhZg22Cctl8r+qAbGJFrd81BWhTtSVQixGgRaS2gSYPb+H3seBn5wSKzvxOdt3OKy2 YijNjNzMa2ziGDRf4EP+0K+8g3cj/79XpAS0diGWNkOnM2VhNn5cdps10dXbf7rDQuT0tSWh5Q2 CUZr6cz1tSQlzzZ9SAnQ6l07jipHUwgoTJkkMeL2/DiW4ohl/VSxJH30f8Tkk5HJJa5uSGmfVIk c7vGm+GrG1pv37M/bE3QD928A/S8pLFwT6p4zeMvIVqR1nRCa3TRR8ACc1TZfwZt7EVi94GDis4 sFHxqG8xA53tiN1ZjgougSNd62KpwcROSiGASzWl0op1Q== X-Received: by 127.0.0.2 with SMTP id SirUYY7687511xj36mrzRj3B; Fri, 12 Apr 2024 07:08:25 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.47904.1712930904937172525 for ; Fri, 12 Apr 2024 07:08:25 -0700 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-536-85K4dGzKN4y3xyUNcO5GsQ-1; Fri, 12 Apr 2024 10:08:20 -0400 X-MC-Unique: 85K4dGzKN4y3xyUNcO5GsQ-1 X-Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3BAF83C0F196; Fri, 12 Apr 2024 14:08:20 +0000 (UTC) X-Received: from dobby.home.kraxel.org (unknown [10.39.193.143]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 07A5C100BC9A; Fri, 12 Apr 2024 14:08:19 +0000 (UTC) X-Received: by dobby.home.kraxel.org (Postfix, from userid 1000) id 36AB1EB2DC; Fri, 12 Apr 2024 16:08:14 +0200 (CEST) Date: Fri, 12 Apr 2024 16:08:14 +0200 From: "Gerd Hoffmann" To: devel@edk2.groups.io, marcin.juszkiewicz@linaro.org Cc: Sami Mujawar , Evan Lloyd Subject: Re: [edk2-devel] ACPI table generators and ConfigurationManagerProtocol Message-ID: References: <178C31CFE9B284CD.5378@groups.io> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.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 Resent-Date: Fri, 12 Apr 2024 07:08:25 -0700 Resent-From: kraxel@redhat.com Reply-To: devel@edk2.groups.io,kraxel@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 7Dm3YFOvulYXcYrRcpkqKmsSx7686176AA= Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=jhX4K8Dh; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.227.220 as permitted sender) smtp.mailfrom=bounce@groups.io Hi, > > And tell which of platforms is a good example of using those? > > Juno, FVP, Morello, N1SDP, one NXP platform and ArmVirt use them. Probably > the last one would be best to look at but who knows... Probably not ArmVirt. At least not the qemu variant, maybe the kvmtool version. On qemu the usual workflow is that qemu generates the acpi tables, matching the virtual machine configuration, and the firmware just downloads and installs them. > > From first look it seems like using ACPI table generators may allow to > > simplify code by not creating tables by hand (or in ASL). I would > > like to do some changes around SBSA Reference Platform without rewriting > > ASL into C again. > > In meantime I rewrote some ASL into C. Again. Now need a way to generate > DSDT for PCIe buses. Can write something in C again. But do I really need > to? Is there a non-qemu implementation of the SBSA Reference Platform? If not it might be easiest to offload acpi table generation to qemu. If the acpi tables are not changing you might have a look at OvmfPkg/Bhyve/AcpiTables instead of going for DynamicTablesPkg. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117668): https://edk2.groups.io/g/devel/message/117668 Mute This Topic: https://groups.io/mt/105481311/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-