]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7507adcffb12698d0b67da4ed2d48352ac39c861
tree25b80075757c5cf05b7fc9949ed2ba6b3393558a
parent617f9c4c32d649411faa4da9aa25f8e119833040
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