qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] riscv: virt: Correct pci "bus-range" encoding


From: Bin Meng
Subject: Re: [Qemu-devel] [PATCH] riscv: virt: Correct pci "bus-range" encoding
Date: Thu, 6 Jun 2019 20:55:13 +0800

On Thu, May 30, 2019 at 11:36 AM Bin Meng <address@hidden> wrote:
>
> Hi Alistair,
>
> On Thu, May 30, 2019 at 11:14 AM Alistair Francis <address@hidden> wrote:
> >
> > On Wed, May 29, 2019 at 1:52 AM Bin Meng <address@hidden> wrote:
> > >
> > > The largest pci bus number should be calculated from ECAM size,
> > > instead of its base address.
> > >
> > > Signed-off-by: Bin Meng <address@hidden>
> >
> > This seems ok, can you maybe explain what this fixes?
> >
>
> The logic is wrong, as the commit message said. With current wrong
> logic, the largest pci bus number encoded in "bus-ranges" property was
> wrongly set to 0x2ff in this case. Per pci spec, the bus number should
> not exceed 0xff.
>

Ping?



reply via email to

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