hw/i386: Fix AMDVI GATS and HATS encodings
commit2073bd43bd40ff6fc36f293a569bff113c0923d4
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 22 May 2018 07:07:53 +0000 (22 09:07 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 26 Jun 2018 18:58:03 +0000 (26 21:58 +0300)
tree635f4e92f7ce380093c1a9fc1f51b41572c159e2
parent0b363b61f1b7530572d7f4d26a3cff390a2100d5
hw/i386: Fix AMDVI GATS and HATS encodings

We support up to 6 levels, but those are encoded as 10b according to the
AMD IOMMU spec (chapter 3.3.1, Extended Feature Register).

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/amd_iommu.h