qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 00/20] Generate ACPI v5.1 tables and expose i


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v4 00/20] Generate ACPI v5.1 tables and expose it to guest over fw_cfg on ARM
Date: Tue, 7 Apr 2015 10:43:07 +0100

On 7 April 2015 at 10:32, Michael S. Tsirkin <address@hidden> wrote:
> On Tue, Apr 07, 2015 at 10:19:22AM +0100, Peter Maydell wrote:
>> On 7 April 2015 at 03:43, Shannon Zhao <address@hidden> wrote:
>> > The dts node is:
>> >                 ranges = <0x1000000 0x0 0x0 0x0 0x3eff0000 0x0 0x10000
>> >                           0x2000000 0x0 0x10000000 0x0 0x10000000 0x0 
>> > 0x2eff0000>;
>> >                 reg = <0x0 0x3f000000 0x0 0x1000000>;
>> >                 bus-range = <0x0 0xf>;
>> >
>> > The ACPI table entry:
>> >             Method (_CBA, 0, NotSerialized)  // _CBA: Configuration Base 
>> > Address
>> >             {
>> >                 Return (0x3F000000)
>> >             }
>> >             Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource 
>> > Settings
>> >             {
>> >                 Name (RBUF, ResourceTemplate ()
>> >                 {
>> >                     WordBusNumber (ResourceProducer, MinFixed, MaxFixed, 
>> > PosDecode,
>> >                         0x0000,             // Granularity
>> >                         0x0000,             // Range Minimum
>> >                         0x000F,             // Range Maximum
>> >                         0x0000,             // Translation Offset
>> >                         0x0010,             // Length
>> >                         ,, )
>> >                     DWordMemory (ResourceProducer, PosDecode, MinFixed, 
>> > MaxFixed, Cacheable, ReadWrite,
>>
>> Is this claiming that the non-cacheable PCI MMIO region is cacheable?
>> If so that isn't right...
>
> I suspect that's fine.
> Some parts of MMIO might be cacheable. This really depends on the
> device

No, this is the PCI "non-cacheable MMIO" window. (We don't have
a cacheable MMIO window on this board). In the DTB we advertise
it as non-cacheable, and we should do the same in ACPI.

-- PMM



reply via email to

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