{"id":36650,"date":"2022-08-02T16:55:29","date_gmt":"2022-08-02T20:55:29","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=36650"},"modified":"2022-08-04T16:10:33","modified_gmt":"2022-08-04T20:10:33","slug":"dogfooding-linux-5-19-on-apple-silicon","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2022\/08\/02\/dogfooding-linux-5-19-on-apple-silicon\/","title":{"rendered":"Dogfooding Linux 5.19 on Apple Silicon"},"content":{"rendered":"<p><a href=\"https:\/\/lwn.net\/Articles\/903033\/\">Linus Torvalds<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=32303592\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/lwn.net\/Articles\/903033\/\"><p>On a personal note, the most interesting part here is that I did the\nrelease (and am writing this) on an arm64 laptop. It&rsquo;s something I&rsquo;ve\nbeen waiting for for a <em>loong<\/em> time, and it&rsquo;s finally reality, thanks\nto the Asahi team. We&rsquo;ve had arm64 hardware around running Linux for a\nlong time, but none of it has really been usable as a development\nplatform until now.<\/p><p>It&rsquo;s the third time I&rsquo;m using Apple hardware for Linux development - I\ndid it many years ago for powerpc development on a ppc970 machine.\nAnd then a decade+ ago when the Macbook Air was the only real\nthin-and-lite around. And now as an arm64 platform.<\/p><p>Not that I&rsquo;ve used it for any real work, I literally have only been\ndoing test builds and boots and now the actual release tagging. But\nI&rsquo;m trying to make sure that the next time I travel, I can travel with\nthis as a laptop and finally dogfooding the arm64 side too.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/arstechnica.com\/gadgets\/2022\/08\/linus-torvalds-uses-an-arm-powered-m2-macbook-air-to-release-latest-linux-kernel\/\">Andrew Cunningham<\/a>:<\/p>\n<blockquote cite=\"https:\/\/arstechnica.com\/gadgets\/2022\/08\/linus-torvalds-uses-an-arm-powered-m2-macbook-air-to-release-latest-linux-kernel\/\"><p>In November 2020, Torvalds <a href=\"https:\/\/www.realworldtech.com\/forum\/?threadid=196533&amp;curpostid=196570\">wrote<\/a> that the then-new M1 version of the Air &ldquo;would be almost perfect&rdquo; as an Arm Linux laptop but said, &ldquo;I don&rsquo;t have the time to tinker with it, or the inclination to fight companies that don&rsquo;t want to help.&rdquo;<\/p><p>At a certain level, this news is just mildly interesting trivia&mdash;it doesn&rsquo;t matter to most Linux users what computer Torvalds is currently using, and Asahi Linux is still in a rough, early state where lots of things are half-functional or non-functional. But as Asahi contributor Hector Martin <a href=\"https:\/\/twitter.com\/marcan42\/status\/1554031265728569344\">notes<\/a>, having &ldquo;real people&#8230; using Linux on a real, modern ARM64 platform&rdquo; with a modern version of the Arm instruction set and a &ldquo;near-upstream kernel&rdquo; has knock-on effects that benefit the rest of the ecosystem.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/06\/06\/macbook-air-2022\/\">MacBook Air 2022<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/05\/24\/the-apple-gpu-and-the-impossible-bug\/\">The Apple GPU and the Impossible Bug<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/01\/14\/macos-11-2-beta-2-adds-full-custom-kernel-support\/\">macOS 11.2 Beta 2 Adds Full Custom Kernel Support<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/01\/11\/dissecting-the-apple-m1-gpu\/\">Dissecting the Apple M1 GPU<\/a><\/li>\n<\/ul>\n\n<p id=\"dogfooding-linux-5-19-on-apple-silicon-update-2022-08-04\">Update (2022-08-04): <a href=\"https:\/\/twitter.com\/marcan42\/status\/1554395176025849856\">Hector Martin<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/marcan42\/status\/1554395176025849856\"><p>I have heard from <em>several<\/em> Apple employees that:<\/p><ol><li>The boot method we use is for 3rd-party OSes, and Apple only use it to test that it works, because<\/li><li>It is <em>policy<\/em> that it works.<\/li><\/ol><p>Apple didn&rsquo;t &ldquo;leave the door open&rdquo; for 3rd party OSes. Apple <em>explicitly engineered<\/em> 3rd party OS support in, and it is a hard policy requirement that it continue to work.<\/p><p>They aren&rsquo;t going to help us port anything but they <em>absolutely<\/em> will not shut Asahi down either.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Linus Torvalds (via Hacker News): On a personal note, the most interesting part here is that I did the release (and am writing this) on an arm64 laptop. It&rsquo;s something I&rsquo;ve been waiting for for a loong time, and it&rsquo;s finally reality, thanks to the Asahi team. We&rsquo;ve had arm64 hardware around running Linux for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2022-08-02T20:55:32Z","apple_news_api_id":"5d8f0338-9b32-4cec-bea7-8f13df0fc0be","apple_news_api_modified_at":"2022-08-04T20:10:37Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AXY8DOJsyTOy-p48T3w_Avg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[2221,448,30,1173,71],"class_list":["post-36650","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-m2","tag-linux","tag-mac","tag-macbook-air","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=36650"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36650\/revisions"}],"predecessor-version":[{"id":36667,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36650\/revisions\/36667"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=36650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=36650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=36650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}