aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/switchtec.h
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2020-01-06 12:03:28 -0700
committerBjorn Helgaas <bhelgaas@google.com>2020-01-15 11:00:27 -0600
commita6b0ef9a7d03bb78d37c420753741ef8a082160b (patch)
tree4d2160276b91fecdbf0fa5616ab1839d676abcf2 /include/linux/switchtec.h
parentPCI/switchtec: Fix vep_vector_number ioread width (diff)
downloadwireguard-linux-a6b0ef9a7d03bb78d37c420753741ef8a082160b.tar.xz
wireguard-linux-a6b0ef9a7d03bb78d37c420753741ef8a082160b.zip
PCI/switchtec: Add support for Intercomm Notify and Upstream Error Containment
Add support for the Inter Fabric Manager Communication (Intercomm) Notify event in PAX variants of Switchtec hardware and the Upstream Error Containment port in the MR1 release of Gen3 firmware. Link: https://lore.kernel.org/r/20200106190337.2428-4-logang@deltatee.com Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/switchtec.h')
-rw-r--r--include/linux/switchtec.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/switchtec.h b/include/linux/switchtec.h
index e295515bc3f3..b4ba3a38f30f 100644
--- a/include/linux/switchtec.h
+++ b/include/linux/switchtec.h
@@ -196,7 +196,9 @@ struct part_cfg_regs {
u32 mrpc_comp_async_data[5];
u32 dyn_binding_hdr;
u32 dyn_binding_data[5];
- u32 reserved4[159];
+ u32 intercomm_notify_hdr;
+ u32 intercomm_notify_data[5];
+ u32 reserved4[153];
} __packed;
enum {
@@ -320,7 +322,8 @@ struct pff_csr_regs {
u32 dpc_data[5];
u32 cts_hdr;
u32 cts_data[5];
- u32 reserved3[6];
+ u32 uec_hdr;
+ u32 uec_data[5];
u32 hotplug_hdr;
u32 hotplug_data[5];
u32 ier_hdr;