Re: [PATCH] dev-assignment: handle device with incorrect PCIe Cap structure size

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

 



On Mon, Aug 01, 2011 at 06:53:49PM +0300, Avi Kivity wrote:
> On 08/01/2011 06:50 PM, Marcelo Tosatti wrote:
> >On Tue, Jul 26, 2011 at 06:08:09PM -0400, Donald Dutile wrote:
> >>  The bcm5761 provides a PCIe Cap structure (capid=0x10)
> >>  that is invalid, providing one that is 8 bytes shorter
> >>  than the v2 PCIe spec defines.
> >>  This leads to a memory corruption when mapped for device-assigment.
> >>
> >>  Add a check in assigned_device_pci_cap_init() to correct
> >>  this hw error for this device, and try to catch other ones
> >>  and print warnings if they exists.
> >>
> >>  Signed-off-by: Donald Dutile<ddutile@xxxxxxxxxx>
> >>  cc: Alex Williamson<alex.williamson@xxxxxxxxxx>
> >>  cc: Michael S. Tsirking<mst@xxxxxxxxxx>
> >
> >Patch does not apply cleanly, complaints about trailing whitespaces.
> >
> >Please regenerate against current git tree, thanks.
> >
> 
> I thought I applied it already, I even remember the trailing
> whitespace complaints (which git fixed for me).
> 
> I hope we didn't lose other patches this way.

OK. Its not lost:

commit f9c29774d2174df6ffc20becec20928948198914
Author: Donald Dutile <ddutile@xxxxxxxxxx>
Date:   Tue Jul 26 18:08:09 2011 -0400

    device-assignment: handle device with incorrect PCIe Cap structure size


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux