Bug 1990552

Summary: [aarch64] [qemu] Generate DBG2 ACPI table
Product: Red Hat Enterprise Linux 9 Reporter: Eric Auger <eric.auger>
Component: qemu-kvmAssignee: Eric Auger <eric.auger>
qemu-kvm sub component: Machine Types QA Contact: Yihuang Yu <yihyu>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: ahs3, drjones, gshan, hdegoede, jinzhao, juzhang, lcapitulino, lersek, lijin, mrezanin, msalter, qzhang, virt-maint, yihyu, zhenyzha
Version: 9.0Keywords: FutureFeature, Triaged
Target Milestone: beta   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-6.2.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 12:23:26 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1924294    

Description Eric Auger 2021-08-05 15:51:12 UTC
The DBG2 table is mandated by ARM SBBR (Server Base Boot Requirements). Currently it is not generated for the ARM virt machine. The lack of DBG2 table produces some failures in some kernel FW tests. This BZ to track the generation of the DBG2 table in qemu hw/arm/virt-acpi-build.c.

Note: sbsa-ref machine does expose it but it seems generated by EDK2 itself. 

There are prior discussions about DBG2 in 
https://bugzilla.redhat.com/show_bug.cgi?id=1661288

Comment 1 Luiz Capitulino 2021-08-05 19:52:38 UTC
Eric,

I'm setting priority and severity to low because it seems that normal VM usage and no important functionality is impacted, let me know if you disagree.

Comment 2 Eric Auger 2021-08-10 12:35:49 UTC
Sent [PATCH for-6.2] hw/arm/virt_acpi_build: Generate DBG2 table upstream

Comment 3 Eric Auger 2021-10-25 15:54:19 UTC
Now upstream and ready for v6.2.0:

f0dc9a5d8d  hw/arm/virt_acpi_build: Generate DBG2 table

Comment 6 Yihuang Yu 2021-11-12 06:48:01 UTC
Thanks Eric.

By the way, may I ask a question please? Is there has a reproducer or only a sanity test is enough to verify it?

Comment 7 Eric Auger 2021-11-12 10:03:04 UTC
Hi Yihuang,

Just sanity test unfortunately.

Thanks

Eric

Comment 11 Yihuang Yu 2021-12-23 11:18:50 UTC
Set the status to "VERIFIED" based on comment 8 with the sanity test result.

Comment 15 errata-xmlrpc 2022-05-17 12:23:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: qemu-kvm), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2307