]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iommu/amd: Modify ivhd_header structure to support type 11h and 40h
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Fri, 1 Apr 2016 13:05:58 +0000 (09:05 -0400)
committerJoerg Roedel <jroedel@suse.de>
Thu, 7 Apr 2016 11:29:41 +0000 (13:29 +0200)
commitac7ccf6765af5a255cec82fa95ec11f6c769022c
tree9d5cf9d992ac6678d6496a02e724d832f592309e
parent7d7d38afb3e8fdfebfd867cc0ff4b5c45c14053c
iommu/amd: Modify ivhd_header structure to support type 11h and 40h

This patch modifies the existing struct ivhd_header,
which currently only support IVHD type 0x10, to add
new fields from IVHD type 11h and 40h.

It also modifies the pointer calculation to allow
support for IVHD type 11h and 40h

Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu_init.c