IB/hfi1: Add ASIC flag view/clear
authorDean Luick <dean.luick@intel.com>
Sat, 5 Mar 2016 16:50:33 +0000 (08:50 -0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 17 Mar 2016 19:55:17 +0000 (15:55 -0400)
commitc9c8ea3d47ebe025c3bca692e729f4c2e634c9a8
treec0195b87c2c609e17d386caeaf4ece4cda127f24
parentae993e7fba05c6159e1af1dc504bade46a94eb47
IB/hfi1: Add ASIC flag view/clear

Different OSes using parts of the same hardware may leave
cross-device flags set.  Export a debugfs file to view and
clear these flags if needed.

Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com>
Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/debugfs.c