IB/hfi1: Export 8051 memory and LCB registers via debugfs
authorDean Luick <dean.luick@intel.com>
Thu, 8 Dec 2016 03:32:34 +0000 (19:32 -0800)
committerDoug Ledford <dledford@redhat.com>
Sun, 11 Dec 2016 20:25:13 +0000 (15:25 -0500)
commit1b9e7749335281c086243c2dc75d2ad7c2b32abe
tree25b80075757c5cf05b7fc9949ed2ba6b3393558a
parent53e91d264be9e9adbf34b83b8ce5c12452f6765e
IB/hfi1: Export 8051 memory and LCB registers via debugfs

Both the 8051 memory and LCB register access require multiple
steps and coordination with the driver.  This cannot be safely
done with resource0 alone.

The 8051 memory is exported read-only.  LCB is exported read/write.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/debugfs.c