drivers/interrupt_controller: VT-D IRTE table should be 4kb aligned

As specified by the IRTA location.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2021-01-15 11:37:21 +01:00 committed by Anas Nashif
commit 25640f65c9
2 changed files with 4 additions and 7 deletions

View file

@ -103,7 +103,7 @@ union qi_wait_descriptor {
#define QI_WAIT_STATUS_COMPLETE 0x1UL
struct vtd_ictl_data {
struct vtd_irte irte[IRTE_NUM];
struct vtd_irte irte[IRTE_NUM] __aligned(0x1000);
struct qi_descriptor qi[QI_NUM] __aligned(0x1000);
int irqs[IRTE_NUM];
int vectors[IRTE_NUM];