[PATCH][GAS] aarch64: Update feature RAS system registers

Przemyslaw Wirkus Przemyslaw.Wirkus@arm.com
Tue Nov 3 14:39:11 GMT 2020


This patch:
+ updates RAS feature system registers with new RAS 1.1 regs.
+ extends RAS/RAS 1.1 support for all architecture levels of Armv8-A.

Please note that early Armv8-A architectures do not officially support RAS
extension.

Rationale of the patch:
To ease development so that user-friendly RAS system registers operands can be
used. Certain use cases require developers to enable only more generic
architecture (e.g. -march=armv8-a) during system development. Users must use
RAS extension registers bearing in mind that system they use must support it.

The RAS (Reliability, Availability, Serviceability) extension is a
system-level extension that defines a number of system registers.

RAS 1.1 (FEAT_RASv1p1) introduces five new system registers:
ERXPFGCTL_EL1, ERXPFGCDN_EL1, ERXMISC2_EL1, ERXMISC3_EL1 and
ERXPFGF_EL1.

For details see [0].

[0] https://developer.arm.com/docs/ddi0595/i/

Regression tested and no issues.

OK for trunk ?

gas/ChangeLog:

2020-11-03  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>

	* testsuite/gas/aarch64/armv8-ras-1_1-invalid.d: New test.
	* testsuite/gas/aarch64/armv8-ras-1_1-invalid.l: New test.
	* testsuite/gas/aarch64/armv8-ras-1_1-invalid.s: New test.
	* testsuite/gas/aarch64/armv8-ras-1_1.d: New test.
	* testsuite/gas/aarch64/armv8-ras-1_1.s: New test.
	* testsuite/gas/aarch64/illegal-ras-1.d: Remove.
	* testsuite/gas/aarch64/illegal-ras-1.l: Remove.
	* testsuite/gas/aarch64/illegal-ras-1.s: Remove.
	* testsuite/gas/aarch64/illegal-sysreg-2.d: Remove.
	* testsuite/gas/aarch64/illegal-sysreg-2.l: Remove.

include/ChangeLog:

2020-11-03  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>

	* opcode/aarch64.h (AARCH64_ARCH_V8): Add RAS to Armv8-A.
	(AARCH64_ARCH_V8_2): Remove RAS from Armv8.2-A set.

opcodes/ChangeLog:

2020-11-03  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>

	* aarch64-opc.c: Add RAS 1.1 new system registers: ERXPFGCTL_EL1,
	ERXPFGCDN_EL1, ERXMISC2_EL1, ERXMISC3_EL1 and ERXPFGF_EL1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ras_armv8.patch
Type: application/octet-stream
Size: 16242 bytes
Desc: ras_armv8.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20201103/3b6b48d2/attachment-0001.obj>


More information about the Binutils mailing list