在这些天寒地冻,老司机也冻成狗的日子里,RISC-V和Linux的革命友谊发展迅猛,终于要在Linux 4.15内核胜利会师了。
Linux 4.15 将支持加州伯克利开发的开源指令集架构 RISC-V,目前我们在Linus的tree的master branch上面已经看到risc-v的代码:
相关的commit log如下,可以看出涉及的代码大概有2万行:
pull发生在2017-11-15:
This contains the core RISC-V Linux port, which has been through nine rounds of review on various mailing lists. The port is not complete: there‘s some cleanup patches moving through the review process, a whole bunch of drivers that need some work, and a lot of feature additions that will be needed.
The patches contained in this tag have been through nine rounds of review on the various mailing lists. I have some outstanding cleanup patches, but since there‘s been so much review on these patches I thought it would be best to submit them as-is and then submit explicit cleanup patches so everyone can review them. This first patch set is big enough that it‘s a bit of a pain to constantly rewrite, and it‘s caused a few headaches with various contributors.
The port is definately a work in progress. While what‘s there builds and boots with 4.14, it‘s a bit hard to actually see anything happen because there are no device drivers yet. I maintain a staging branch that contains all the device drivers and cleanup that actually works, but those patches won‘t all be ready for a while. I‘d like to get what we currently have into your tree so everyone can start working from a single base -- of particular importance is allowing the glibc upstreaming process to proceed so we can sort out any possibly lingering user-visible ABI problems we might have.
commit log显示,目前还缺乏大量的驱动,所以实际上"hard to actually see anything happen"。
另外,目前的merge是"as is",这意味着后续还需要大量的cleanup工作。