qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Linaro-acpi] [RFC PATCH 0/7] hw/arm/virt: Dynamic ACPI


From: Arnd Bergmann
Subject: Re: [Qemu-devel] [Linaro-acpi] [RFC PATCH 0/7] hw/arm/virt: Dynamic ACPI v5.1 table generation
Date: Wed, 12 Nov 2014 16:32:10 +0100
User-agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; )

On Wednesday 12 November 2014 16:01:14 Claudio Fontana wrote:
> 
> Would the last step you mention allow for guests to start with an already 
> existing PCI interrupt map
> and the BAR registers preprogrammed to point to somewhere sane?
> 
> I ask because on OSv at the moment, the situation is that for x86 we don't 
> need to reprogram anything on PCI,
> as everything is already nicely set up by the time the guest starts, and thus 
> the BAR addresses can be read directly.
> On ARM we have to reprogram the BARs manually for all devices.
> 
> Couldn't we give an easier time to each OS guest by having everything
> nicely set up on AArch64 as well?

Definitely, I think having the OS manually program the BARs only makes sense
in an environment where you don't have a full-featured boot loader or you
don't trust it. In servers and virtual machines, the PCI bus should always come
fully set up. This also implies that the OS should not have to deal with
registers for setting up the translation between PCI and system address
ranges.

        Arnd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]