Skip to content

Bump kernel to v6.18.38 and apply cartesi changes - #13

Open
edubart wants to merge 1 commit into
linux-6.18.38-ctsi-yfrom
feature/linux-6.18.38-ctsi-y
Open

Bump kernel to v6.18.38 and apply cartesi changes#13
edubart wants to merge 1 commit into
linux-6.18.38-ctsi-yfrom
feature/linux-6.18.38-ctsi-y

Conversation

@edubart

@edubart edubart commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Bundle the Cartesi-specific changes on top of Linux 6.18.38:

  • drivers/cartesi: add cmio device (/dev/cmio) for guest-host communication via shared tx/rx buffers (mmap) and SBI yield, plus Kconfig/Makefile and cartesi_defconfig
  • riscv/sbi: forward the application exit status through the reboot reason and use the SBI v0.1 shutdown ABI
  • panic: halt the machine on kernel panic
  • reboot: lower restart/halt/poweroff messages from pr_emerg to pr_notice
  • selftests: add cmio echo and open-twice tests

@edubart
edubart force-pushed the feature/linux-6.18.38-ctsi-y branch from d398889 to 7b90925 Compare July 7, 2026 23:28
@edubart edubart changed the title cartesi: add Cartesi Machine platform support (6.18.38-ctsi) Bump kernel to v6.18.38 and apply cartesi changes Jul 7, 2026
Bundle the Cartesi-specific changes on top of Linux 6.18.38:

- drivers/cartesi: add cmio device (/dev/cmio) for guest-host
  communication via shared tx/rx buffers (mmap) and SBI yield,
  plus Kconfig/Makefile and cartesi_defconfig
- riscv/sbi: forward the application exit status through the reboot
  reason and use the SBI v0.1 shutdown ABI even when v0.3+ is present
- panic: halt the machine on kernel panic
- reboot: lower restart/halt/poweroff messages from pr_emerg to
  pr_notice so they can be silenced via loglevel
- selftests: add cmio echo and open-twice tests

Co-authored-by: Victor Fusco <1221933+vfusco@users.noreply.github.com>
Co-authored-by: Marcelo Politzer <251334+mpolitzer@users.noreply.github.com>
Co-authored-by: Diego Nehab <1635557+diegonehab@users.noreply.github.com>
@edubart
edubart force-pushed the feature/linux-6.18.38-ctsi-y branch from 7b90925 to 097fd98 Compare July 8, 2026 13:03
@edubart edubart added the enhancement New feature or request label Aug 3, 2026
@edubart edubart self-assigned this Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant