Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #9356

S

Sven Peter

Personal blog · blog.svenpeter.dev/posts · on HN as svenpeterhardwaresystemssecurity

Sven Peter's personal blog at blog.svenpeter.dev covers hardware, systems and security. Since 2021, 8 different Hacker News readers have linked it 8 times, most often “Apple Silicon Hardware: SPRR and Guarded Exception Levels (GXF)”. The last post was in 2021, but the archive is still widely read.

Visit the blog
8mentions?
8HN people?
2021–2023first – last linked?
Links on Hacker News per year · peak 6 in 2021

Too few sampled comments (3) to say how often HN recommends it.?

Why HN links it

HN readers link this blog for technical posts on Apple silicon and macOS internals, such as the M1's GXF and SPRR mechanisms, kernel extensions and iOS JIT. Comments cite it as a reference for those details.

Summarised by Claude from a sample of 3 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

The author on HN?

svenpeter · 642 karma · member since 2013

https://blog.svenpeter.dev https://twitter.com/svenpeter42 [ my public key: https://keybase.io/svenpeter; my proof: https://keybase.io/svenpeter/sigs/6hJdqFenny4TvroIofwjy7syLvXGntakUwxlNkeJDdw ]

From their public HN profile, which links to this site.

Most-linked posts?

  1. Apple Silicon Hardware: SPRR and Guarded Exception Levels (GXF)
    7 people · 7 mentions · first linked 2021-05-06

What Hacker News says?

  1. Yes, you are right that they allow their own JIT. Their position would be that they spend a great deal of time hardening that JIT and don't trust others to take that time. Their JIT isn't perfect of course, but they control it and can fix it fast if needed. (In their opinion.) They are really saying that they aren't willing to take the time to exhaustively test other JITs. That is a frustrating choice, but I do unde…

    Comment linking /posts/m1_sprr_gxf/

    on “We’ll stop selling our Code Editor app for iOS soon”
  2. Submitted Apple Silicon Hardware: SPRR and Guarded Exception Levels (GXF) as a story · 272 points

    HN discussion
  3. Usually, once you can run code in kernel mode it’s just a matter of bringing the hardware back to a sane state. 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 ( http…

    Comment linking /posts/m1_sprr_gxf

    on “Debian GNU/Linux running bare metal on the Apple M1 with a mainline kernel”
  4. Submitted Apple Silicon Hardware Secrets: SPRR and Guarded Exception Levels (GXF) as a story · 23 points

    HN discussion
  5. The funny thing is that the M1 has an undocumented but totally used feature called Guarded Execution[0] that lets you separate parts of the kernel (or hypervisor, if you're in EL2) from one another. Basically, on the M1 each Exception Level now has a regular and a guarded sublevel, with their own page table permissions, and special instructions to enter or exit the guarded execution within the same EL. macOS on the…

    Comment linking /posts/m1_sprr_gxf/

    on “macOS extensions are moving away from the kernel”
  6. Submitted Apple Silicon Hardware Secrets: SPRR and Guarded Exception Levels (GXF) as a story · 20 points

    HN discussion
  7. Considering Apple have custom extensions to ARM already, they'd be giving up more than just the SoC design if they switched to a standard ARM core, unless eventually all those extensions get upstreamed into the spec... but I don't see GXF [1] getting upstreamed, at least not like that. That one is just crazy. [1] https://blog.svenpeter.dev/posts/m1_sprr_gxf/

    Comment linking /posts/m1_sprr_gxf/

    on “Key M1 Mac Engineer Departs Apple for Intel”
  8. Submitted Apple Silicon Hardware Secrets: SPRR and Guarded Exception Levels (GXF) (2021) as a story · 2 points

    HN discussion

Search all of HN for blog.svenpeter.dev