xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fixes to Xen pcifront and pciback (v1)
@ 2016-02-11 21:10 Konrad Rzeszutek Wilk
  2016-02-11 21:10 ` [PATCH 1/4] xen/pciback: Check PF instead of VF for PCI_COMMAND_MEMORY Konrad Rzeszutek Wilk
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-02-11 21:10 UTC (permalink / raw)
  To: Tommi Airikka, linux-kernel, xen-devel, david.vrabel,
	boris.ostrovsky

Hey,

These are patches that were developed for the Debian bug
810379 which san Tommi had openned.

The issue around from the two XSA fixes - which introduced
this regression.

I am the person who developed them and my explanation for this
regression oversight is that I tested for the 'exploit use-case'
and also did not have the VF automatic testing for PV guests
working at that point (only for HVM guests). When testing it
with with an PF in PV mode it worked - as the device would
fallback to legacy interrupts so things looked fine (argh)
from the outside (could ping it).

Either way it is embarrassing and I am sorry for the trouble
this caused.

Now the patches:
 [PATCH 1/4] xen/pciback: Check PF instead of VF for

Fixes regression introduced by XSA-157 for VF guests that
use MSI-X.

 [PATCH 2/4] xen/pciback: Save the number of MSI-X entries to be

Fixes regression introduced by XSA-155 - where MSI-X vectors
would not be copied back to the guest.

 [PATCH 3/4] xen/pcifront: Report the errors better.

Makes it easier to troubleshoot in the future.
 [PATCH 4/4] xen/pcifront: Fix mysterious crashes when NUMA locality

This one I think has been in the driver since the first time
the PV driver was introduced.

 arch/x86/include/asm/xen/pci.h        |  4 ++--
 arch/x86/pci/xen.c                    |  5 ++++-
 drivers/pci/xen-pcifront.c            | 11 +++++++----
 drivers/xen/xen-pciback/pciback_ops.c | 12 +++++++++---
 4 files changed, 22 insertions(+), 10 deletions(-)

Konrad Rzeszutek Wilk (4):
      xen/pciback: Check PF instead of VF for PCI_COMMAND_MEMORY
      xen/pciback: Save the number of MSI-X entries to be copied later.
      xen/pcifront: Report the errors better.
      xen/pcifront: Fix mysterious crashes when NUMA locality information was extracted.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-02-15 15:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-11 21:10 [PATCH] Fixes to Xen pcifront and pciback (v1) Konrad Rzeszutek Wilk
2016-02-11 21:10 ` [PATCH 1/4] xen/pciback: Check PF instead of VF for PCI_COMMAND_MEMORY Konrad Rzeszutek Wilk
2016-02-12  9:19   ` Jan Beulich
2016-02-11 21:10 ` [PATCH 2/4] xen/pciback: Save the number of MSI-X entries to be copied later Konrad Rzeszutek Wilk
2016-02-12  9:25   ` Jan Beulich
2016-02-11 21:10 ` [PATCH 3/4] xen/pcifront: Report the errors better Konrad Rzeszutek Wilk
2016-02-11 21:10 ` [PATCH 4/4] xen/pcifront: Fix mysterious crashes when NUMA locality information was extracted Konrad Rzeszutek Wilk
2016-02-14  1:23   ` Boris Ostrovsky
     [not found]   ` <56BFD702.9010708@oracle.com>
2016-02-15 14:05     ` Konrad Rzeszutek Wilk
2016-02-15 14:37       ` Boris Ostrovsky
2016-02-15 14:27   ` David Vrabel
2016-02-15 14:35 ` [PATCH] Fixes to Xen pcifront and pciback (v1) David Vrabel
     [not found] ` <56C1E24C.5040704@citrix.com>
2016-02-15 14:38   ` David Vrabel
     [not found]   ` <56C1E2DE.7030507@citrix.com>
2016-02-15 15:35     ` Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).