Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 01:28
8596442

KDAL v0.2.0, built by CI from 8596442 (run 45253065422): SDK tarballs for
Linux (x86_64, aarch64, riscv64) and macOS (aarch64, x86_64), the source, a deb, an rpm
and the VS Code extension; SHA256SUMS below.

Changes since v0.1.0. The language, compiler and editor plugins (lang/,
compiler/, editor/) are frozen since 2026-11-01; the kdality runtime
CLI (tools/) is maintained (README, "Layout"). The QEMU and Docker
integration for VS Code that v0.1.0 deferred to this release is not in it:
the editor plugins are frozen.

Added

  • Devices report their resource demand (MMIO range, GIC INTIDs, SMMU and
    StreamIDs) in struct kdal_demand; /sys/kernel/debug/kdal/demand prints
    it as JSON with the FF-A partition manifest property names. The
    device-tree backend fills it from reg, interrupts and iommus
    (audit K4).
  • KUnit suite kdal-demand (2 cases).
  • make KDAL_KUNIT=y builds the KUnit suites into kdal.ko (audit K12).
  • CI on GitHub Actions: smoke tests on Linux and macOS, lint, and a job that
    builds kdal.ko against Linux v6.18 arm64, runs its KUnit suites in QEMU
    and checks the reported device demand (audit K1).
  • Local CodeQL runner (scripts/dev/codeql.sh).
  • Issue templates and a pull request template.

Changed

  • The KUnit test find_driver_by_class checks the driver class, not which
    driver registers first (audit K11).
  • The project home moved to Codeberg on 2026-11-01 and back to GitHub on
    2026-11-04; installer, release scripts, packaging and links point to
    GitHub again.
  • README and docs: KDAL's scope in the HAVEN thesis, the CIX P1 target
    platforms, the four drivers named example drivers, the KUnit suite table,
    and which directories are maintained or frozen.
  • Compiler and kdality refactors: parser statement handling split, compile
    option parsing tightened, simulate expression dispatch, testgen parsing and
    token enum numbering simplified.
  • Em-dashes replaced with ASCII hyphens; local CodeQL artifacts ignored.
  • The guides (architecture, API, installation, language, porting, FAQ,
    performance, upstreaming, thesis) live on the HAVEN docs site; docs/
    keeps the records (docs/README.md).

Removed

  • website/ (the Astro Starlight site): its pages are part of the ecosystem's
    site in the haven-docs repository (docs-haven.vercel.app/kdal/), which also
    copies this README and changelog at every build. The website targets of
    CMake and scripts/dev/, and the e2e website suite, are gone with it.

Fixed

  • The module builds against Linux v6.18 with clang (file_operations and
    accelerator op signatures) and loads without a crash: a driver is bound to
    its device before probe. Out-of-tree builds default
    CONFIG_KDAL_QEMU_BACKEND and CONFIG_KDAL_EXAMPLE_DRIVERS to y, as
    Kconfig does (audit K7, K8, K9).
  • Registering an object that is already registered no longer resets its list
    links and hangs the registry (audit K10).
  • kdal_core_init runs the generic backend (SoC glue, platform backend,
    device-tree scan), so kdal,device nodes are found (audit K15).
  • Compiler and kdality: input and output paths are validated (CodeQL
    path-expression alerts), files are created with restricted permissions,
    and dt-gen and init file handling is hardened.
  • CI: kernel-prepare.sh accepts a relative work directory; QEMU runs
    without a network card.
  • kdality init writes a project that compiles, simulates, lints and
    generates tests as written; every subcommand parses its arguments from
    the first one after its name and refuses unknown options; absolute and
    parent paths work and output directories are created; lint sees
    register reads inside let, log and conditions and bitfield paths,
    and finds kdal/stdlib/ imports (docs/first-project-journey.md,
    #38, #39).
  • kdality simulate --trace shows log("...") and wait(sig, ms) as
    written (finding F2, #41).
  • The KUnit job's demand report goes through the kernel log, so KUnit's
    own lines no longer land inside it (finding F3, #42; 0 failures in 200
    stress boots, workflow kunit-stress.yml).
  • The e2e suites report a failing command as a failure and run in CI.

SHA256SUMS:

239bf207405e09e4a47cacb4be6b60e76ad7cce9e2d3696088f2a712a951bee4  kdal-0.2.0-1.fc45.x86_64.rpm
6bc2a793d845901dfb2bdc0ebf99b268c936e33ebdec3a1c03694990f7c5a482  kdal-debuginfo-0.2.0-1.fc45.x86_64.rpm
663dfe85f33146cfec405f9011b5cf1bee1ceb088c9022d93aa13da4be5a6e8d  kdal-debugsource-0.2.0-1.fc45.x86_64.rpm
b6fbeb0e34152b3060270c45307bad196c7718f058e62815e78eddee9c666fb5  kdal-dev_0.2.0-1_amd64.deb
4781dd61900827f88e6310c1e9ea2286333288126e56d51f4e406a331d73c010  kdal-devel-0.2.0-1.fc45.x86_64.rpm
046d73b44098919f700edc725fe0d7267c7fccab293edc75797c35b30b9ca796  kdal-lang-0.2.0.vsix
46f04f180f4b52a06cca2604e7cf038e388dc88933f70fd8f32b0e6cb592b58b  kdal-v0.2.0-darwin-aarch64.tar.gz
628170575331984603f0625db346e963561d3f02c783144c97f95174e8ea558d  kdal-v0.2.0-darwin-x86_64.tar.gz
93a68ffa3d4b95d2a012c2ce1c1bc84b55aaf74bf9fa9fcf0a13626cfb8fe80c  kdal-v0.2.0-linux-aarch64.tar.gz
22972b736871f07afc18432fc62a2e96a2b8d495e58ca5d40a7016cf051beb24  kdal-v0.2.0-linux-riscv64.tar.gz
d96859a20ba282eabdd733af35735aec4538c2f275375d802ef5a2ed58a7b462  kdal-v0.2.0-linux-x86_64.tar.gz
6fdbc486d3b6e48d3c2a5e98141d0fe346180559fe6a3642e222e761d980ba19  kdal-v0.2.0.tar.gz
302af74213e6e9e2cb6ac06c1018c19ba8d5fb966fee51ef726e77543c17cb50  kdal_0.2.0-1_amd64.deb

Run 45253065422: the SDK from the draft on Linux x86_64 and macOS aarch64: success.