]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/msi: Fix msi message data shadow struct
authorReto Buerki <reet@codelabs.ch>
Thu, 7 Apr 2022 11:06:47 +0000 (13:06 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:59:47 +0000 (11:59 +0200)
commit14edefebb5ae6c5f7cd5d2c53ead67568db38014
tree0456b6d478d8764ff4700dda8c9cf6a328623fbb
parent9aa6b6a67ca1b79e2b23a3912cb4cf495aac8338
x86/msi: Fix msi message data shadow struct

BugLink: https://bugs.launchpad.net/bugs/1969107
commit 59b18a1e65b7a2134814106d0860010e10babe18 upstream.

The x86 MSI message data is 32 bits in total and is either in
compatibility or remappable format, see Intel Virtualization Technology
for Directed I/O, section 5.1.2.

Fixes: 6285aa50736 ("x86/msi: Provide msi message shadow structs")
Co-developed-by: Adrian-Ken Rueegsegger <ken@codelabs.ch>
Signed-off-by: Adrian-Ken Rueegsegger <ken@codelabs.ch>
Signed-off-by: Reto Buerki <reet@codelabs.ch>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220407110647.67372-1-reet@codelabs.ch
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 2f67341e5bcec48f96864acdf7cb9d92dcccabd0)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
arch/x86/include/asm/msi.h