{"id":232138,"date":"2026-04-07T06:19:00","date_gmt":"2026-04-07T10:19:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/04\/07\/risc-v-xip-linux-feature-being-removed-after-it-keeps-breaking-for-months-at-a-time\/"},"modified":"2026-04-07T10:25:15","modified_gmt":"2026-04-07T14:25:15","slug":"risc-v-xip-linux-feature-being-removed-after-it-keeps-breaking-for-months-at-a-time","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/04\/07\/risc-v-xip-linux-feature-being-removed-after-it-keeps-breaking-for-months-at-a-time\/","title":{"rendered":"RISC-V XIP Linux Feature Being Removed After It Keeps Breaking For Months At A Time"},"content":{"rendered":"<p><a href=\"https:\/\/www.phoronix.com\/news\/RISC-V-XIP-Being-Removed\">RISC-V XIP Linux Feature Being Removed After It Keeps Breaking For Months At A Time<\/a><\/p>\n<p><a href=\"https:\/\/www.phoronix.com\/news\/RISC-V-XIP-Being-Removed\">https:\/\/www.phoronix.com\/news\/RISC-V-XIP-Being-Removed<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-04-07 06:19:00<\/a><\/p>\n<p>Source Domain: <a href=\"www.phoronix.com\">www.phoronix.com<\/a><\/p>\n<p>Introduced in Linux 5.13 back in 2021 was eXecute In Place &#8220;XIP&#8221; support for RISC-V that allows for the kernel image to be executed from ROM. The intent is on allowing the kernel to run from non-volatile storage like NOR flash that is directly addressable by the CPU and to reduce RAM usage. But after RISC-V XIP support is broken for months at a time, the feature is now set to be retired from the mainline kernel.<\/p>\n<p>Last year RISC-V XIP kernel support was restored after being broken for several Linux kernel versions. It was fixed up only to end up being in a broken state later in the year and is still broken on mainline. With broken RISC-V XIP kernel support persisting for months, it&#8217;s clear to the developers the functionality is not being well used or tested.\n<\/p>\n<p>Nam Cao has authored a patch to just remove the RISC-V XIP support given its recurring broken state. The patch is queued up in RISC-V&#8217;s &#8220;for-next&#8221; Git branch and thus should be part of the upcoming Linux 7.1 merge window.<br \/>\n<\/p>\n<p align=\"center\"><img decoding=\"async\" src=\"https:\/\/www.phoronix.net\/image.php?id=2026&#038;image=riscv_xip_removed\" alt=\"RISC-V XIP removed\"\/><\/p>\n<p>Nam Cao explained with that patch:<br \/>\n<br \/>&#8220;XIP has a history of being broken for long periods of time. In 2023, it was broken for 18 months before getting fixed. In 2024 it was 4 months.<\/p>\n<p>And now it is broken again since commit a44fb5722199 (&#8220;riscv: Add runtime constant support&#8221;), 10 months ago.\n<\/p>\n<p>These are clear signs that XIP feature is not being used.\n<\/p>\n<p>I occasionally looked after XIP, but mostly because I was bored and had nothing better to do.\n<\/p>\n<p>Remove XIP support. Revert is possible if someone shows up complaining.&#8221;<\/p>\n<p>Especially given RAM constraints in the industry these days, it&#8217;s a bit surprising RISC-V XIP wasn&#8217;t better leveraged, but alas it can be restored later on if people end up actually using it.<br \/>\n<br \/><a href=\"https:\/\/www.phoronix.com\/news\/RISC-V-XIP-Being-Removed\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>RISC-V XIP Linux Feature Being Removed After It Keeps Breaking For Months At A Time&#8230;<\/p>\n","protected":false},"author":1,"featured_media":232139,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.phoronix.net\/image.php?id=2026&image=riscv_xip_removed","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71],"class_list":["post-232138","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/232138"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=232138"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/232138\/revisions"}],"predecessor-version":[{"id":232140,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/232138\/revisions\/232140"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/232139"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=232138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=232138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=232138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}