Re: soundcard (dma) stopped working with commit 27c2127 (x86/amd-iommu: Use only per-device dma_ops)

2013-03-26 Thread Joerg Roedel
Hi Andreas, On Tue, Mar 26, 2013 at 08:37:02AM +0100, Andreas Degert wrote: Does anyone have some advice for further debugging? Can you please boot with amd_iommu_dump on the kernel command line and send dmesg after boot? This will print the parsing output of the IVRS table to dmesg which will

Re: soundcard (dma) stopped working with commit 27c2127 (x86/amd-iommu: Use only per-device dma_ops)

2013-03-26 Thread Joerg Roedel
Hi Andreas, thanks for the information. On Tue, Mar 26, 2013 at 01:48:38PM +0100, Andreas Degert wrote: seems to be this (additionaly I have appended the full dump): device: 00:00.2 cap: 0040 seg: 0 flags: fe info 1300 mmio-addr: feb8 DEV_SELECT_RANGE_START devid:

Re: soundcard (dma) stopped working with commit 27c2127 (x86/amd-iommu: Use only per-device dma_ops)

2013-03-26 Thread Joerg Roedel
On Tue, Mar 26, 2013 at 04:20:54PM +0100, Andreas Degert wrote: There is a third sound device: 04:00.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall DSP (rev 35) (at the end of the lspci listing in my first mail). This is the one that doesn't work, it's connected via

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

2013-03-26 Thread Bjorn Helgaas
On Wed, Feb 27, 2013 at 5:06 PM, Shuah Khan shuah.k...@hp.com wrote: 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

Re: [PATCH] intel-iommu: Synchronize gcmd value with global command register

2013-03-26 Thread Takao Indoh
(2013/03/26 23:46), Joerg Roedel wrote: On Thu, Mar 21, 2013 at 10:32:36AM +0900, Takao Indoh wrote: In this function, clearing IRE bit in iommu-gcmd and writing it to global command register. But initial value of iommu-gcmd is zero, so this writel means clearing all bits in global command