r/linux • Verified • Dec 01 '14

I'm Greg Kroah-Hartman, Linux kernel developer, AMA!

To get a few easy questions out of the way, here's a short biography about me any my history: https://en.wikipedia.org/wiki/Greg_Kroah-Hartman

Here's a good place to start with that should cover a lot of the basics about what I do and what my hardware / software configuration is. http://greg.kh.usesthis.com/

Also, an old reddit post: https://www.reddit.com/r/linux/comments/18j923/a_year_in_the_life_of_a_kernel_mantainer_by_greg/ explains a bit about what I do, although those numbers are a bit low from what I have been doing this past year, it gives you a good idea of the basics.

And read this one about longterm kernels for how I pick them, as I know that will come up and has been answered before: https://www.reddit.com/r/linux/comments/2i85ud/confusion_about_longterm_kernel_endoflive/

For some basic information about Linux kernel development, how we do what we do, and how to get involved, see the presentation I give all around the world: https://github.com/gregkh/kernel-development

As for hardware, here's the obligatory /r/unixporn screenshot of my laptop: http://i.imgur.com/0Qj5Rru.png

I'm also a true believer of /r/MechanicalKeyboards/ and have two Cherry Blue Filco 10-key-less keyboards that I use whenever not traveling.

Proof: http://www.reddit.com/r/linux/comments/2ny1lz/im_greg_kroahhartman_linux_kernel_developer_ama/ and https://twitter.com/gregkh/status/539439588628893696

1.9k Upvotes

1.0k comments sorted by

View all comments

Show parent comment

10

u/gregkh Verified Dec 01 '14

Device tree is a good solution to a hard problem.

There are other hard problems still left with device trees (overlays, dynamic devices, change management of the device tree, location of the device tree, sharing the device tree across operating systems, etc.) but those are being worked on and I think they will be solved in due time.

If anything, it's much better off than the previous mess we had with board files, don't you agree?

1

u/bit_inquisition Dec 01 '14

My feelings are a bit mixed. I first started working with device trees on the PowerPC side where things looked very neat and the DT really helped (maybe forced) people to separate the board design from the code.

However, I'm currently on the ARM side which is very fast moving. Decoding a device tree and its includes is becoming quite a task. As you said, defining complicated or configurable devices in a device tree syntax is also a bit difficult.

So, in short, I like the new initialization code and the frameworks (like clocks, pinmuxes etc.) better, but the overall system is becoming a bit difficult to understand for people like me who try to write ports for new boards.

In a way the mess moved from something I know and is well-defined (C code) to something I don't quite know and is not as well defined (DT syntax).

Thanks for the answer!