diff options
author | Suravee Suthikulpanit <[email protected]> | 2020-12-10 10:24:36 -0600 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-12-11 12:47:22 +0000 |
commit | 5ae9a046a452d60b6a6c076f6df7e3f8e34f918f (patch) | |
tree | 1bf89ebb5b48718f004f943131246e33ae49335d /scripts/gdb/linux/timerlist.py | |
parent | 71fe89ceb55bc0a85121b757cc8d3fb6ff457263 (diff) |
iommu/amd: Add sanity check for interrupt remapping table length macros
Currently, macros related to the interrupt remapping table length are
defined separately. This has resulted in an oversight in which one of
the macros were missed when changing the length. To prevent this,
redefine the macros to add built-in sanity check.
Also, rename macros to use the name of the DTE[IntTabLen] field as
specified in the AMD IOMMU specification. There is no functional change.
Suggested-by: Linus Torvalds <[email protected]>
Reviewed-by: Tom Lendacky <[email protected]>
Signed-off-by: Suravee Suthikulpanit <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Jerry Snitselaar <[email protected]>
Cc: Joerg Roedel <[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions