diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2017-11-29 10:28:43 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-12-18 23:08:11 -0600 |
commit | f0edce7a7f4c236f2d05040746b388cfac8796a1 (patch) | |
tree | 2f3307725b8660e602be3afcdfe34e351a2a6d1f /include/linux/switchtec.h | |
parent | 1291a0d5049dbc06baaaf66a9ff3f53db493b19b (diff) | |
download | lwn-f0edce7a7f4c236f2d05040746b388cfac8796a1.tar.gz lwn-f0edce7a7f4c236f2d05040746b388cfac8796a1.zip |
switchtec: Add Global Fabric Manager Server (GFMS) event
Add a new event type that is newly exposed by recent firmware. The event
will never occur if the firmware is too old. If user space tries to use
this event in an older kernel, it will just get an EINVAL which is
perfectly acceptable in the existing user space code.
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/switchtec.h b/include/linux/switchtec.h index 09d73d0d1aa8..42d121174fe2 100644 --- a/include/linux/switchtec.h +++ b/include/linux/switchtec.h @@ -100,6 +100,9 @@ struct sw_event_regs { u32 gpio_interrupt_hdr; u32 gpio_interrupt_data; u32 reserved16[4]; + u32 gfms_event_hdr; + u32 gfms_event_data; + u32 reserved17[4]; } __packed; enum { |