Re: [Qemu-devel] [GIT PULL (PATCH 0/4)] VFIO driver for v3.6
On Mon, Jul 30, 2012 at 4:17 PM, Alex Williamson alex.william...@redhat.com wrote: I'm pretty anxious to find out as well. Linus, ping, any thoughts on including this in 3.6? Thanks, I just pulled it, but then I unpulled again when I realized it's not a signed tag and it's on github. Please, people. Do tagged releases with proper signatures if you're not using kernel.org or other controlled servers. In fact, I prefer signed tags even if you *do* use kernel.org etc. Linus
Re: [Qemu-devel] [GIT PULL (PATCH 0/4)] VFIO driver for v3.6
On Mon, 2012-07-30 at 22:11 -0700, Linus Torvalds wrote: On Mon, Jul 30, 2012 at 4:17 PM, Alex Williamson alex.william...@redhat.com wrote: I'm pretty anxious to find out as well. Linus, ping, any thoughts on including this in 3.6? Thanks, I just pulled it, but then I unpulled again when I realized it's not a signed tag and it's on github. Please, people. Do tagged releases with proper signatures if you're not using kernel.org or other controlled servers. In fact, I prefer signed tags even if you *do* use kernel.org etc. Sorry about that, Linus. I think this is a properly signed tag, please let me know if I'm still screwing up. Thanks, Alex The following changes since commit 2e3ee613480563a6d5c01b57d342e65cc58c06df: Merge tag 'writeback-proportions' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/linux (2012-07-30 22:14:04 -0700) are available in the git repository at: g...@github.com:awilliam/linux-vfio.git tags/vfio-for-v3.6 for you to fetch changes up to 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153: vfio: Add PCI device driver (2012-07-31 08:16:24 -0600) VFIO for v3.6 Alex Williamson (4): vfio: VFIO core vfio: Add documentation vfio: Type1 IOMMU implementation vfio: Add PCI device driver Documentation/ioctl/ioctl-number.txt |1 + Documentation/vfio.txt | 314 +++ MAINTAINERS |8 + drivers/Kconfig |2 + drivers/Makefile |1 + drivers/vfio/Kconfig | 16 + drivers/vfio/Makefile|3 + drivers/vfio/pci/Kconfig |8 + drivers/vfio/pci/Makefile|4 + drivers/vfio/pci/vfio_pci.c | 579 + drivers/vfio/pci/vfio_pci_config.c | 1540 ++ drivers/vfio/pci/vfio_pci_intrs.c| 740 drivers/vfio/pci/vfio_pci_private.h | 91 ++ drivers/vfio/pci/vfio_pci_rdwr.c | 269 ++ drivers/vfio/vfio.c | 1420 +++ drivers/vfio/vfio_iommu_type1.c | 753 + include/linux/vfio.h | 445 ++ 17 files changed, 6194 insertions(+) create mode 100644 Documentation/vfio.txt create mode 100644 drivers/vfio/Kconfig create mode 100644 drivers/vfio/Makefile create mode 100644 drivers/vfio/pci/Kconfig create mode 100644 drivers/vfio/pci/Makefile create mode 100644 drivers/vfio/pci/vfio_pci.c create mode 100644 drivers/vfio/pci/vfio_pci_config.c create mode 100644 drivers/vfio/pci/vfio_pci_intrs.c create mode 100644 drivers/vfio/pci/vfio_pci_private.h create mode 100644 drivers/vfio/pci/vfio_pci_rdwr.c create mode 100644 drivers/vfio/vfio.c create mode 100644 drivers/vfio/vfio_iommu_type1.c create mode 100644 include/linux/vfio.h
Re: [Qemu-devel] [GIT PULL (PATCH 0/4)] VFIO driver for v3.6
On Tue, 2012-07-31 at 08:53 -0600, Alex Williamson wrote: On Mon, 2012-07-30 at 22:11 -0700, Linus Torvalds wrote: On Mon, Jul 30, 2012 at 4:17 PM, Alex Williamson alex.william...@redhat.com wrote: I'm pretty anxious to find out as well. Linus, ping, any thoughts on including this in 3.6? Thanks, I just pulled it, but then I unpulled again when I realized it's not a signed tag and it's on github. Please, people. Do tagged releases with proper signatures if you're not using kernel.org or other controlled servers. In fact, I prefer signed tags even if you *do* use kernel.org etc. Sorry about that, Linus. I think this is a properly signed tag, please let me know if I'm still screwing up. Thanks, Alex The following changes since commit 2e3ee613480563a6d5c01b57d342e65cc58c06df: Merge tag 'writeback-proportions' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/linux (2012-07-30 22:14:04 -0700) are available in the git repository at: g...@github.com:awilliam/linux-vfio.git tags/vfio-for-v3.6 Ack, git pull-request snuck this by me, obviously this should be: git://github.com/awilliam/linux-vfio.git tags/vfio-for-v3.6 Thanks, Alex for you to fetch changes up to 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153: vfio: Add PCI device driver (2012-07-31 08:16:24 -0600) VFIO for v3.6 Alex Williamson (4): vfio: VFIO core vfio: Add documentation vfio: Type1 IOMMU implementation vfio: Add PCI device driver Documentation/ioctl/ioctl-number.txt |1 + Documentation/vfio.txt | 314 +++ MAINTAINERS |8 + drivers/Kconfig |2 + drivers/Makefile |1 + drivers/vfio/Kconfig | 16 + drivers/vfio/Makefile|3 + drivers/vfio/pci/Kconfig |8 + drivers/vfio/pci/Makefile|4 + drivers/vfio/pci/vfio_pci.c | 579 + drivers/vfio/pci/vfio_pci_config.c | 1540 ++ drivers/vfio/pci/vfio_pci_intrs.c| 740 drivers/vfio/pci/vfio_pci_private.h | 91 ++ drivers/vfio/pci/vfio_pci_rdwr.c | 269 ++ drivers/vfio/vfio.c | 1420 +++ drivers/vfio/vfio_iommu_type1.c | 753 + include/linux/vfio.h | 445 ++ 17 files changed, 6194 insertions(+) create mode 100644 Documentation/vfio.txt create mode 100644 drivers/vfio/Kconfig create mode 100644 drivers/vfio/Makefile create mode 100644 drivers/vfio/pci/Kconfig create mode 100644 drivers/vfio/pci/Makefile create mode 100644 drivers/vfio/pci/vfio_pci.c create mode 100644 drivers/vfio/pci/vfio_pci_config.c create mode 100644 drivers/vfio/pci/vfio_pci_intrs.c create mode 100644 drivers/vfio/pci/vfio_pci_private.h create mode 100644 drivers/vfio/pci/vfio_pci_rdwr.c create mode 100644 drivers/vfio/vfio.c create mode 100644 drivers/vfio/vfio_iommu_type1.c create mode 100644 include/linux/vfio.h
Re: [Qemu-devel] [GIT PULL (PATCH 0/4)] VFIO driver for v3.6
On Fri, 2012-07-27 at 15:32 +1000, Paul Mackerras wrote: On Wed, Jul 25, 2012 at 08:53:06AM -0600, Alex Williamson wrote: Hi Linus, This series includes the VFIO userspace driver interface for the 3.6 kernel merge window. This driver is intended to provide a secure interface for device access using IOMMU protection for applications like assignment of physical devices to virtual machines. Qemu will be the first user of this interface, enabling assignment of PCI devices to Qemu guests. This interface is intended to eventually replace the x86-specific assignment mechanism currently available in KVM. This interface has the advantage of being more secure, by working with IOMMU groups to ensure device isolation and providing it's own filtered resource access mechanism, and also more flexible, in not being x86 or KVM specific (extensions to enable POWER are already working). As a new driver, I'm including both the individual patches in email, as well as a branch to pull from: git://github.com/awilliam/linux-vfio.git for-linus This driver is originally the work of Tom Lyon, but has since been handed over to me and gone through a complete overhaul thanks to the input from David Gibson, Ben Herrenschmidt, Chris Wright, Joerg Roedel, and others. This driver has been available in linux-next for the last month. Thanks, Linus, Are you thinking of pulling this driver in for 3.6? I would be glad to see it go in since we want to use it with KVM on PowerPC. If possible we'd like the PowerPC bits for it to go in as well. I'm pretty anxious to find out as well. Linus, ping, any thoughts on including this in 3.6? Thanks, Alex
Re: [Qemu-devel] [GIT PULL (PATCH 0/4)] VFIO driver for v3.6
On Wed, Jul 25, 2012 at 08:53:06AM -0600, Alex Williamson wrote: Hi Linus, This series includes the VFIO userspace driver interface for the 3.6 kernel merge window. This driver is intended to provide a secure interface for device access using IOMMU protection for applications like assignment of physical devices to virtual machines. Qemu will be the first user of this interface, enabling assignment of PCI devices to Qemu guests. This interface is intended to eventually replace the x86-specific assignment mechanism currently available in KVM. This interface has the advantage of being more secure, by working with IOMMU groups to ensure device isolation and providing it's own filtered resource access mechanism, and also more flexible, in not being x86 or KVM specific (extensions to enable POWER are already working). As a new driver, I'm including both the individual patches in email, as well as a branch to pull from: git://github.com/awilliam/linux-vfio.git for-linus This driver is originally the work of Tom Lyon, but has since been handed over to me and gone through a complete overhaul thanks to the input from David Gibson, Ben Herrenschmidt, Chris Wright, Joerg Roedel, and others. This driver has been available in linux-next for the last month. Thanks, Linus, Are you thinking of pulling this driver in for 3.6? I would be glad to see it go in since we want to use it with KVM on PowerPC. If possible we'd like the PowerPC bits for it to go in as well. Paul.