Searched hist:cf2181aef23e7f145e8fe7b8395694d32b115ae5 (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/acpi/ |
H A D | pci.c | diff cf2181aef23e7f145e8fe7b8395694d32b115ae5 Mon Sep 16 12:42:37 CDT 2024 Jonathan Cameron <Jonathan.Cameron@huawei.com> hw/acpi: Make storage of node id uint32_t to reduce fragility
>From review of generic port introduction.
The value is handled as a uint32_t so store it in that type. The value cannot in reality exceed MAX_NODES which is currently 128 but if the types are matched there is no need to rely on that restriction.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20240916174237.1843213-1-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
H A D | aml-build.c | diff cf2181aef23e7f145e8fe7b8395694d32b115ae5 Mon Sep 16 12:42:37 CDT 2024 Jonathan Cameron <Jonathan.Cameron@huawei.com> hw/acpi: Make storage of node id uint32_t to reduce fragility
>From review of generic port introduction.
The value is handled as a uint32_t so store it in that type. The value cannot in reality exceed MAX_NODES which is currently 128 but if the types are matched there is no need to rely on that restriction.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20240916174237.1843213-1-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
/openbmc/qemu/include/hw/acpi/ |
H A D | aml-build.h | diff cf2181aef23e7f145e8fe7b8395694d32b115ae5 Mon Sep 16 12:42:37 CDT 2024 Jonathan Cameron <Jonathan.Cameron@huawei.com> hw/acpi: Make storage of node id uint32_t to reduce fragility
>From review of generic port introduction.
The value is handled as a uint32_t so store it in that type. The value cannot in reality exceed MAX_NODES which is currently 128 but if the types are matched there is no need to rely on that restriction.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20240916174237.1843213-1-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|