]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Mar 2021 12:30:26 +0000 (14:30 +0200)
commit23cc873592deb22aa7bc23718f58407171fc7701
tree0273da2eb20c490668d101801a248d6d1d219cfc
parente5932c5c55fa34fda3c1809118032870b865efc6
platform/x86: intel_pmt_crashlog: Fix incorrect macros

[ Upstream commit 10c931cdfe64ebc38a15a485dd794915044f2111 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/intel_pmt_crashlog.c