]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Mask out A bit from psn trace
authorDon Hiatt <don.hiatt@intel.com>
Mon, 9 Oct 2017 19:38:12 +0000 (12:38 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 14:12:59 +0000 (10:12 -0400)
commitcc29c48d2f99193b073bfe346cb3a15c97ad215b
treec310232e200e843fa2c390249e286de08db9b02c
parentb93bfdd58fb221705e2d3fa78258e84aefed3e29
IB/hfi1: Mask out A bit from psn trace

The trace logic prior to the fixes below used to mask the
A bit from the psn. It now mistakenly displays the A bit,
which is already displayed separately.

Fix by adding the appropriate mask to the psn tracing.

Fixes: 26392bbfa926 ("IB/hfi1: Separate input/output header tracing")
Fixes: f71a3bfac542 ("IB/hfi1: Add 16B trace support")
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/trace.c