Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2018 15:18:49 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339594 - head/sys/arm64/arm64
Message-ID:  <201810221518.w9MFIou4033766@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Mon Oct 22 15:18:49 2018
New Revision: 339594
URL: https://svnweb.freebsd.org/changeset/base/339594

Log:
  Stop advertising ARMv8.3 Pointer Authentication
  
  This needs firmware and kernel support before userspace can use it. Until
  then don't advertise it's available.
  
  MFC after:	3 days

Modified:
  head/sys/arm64/arm64/identcpu.c

Modified: head/sys/arm64/arm64/identcpu.c
==============================================================================
--- head/sys/arm64/arm64/identcpu.c	Mon Oct 22 15:06:14 2018	(r339593)
+++ head/sys/arm64/arm64/identcpu.c	Mon Oct 22 15:18:49 2018	(r339594)
@@ -201,13 +201,13 @@ static struct mrs_field id_aa64isar0_fields[] = {
 };
 
 static struct mrs_field id_aa64isar1_fields[] = {
-	MRS_FIELD(false, MRS_LOWER, ID_AA64ISAR1_GPI_SHIFT),
-	MRS_FIELD(false, MRS_LOWER, ID_AA64ISAR1_GPA_SHIFT),
+	MRS_FIELD(false, MRS_EXACT, ID_AA64ISAR1_GPI_SHIFT),
+	MRS_FIELD(false, MRS_EXACT, ID_AA64ISAR1_GPA_SHIFT),
 	MRS_FIELD(false, MRS_LOWER, ID_AA64ISAR1_LRCPC_SHIFT),
 	MRS_FIELD(false, MRS_LOWER, ID_AA64ISAR1_FCMA_SHIFT),
 	MRS_FIELD(false, MRS_LOWER, ID_AA64ISAR1_JSCVT_SHIFT),
-	MRS_FIELD(false, MRS_LOWER, ID_AA64ISAR1_API_SHIFT),
-	MRS_FIELD(false, MRS_LOWER, ID_AA64ISAR1_APA_SHIFT),
+	MRS_FIELD(false, MRS_EXACT, ID_AA64ISAR1_API_SHIFT),
+	MRS_FIELD(false, MRS_EXACT, ID_AA64ISAR1_APA_SHIFT),
 	MRS_FIELD(false, MRS_LOWER, ID_AA64ISAR1_DPB_SHIFT),
 	MRS_FIELD_END,
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810221518.w9MFIou4033766>