News for hackers. Stuff that matters.
Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by ndsipa_pomu on Sunday September 17, 2023 @09:51AM (#37545062)
RISC-V is not tied to Qualcomm, so you can either choose a different partner or do it all yourself if you've got the necessary skills and resources.

> This open ISA provides designers and developers with greater control over their computing environments, allowing them to fine-tune their systems without relying on third parties or incurring additional license fees associated with proprietary architectures.

Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by squarefoot on Sunday September 17, 2023 @09:56AM (#37545102)
Also, having competition in the field benefits everyone, including those who wouldn't switch anyway.
Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by fidotron on Sunday September 17, 2023 @09:59AM (#37545138)
In fairness using Qualcomm for purposes other than mobile modem integration is a niche pursuit for ARM windows machines and Meta Quest VR. Their CPU implementations never recovered from the 64 bit transition that wrong footed them completely.

As the parent alluded to, if there is a problem in the Android ecosystem you will almost certainly find either Qualcomm or Google in the middle of it.

Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by Geezus_42 on Sunday September 17, 2023 @09:59AM (#37545133)
Yes, but how long until Qualcomm, and whoever else, builds proprietary add-on instruction sets that become SOB and lock people in?
Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by dkjaudyeqooe on Sunday September 17, 2023 @10:41AM (#37545511)
If you've gone to the trouble of migrating to RISC-V then you allow that, it's on you.

But even then working around custom extensions is a lot easier than a whole ISA. Short of patents you can always reimplement them. No one can copyright instruction code numbers.

Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by rwmj on Sunday September 17, 2023 @10:02AM (#37545174)
It's entirely the point of the RISC-V custom extension space that Qualcomm are allowed to do this. It's certainly a risk that software could get locked in to using these custom extensions, but it's also very easy to tell if software is using those extensions from simple examination of the opcodes. For those interested, check the bottom byte[*] of each instruction for:

  x000 10xx   custom-0
  x010 10xx   custom-1
  x101 10xx   custom-2
  x111 10xx   custom-3
[*] Where "bottom byte" is actually the first byte since instructions are always stored little endian.
Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by znpy on Sunday September 17, 2023 @10:19AM (#37545324)
> software could get locked in to using these custom extensions

the question arises: can such extensions be patented?

we've seen already that APIs cannot get patented (see the Oracle vs Google litigation).

If Qualcomm was to develop a set of extension, but other players in the risc-v space could implement some equivalent that's ISA/binary compatible... I wouldn't see any issue with that.

Am I being too optimistic ?

Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by colejohnson66 on Sunday September 17, 2023 @10:25AM (#37545366)
IANAL, but yes, ISA extensions can be patented. For example, the x86-64 extension ("Long Mode") was created by AMD, and Intel had to pay to license it.[0] Those patents expired a few years ago, allowing Microsoft and Apple to write x86-64 to ARM translators freely.

[0]: https://en.wikipedia.org/wiki/X86-64#Licensing

Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by rwmj on Sunday September 17, 2023 @11:05AM (#37545789)
RISC-V has two sorts of extensions. The custom extensions I mentioned in my post above are vendor-specific and they can do what they want, patent them, keep them secret, whatever. However the standard extensions which go through ratification by RISC-V International and are meant to be implemented by anyone must have a royalty-free patent grant (see: https://riscv.org/wp-content/uploads/2022/03/RISC-V-Amended-...)
Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by camel-cdr on Sunday September 17, 2023 @10:21AM (#37545339)
The cool thing is that there are already extensions in the work to make custom vendor extension compatible with each other and vendors have a general incentive in not keeping their extensions private, because this will hinder software support. as most FOSS software/toolchains will target the extension profiles, which won't include any closed extensions.
Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by hashtag-til on Sunday September 17, 2023 @09:57AM (#37545112)
That’s very aspirational, but hardly backed by any reference these days.
Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by Moto7451 on Sunday September 17, 2023 @10:01AM (#37545155)
Agreed, especially given their position in ARM, a ubiquitous and easy to license IP. The lock in will come from the GPU, accelerator/coprocessor, and other IPs that will lead to Qualcomm/other large vendor lock in.
Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by ndsipa_pomu on Sunday September 17, 2023 @10:03AM (#37545183)
I don't follow what you mean. You can purchase SiFive RISC-V chips.
Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by themiddleupper on Sunday September 17, 2023 @01:03PM (#37547181)
Are they open source?
Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by ndsipa_pomu on Sunday September 17, 2023 @01:13PM (#37547285)
Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by jlokier on Sunday September 17, 2023 @03:00PM (#37548276)
I believe SiFive's CPUs and chip designs are not open source generally, although they do open source a lot of related things such as software, specifications, tools. I looked at their GitHub and didn't find any CPUs in there, though there are a lot of repos.

Here's an interesting take on what someone thinks "open source" means in this context: gjsman-1000 wrote: Open source refers solely to the software side of things in these groups and types of projects. Thus, all of the drivers and software you need to use the SiFive is open source and thus you can say it is an open source design. However, it is not an "open hardware" design in that the IP used to design the chip is not released. https://news.ycombinator.com/item?id=25762114

I personally don't think of closed chip designs with open software and specifications as open source chips. That would be like saying Intel and AMD x86s are open source. Though to be fair to those companies, their CPU programming models are much more open than their FPGA programming models, which requires proprietary software and secret specifications to program them at all.

Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by ilyt on Sunday September 17, 2023 @11:36AM (#37546169)
> RISC-V is not tied to Qualcomm, so you can either choose a different partner or do it all yourself if you've got the necessary skills and resources.

ISA is the least important part in CPU. The hard part is having all drivers for the peripherals given chip has and knowing most of the chinese vendors it's straight to landfill after few years unless something becomes so popular community RE it.

Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by ndsipa_pomu on Sunday September 17, 2023 @01:58PM (#37547708)
> ISA is the least important part in CPU

It is essential though, so it's an important step towards having entirely open CPUs

Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by ilyt on Sunday September 17, 2023 @03:13PM (#37548375)
Proprietary ISA with open peripherals would be FAR better than other way around. Frankly the ISA part is easiest to change from OS kernel perspective.

If "open" ISA comes with a bunch of blobs it's essentially exactly same situation as using ARM chip.

Re:Qualcomm: What is RISC-V, and why we're unlocking its pot... by ndsipa_pomu on Sunday September 17, 2023 @03:48PM (#37548664)
There's a HN link to https://pineapple-one.github.io/ on the front-page now. Is that of interest?