ID_PFR1, Processor Feature Register 1

The ID_PFR1 characteristics are:

Purpose

Gives information about the AArch32 programmers' model.

Must be interpreted with ID_PFR0.

For general information about the interpretation of the ID registers see 'Principles of the ID scheme for fields in ID registers' in the ARMv8 ARM, section G4.14.6.

This register is part of the Identification registers functional group.

Configuration

There is one instance of this register that is used in both Secure and Non-secure states.

AArch32 System register ID_PFR1 is architecturally mapped to AArch64 System register ID_PFR1_EL1.

Attributes

ID_PFR1 is a 32-bit register.

Field descriptions

The ID_PFR1 bit assignments are:

313029282726252423222120191817161514131211109876543210
GICVirt_fracSec_fracGenTimerVirtualizationMProgModSecurityProgMod

GIC, bits [31:28]

System register GIC CPU interface. Defined values are:

GICMeaning
0000

No System register interface to the GIC CPU interface is supported.

0001

System register interface to versions 3.0 and 4.0 of the GIC CPU interface is supported.

All other values are reserved.

Virt_frac, bits [27:24]

Virtualization fractional field. When the Virtualization field is 0000, determines the support for features from the ARMv7 Virtualization Extensions. Defined values are:

Virt_fracMeaning
0000

No features from the ARMv7 Virtualization Extensions are implemented.

0001

The following features of the ARMv7 Virtualization Extensions are implemented:

  • The SCR.SIF bit, if EL3 is implemented.
  • The modifications to the SCR.AW and SCR.FW bits described in the Virtualization Extensions, if EL3 is implemented.
  • The MSR (Banked register) and MRS (Banked register) instructions.
  • The ERET instruction.

All other values are reserved.

In ARMv8-A the permitted values are:

This field is only valid when the value of ID_PFR1.Virtualization is 0, otherwise it holds the value 0000.

Note

The ID_ISAR registers do not identify whether the instructions added by the ARMv7 Virtualization Extensions are implemented.

Sec_frac, bits [23:20]

Security fractional field. When the Security field is 0000, determines the support for features from the ARMv7 Security Extensions. Defined values are:

Sec_fracMeaning
0000

No features from the ARMv7 Security Extensions are implemented.

0001

The following features from the ARMv7 Security Extensions are implemented:

  • The VBAR register.
  • The TTBCR.PD0 and TTBCR.PD1 bits.
0010

As for 0001, plus the ability to access Secure or Non-secure physical memory is supported.

All other values are reserved.

In ARMv8-A the permitted values are:

This field is only valid when the value of ID_PFR1.Security is 0, otherwise it holds the value 0000.

GenTimer, bits [19:16]

Generic Timer support. Defined values are:

GenTimerMeaning
0000

Not implemented.

0001

Generic Timer implemented.

All other values are reserved.

In ARMv8-A the only permitted value is 0001.

Virtualization, bits [15:12]

Virtualization support. Defined values are:

VirtualizationMeaning
0000

EL2, Hyp mode, and the HVC instruction not implemented.

0001

EL2, Hyp mode, the HVC instruction, and all the features described by Virt_frac == 0001 implemented.

All other values are reserved.

In ARMv8-A the permitted values are:

In an implementation that includes EL2, if EL2 cannot use AArch32 but EL1 can use AArch32 then this field has the value 0001.

Note

The ID_ISARs do not identify whether the HVC instruction is implemented.

MProgMod, bits [11:8]

M profile programmers' model support. Defined values are:

MProgModMeaning
0000

Not supported.

0010

Support for two-stack programmers' model.

All other values are reserved.

In ARMv8-A the only permitted value is 0000.

Security, bits [7:4]

Security support. Defined values are:

SecurityMeaning
0000

EL3, Monitor mode, and the SMC instruction not implemented.

0001

EL3, Monitor mode, the SMC instruction, and all the features described by Sec_frac == 0001 implemented.

0010

As for 0001, and adds the ability to set the NSACR.RFR bit. Not permitted in ARMv8 as the NSACR.RFR bit is RES0.

All other values are reserved.

In ARMv8-A the permitted values are:

In an implementation that includes EL3, if EL3 cannot use AArch32 but EL1 can use AArch32 then this field has the value 0001.

ProgMod, bits [3:0]

Support for the standard programmers' model for ARMv4 and later. Model must support User, FIQ, IRQ, Supervisor, Abort, Undefined, and System modes. Defined values are:

ProgModMeaning
0000

Not supported.

0001

Supported.

All other values are reserved.

In ARMv8-A the only permitted value is 0001.

Accessing the ID_PFR1

This register can be read using MRC with the following syntax:

MRC <syntax>

This syntax uses the following encoding in the System instruction encoding space:

<syntax> opc1opc2CRncoprocCRm
p15, 0, <Rt>, c0, c1, 1000001000011110001

Accessibility

The register is accessible as follows:

Control Accessibility
E2HTGENSEL0EL1EL2EL3
xx0 - RO n/a RO
x01 - RORORO
x11 - n/a RORO

This table applies to all instructions that can access this register.

Traps and enables

For a description of the prioritization of any generated exceptions, see section G1.11.2 (Exception priority order) in the ARM® Architecture Reference Manual, ARMv8, for ARMv8-A architecture profile for exceptions taken to AArch32 state, and section D1.13.2 (Synchronous exception prioritization) for exceptions taken to AArch64 state. Subject to the prioritization rules, the following traps and enables are applicable when accessing this register.

When EL2 is implemented and is using AArch64 and SCR_EL3.NS==1 && HCR_EL2.E2H==0 :

When EL2 is implemented and is using AArch64 and SCR_EL3.NS==1 && HCR_EL2.E2H==1 && HCR_EL2.TGE==0 :

When EL2 is implemented and is using AArch32 and SCR_EL3.NS==1 :




18/04/2017 17:00

Copyright © 2010-2017 ARM Limited or its affiliates. All rights reserved. This document is Confidential.