Re: YASV (Yet Another Security Vulnearability)

Liste des GroupesRevenir à c arch 
Sujet : Re: YASV (Yet Another Security Vulnearability)
De : mitchalsup (at) *nospam* aol.com (MitchAlsup1)
Groupes : comp.arch
Date : 29. Jul 2024, 23:26:50
Autres entêtes
Organisation : Rocksolid Light
Message-ID : <55bca5fc431da97443a902260b778be5@www.novabbs.org>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Rocksolid Light
On Mon, 29 Jul 2024 21:25:11 +0000, EricP wrote:

MitchAlsup1 wrote:
On Sat, 27 Jul 2024 19:31:39 +0000, EricP wrote:
>
I am sitting around wondering if ASID might be used to avoid resetting
the predictors. If( myASID != storedASID ) don't use prediction.
This avoids the need to set 32KB of 4-state predictors to weakly
untaken. And then store 1 ASID per 512-bits of predictors, for a
3% overhead. Mc 68030 TLB did something like this.
>
If the (12 bit?) ASID is for 512 bit blocks then the overhead could
be acceptable. But some of these BP structures, BTB, are set assoc.
and would require a sequential scan to reset the entries for an ASID.
ASID = 16-bits (in my context)
When the BP is set associative, each group of 512-bits is accompanied by
a 16-bit ASID. If your access hits on a particular set, then you use
my ASID = storedASID as the discriminator.

It also depends on how quickly in the pipeline the mispredict can be
detected, some can be detected at Decode and others not until execute,
and how quickly unnecessary pending loads can be canceled and the
correct flow reestablished.
>
The mispredict logic also needs to be able to abort an I-TLB table walk
if BP erroneously tells Fetch to follow the wrong path.
Just like throwing away anything dumped into the pipeline.

Its probably not possible to abort an I$L1 cache miss as a miss buffer
would already be allocated for it. But I would not want the I$L1 cache
port to be tied up waiting for an unneeded prefetch read.
You might not be able to prevent the fetch of data, and you have
allocated
a Miss Buffer entry. But when the data arrives and you no longer need
it,
you are not (post Spectré) allowed to put it in the Icache, so the miss
buffer return it to main memory (dirty) or drops it (shared).

Date Sujet#  Auteur
24 Jul 24 * YASV (Yet Another Security Vulnearability)15Thomas Koenig
25 Jul 24 +* Re: YASV (Yet Another Security Vulnearability)2MitchAlsup1
4 Aug 24 i`- Re: YASV (Yet Another Security Vulnearability)1Bozo User
25 Jul 24 +* Re: YASV (Yet Another Security Vulnearability)11Michael S
26 Jul 24 i`* Re: YASV (Yet Another Security Vulnearability)10Anton Ertl
26 Jul 24 i +* Re: YASV (Yet Another Security Vulnearability)5MitchAlsup1
27 Jul 24 i i+* Re: YASV (Yet Another Security Vulnearability)2MitchAlsup1
30 Jul 24 i ii`- Re: YASV (Yet Another Security Vulnearability)1MitchAlsup1
31 Jul 24 i i`* Re: YASV (Yet Another Security Vulnearability)2Paul A. Clayton
1 Aug 24 i i `- Re: YASV (Yet Another Security Vulnearability)1Paul A. Clayton
27 Jul 24 i +- Re: YASV (Yet Another Security Vulnearability)1Michael S
29 Jul 24 i `* Re: YASV (Yet Another Security Vulnearability)3Anton Ertl
29 Jul 24 i  +- Re: YASV (Yet Another Security Vulnearability)1MitchAlsup1
31 Jul 24 i  `- Re: YASV (Yet Another Security Vulnearability)1MitchAlsup1
25 Jul 24 `- Re: YASV (Yet Another Security Vulnearability)1Anton Ertl

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal