platform/x86: intel_pmt_crashlog: Fix incorrect macros
authorDavid E. Box <david.e.box@linux.intel.com>
Wed, 17 Mar 2021 02:44:55 +0000 (19:44 -0700)
committerHans de Goede <hdegoede@redhat.com>
Tue, 23 Mar 2021 20:50:02 +0000 (21:50 +0100)
commit10c931cdfe64ebc38a15a485dd794915044f2111
tree638d3b12048389d1e65114844dc2fbb5166e80ca
parent7547deff8a221e6bf1e563cf1b636844a8e5378a
platform/x86: intel_pmt_crashlog: Fix incorrect macros

Fixes off-by-one bugs in the macro assignments for the crashlog control
bits. Was initially tested on emulation but bug revealed after testing on
silicon.

Fixes: 5ef9998c96b0 ("platform/x86: Intel PMT Crashlog capability driver")
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20210317024455.3071477-2-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel_pmt_crashlog.c