2019-08-07 07:09:07 +08:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Manisha <manisha.chinthapally@intel.com>
|
|
|
|
Date: Wed, 19 Jun 2019 01:37:02 +0000
|
|
|
|
Subject: [PATCH] platform/x86: SEP BUG fix for lbrcollection
|
|
|
|
|
|
|
|
Error in macro is causing to skip setting the lbr filter value
|
|
|
|
|
|
|
|
Signed-off-by: Manisha <manisha.chinthapally@intel.com>
|
|
|
|
---
|
|
|
|
drivers/platform/x86/sepdk/inc/ecb_iterators.h | 8 ++++----
|
|
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/drivers/platform/x86/sepdk/inc/ecb_iterators.h b/drivers/platform/x86/sepdk/inc/ecb_iterators.h
|
2020-05-05 09:02:46 +08:00
|
|
|
index 105275359..e02a3e194 100644
|
2019-08-07 07:09:07 +08:00
|
|
|
--- a/drivers/platform/x86/sepdk/inc/ecb_iterators.h
|
|
|
|
+++ b/drivers/platform/x86/sepdk/inc/ecb_iterators.h
|
|
|
|
@@ -118,7 +118,7 @@ extern "C" {
|
|
|
|
if ((pecb)) { \
|
|
|
|
for ((idx) = ECB_escr_start(pecb); \
|
|
|
|
(idx) < \
|
|
|
|
- (ECB_cccr_start(pecb) + ECB_cccr_pop(pecb)); \
|
|
|
|
+ (ECB_escr_start(pecb) + ECB_escr_pop(pecb)); \
|
|
|
|
(idx)++) { \
|
|
|
|
if (ECB_entries_reg_id((pecb), (idx)) == 0) { \
|
|
|
|
continue; \
|
|
|
|
@@ -141,7 +141,7 @@ extern "C" {
|
|
|
|
if ((pecb)) { \
|
|
|
|
for ((idx) = ECB_escr_start(pecb); \
|
|
|
|
(idx) < \
|
|
|
|
- (ECB_cccr_start(pecb) + ECB_cccr_pop(pecb)); \
|
|
|
|
+ (ECB_escr_start(pecb) + ECB_escr_pop(pecb)); \
|
|
|
|
(idx)++) { \
|
|
|
|
if (ECB_entries_reg_id((pecb), (idx)) == 0) { \
|
|
|
|
continue; \
|
|
|
|
@@ -165,7 +165,7 @@ extern "C" {
|
|
|
|
if ((pecb)) { \
|
|
|
|
for ((idx) = ECB_data_start(pecb); \
|
|
|
|
(idx) < \
|
|
|
|
- (ECB_cccr_start(pecb) + ECB_cccr_pop(pecb)); \
|
|
|
|
+ (ECB_data_start(pecb) + ECB_data_pop(pecb)); \
|
|
|
|
(idx)++) { \
|
|
|
|
if (ECB_entries_reg_id((pecb), (idx)) == 0) { \
|
|
|
|
continue; \
|
|
|
|
@@ -211,7 +211,7 @@ extern "C" {
|
|
|
|
if ((pecb)) { \
|
|
|
|
for ((idx) = ECB_data_start(pecb); \
|
|
|
|
(idx) < \
|
|
|
|
- (ECB_cccr_start(pecb) + ECB_cccr_pop(pecb)); \
|
|
|
|
+ (ECB_data_start(pecb) + ECB_data_pop(pecb)); \
|
|
|
|
(idx)++) { \
|
|
|
|
if (ECB_entries_reg_id((pecb), (idx)) == 0) { \
|
|
|
|
continue; \
|
|
|
|
--
|
|
|
|
https://clearlinux.org
|
|
|
|
|