{
  "schema": "turkos-public-development-evidence/v1",
  "originalReport": {
    "path": "reports/os-implementation/K2135-guest-power-psci-reset-local-h2CpYB/report.json",
    "sha256": "7b22d2ac9b24f32d1fed349c75fba3bd0fb6d4dce98391cdcf5aa3e3bbaaeda0",
    "bytes": 19601
  },
  "status": "K2131_K2134_LOCAL_VALIDATED",
  "scope": "# K2131–K2135: PSCI SYSTEM_RESET requires a fresh boot identity and log separation\n\nBefore the kernel arms a controlled guest reboot (`SYSTEM_RESET`, `0x8400_0009`),\nit must verify that PSCI is present, enabled and compatible, that its conduit is\nknown (`HVC` or `SMC`), that `PSCI_VERSION` (`0x8400_0000`) is at least `0.2`,\nand that `PSCI_FEATURES(SYSTEM_RESET)` (`0x8400_000a`) does not report\nunsupported (`< 0`).\n\nOnly a committed `Reset` ticket (`op = 2`) with a non-zero sequence may arm\n`SYSTEM_RESET` on a probed executor; an `Off` ticket or zero sequence is refused\nwith `Ticket`.\n\nA controlled guest reboot must establish a new boot epoch (`new_boot_id`) and a\nfresh `BOOT0` entry record (`new_boot0_seq > old_boot0_seq`) distinct from the\npre-reset boot (`new_boot_id != old_boot_id`) and with `reused_log = false`.\nReusing the old boot log, repeating the old `boot_id`, or failing to advance the\n`BOOT0` sequence is rejected with `StaleBootIdentity` or `ReusedBootLog`.\n\nIn the K2135 guest experiment on the single product Image, the kernel discovers\nthe PSCI conduit from the live DTB, queries real QEMU PSCI firmware via `hvc #0`\nfor `PSCI_VERSION`, `PSCI_FEATURES(SYSTEM_RESET)` and an unsupported function ID,\nverifies negative refusals (unauthorized caller, `Off` ticket on the `Reset`\npath, replayed `boot_id`, reused boot log, non-advancing `BOOT0` sequence), and\nverifies a controlled reboot transition from the EL0 PID1 program that separates\nthe new `BOOT0` record and boot identity from the prior boot record.\n",
  "productAccepted": false,
  "tests": {
    "greenCount": 6,
    "positiveName": "os_guest_power_psci_reset_positive",
    "negativeName": "os_guest_power_psci_reset_negative",
    "mutationsRejected": 24
  },
  "caseCount": 0,
  "caseSerialsSelected": 0,
  "imageSha256": null,
  "files": [
    {
      "name": "Cargo.toml",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/source/os-guest-power/Cargo.toml",
      "originalSha256": "2d7e8604a7eb1465f862f5c775d1bc64c772cf093d4d0a83ea4686704c274a6d",
      "href": "/os-evidence/2d7e8604a7eb1465f862f5c775d1bc64c772cf093d4d0a83ea4686704c274a6d.txt",
      "sha256": "2d7e8604a7eb1465f862f5c775d1bc64c772cf093d4d0a83ea4686704c274a6d",
      "bytes": 135,
      "redacted": false
    },
    {
      "name": "GUEST_POWER_PSCI_RESET_CONTRACT.md",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/source/kernel/GUEST_POWER_PSCI_RESET_CONTRACT.md",
      "originalSha256": "ce78611f97f475d3ba81bbff2fa0258abaa5240de4888a027f988707f9f5dc7b",
      "href": "/os-evidence/ce78611f97f475d3ba81bbff2fa0258abaa5240de4888a027f988707f9f5dc7b.txt",
      "sha256": "ce78611f97f475d3ba81bbff2fa0258abaa5240de4888a027f988707f9f5dc7b",
      "bytes": 1536,
      "redacted": false
    },
    {
      "name": "capability.rs",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/source/os-guest-power/src/capability.rs",
      "originalSha256": "dff50d7e42b9d4298117dd566a9d43488d04fdb77466fce4eadf2fa50fc0e2f9",
      "href": "/os-evidence/dff50d7e42b9d4298117dd566a9d43488d04fdb77466fce4eadf2fa50fc0e2f9.txt",
      "sha256": "dff50d7e42b9d4298117dd566a9d43488d04fdb77466fce4eadf2fa50fc0e2f9",
      "bytes": 3684,
      "redacted": false
    },
    {
      "name": "lib.rs",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/source/os-guest-power/src/lib.rs",
      "originalSha256": "a8d3f232d834cce768ce85cd34fd11dc437c59fa7657b66e31f2707e6b0840fa",
      "href": "/os-evidence/a8d3f232d834cce768ce85cd34fd11dc437c59fa7657b66e31f2707e6b0840fa.txt",
      "sha256": "a8d3f232d834cce768ce85cd34fd11dc437c59fa7657b66e31f2707e6b0840fa",
      "bytes": 69,
      "redacted": false
    },
    {
      "name": "psci_off.rs",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/source/os-guest-power/src/psci_off.rs",
      "originalSha256": "df39a6a015a3e2fd0c6890189f1c0d9165194ec6a9b414f2ffe877c84e6d3c67",
      "href": "/os-evidence/df39a6a015a3e2fd0c6890189f1c0d9165194ec6a9b414f2ffe877c84e6d3c67.txt",
      "sha256": "df39a6a015a3e2fd0c6890189f1c0d9165194ec6a9b414f2ffe877c84e6d3c67",
      "bytes": 4062,
      "redacted": false
    },
    {
      "name": "psci_reset.rs",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/source/os-guest-power/src/psci_reset.rs",
      "originalSha256": "0d3cad58b93963121a3110696fc3f0c1ce6b1633f0ad4099961a0f40370dfe9d",
      "href": "/os-evidence/0d3cad58b93963121a3110696fc3f0c1ce6b1633f0ad4099961a0f40370dfe9d.txt",
      "sha256": "0d3cad58b93963121a3110696fc3f0c1ce6b1633f0ad4099961a0f40370dfe9d",
      "bytes": 4559,
      "redacted": false
    },
    {
      "name": "capability.rs",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/source/os-guest-power/tests/capability.rs",
      "originalSha256": "ca522b1cbe90a0ef08067d53e530a4d44eddcd147d5bb7481bd35d5cdab38208",
      "href": "/os-evidence/ca522b1cbe90a0ef08067d53e530a4d44eddcd147d5bb7481bd35d5cdab38208.txt",
      "sha256": "ca522b1cbe90a0ef08067d53e530a4d44eddcd147d5bb7481bd35d5cdab38208",
      "bytes": 4513,
      "redacted": false
    },
    {
      "name": "psci_off.rs",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/source/os-guest-power/tests/psci_off.rs",
      "originalSha256": "79f91ea69fe97152ea929ef243f777e4994a2b086dcd110409de01310b80ae56",
      "href": "/os-evidence/79f91ea69fe97152ea929ef243f777e4994a2b086dcd110409de01310b80ae56.txt",
      "sha256": "79f91ea69fe97152ea929ef243f777e4994a2b086dcd110409de01310b80ae56",
      "bytes": 4388,
      "redacted": false
    },
    {
      "name": "psci_reset.rs",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/source/os-guest-power/tests/psci_reset.rs",
      "originalSha256": "1c667a2dfe54d61bad7a498a70ecf79fa93b8583eb5bbeacd14eb59e1c87a49c",
      "href": "/os-evidence/1c667a2dfe54d61bad7a498a70ecf79fa93b8583eb5bbeacd14eb59e1c87a49c.txt",
      "sha256": "1c667a2dfe54d61bad7a498a70ecf79fa93b8583eb5bbeacd14eb59e1c87a49c",
      "bytes": 4202,
      "redacted": false
    },
    {
      "name": "host-tests.log",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/host-tests.log",
      "originalSha256": "34007377ab32f9611566eb894b461c853af7c66d7c0e01d8c4dea3af3f85e82f",
      "href": "/os-evidence/f6c10610a91e708b9472a0e2b0a958737e93dca38b5194cb0e0961250b4dbca6.txt",
      "sha256": "f6c10610a91e708b9472a0e2b0a958737e93dca38b5194cb0e0961250b4dbca6",
      "bytes": 861,
      "redacted": true
    },
    {
      "name": "positive.log",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/positive.log",
      "originalSha256": "ab5859be4745a8632eb5a6fb40519e266dd290570336ee65f3356779de2f92f0",
      "href": "/os-evidence/ab5859be4745a8632eb5a6fb40519e266dd290570336ee65f3356779de2f92f0.txt",
      "sha256": "ab5859be4745a8632eb5a6fb40519e266dd290570336ee65f3356779de2f92f0",
      "bytes": 433,
      "redacted": false
    },
    {
      "name": "negative.log",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/negative.log",
      "originalSha256": "0d7a22b69af3b757771a9934703eccef288e3813c20d3c991cc0257d71720740",
      "href": "/os-evidence/0d7a22b69af3b757771a9934703eccef288e3813c20d3c991cc0257d71720740.txt",
      "sha256": "0d7a22b69af3b757771a9934703eccef288e3813c20d3c991cc0257d71720740",
      "bytes": 433,
      "redacted": false
    },
    {
      "name": "target.log",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-staging-local-dboQsa/target.log",
      "originalSha256": "616a759c21f83c28ea20f22c4a1a0e5d507f63e4a490cbf810a744eecff694b4",
      "href": "/os-evidence/c9d82c08d3c7b2b0da232345768570554c926bf9110b046f1248b9441a701558.txt",
      "sha256": "c9d82c08d3c7b2b0da232345768570554c926bf9110b046f1248b9441a701558",
      "bytes": 224,
      "redacted": true
    },
    {
      "name": "harness.mjs.txt",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-local-h2CpYB/harness.mjs.txt",
      "originalSha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "href": "/os-evidence/afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284.txt",
      "sha256": "afc913f79c414c44a72e26a3a004d9f03d04045996a9bd2887ce7c9410385284",
      "bytes": 4604,
      "redacted": false
    },
    {
      "name": "k2135-guest-power-psci-reset.rs",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-candidate-uP2uSn/sources/kernel/src/k2135-guest-power-psci-reset.rs",
      "originalSha256": "5a7266f828f19b77cad38fdcad68b5d77c6a73f07c3666a049871261cfdd6453",
      "href": "/os-evidence/5a7266f828f19b77cad38fdcad68b5d77c6a73f07c3666a049871261cfdd6453.txt",
      "sha256": "5a7266f828f19b77cad38fdcad68b5d77c6a73f07c3666a049871261cfdd6453",
      "bytes": 10784,
      "redacted": false
    },
    {
      "name": "guest_power_psci_reset.rs",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-candidate-uP2uSn/sources/kernel/src/runtime/guest_power_psci_reset.rs",
      "originalSha256": "0d3cad58b93963121a3110696fc3f0c1ce6b1633f0ad4099961a0f40370dfe9d",
      "href": "/os-evidence/0d3cad58b93963121a3110696fc3f0c1ce6b1633f0ad4099961a0f40370dfe9d.txt",
      "sha256": "0d3cad58b93963121a3110696fc3f0c1ce6b1633f0ad4099961a0f40370dfe9d",
      "bytes": 4559,
      "redacted": false
    },
    {
      "name": "main.rs",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-candidate-uP2uSn/sources/kernel/src/main.rs",
      "originalSha256": "0d977be997e4bb1f744abc994b939d51e26f56c726ce5ac1afa48638be88c063",
      "href": "/os-evidence/b519ff9333322dca5b199cb556438f6f8b603599076c50ab6d8cc7dabf279c0a.txt",
      "sha256": "b519ff9333322dca5b199cb556438f6f8b603599076c50ab6d8cc7dabf279c0a",
      "bytes": 2307040,
      "redacted": true
    },
    {
      "name": "mod.rs",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-candidate-uP2uSn/sources/kernel/src/runtime/mod.rs",
      "originalSha256": "cb06d1c886909c3a0f832f9d9474dd444accd403b66330b29862f2554c23e23e",
      "href": "/os-evidence/cb06d1c886909c3a0f832f9d9474dd444accd403b66330b29862f2554c23e23e.txt",
      "sha256": "cb06d1c886909c3a0f832f9d9474dd444accd403b66330b29862f2554c23e23e",
      "bytes": 4112,
      "redacted": false
    },
    {
      "name": "kernel-product.log",
      "source": "reports/os-implementation/K2135-guest-power-psci-reset-candidate-uP2uSn/kernel-product.log",
      "originalSha256": "5aaac161e7e24f1d3186ffd26f20d2630ffac34252c0b13edc87e96b6e04e046",
      "href": "/os-evidence/2ad593d7a6fcadea09804dac6b476bf5fd8c377b134a81e7ecfb7ca839dc720f.txt",
      "sha256": "2ad593d7a6fcadea09804dac6b476bf5fd8c377b134a81e7ecfb7ca839dc720f",
      "bytes": 2343,
      "redacted": true
    }
  ],
  "moves": [
    "K2131",
    "K2132",
    "K2133",
    "K2134"
  ]
}
