<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: svenpeter</title><link>https://news.ycombinator.com/user?id=svenpeter</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 12 Jul 2026 11:14:37 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=svenpeter" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[Asahi Linux Progress Linux 6.16]]></title><description><![CDATA[
<p>Article URL: <a href="https://asahilinux.org/2025/08/progress-report-6-16/">https://asahilinux.org/2025/08/progress-report-6-16/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=44823451">https://news.ycombinator.com/item?id=44823451</a></p>
<p>Points: 12</p>
<p># Comments: 1</p>
]]></description><pubDate>Thu, 07 Aug 2025 12:13:49 +0000</pubDate><link>https://asahilinux.org/2025/08/progress-report-6-16/</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=44823451</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44823451</guid></item><item><title><![CDATA[New comment by svenpeter in "Apple 'created decoy labor group' to derail unionization"]]></title><description><![CDATA[
<p>I work at a unionized company in Germany and didn’t have to join the union or pay any dues to start working.<p>Technically employees who aren’t part of the union aren’t entitled to the benefits they negotiated. In reality everyone gets the same benefits anyway because otherwise the employer would create a huge incentive for everyone to join the union which would make strikes hurt even more.</p>
]]></description><pubDate>Sun, 18 Dec 2022 22:22:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=34044321</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=34044321</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34044321</guid></item><item><title><![CDATA[New comment by svenpeter in "Tales of the M1 GPU"]]></title><description><![CDATA[
<p>IIRC we know about their internal Linux port because of some comment left in the open source XNU release.</p>
]]></description><pubDate>Tue, 29 Nov 2022 18:58:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=33791622</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=33791622</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33791622</guid></item><item><title><![CDATA[New comment by svenpeter in "Ask HN: Why the Linux Kernel doesn't have unit tests?"]]></title><description><![CDATA[
<p>That merge only has fixed because of how the development model works: there’s a merge window where new features are merged and which then becomes -rc1.
After that only fixes are allowed until the final release of that version and then the merge window opens again.</p>
]]></description><pubDate>Fri, 25 Nov 2022 18:01:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=33745071</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=33745071</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33745071</guid></item><item><title><![CDATA[New comment by svenpeter in "Apple's whitelist of the 250k auto-completable domains in iOS"]]></title><description><![CDATA[
<p>The list was at least updated after iOS:<p>I've found wiibrew.org and hackmii.com in there which are both Wii homebrew sites that became popular around 2008/2009 and probably declined in popularity starting in ~2012/2013.<p>Then there's also wiiu-developers.nintendo.com and wiiudaily.com which probably didn't exist before late 2012 or early 2013 when the WiiU was released.</p>
]]></description><pubDate>Mon, 04 Apr 2022 09:42:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=30904773</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=30904773</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30904773</guid></item><item><title><![CDATA[New comment by svenpeter in "A one in a million bug in Switch kernel"]]></title><description><![CDATA[
<p>Will Deacon replied on Twitter how at least Linux handles this correctly [1][2] and I assume that the same is true for XNU and Windows as well.<p>[1] <a href="https://twitter.com/WillDeacon/status/1506375874161086471" rel="nofollow">https://twitter.com/WillDeacon/status/1506375874161086471</a><p>[2] <a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/kernel/process.c#n500" rel="nofollow">https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...</a></p>
]]></description><pubDate>Wed, 23 Mar 2022 12:22:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=30777699</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=30777699</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30777699</guid></item><item><title><![CDATA[New comment by svenpeter in "Asahi Linux for M1 Macs Progress October-November 2021"]]></title><description><![CDATA[
<p>I don't think ARMv8 requires EL3 but even if it did there is no EL3 on the M1.<p>Booting Windows natively would require Microsoft's support since some rather invasive changes to the kernel would be required (FIQ support, DART instead of SMMU) on top of implementing drivers for everything.</p>
]]></description><pubDate>Wed, 15 Dec 2021 16:36:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=29568227</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=29568227</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29568227</guid></item><item><title><![CDATA[Asahi Linux for M1 Macs Progress October-November 2021]]></title><description><![CDATA[
<p>Article URL: <a href="https://asahilinux.org/2021/12/progress-report-oct-nov-2021/">https://asahilinux.org/2021/12/progress-report-oct-nov-2021/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=29564384">https://news.ycombinator.com/item?id=29564384</a></p>
<p>Points: 367</p>
<p># Comments: 211</p>
]]></description><pubDate>Wed, 15 Dec 2021 11:11:35 +0000</pubDate><link>https://asahilinux.org/2021/12/progress-report-oct-nov-2021/</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=29564384</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29564384</guid></item><item><title><![CDATA[New comment by svenpeter in "New details on silicon, subatomic particles and possible ‘fifth force’"]]></title><description><![CDATA[
<p>It’s been a while since my last physics lectures so this might be wrong, but the way i understand it:<p>We don’t have a good model of quantum gravity yet but our best guess is that the force carrier of gravity might be a particle called graviton. This hypothetical particle has no mass and therefore the length scale of gravity would be infinite. This matches the Newtonian and the general relativity model of gravity.<p>This is different from the source of gravity which would be the (gravitational) mass of an object (or more accurately the components of the stress energy tensor which describe the density and flux of energy but that’s also the point where I have to start with the hand waving because my knowledge becomes very fuzzy there)<p>It’s also true for the electromagnetic interaction: the force carrier here is the photon which is also massless and the length scale is also infinite here.</p>
]]></description><pubDate>Fri, 10 Sep 2021 11:04:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=28479875</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=28479875</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28479875</guid></item><item><title><![CDATA[New comment by svenpeter in "Fans of a 2013 Japanese soccer game tracked down a bizarre floating point bug"]]></title><description><![CDATA[
<p>Yup, I'm pretty sure many software companies have done similar things. It's a bit easier on video game consoles where your software runs on the very same hardware everywhere and you can pull off more subtle tricks. There were a few commercial games that also used a similar approach [1].<p>[1] <a href="https://dolphin-emu.org/blog/2017/02/01/dolphin-progress-report-january-2017/#50-2204-hack-to-protect-lower-mem1-from-malicious-game-code-by-booto" rel="nofollow">https://dolphin-emu.org/blog/2017/02/01/dolphin-progress-rep...</a></p>
]]></description><pubDate>Wed, 08 Sep 2021 06:13:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=28453661</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=28453661</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28453661</guid></item><item><title><![CDATA[New comment by svenpeter in "Fans of a 2013 Japanese soccer game tracked down a bizarre floating point bug"]]></title><description><![CDATA[
<p>no worries, this stuff happened over a decade ago. I can sometimes barely remember the details :)</p>
]]></description><pubDate>Tue, 07 Sep 2021 16:23:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=28446624</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=28446624</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28446624</guid></item><item><title><![CDATA[New comment by svenpeter in "Fans of a 2013 Japanese soccer game tracked down a bizarre floating point bug"]]></title><description><![CDATA[
<p>> Is it weird that you sound proud about this? Is there something noble about doing work that makes lives harder for hobbyists trying to preserve video games for the future, and has nearly zero impact on the actual sales of the game at release?<p>What makes you think we did it for any of those reasons? And how does us abusing hardware bugs make video game preservation any harder?<p>This was not for a commercial game, this was for an entry point to load your own software on a locked down video game console.<p>And back then people were selling our (free!) software and we added those protections to make sure we could show a "you have been scammed if you paid for this" screen that couldn't be removed. Unfortunately that also meant breaking our loader from running in emulators, but that didn't matter at all: Those could just directly launch actual .elf files anyway and didn't need the detour through the homebrew channel.<p>The code (minus those protections) for the Homebrew Channel is also available as open source these days.</p>
]]></description><pubDate>Tue, 07 Sep 2021 16:14:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=28446502</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=28446502</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28446502</guid></item><item><title><![CDATA[New comment by svenpeter in "Fans of a 2013 Japanese soccer game tracked down a bizarre floating point bug"]]></title><description><![CDATA[
<p>To be fair, we deliberately used very obscure hardware "features" which we knew were not implemented by any emulators and probably not used by any games to build these protections :-)<p>I'd have to dig up the old code but I'm fairly sure some of them rely on an operating system (Nintendo IOS, unrelated to both Cisco's IOS and Apple's iOS) running on the co-processor (nicknamed "Starlet"). Dolphin doesn't emulate that part at all because IOS exposes a high-level interface that can just be emulated instead. Works amazingly well for games, but will probably trip our protections.</p>
]]></description><pubDate>Tue, 07 Sep 2021 15:37:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=28446111</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=28446111</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28446111</guid></item><item><title><![CDATA[New comment by svenpeter in "Reverse Engineering the M1 [pdf]"]]></title><description><![CDATA[
<p>Ah, that makes a lot of sense. Then this unified MMIO NVMe is "just" emulated inside ANS.</p>
]]></description><pubDate>Fri, 06 Aug 2021 12:20:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=28086126</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=28086126</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28086126</guid></item><item><title><![CDATA[New comment by svenpeter in "Reverse Engineering the M1 [pdf]"]]></title><description><![CDATA[
<p>NVMe requires a co-processor (which Apple calls "ANS") to be up and running before it works. This co-processor firmware seems to have a <i>lot</i> of code and strings dealing with PCIe. Now I haven't looked at the firmware in detail but I'm willing to bet that the actual drives are on a PCIe bus (or at least used to be on a PCIe bus on previous hardware).<p>It's just that this bus is not exposed to the main CPU but only to this co-processor instead. The co-processor then seems to emulate (or maybe it's just a passthrough) a relatively standard NVMe MMIO space.</p>
]]></description><pubDate>Fri, 06 Aug 2021 07:18:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=28084197</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=28084197</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28084197</guid></item><item><title><![CDATA[New comment by svenpeter in "Reverse Engineering the M1 [pdf]"]]></title><description><![CDATA[
<p>The "queue" format itself is incredibly similar to the normal NVMe queue.<p>The normal queue is (more-or-less) a ringbuffer with N slots in memory and a head/tail pointer. You append the command to the next slot and increase the tail by writing to a doorbell. Once the controller is done it increases the head the same way.<p>Apple's "queue" instead is just a memory region without those head/tail pointers. Command submission now works by again putting the request into a free slot followed by just writing the ID of that slot to a MMIO register. Once a command is done the CPU again gets an interrupt and can just take the command out of the buffer again.<p>This probably makes the driver a little bit easier to implement.<p>On top of that a similar structure (which identifies the DMA buffers that need to be allowed) also needs to be put into their NVMe-IOMMU with a reference to the command buffer entry. The slightly weird thing about the encryption is that you put the key/iv into <i>this</i> buffer instead of the normal queue. My best guess is that this IOMMU design pushed them to also simplify the command queue to make the matching easier.<p>Hiding the encryption part inside the IOMMU also makes sense for them because the whole IOMMU management is hidden inside a highly protected area of their kernel with more privileges while the NVMe driver itself is just a regular kernel module which possibly doesn't have access to keys.</p>
]]></description><pubDate>Fri, 06 Aug 2021 06:56:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=28084081</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=28084081</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28084081</guid></item><item><title><![CDATA[New comment by svenpeter in "Debian GNU/Linux running bare metal on the Apple M1 with a mainline kernel"]]></title><description><![CDATA[
<p>Usually, once you can run code in kernel mode it’s just a matter of bringing the hardware back to a sane state.<p>Unfortunately, “just” running code in kernel mode is incredibly hard on the iPad. There’s e.g. a hardware mitigation that turns a memory region to read-only and also only allows kernel code to run from this region. This mitigation is locked down and cannot be disabled once XNU is running on the iPad (<a href="http://siguza.github.io/KTRR/" rel="nofollow">http://siguza.github.io/KTRR/</a>).<p>On top of that page tables are also protected by a “kernel within the kernel” (<a href="https://blog.svenpeter.dev/posts/m1_sprr_gxf" rel="nofollow">https://blog.svenpeter.dev/posts/m1_sprr_gxf</a>)<p>Getting past all that is going to be very hard if not impossible.</p>
]]></description><pubDate>Mon, 26 Jul 2021 14:51:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=27960096</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=27960096</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27960096</guid></item><item><title><![CDATA[New comment by svenpeter in "Debian GNU/Linux running bare metal on the Apple M1 with a mainline kernel"]]></title><description><![CDATA[
<p>which is not impossible but very unlikely.</p>
]]></description><pubDate>Mon, 26 Jul 2021 13:00:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=27958815</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=27958815</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27958815</guid></item><item><title><![CDATA[New comment by svenpeter in "Debian GNU/Linux running bare metal on the Apple M1 with a mainline kernel"]]></title><description><![CDATA[
<p>That missing patch is the iommu driver which is currently under review and will hopefully make its way to mainline soon.<p>Once that one is merged there's already another series to enable PCIe (which needs the iommu driver) which gives us more USB ports, ethernet and with another small patch WiFi. There's also a WIP series for NVMe.<p>What's missing are then a few smaller things (i2c, spi, keyboard on the macbooks etc.).<p>And then there are a few bigger tasks left, e.g. thunderbolt support, usb super speed support, support for the secure enclave, and ofc the largest one being the display controller and the GPU.<p>And once that's all done there's the long tail of making this all work nicely (e.g. power management, making the installation as easy as possible, etc.)</p>
]]></description><pubDate>Mon, 26 Jul 2021 12:34:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=27958607</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=27958607</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27958607</guid></item><item><title><![CDATA[New comment by svenpeter in "Debian GNU/Linux running bare metal on the Apple M1 with a mainline kernel"]]></title><description><![CDATA[
<p>On the computers (i.e. mac mini, macbook, iMac) Apple ships an unlocked bootloader and we can just install our own bare metal code very early on using their official tools.<p>On the iPad Pro that bootloader is locked down and running Linux on there is unfortunately very unlikely to ever be possible.</p>
]]></description><pubDate>Mon, 26 Jul 2021 12:29:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=27958567</link><dc:creator>svenpeter</dc:creator><comments>https://news.ycombinator.com/item?id=27958567</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27958567</guid></item></channel></rss>