PCI: pci-bridge-emul: Add definitions for missing capabilities registers
authorPali Rohár <pali@kernel.org>
Wed, 4 May 2022 16:57:27 +0000 (18:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 May 2022 10:30:27 +0000 (12:30 +0200)
commit739c052b9b26bc5abff3f6a5139292c00bc1964e
tree04718b8302309840baaa49bba7528549c9d93ff8
parentb3ca84e3c66a4506ac08985bd72c8f255a7d6978
PCI: pci-bridge-emul: Add definitions for missing capabilities registers

commit 8ea673a8b30b4a32516b8adabb15e2a68ff02ec8 upstream.

pci-bridge-emul driver already allocates buffer for capabilities up to the
PCI_EXP_SLTSTA2 register, but does not define bit access behavior for these
registers. Add these missing definitions.

Link: https://lore.kernel.org/r/20211130172913.9727-3-kabel@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/pci-bridge-emul.c