[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 18/22] microvm/acpi: use GSI 16-23 for virtio
From: |
Igor Mammedov |
Subject: |
Re: [PATCH v3 18/22] microvm/acpi: use GSI 16-23 for virtio |
Date: |
Thu, 21 May 2020 12:13:47 +0200 |
On Wed, 20 May 2020 15:19:59 +0200
Gerd Hoffmann <address@hidden> wrote:
> With ACPI enabled and IO-APIC being properly declared in the ACPI tables
> we can use interrupt lines 16-23 for virtio and avoid shared interrupts.
>
> With acpi disabled we continue to use lines 8-15.
>
> Signed-off-by: Gerd Hoffmann <address@hidden>
> Reviewed-by: Sergio Lopez <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
> ---
> hw/i386/microvm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/i386/microvm.c b/hw/i386/microvm.c
> index b38321112baa..7d8174809ae1 100644
> --- a/hw/i386/microvm.c
> +++ b/hw/i386/microvm.c
> @@ -125,7 +125,7 @@ static void microvm_devices_init(MicrovmMachineState *mms)
>
> kvmclock_create();
>
> - mms->virtio_irq_base = 8;
> + mms->virtio_irq_base = x86_machine_is_acpi_enabled(x86ms) ? 16 : 8;
> for (i = 0; i < VIRTIO_NUM_TRANSPORTS; i++) {
> sysbus_create_simple("virtio-mmio",
> VIRTIO_MMIO_BASE + i * 512,
- Re: [PATCH v3 06/22] acpi: create acpi-common.c and move madt code, (continued)
- [PATCH v3 12/22] acpi: move acpi_dsdt_add_power_button() to ged, Gerd Hoffmann, 2020/05/20
- [PATCH v3 17/22] microvm/acpi: add acpi_dsdt_add_virtio() for x86, Gerd Hoffmann, 2020/05/20
- [PATCH v3 19/22] microvm/acpi: use seabios with acpi=on, Gerd Hoffmann, 2020/05/20
- [PATCH v3 05/22] acpi: make build_madt() more generic., Gerd Hoffmann, 2020/05/20
- [PATCH v3 18/22] microvm/acpi: use GSI 16-23 for virtio, Gerd Hoffmann, 2020/05/20
- Re: [PATCH v3 18/22] microvm/acpi: use GSI 16-23 for virtio,
Igor Mammedov <=
- [PATCH v3 10/22] acpi: ged: add control regs, Gerd Hoffmann, 2020/05/20
- [PATCH v3 16/22] microvm/acpi: add minimal acpi support, Gerd Hoffmann, 2020/05/20
- [PATCH v3 21/22] [RfC] acpi: add per machine type acpi default, Gerd Hoffmann, 2020/05/20
- [PATCH v3 20/22] microvm/acpi: disable virtio-mmio cmdline hack, Gerd Hoffmann, 2020/05/20
- [PATCH v3 11/22] acpi: ged: add x86 device variant., Gerd Hoffmann, 2020/05/20
- [PATCH v3 22/22] [RfC] acpi: flip default to off for microvm, Gerd Hoffmann, 2020/05/20