Igor Mammedov
87debd32a8
x86: pci: acpi: reorder Device's _DSM method
align _DSM method in empty slot descriptor with
a populated slot position.
Expected change:
+ Device (SE8)
+ {
+ Name (_ADR, 0x001D0000) // _ADR: Address
+ Name (ASUN, 0x1D)
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
Local0 = Package (0x02)
{
BSEL,
ASUN
}
Return (PDSM (Arg0, Arg1, Arg2, Arg3, Local0))
}
- }
- Device (SE8)
- {
- Name (_ADR, 0x001D0000) // _ADR: Address
- Name (ASUN, 0x1D)
Name (_SUN, 0x1D) // _SUN: Slot User Number
Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device
{
PCEJ (BSEL, _SUN)
}
+ }
i.e. put _DSM right after ASUN, with _SUN/_EJ0 following it.
that will eliminate contextual changes (causing test failures)
when follow up patches merge code generating populated and empty
slots descriptors.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220701133515.137890-16-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-10-09 16:38:46 -04:00
..
2022-09-22 16:38:28 +01:00
2022-10-09 16:38:45 -04:00
2022-10-07 09:41:51 -04:00
2022-09-29 14:38:05 +04:00
2022-10-04 12:13:12 -07:00
2022-08-17 13:08:11 -04:00
2022-09-29 14:38:05 +04:00
2022-10-09 16:38:46 -04:00
2022-09-30 18:43:44 +02:00
2022-09-22 16:38:28 +01:00
2022-08-01 06:40:50 -05:00
2022-09-20 15:44:25 +08:00
2022-09-26 23:37:22 +02:00
2022-10-09 16:38:45 -04:00
2022-09-21 19:59:56 +02:00
2022-08-08 23:23:11 +02:00
2022-10-06 11:53:40 +01:00
2022-10-07 09:41:51 -04:00
2022-07-22 19:01:44 +02:00
2022-08-01 12:01:21 +02:00
2022-09-27 11:30:59 +02:00
2022-09-04 07:02:57 +01:00
2022-09-20 12:31:53 -03:00
2022-09-22 16:38:28 +01:00
2022-10-04 00:10:11 +02:00
2022-09-27 07:04:38 +10:00
2022-09-04 07:02:56 +01:00
2022-07-22 19:01:44 +02:00
2022-09-26 17:23:47 +02:00
2022-10-07 09:41:51 -04:00
2022-10-09 16:38:45 -04:00
2022-09-27 07:04:38 +10:00
2022-09-07 09:19:10 +02:00
2022-09-09 17:55:59 -04:00
2022-09-27 07:59:26 -04:00
2022-09-27 14:26:42 -06:00
2022-10-09 16:38:45 -04:00
2022-09-29 11:40:28 +02:00
2022-09-27 14:23:23 +01:00