summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/amd_iommu_types.h
Commit message (Collapse)AuthorAgeFilesLines
* x86, AMD IOMMU: replace DEVID macro with a functionJoerg Roedel2008-07-111-0/+7
| | | | | | | | | | | This patch replaces the DEVID macro with a function and uses them where apropriate (also in the core code). Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Cc: iommu@lists.linux-foundation.org Cc: bhavna.sarathy@amd.com Cc: robert.richter@amd.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86, AMD IOMMU: fix device table entry sizeJoerg Roedel2008-07-111-1/+1
| | | | | | | | | | A device table entry is actually only 256 *bits* large. Not 256 bytes. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Cc: iommu@lists.linux-foundation.org Cc: bhavna.sarathy@amd.com Cc: robert.richter@amd.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86, AMD IOMMU: replace HIGH_U32 macro with upper_32_bits functionJoerg Roedel2008-07-111-1/+0
| | | | | | | | | | | Removes a driver specific macro and replaces it with a generic function already available in Linux. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Cc: iommu@lists.linux-foundation.org Cc: bhavna.sarathy@amd.com Cc: robert.richter@amd.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86, AMD IOMMU: add comments to amd_iommu_types.hJoerg Roedel2008-07-111-6/+98
| | | | | | | | Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Cc: iommu@lists.linux-foundation.org Cc: bhavna.sarathy@amd.com Cc: robert.richter@amd.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86, AMD IOMMU: flush domain TLB when there is more than one page to flushJoerg Roedel2008-07-041-0/+2
| | | | | | | | | | | | | | This patch changes the domain TLB flushing behavior of the driver. When there is more than one page to flush it flushes the whole domain TLB instead of every single page. So we send only a single command to the IOMMU in every case which is faster to execute. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Cc: iommu@lists.linux-foundation.org Cc: bhavna.sarathy@amd.com Cc: robert.richter@amd.com Cc: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86, AMD IOMMU: add header file for driver data structures and definesJoerg Roedel2008-06-271-0/+242
This patch adds a header file local to the AMD IOMMU driver with constants and data structures needed in the code. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Cc: iommu@lists.linux-foundation.org Cc: bhavna.sarathy@amd.com Cc: Sebastian.Biemueller@amd.com Cc: robert.richter@amd.com Cc: joro@8bytes.org Signed-off-by: Ingo Molnar <mingo@elte.hu>
OpenPOWER on IntegriCloud