Deutsch   English   Français   Italiano  
<ussqji$12vjp$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Robert Finch <robfi680@gmail.com>
Newsgroups: comp.arch
Subject: Re: Capabilities, Anybody?
Date: Wed, 13 Mar 2024 14:17:20 -0400
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <ussqji$12vjp$1@dont-email.me>
References: <usg40i$1udfo$3@dont-email.me>
 <1951488caf6138e90c4bac62ee6ac41d@www.novabbs.org>
 <_Y_GN.75295$LONb.13164@fx08.iad> <usibg4$2ffdn$1@dont-email.me>
 <usif12$2g7eq$1@dont-email.me> <usinhj$2i2nn$1@dont-email.me>
 <6b75cd0221ee827b49cd2275f2c65789@www.novabbs.org>
 <Qry*XE3Ez@news.chiark.greenend.org.uk> <usla9a$3687e$1@dont-email.me>
 <usmded$3gibh$1@dont-email.me> <usnid7$3os0b$1@dont-email.me>
 <usr6na$on7u$1@dont-email.me>
 <ee1e974410ea3ac4c23593c92c37a3fd@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 13 Mar 2024 18:17:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d4058baaab5de3b3e6f2d8469ee990d7";
	logging-data="1146489"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/CmAQkXIYiQ2VidT0W0QHvfsLg67nUZiw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:zwWsoeSVhH2wBbCahYnUmc0TGso=
Content-Language: en-US
In-Reply-To: <ee1e974410ea3ac4c23593c92c37a3fd@www.novabbs.org>
Bytes: 3202

On 2024-03-13 11:53 a.m., MitchAlsup1 wrote:
> Robert Finch wrote:
> 
>> Can capabilities be applied to address ranges?
> 
> That is a major thing that they provide.
> 
>> Segmentation similar to the PowerPC 32-bit segmentation is being used 
>> in the current project. Where the upper address bits select a segment 
>> register which provides more address bits. I would like to use the 
>> same descriptors for capabilities and the address range segmentation.
> 
> How would you handle 2 billion Capabilities in a single application ??
> 
> Each of which have a range of 2 GB each ??? and each containing at
> least 1 M Capabilities ????

I should have been a bit more clear maybe, it has taken time to gel in 
my head.

PowerPC-32 has only 16 segment registers. I think these could be 
extended to capabilities registers in the same manner as proposed for 
the FS, GS registers in x64. I wonder if there is any value in doing so 
though, since the address is a constant. I think it should already be 
known if it would exceed a bounds. The segment registers simply tack on 
24-bits to the left side of the remaining address bits to generate a 
52-bit virtual address. I think all a capability would do is provide a 
slightly different means to calculate the address.

I have a couple of cores I can experiment with adding capabilities. For 
my current project there are 32 segment registers.

******

I am wondering if the ‘R’ term in the CHERI concentrate expansion calc 
can be less than zero or if it is a modulo value. It is shown as 
B[13:11] – 1. I am assuming it can go negative and is not modulo.

How “open” is CHERI ? Can CHERI based code be posted?