All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] xen: msi support for Xen dom0
@ 2009-08-18  5:45 Qing He
  2009-08-18  5:45 ` [PATCH 1/3] xen: make pci notifier work with booting devices Qing He
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Qing He @ 2009-08-18  5:45 UTC (permalink / raw)
  To: xen-devel; +Cc: jeremy, yunhong.jiang, Qing He

This patch set adds support for msi in Xen dom0. It's based on the
pci notifier patches of Weidong Han (on rebase/pci branch) and
contains the following 3 patches.

	[PATCH 1/3] xen: make pci notifier work with booting devices
	[PATCH 2/3] xen: add msi support for dom0
	[PATCH 3/3] xen: re-enable msi (effectively revert bf89bc29)

One of the problem left is how to save/restore MSI across S3. Since
pci_restore_msi_state() now doesn't have any arch specific hook, the
code in arch/x86/ won't get a chance to run during S3 wakeup, so
write_msi_msg() is called instead of xen specific functions. One of
the possible solutions (and which I prefer) is to add something like
arch_pci_restore_msi, but that involves slightly changing
drivers/pci/msi.c, which probably needs more thinking and discussion.

An alternative is to trap and emulate any access to pci configuration
space. In that case, nothing in dom0 needs changing, and write_msi_msg
can be reused, but considerable logic may need to change in Xen
hypervisor.

Thanks,
Qing

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

end of thread, other threads:[~2009-09-02 22:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-18  5:45 [PATCH 0/3] xen: msi support for Xen dom0 Qing He
2009-08-18  5:45 ` [PATCH 1/3] xen: make pci notifier work with booting devices Qing He
2009-08-18  5:45 ` [PATCH 2/3] xen: add msi support for dom0 Qing He
2009-08-18  5:45 ` [PATCH 3/3] xen: re-enable msi Qing He
2009-08-18 20:24 ` [PATCH 0/3] xen: msi support for Xen dom0 Jeremy Fitzhardinge
2009-08-19  1:45   ` Qing He
2009-08-19 19:22     ` Jeremy Fitzhardinge
2009-09-01  1:54       ` Qing He
2009-09-02 22:55         ` Jeremy Fitzhardinge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.