Re: [PATCH v5 36/36] qtest/bios-tables-test: Generate reference blob for DSDT.acpipcihp
Hi Jonathan,
On 7/3/25 5:09 PM, Jonathan Cameron wrote:
> On Thu, 3 Jul 2025 14:35:36 +0200
> Eric Auger wrote:
>
>> The disassembled DSDT table is given below.
> I think the aim for this one should be to highlight the blobs where it differs
> from the previous rather than having the whole thing.
makes sense. I will crop the commit message accordingly.
Thanks!
Eric
>
>
>> /*
>> * Intel ACPI Component Architecture
>> * AML/ASL+ Disassembler version 20210604 (64-bit version)
>> * Copyright (c) 2000 - 2021 Intel Corporation
>> *
>> * Disassembling to symbolic ASL+ operators
>> *
>> * Disassembly of ../tests/data/acpi/aarch64/virt/DSDT.acpipcihp, Thu Jul 3
>> 05:16:27 2025
>> *
>> * Original Table Header:
>> * Signature"DSDT"
>> * Length 0x183A (6202)
>> * Revision 0x02
>> * Checksum 0x98
>> * OEM ID "BOCHS "
>> * OEM Table ID "BXPC"
>> * OEM Revision 0x0001 (1)
>> * Compiler ID "BXPC"
>> * Compiler Version 0x0001 (1)
>> */
>> DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPC", 0x0001)
>> {
>> Scope (\_SB)
>> {
>> Device (C000)
>> {
>> Name (_HID, "ACPI0007" /* Processor Device */) // _HID:
>> Hardware ID
>> Name (_UID, Zero) // _UID: Unique ID
>> }
>>
>> Device (COM0)
>> {
>> Name (_HID, "ARMH0011") // _HID: Hardware ID
>> Name (_UID, Zero) // _UID: Unique ID
>> Name (_CRS, ResourceTemplate () // _CRS: Current Resource
>> Settings
>> {
>> Memory32Fixed (ReadWrite,
>> 0x0900, // Address Base
>> 0x1000, // Address Length
>> )
>> Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,
>> ,, )
>> {
>> 0x0021,
>> }
>> })
>> }
>>
>> Device (FWCF)
>> {
>> Name (_HID, "QEMU0002") // _HID: Hardware ID
>> Name (_STA, 0x0B) // _STA: Status
>> Name (_CCA, One) // _CCA: Cache Coherency Attribute
>> Name (_CRS, ResourceTemplate () // _CRS: Current Resource
>> Settings
>> {
>> Memory32Fixed (ReadWrite,
>> 0x0902, // Address Base
>> 0x0018, // Address Length
>> )
>> })
>> }
> ...
>
>> Device (L000)
>> {
>> Name (_HID, "PNP0C0F" /* PCI Interrupt Link Device */) // _HID:
>> Hardware ID
>> Name (_UID, Zero) // _UID: Unique ID
>> Name (_PRS, ResourceTemplate () // _PRS: Possible Resource
>> Settings
>> {
>> Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,
>> ,, )
>> {
>> 0x0023,
>> }
>> })
>> Name (_CRS, ResourceTemplate () // _CRS: Current Resource
>> Settings
>> {
>> Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,
>> ,, )
>> {
>> 0x0023,
>> }
>> })
>> Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
>> {
>> }
>> }
> ...
>
>> Device (PCI0)
>> {
>> Name (_HID, "PNP0A08" /* PCI Express Bus */) // _HID: Hardware
>> ID
>> Name (_CID, "PNP0A03" /* PCI Bus */) // _CID: Compatible ID
>> Name (_SEG, Zero) // _SEG: PCI Segment
>> Name (_BBN, Zero) // _BBN: BIOS Bus Number
>> Name (_UID, Zero) // _UID: Unique ID
>> Name (_STR, Unicode ("PCIe 0 Device")) // _STR: Description
>> String
>> Name (_CCA, One) // _CCA: Cache Coherency Attribute
>> Name (_PRT, Package (0x80) // _PRT: PCI Routing Table
>> {
>> Package (0x04)
>> {
>> 0x,
>> Zero,
>> L000,
>> Zero
>> },
> ...
>
>> })
>> Method (_CBA, 0, NotSerialized) // _CBA: Configuration Base
>> Address
>> {
>> Return (0x00401000)
>> }
>>
>> Name (_CRS, ResourceTemplate () // _CRS: Current Resource
>> Settings
>> {
>> WordBusNumber (ResourceProducer, MinFixed, MaxFixed,
>> PosDecode,
>> 0x, // Granularity
>> 0x, // Range Minimum
>> 0x00FF, // Range Maximum
>> 0x, // Translation Offset
>> 0x0100, // Length
>> ,, )
>> DWordMem
Re: [PATCH v5 36/36] qtest/bios-tables-test: Generate reference blob for DSDT.acpipcihp
On Thu, 3 Jul 2025 14:35:36 +0200
Eric Auger wrote:
> The disassembled DSDT table is given below.
I think the aim for this one should be to highlight the blobs where it differs
from the previous rather than having the whole thing.
>
> /*
> * Intel ACPI Component Architecture
> * AML/ASL+ Disassembler version 20210604 (64-bit version)
> * Copyright (c) 2000 - 2021 Intel Corporation
> *
> * Disassembling to symbolic ASL+ operators
> *
> * Disassembly of ../tests/data/acpi/aarch64/virt/DSDT.acpipcihp, Thu Jul 3
> 05:16:27 2025
> *
> * Original Table Header:
> * Signature"DSDT"
> * Length 0x183A (6202)
> * Revision 0x02
> * Checksum 0x98
> * OEM ID "BOCHS "
> * OEM Table ID "BXPC"
> * OEM Revision 0x0001 (1)
> * Compiler ID "BXPC"
> * Compiler Version 0x0001 (1)
> */
> DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPC", 0x0001)
> {
> Scope (\_SB)
> {
> Device (C000)
> {
> Name (_HID, "ACPI0007" /* Processor Device */) // _HID: Hardware
> ID
> Name (_UID, Zero) // _UID: Unique ID
> }
>
> Device (COM0)
> {
> Name (_HID, "ARMH0011") // _HID: Hardware ID
> Name (_UID, Zero) // _UID: Unique ID
> Name (_CRS, ResourceTemplate () // _CRS: Current Resource
> Settings
> {
> Memory32Fixed (ReadWrite,
> 0x0900, // Address Base
> 0x1000, // Address Length
> )
> Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,,
> )
> {
> 0x0021,
> }
> })
> }
>
> Device (FWCF)
> {
> Name (_HID, "QEMU0002") // _HID: Hardware ID
> Name (_STA, 0x0B) // _STA: Status
> Name (_CCA, One) // _CCA: Cache Coherency Attribute
> Name (_CRS, ResourceTemplate () // _CRS: Current Resource
> Settings
> {
> Memory32Fixed (ReadWrite,
> 0x0902, // Address Base
> 0x0018, // Address Length
> )
> })
> }
...
>
> Device (L000)
> {
> Name (_HID, "PNP0C0F" /* PCI Interrupt Link Device */) // _HID:
> Hardware ID
> Name (_UID, Zero) // _UID: Unique ID
> Name (_PRS, ResourceTemplate () // _PRS: Possible Resource
> Settings
> {
> Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,,
> )
> {
> 0x0023,
> }
> })
> Name (_CRS, ResourceTemplate () // _CRS: Current Resource
> Settings
> {
> Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,,
> )
> {
> 0x0023,
> }
> })
> Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
> {
> }
> }
...
>
> Device (PCI0)
> {
> Name (_HID, "PNP0A08" /* PCI Express Bus */) // _HID: Hardware ID
> Name (_CID, "PNP0A03" /* PCI Bus */) // _CID: Compatible ID
> Name (_SEG, Zero) // _SEG: PCI Segment
> Name (_BBN, Zero) // _BBN: BIOS Bus Number
> Name (_UID, Zero) // _UID: Unique ID
> Name (_STR, Unicode ("PCIe 0 Device")) // _STR: Description
> String
> Name (_CCA, One) // _CCA: Cache Coherency Attribute
> Name (_PRT, Package (0x80) // _PRT: PCI Routing Table
> {
> Package (0x04)
> {
> 0x,
> Zero,
> L000,
> Zero
> },
...
> })
> Method (_CBA, 0, NotSerialized) // _CBA: Configuration Base
> Address
> {
> Return (0x00401000)
> }
>
> Name (_CRS, ResourceTemplate () // _CRS: Current Resource
> Settings
> {
> WordBusNumber (ResourceProducer, MinFixed, MaxFixed,
> PosDecode,
> 0x, // Granularity
> 0x, // Range Minimum
> 0x00FF, // Range Maximum
> 0x, // Translation Offset
> 0x0100, // Length
> ,, )
> DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed,
> NonCacheable, ReadWrite,
> 0x, // Granularity
> 0x1000, // Range Minimum
> 0x3EFE, // Range Maximum
>
