GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Thorsten Leemhuis (acct. 1/4) (kernellogger@fosstodon.org)'s status on Thursday, 14-Nov-2024 17:02:04 JST Thorsten Leemhuis (acct. 1/4) Thorsten Leemhuis (acct. 1/4)
    • mxk

    @mxk are you sure?

    I mean, sure, Google will ensure kernel <-> Android Userland will work.

    But how hard is it for Android vendors that have huge kernel patches applied to support the hardware? Patches never upstreamed? Patches from a BSP that the chip vendor maybe never forward ported to support newer kernels and/or android versions?

    In conversation about 6 months ago from fosstodon.org permalink
    • Embed this notice
      Greg K-H (gregkh@social.kernel.org)'s status on Thursday, 14-Nov-2024 17:02:04 JST Greg K-H Greg K-H
      in reply to
      • mxk
      @kernellogger @mxk That's not how Android kernels are working anymore. Vendors can have huge numbers of external kernel drivers/modules (i.e. pixel 6 has 300+ of them), but the "core" kernel is managed by Android/Google, in public, in their GKI kernel branches, and that is what is the "base" of the kernel that all vendors can then add drivers to.

      If a vendor wants to change the "core" parts of the kernel, they must either submit the changes upstream for merging first (and then backport the change to the GKI kernel and submit it to Android), or somehow convince Android to take it into their GKI kernel (with reasons why upstream rejected it), or add a "hook" to the GKI kernel so that they can put their changes in a kernel module (like many do for scheduler changes.)

      The -lts releases get merged into the Android/GKI kernel branches on a monthly basis, which then gets pushed out to all devices "quickly" as there are no in-kernel-abi breaks between the GKI kernel and all external kernel modules used by vendors.

      Android has followed the "old" enterprise kernel module here, with the exception of the hook additions, that companies have used for decades (the abi stability changes were taken directly from RHEL and SLES). It's not exciting kernel work, but allows security fixes to get pushed out to devices MUCH faster which is helping everyone out, AND it has forced the vendors to work upstream to get their features merged properly, which has been happening for years now to much success.

      There was a plumbers talk all about this this year (and last, and the year before), if you want more details.
      In conversation about 6 months ago permalink
      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Thorsten Leemhuis (acct. 1/4) (kernellogger@fosstodon.org)'s status on Thursday, 14-Nov-2024 17:07:23 JST Thorsten Leemhuis (acct. 1/4) Thorsten Leemhuis (acct. 1/4)
      in reply to
      • Greg K-H
      • mxk

      @gregkh @mxk

      many thx for the insights! 👍

      I sometimes wish I could follow what happens in the Android world more closely, but there are only so many hours in a week… 😟

      In conversation about 6 months ago permalink
    • Embed this notice
      Greg K-H (gregkh@social.kernel.org)'s status on Thursday, 14-Nov-2024 17:07:23 JST Greg K-H Greg K-H
      in reply to
      • mxk
      @kernellogger @mxk Totally understand.

      Here's a link to Todd's latest Plumbers conference calling out how they are going to support devices for 7+ years by moving to new kernel versions over time: https://lpc.events/event/18/contributions/1703/attachments/1391/2998/LPC%202024%20-%20Android%20Device%20Longevity.pdf
      In conversation about 6 months ago permalink

      Attachments


Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.