Re: [PCIUTILS PATCH v2] lspci: Fix wrong read size for RootSta

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

 



Hello!

> > We are reading wrong size(word) for this cap, since:
> > 
> > RootSta has:
> > PCI_EXP_RTSTA_PME_STATUS  0x00010000 /* PME Status */
> > PCI_EXP_RTSTA_PME_PENDING 0x00020000 /* PME is Pending */
> > 
> > Signed-off-by: Jeffy Chen <jeffy.chen@xxxxxxxxxxxxxx>
> 
> Looks good to me.  Root Status is indeed a 32-bit register, per
> PCIe r3.1, sec 7.8.14.
> 
> Reviewed-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

Thanks, applied.

				Have a nice fortnight
-- 
Martin `MJ' Mares                          <mj@xxxxxx>   http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Even nostalgia isn't what it used to be.



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux