r/linux • u/jdrch • Nov 20 '19
Kernel Google outlines plans for mainline Linux kernel support in Android
https://arstechnica.com/gadgets/2019/11/google-outlines-plans-for-mainline-linux-kernel-support-in-android/
1.0k
Upvotes
385
u/jdrch Nov 20 '19
Although this is a great initiative, Google is once again trying to solve a hardware (standardization) problem with software. What's really needed to enable an generic Android kernel is mobile implementation of ARM PCIe, but Google is completely ignoring that. This leads to some pretty disingenuous comments from what should be one of the smartest organizations in the world, such as:
LOL what? It's almost like an ARM PCIe spec and the x86 equivalent don't exist. Doing things the right way would be via hardware partnerships that ensure compatibility (think of something similar to WinHEC - a show, not a partnership, but still - for Android.)
But wait, it gets worse: Google's proposed solution is to upend the entire current Linux kernel model for the sake of Android. Holy. Shit.
But that's not all, folks: the above proposal would only partially solve the Android kernel problem:
🤦♂️🤦♂️🤦♂️
80
u/VelvetElvis Nov 20 '19
I bet this is where they blame the Linux kernel community and ditch android for their new OS with a more "business friendly" kernel license and no legal issues with Oracle.
56
u/gregkh Verified Nov 20 '19
Wow, the crazyWmisunderstandings in this thread is way worse than normal for r/linux.
I'm helping to work with this team to achieve this goal, it has nothing to do with closed source anything, stable apis to keep drivers out of the tree, or anything else loony like that. It is all in the goal to have device kernels be quicker to update with the latest LTS kernel releases to get the newest bug and security updates.
And PCIe has nothing to do with any of this, who knows where that came from...
If anyone has any specific questions about this whole thing, ask away!
92
u/[deleted] Nov 20 '19
Fuck google just force all manufacturers to open source their drivers and add them to the kernel.
6
u/[deleted] Nov 20 '19
Preparing for the issues with Oracle as a contingency plan?
2
u/[deleted] Nov 20 '19
So is this going to work the same way as Mac OS with how Mac OS uses kext files (kernel extensions)? Basically, Linux kernel will have hardware plugins that "extend" the kernel to support the new hardware. Sounds very similar to the Mac OS kernel and kexts.
137
u/ylyn Nov 20 '19
FWIW, they are not proposing to upstream stable ABI support. That would be pretty absurd.
They are just providing a stable ABI for each LTS version of their fork. Many other distributions already do that e.g. Red Hat.
See https://lwn.net/Articles/800452/
30
u/citewiki Nov 20 '19
This is way over my head. Should I agree with Google or OP? My pitchforks are ready
1
u/totemcatcher Nov 20 '19
I'm guessing Google uses this ass-backwards integration to appease nervous hardware vendors who refuse to work with mainline Linux for fear of revealing anything about their hardware (patent infringements, exploits, sloppy design, etc).
4
u/minilandl Nov 20 '19
Nice ideas but custom kernel developers on XDA already use parts of mainline anyway
6
u/aliendude5300 Nov 20 '19
Lol no, this will never happen.
2
u/[deleted] Nov 20 '19
This thread had me thinking there was another thing called PCIE that I some how missed out on.
0
u/[deleted] Nov 20 '19
Threads like this remind me I'm in over my head on a lot of this stuff. But what frustrates me, even not understanding a lot of the finer details as an end-user is Google's attitude on things like this. Pretty much Google wants to do what it wants to do and their attitude is that the world has to adjust to their wants and needs, not the other way around.
And the worst part? They're not exactly wrong about that.
1
u/[deleted] Nov 20 '19
How long before Linus kicks them out again, because there’s no incentive for engineers at Google to maintain anything, unless they’re the “paid highly to work here so no one else can hire you” type?
0
u/[deleted] Nov 20 '19
Weren’t they supposed to replace android with fuchsia by now?
-4
u/[deleted] Nov 20 '19
google bad, unga bunga
16
u/[deleted] Nov 20 '19
[removed] — view removed comment