]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/amd-iommu: warn when issuing command to uninitialized cmd buffer
authorChris Wright <chrisw@sous-sol.org>
Sat, 3 Apr 2010 01:27:53 +0000 (18:27 -0700)
committerJoerg Roedel <joerg.roedel@amd.com>
Wed, 7 Apr 2010 09:51:15 +0000 (11:51 +0200)
commit549c90dc9a6d659e792b2a42a0930c7da015ea4a
treee0d0115631aa40eb45b58fb24bdcd399d2e17e47
parent75f66533bc883f761a7adcab3281fe3323efbc90
x86/amd-iommu: warn when issuing command to uninitialized cmd buffer

To catch future potential issues we can add a warning whenever we issue
a command before the command buffer is fully initialized.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/include/asm/amd_iommu_types.h
arch/x86/kernel/amd_iommu.c
arch/x86/kernel/amd_iommu_init.c