[dpdk-dev] [PATCH] bus/pci: clear undefined bits in Windows segment parsing

Narcisa Ana Maria Vasile navasile at linux.microsoft.com
Thu Oct 15 20:45:22 CEST 2020


On Wed, Oct 14, 2020 at 10:30:01PM +0300, Tal Shnaiderman wrote:
> When reading bus and segment values using SPDRP_BUSNUMBER
> bits 24-31 are undefined.
> 
> They are cleared to verify we read the segment number correctly.
> 
> Fixes: c3adf8144a1 ("bus/pci: support segment value as address domain on Window")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Tal Shnaiderman <talshn at nvidia.com>
> ---
>  drivers/bus/pci/windows/pci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Narcisa Vasile <navasile at linux.microsoft.com>


More information about the dev mailing list