News for hackers. Stuff that matters.
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by judge2020 on Sunday January 16, 2022 @03:39PM (#29959740)
> RISCV architecture (a free architecture that doesn't include that shit)

Surely you can't think the architecture itself is the differentiator. x86 didn't have all of this security 20 years ago, give engineers a few years of time to throw some locks on a risc-v chip and it'll be Enterprise Ready™ in no time.

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by userbinator on Sunday January 16, 2022 @05:03PM (#29960688)
With the (already?) expiration of x86 patents, I'd love to see a "pure" x86 implementation without any of the user-hostile crap, and see how far the community can take it; but sadly, the RISC bandwagon is diverting attention away from that.

A CPU without the user-hostile features but still able to run the massive existing software base would be ideal.

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by coldtea on Sunday January 16, 2022 @08:07PM (#29962228)
>I'd love to see a "pure" x86 implementation without any of the user-hostile crap, and see how far the community can take it;

And who would make the tens of billions of investment to build a fab for that?

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by bmicraft on Sunday January 16, 2022 @10:36PM (#29963073)
Not even amd/nvidia have their own fab at this point so it is probably safe to say you wouldn't need one for that either. You'd still need tons of cash of course but not quite as much.
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by pabs3 on Sunday January 16, 2022 @10:34PM (#29963061)
The existing fabs (TSMC, Samsung, GF etc and possibly even Intel under their new strategy) would probably make the chips you designed, if you pay for enough volume that is.
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by alerighi on Sunday January 16, 2022 @05:16PM (#29960820)
Would be too difficult to implement. x86 is a very big instruction that is impossible to implement with an hardware: both Intel and AMD processors in fact run inside a virtual machine that translates x86 instructions in an internal RISC instruction set that is manageable by the real CPU architecture. If Apple decided to move away from x86 and go to ARM to have their processor, and we are talking about one of the biggest companies, I don't think any community project will ever succeed in doing another x86 compatible CPU.

On the other side RISCV instruction set is far simpler, being a RISC instruction set it decides to not have advanced optimizations in the processor (even better, none at all) and leave the optimization work to the compiler, that not only simplifies the processor, but also reduces the surface of attack of the processor (Meltown, Spectre, and all these attacks are just impossible on RISCV!). Of course that has a performance penalty, but since you simplify the processor you can just put more core in the saved space right?

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by userbinator on Sunday January 16, 2022 @05:29PM (#29960969)
I'm not sure if you're being satirical, but open source x86 cores do exist --- they're around a 486 in terms of compatibility. Look up ao486 for example.

What I'm referring to is the expiration of patents from the P6 era, which would mean all the uop-based stuff is now free to implement.

What a lot of the RISC hype doesn't understand is the huge value in backwards compatibility --- you can have your "100% free" world but it'll forever remain niche. We need to accommodate the proprietary world if we want any chance of freedom winning; and not try to divide the world of computing.

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by coldtea on Sunday January 16, 2022 @08:09PM (#29962249)
>I'm not sure if you're being satirical, but open source x86 cores do exist --- they're around a 486 in terms of compatibility.

And they will stay at that level, is the parent's point, which is 25+ years before today and thus affordable to clone and fabricate. It's not about 486 or for that matter 8086 beinh difficult...

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by als0 on Sunday January 16, 2022 @05:43PM (#29961154)
RISC-V is not immune to Spectre and Meltdown because these are implementation vulnerabilities. Any CPU implementation that uses out-of-order and speculative execution has to constantly worry about introducing these holes.
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by userbinator on Sunday January 16, 2022 @05:56PM (#29961260)
And on the other side, neither were early Atoms; but everyone knows what their performance is like.
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by orangepurple on Sunday January 16, 2022 @04:06PM (#29960051)
The good news is the main manufacturers of RISC-V are Chinese vendors that allow complete access to low level processor details. They generally don't lock down their products at all.
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by pjmlp on Sunday January 16, 2022 @05:28PM (#29960959)
Bad news is that US doesn't want to have anything with them.
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by voakbasda on Sunday January 16, 2022 @06:35PM (#29961585)
At this point, their government has completely undermined foreign confidence in their semiconductor industry. I would be careful to avoid any processors from there, because the chance that it contains a backdoor is just too great to risk. Even if that is only a perceived risk and not a real one. American propaganda in recent years clearly set out to reach this new status quo, and it’s probably all smoke and little to no fire. But it worked. There are enough examples of China screwing over foreign companies to prove the risk could be real no matter your size (e.g. ARM China).
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by pjmlp on Sunday January 16, 2022 @06:47PM (#29961690)
That applies to every foreign country actually.

Anyone that wants to be 100% sure of the supply chain has to move away from globalization.

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by hilbert42 on Monday January 17, 2022 @08:11PM (#29973665)
Exactly! Exactly! Exactly!

I still cannot understand why the US and other countries with high tech allowed themselves to become so absolutely dependent on China.

When their own companies killed of local manufacturing and went to China out of greed and increased profits then governments should have stepped in on strategic grounds, so why didn't they?

It was obvious to me some 25 years ago and I've no monopoly on this insight so they must have been well aware that this would happen. In essence, these countries have been shooting themselves in the feet for decades.

The question is why.

Edit: I can remember the time when the US military required certain components, chips etc. to be able to be second-sourced from multiple manufacturers before they were incorporated into equipment. Does anyone else remember this?

Clearly governments, not only the US, have been aware of the problem for many decades and have chosen to do nothing about it. Moreover, what brought them to abandon this once good policy in the first instance?

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by orangepurple on Sunday January 16, 2022 @06:35PM (#29961584)
You can still import them into the US en masse
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by avianes on Wednesday January 26, 2022 @11:09AM (#30087226)
Not if they break US patents (which is likely), or if the US puts more constraints on imports.
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by pjmlp on Sunday January 16, 2022 @06:48PM (#29961696)
Still, until the government plays an Huawei move.
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by alerighi on Sunday January 16, 2022 @05:09PM (#29960750)
RISCV is an open architecture. If a manufacturer does that, simply don't buy the processor from that manufacturer and buy it from another. All your software will still be compatible since it's the same architecture.

Otherwise with x86 is more complex: you can choose between Intel and AMD (that has bought the license for the x86 instruction set - not something cheap to get), and both of them had their backdoor processor inside the computer (at least on Intel there are ways to disable it, as far as I know with AMD is more difficult if not impossible to do).

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by pjmlp on Sunday January 16, 2022 @05:27PM (#29960951)
Assuming that the software is all available from source and can be recompiled.

Only the base RISC V is guaranteed thanks extensions.

Also you are forgetting that just like Android and ARM, there are other forces at play that don't make it as easy in practice as FOSS advocates wish for.

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by smoldesu on Sunday January 16, 2022 @07:29PM (#29961984)
> Assuming that the software is all available from source and can be recompiled.

I remembered hearing that same line when I bought a Raspberry Pi in 2012. "It's useless! You can't run x86 software on it, so what's the point?"

Flash-forwards a decade and now Graviton instances are blowing up like nothing else in the industry. RISC-V is in a very similar position to ARM 10 years ago; the groundwork has been laid, standards have been ratified and base packages/several kernels work perfectly fine on it. The only difference is that ARM is more expensive to license and is less flexible.

> Only the base RISC V is guaranteed thanks extensions.

Yeah. Is that a problem? The situation on ARM is equally bad if not worse (frequent iterations end up throwing even relatively recent CPU models under the bus), and the reason why RISC-V divided itself into extensions is so that you didn't have to start from scratch when John RISC decides to add in 3 new floating point instructions. It's a pretty damn good compromise if you ask me, and it certainly doesn't have any bearing on software availability; RISC-V programs run on RISC-V processors. ARM does not have that same liberty.

There are plenty of genuine constraints for RISC-V (the majority of them in the manufacturing/mass production side of things, now), but the majority of these software issues have been solved and taped out years ago.

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by pjmlp on Monday January 17, 2022 @02:58AM (#29964383)
Are they? Where are the real numbers beyond Amazon marketing materials?

The problem is dreamers thinking RISC V will be any different than other CPUs in the industry when big players come playing.

LLVM, contributions level at the scale of Linux kernel, C++20 support now lags behind everyone else.

When money comes to play, the rainbows and flowers eventually turn into wall street yuppies.

Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by pabs3 on Sunday January 16, 2022 @10:36PM (#29963075)
Using qemu-user-static and similar you can run binaries from one arch on another arch.
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by pjmlp on Monday January 17, 2022 @03:00AM (#29964389)
With emulation one can always run one archicture in another one, there is nothing scientific about it, provided there is enough knowledge about the source architecture.
Re:Lenovo vendor locking Ryzen CPUs with AMD PSB by ahefner on Sunday January 16, 2022 @11:12PM (#29963233)
I'm a little baffled how "licenses" for instruction sets became a thing. Old CPUs, anyone could clone them or write emulators for them. There's nothing particularly novel about an instruction set encoding, even if you have defined thousands of instructions, and the idea that they're worthy of patent protection (or whatever) is absurd.