Re: [BACKPORT v4.19] PCI: vmd: Fix config addressing when using bus offsets

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

 



On Tue, Oct 15, 2019 at 05:06:07PM -0600, Sushma Kalakota wrote:
> From: Jon Derrick <jonathan.derrick@xxxxxxxxx>
> 
> commit e3dffa4f6c3612dea337c9c59191bd418afc941b upstream
> 
> This is a backport due to feature dependencies preventing
> the upstream patch from applying cleanly.
> 
> VMD maps child device config spaces to the VMD Config BAR linearly
> regardless of the starting bus offset. Because of this, the config
> address decode must ignore starting bus offsets when mapping the BDF to
> the config space address.
> 
> Fixes: 2a5a9c9a20f9 ("PCI: vmd: Add offset to bus numbers if necessary")
> Signed-off-by: Jon Derrick <jonathan.derrick@xxxxxxxxx>
> Signed-off-by: Sushma Kalakota <sushmax.kalakota@xxxxxxxxx>
> ---
>  drivers/pci/controller/vmd.c | 16 +++++++++-------
>  1 file changed, 9 insertions(+), 7 deletions(-)

Now queued up.

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux