Re: IO_PAGE_FAULTs on unity mapped regions during amd_iommu_init() in Linux 3.4

2013-02-11 Thread Greg KH
On Wed, Feb 06, 2013 at 07:40:50PM -0700, Shuah Khan wrote: On Wed, 2013-02-06 at 13:12 +0100, Joerg Roedel wrote: On Tue, Feb 05, 2013 at 06:57:21AM -0700, Shuah Khan wrote: Thanks much. I will hang on to this test system for testing your fix. Okay, here is the simple fix for v3.8-rc6.

Re: IO_PAGE_FAULTs on unity mapped regions during amd_iommu_init() in Linux 3.4

2013-02-11 Thread Shuah Khan
On Mon, Feb 11, 2013 at 12:49 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Feb 06, 2013 at 07:40:50PM -0700, Shuah Khan wrote: On Wed, 2013-02-06 at 13:12 +0100, Joerg Roedel wrote: On Tue, Feb 05, 2013 at 06:57:21AM -0700, Shuah Khan wrote: Thanks much. I will hang on to this test

Re: IO_PAGE_FAULTs on unity mapped regions during amd_iommu_init() in Linux 3.4

2013-02-11 Thread Joerg Roedel
On Mon, Feb 11, 2013 at 01:57:03PM -0700, Shuah Khan wrote: I was hoping Joerg's patch would make it into Linus's tree by now. I tested the original patch and did the back-port to 3.4 and 3.0 at the same time, before I loose the test system. I will send the patch with the next merge window. It

[PATCH 0/4] pci: Add PCI_BUS() and PCI_DEVID() interfaces to return bus number and device id

2013-02-11 Thread Shuah Khan
pci defines PCI_DEVFN(), PCI_SLOT(), and PCI_FUNC() interfaces, however, it doesn't have interfaces to return PCI bus and PCI device id. Drivers (AMD IOMMU, and AER) have module specific definitions for PCI_BUS() and AMD_IOMMU driver also has a module specific interface to calculate PCI device id

[PATCH 1/4] pci: Add PCI_BUS() and PCI_DEVID() interfaces to return bus number and device id

2013-02-11 Thread Shuah Khan
pci defines PCI_DEVFN(), PCI_SLOT(), and PCI_FUNC() interfaces, however, it doesn't have interfaces to return PCI bus and PCI device id. Drivers (AMD IOMMU, and AER) implement module specific definitions for PCI_BUS() and AMD_IOMMU driver also has a module specific interface to calculate PCI

[PATCH 3/4] amd_iommu: Remove local PCI_BUS() define and use PCI_BUS() from pci

2013-02-11 Thread Shuah Khan
Change to remove local PCI_BUS() define and use the new PCI_BUS interface from pci. Signed-off-by: Shuah Khan shuah.k...@hp.com --- drivers/iommu/amd_iommu_types.h |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/iommu/amd_iommu_types.h

[PATCH 4/4] amd_iommu: Remove calc_devid() and use PCI_DEVID() from pci

2013-02-11 Thread Shuah Khan
Change to remove calc_devid() and use PCI_DEVID() from pci instead. Signed-off-by: Shuah Khan shuah.k...@hp.com --- drivers/iommu/amd_iommu.c |2 +- drivers/iommu/amd_iommu_init.c |6 +++--- drivers/iommu/amd_iommu_types.h |7 --- 3 files changed, 4 insertions(+), 11

Re: PCI warning on boot 3.8.0-rc1

2013-02-11 Thread Alex Williamson
On Wed, 2013-02-06 at 08:58 -0700, Alex Williamson wrote: On Wed, 2013-02-06 at 07:49 -0800, Stephen Hemminger wrote: On Mon, 04 Feb 2013 15:41:24 -0700 Alex Williamson alex.william...@redhat.com wrote: On Mon, 2013-02-04 at 13:28 -0700, Alex Williamson wrote: On Mon, 2013-02-04 at