50
50
#include "adf_c3xxx_hw_data.h"
51
51
52
52
/* Worker thread to service arbiter mappings based on dev SKUs */
53
- static const u32 thrd_to_arb_map_8_me_sku [] = {
54
- 0x10000888 , 0x11000888 , 0x10000888 , 0x11000888 , 0x10000888 ,
55
- 0x11000888 , 0x10000888 , 0x11000888 , 0 , 0
56
- };
57
-
58
- static const u32 thrd_to_arb_map_10_me_sku [] = {
59
- 0x12222AAA , 0x11222AAA , 0x12222AAA , 0x11222AAA , 0x12222AAA ,
60
- 0x11222AAA , 0x12222AAA , 0x11222AAA , 0x12222AAA , 0x11222AAA
53
+ static const u32 thrd_to_arb_map_6_me_sku [] = {
54
+ 0x12222AAA , 0x11222AAA , 0x12222AAA ,
55
+ 0x11222AAA , 0x12222AAA , 0x11222AAA
61
56
};
62
57
63
58
static struct adf_hw_device_class c3xxx_class = {
@@ -117,16 +112,14 @@ static u32 get_etr_bar_id(struct adf_hw_device_data *self)
117
112
118
113
static u32 get_sram_bar_id (struct adf_hw_device_data * self )
119
114
{
120
- return ADF_C3XXX_SRAM_BAR ;
115
+ return 0 ;
121
116
}
122
117
123
118
static enum dev_sku_info get_sku (struct adf_hw_device_data * self )
124
119
{
125
120
int aes = get_num_aes (self );
126
121
127
- if (aes == 8 )
128
- return DEV_SKU_2 ;
129
- else if (aes == 10 )
122
+ if (aes == 6 )
130
123
return DEV_SKU_4 ;
131
124
132
125
return DEV_SKU_UNKNOWN ;
@@ -136,11 +129,8 @@ static void adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev,
136
129
u32 const * * arb_map_config )
137
130
{
138
131
switch (accel_dev -> accel_pci_dev .sku ) {
139
- case DEV_SKU_2 :
140
- * arb_map_config = thrd_to_arb_map_8_me_sku ;
141
- break ;
142
132
case DEV_SKU_4 :
143
- * arb_map_config = thrd_to_arb_map_10_me_sku ;
133
+ * arb_map_config = thrd_to_arb_map_6_me_sku ;
144
134
break ;
145
135
default :
146
136
dev_err (& GET_DEV (accel_dev ),
0 commit comments