Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2022 03:51:25 GMT
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4873653519ea - main - powerpc64le: enable ISA_206_ATOMICS option
Message-ID:  <202201140351.20E3pP24048488@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhibbits:

URL: https://cgit.FreeBSD.org/src/commit/?id=4873653519ea2921693f8e6ecf436beef395f727

commit 4873653519ea2921693f8e6ecf436beef395f727
Author:     Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2022-01-14 03:46:30 +0000
Commit:     Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2022-01-14 03:47:05 +0000

    powerpc64le: enable ISA_206_ATOMICS option
    
    powerpc64le requires at minimum POWER8 hardware, so ISA 2.06 atomic
    instructions are always available.
    
    This isn't so for powerpc64 (BE), so isn't enabled by default there.
---
 sys/powerpc/conf/GENERIC64LE | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/powerpc/conf/GENERIC64LE b/sys/powerpc/conf/GENERIC64LE
index a84e8f622f49..7238f7ccefd8 100644
--- a/sys/powerpc/conf/GENERIC64LE
+++ b/sys/powerpc/conf/GENERIC64LE
@@ -31,6 +31,7 @@ options 	MAMBO			# IBM Mambo Full System Simulator
 options		QEMU			# QEMU processor emulator
 options 	PSERIES			# PAPR-compliant systems (e.g. IBM p)
 options 	POWERNV			# Non-virtualized OpenPOWER systems
+options 	ISA_206_ATOMICS		# PowerISA v2.06 optimized subword atomics
 
 options		FDT			# Flattened Device Tree
 options 	SCHED_ULE		# ULE scheduler



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