Re:Coming Soon: AWS Graviton2 Processor for AWS
by namibj on Thursday December 05, 2019 @05:44AM
(#21711342)
Can you provide a link to the infinite-loop microcode issue?
Re:Coming Soon: AWS Graviton2 Processor for AWS
by my123 on Thursday December 05, 2019 @10:10AM
(#21712881)
One of them: https://xenbits.xen.org/xsa/advisory-156.html
A design where all instructions have one of just a few sizes and where the first byte unambiguously encodes the length would be nicer.
RISV-V is decent in this respect.
FWIW, x86’s legacy is a security problem, too. The ISA is so overcomplicated that nasty interactions cause all manner of security bugs. As a recent example, the sequence mov (ptr), %ss; syscall with a data breakpoint at ptr could be used to root most kernels. With virtualization, this type of thing is much worse. A hypervisor needs to handle all the nasty corner cases in a guest user program without crashing itself or the guest kernel, and it needs to handle all the nasty corner cases in guest kernels without dying. There are various ways that native kernels can literally put the microcode in an infinite loop, and hypervisors need complex mitigations because an infinite-looping microcode bug triggered by a guest can’t be preempted by the host, and it will take down the system.
So yes, x86 is not fantastic.