Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2024 21:50:23 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: cade8f6c118f - main - ELF auxargs: reserve a slot for CheriABI use
Message-ID:  <ZqAln06V90E9ijQI@spindle.one-eyed-alien.net>
In-Reply-To: <202407232144.46NLi2c5072120@gitrepo.freebsd.org>
References:  <202407232144.46NLi2c5072120@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 23, 2024 at 09:44:02PM +0000, Brooks Davis wrote:
> The branch main has been updated by brooks:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=cade8f6c118f304eb7c91a1d423b4a97ee466284
> 
> commit cade8f6c118f304eb7c91a1d423b4a97ee466284
> Author:     Brooks Davis <brooks@FreeBSD.org>
> AuthorDate: 2024-07-23 21:31:44 +0000
> Commit:     Brooks Davis <brooks@FreeBSD.org>
> CommitDate: 2024-07-23 21:31:44 +0000
> 
>     ELF auxargs: reserve a slot for CheriABI use
>     
>     Reserve slot 37 to avoid flag days downstream.
>     
>     We currently use this slot in CheriBSD to maintain counters in userspace
>     while providing access to them vis sysctl.  CHERI support isn't landing
>     in FreeBSD quite yet (probably for 16 unless hardware access accelerates
>     radically), but it seems highly likely at this point so reserving slots
>     will limit future diffs in both directions.

In anticipation of merging CHERI support over the next few years, we're
going to start reserving values like this where we're confident in the
functionality they represent and that the values will hold (either because
they are under our control or because some upstream standards body like
RISC-V International has allocated them.)  I've started here because
andrew@ noticed that Linux now has AT_HWCAP{3,4} defines and it would be
disruptive for us downstream if there was a collision.

-- Brooks



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