View Single Post
Old 09 January 2018, 16:53   #19
Megol
Registered User
 
Megol's Avatar
 
Join Date: May 2014
Location: inside the emulator
Posts: 377
Quote:
Originally Posted by meynaf View Post
While a 68060 can probably prefetch data for filling its DCache, it doesn't do speculative memory accesses ('xcept maybe for fetching code).
And even if it did, I/O areas are marked by the MMU as non-cacheable (or at least they should !).

x86 are immune to this - they have IN/OUT instructions for I/O.
The majority of I/O is memory mapped. The I/O instructions are legacy only and _extremely_ slow.

I could do some hw hacking faster with a Pentium than with my current system. So a 90MHz in-order processor can push out more bytes than a modern 2.5+GHz 4 core out of order processor. Slow!

Quote:
For ARM, I don't know.

The tricks are :
- Current operating systems map the supervisor area, or at least part of it, in the user's memory (for the sake of quick OS calling).
- Current cpus (again for the sake of speed) do the memory access in the cache before checking the access rights (which takes more time).
Intel do. AMD say they don't.

Quote:
Now wondering if this kind of attack can be done from within WinUAE in JIT mode...
Spectre should work but what should be attacked?
Meltdown I think not as the "68k" should only be able to access the memory of the emulated Amiga anyway. Or?
Megol is offline  
 
Page generated in 0.04282 seconds with 11 queries