@@ -370,6 +370,16 @@ static const struct arm64_ftr_bits ftr_dczid[] = {
370
370
ARM64_FTR_END ,
371
371
};
372
372
373
+ static const struct arm64_ftr_bits ftr_id_isar0 [] = {
374
+ ARM64_FTR_BITS (FTR_HIDDEN , FTR_STRICT , FTR_LOWER_SAFE , ID_ISAR0_DIVIDE_SHIFT , 4 , 0 ),
375
+ ARM64_FTR_BITS (FTR_HIDDEN , FTR_STRICT , FTR_LOWER_SAFE , ID_ISAR0_DEBUG_SHIFT , 4 , 0 ),
376
+ ARM64_FTR_BITS (FTR_HIDDEN , FTR_STRICT , FTR_LOWER_SAFE , ID_ISAR0_COPROC_SHIFT , 4 , 0 ),
377
+ ARM64_FTR_BITS (FTR_HIDDEN , FTR_STRICT , FTR_LOWER_SAFE , ID_ISAR0_CMPBRANCH_SHIFT , 4 , 0 ),
378
+ ARM64_FTR_BITS (FTR_HIDDEN , FTR_STRICT , FTR_LOWER_SAFE , ID_ISAR0_BITFIELD_SHIFT , 4 , 0 ),
379
+ ARM64_FTR_BITS (FTR_HIDDEN , FTR_STRICT , FTR_LOWER_SAFE , ID_ISAR0_BITCOUNT_SHIFT , 4 , 0 ),
380
+ ARM64_FTR_BITS (FTR_HIDDEN , FTR_STRICT , FTR_LOWER_SAFE , ID_ISAR0_SWAP_SHIFT , 4 , 0 ),
381
+ ARM64_FTR_END ,
382
+ };
373
383
374
384
static const struct arm64_ftr_bits ftr_id_isar5 [] = {
375
385
ARM64_FTR_BITS (FTR_HIDDEN , FTR_STRICT , FTR_LOWER_SAFE , ID_ISAR5_RDM_SHIFT , 4 , 0 ),
@@ -451,7 +461,7 @@ static const struct arm64_ftr_bits ftr_zcr[] = {
451
461
* Common ftr bits for a 32bit register with all hidden, strict
452
462
* attributes, with 4bit feature fields and a default safe value of
453
463
* 0. Covers the following 32bit registers:
454
- * id_isar[0 -4], id_mmfr[1-3], id_pfr1, mvfr[0-1]
464
+ * id_isar[1 -4], id_mmfr[1-3], id_pfr1, mvfr[0-1]
455
465
*/
456
466
static const struct arm64_ftr_bits ftr_generic_32bits [] = {
457
467
ARM64_FTR_BITS (FTR_HIDDEN , FTR_STRICT , FTR_LOWER_SAFE , 28 , 4 , 0 ),
@@ -497,7 +507,7 @@ static const struct __ftr_reg_entry {
497
507
ARM64_FTR_REG (SYS_ID_MMFR3_EL1 , ftr_generic_32bits ),
498
508
499
509
/* Op1 = 0, CRn = 0, CRm = 2 */
500
- ARM64_FTR_REG (SYS_ID_ISAR0_EL1 , ftr_generic_32bits ),
510
+ ARM64_FTR_REG (SYS_ID_ISAR0_EL1 , ftr_id_isar0 ),
501
511
ARM64_FTR_REG (SYS_ID_ISAR1_EL1 , ftr_generic_32bits ),
502
512
ARM64_FTR_REG (SYS_ID_ISAR2_EL1 , ftr_generic_32bits ),
503
513
ARM64_FTR_REG (SYS_ID_ISAR3_EL1 , ftr_generic_32bits ),
0 commit comments