Jan Trencansky
924966e2fb
Adapt #622 to #1723 : its arena and xmem writes become the list values' fallback
...
#1723 's list values own list slots 71 to 74 of the lists they track and
hand 71/72 to the GPU-label path only for lists they do not track. This
keeps that, and keeps what #622 adds that #1723 lacks: landing a value
in the GPU address arena and on an xmem page the title's view refuses.
- LEONIDA_GPU_LABELS stays opt-in (`1`), as on main and in #1723 .
- src/value_write_sink.h: one place for the two targets a host store
cannot reach, used by both writers. The device answers for the arena
(an address below its size that is not the title's memory, the rule
resolve_title_memory uses); xmem registers write_title_bytes for its
pages. Replaces #622 's label-only sink and xmem's title_write_fn.
- The pump's land(): the arena is asked before any host store, so an
arena offset is never stored to as a host address; then
kernel_writes::store as before; then xmem's mapping when that store
faults. Counted as writes_arena and writes_title_pages.
- The arena refuses its reserved start (null region, zero page, quad
indices) and a write past its end, stores an aligned value in one
access, and is unregistered when its device goes.
- xmem's write_title_bytes stores an aligned value in one access.
- The label path keeps the same order for untracked lists.
Test, no game data: xbox_list_value_fallback. A tracked list's writes to
title memory land through the host store; to a default-heap buffer's
arena offset land in the arena (read back by a GPU copy); to the arena's
reserved start are dropped; to an xmem page the title made PAGE_NOACCESS
land through xmem's mapping. LEONIDA_GPU_LABELS=1 throughout, and no
write is handed to the label path. Without the arena step it fails at
line 168, without the xmem step at line 208 (llvmpipe and the iGPU).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-25 06:43:13 -05:00
..
2026-11-24 20:26:00 -05:00
2026-11-25 06:00:46 -05:00
2026-11-25 09:51:29 +01:00
2026-11-24 06:47:57 -03:00
2026-11-24 15:05:47 +00:00
2026-11-24 11:42:12 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 16:11:47 +01:00
2026-11-24 05:30:36 +07:00
2026-11-24 20:26:00 -05:00
2026-11-22 23:16:01 -05:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-23 10:36:08 -06:00
2026-11-23 17:03:34 -05:00
2026-11-23 17:08:30 -05:00
2026-11-24 03:25:40 +08:00
2026-11-23 17:55:22 +01:00
2026-11-23 18:47:01 +01:00
2026-11-23 08:09:40 -06:00
2026-11-23 10:36:08 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 20:18:37 -05:00
2026-11-24 11:42:12 -06:00
2026-11-23 22:32:01 +01:00
2026-11-24 04:43:36 +07:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 07:25:21 +01:00
2026-11-24 15:48:18 +01:00
2026-11-24 19:54:46 -05:00
2026-11-24 20:26:00 -05:00
2026-11-24 08:50:40 +02:00
2026-11-23 18:06:24 +01:00
2026-11-23 23:01:49 -08:00
2026-11-23 08:16:31 -06:00
2026-11-24 11:42:12 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 19:54:01 +05:00
2026-11-24 19:38:04 -05:00
2026-11-25 03:44:43 -06:00
2026-11-25 06:00:54 -05:00
2026-11-24 22:09:38 -05:00
2026-11-22 23:11:34 -05:00
2026-11-24 11:42:12 -06:00
2026-11-23 23:00:06 +01:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 20:53:44 -05:00
2026-11-24 21:19:30 +08:00
2026-11-23 16:00:07 -06:00
2026-11-24 11:42:12 -06:00
2026-11-25 03:44:43 -06:00
2026-11-23 17:17:46 +01:00
2026-11-24 11:42:12 -06:00
2026-11-24 20:44:26 -05:00
2026-11-24 11:42:12 -06:00
2026-11-23 12:42:09 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 11:39:08 -06:00
2026-11-25 03:44:43 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 20:53:43 -05:00
2026-11-24 11:42:12 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 22:13:02 -05:00
2026-11-24 11:42:12 -06:00
2026-11-24 01:38:53 -05:00
2026-11-24 21:19:30 +08:00
2026-11-24 04:11:27 -06:00
2026-11-24 19:02:50 -05:00
2026-11-24 12:04:30 +05:00
2026-11-25 03:44:43 -06:00
2026-11-25 04:46:33 +01:00
2026-11-24 22:52:55 -05:00
2026-11-23 13:55:13 -06:00
2026-11-23 12:32:05 -06:00
2026-11-24 11:42:12 -06:00
2026-11-23 12:36:37 -06:00
2026-11-24 06:49:48 -05:00
2026-11-25 00:17:38 +05:00
2026-11-23 11:16:29 -06:00
2026-11-23 08:11:02 -06:00
2026-11-24 20:26:00 -05:00
2026-11-24 11:42:12 -06:00
2026-11-24 10:42:39 -06:00
2026-11-23 22:32:17 +01:00
2026-11-24 11:42:12 -06:00
2026-11-23 11:00:10 -06:00
2026-11-23 14:50:00 -05:00
2026-11-24 00:35:10 +03:00
2026-11-23 22:25:05 +01:00
2026-11-25 03:44:43 -06:00
2026-11-24 19:49:09 +05:00
2026-11-25 03:44:43 -06:00
2026-11-24 11:42:12 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 23:48:51 +02:00
2026-11-24 21:35:06 -05:00
2026-11-24 21:19:30 +08:00
2026-11-24 21:19:30 +08:00
2026-11-25 00:25:24 +01:00
2026-11-24 21:19:30 +08:00
2026-11-24 21:19:30 +08:00
2026-11-25 06:00:46 -05:00
2026-11-24 20:28:22 -05:00
2026-11-24 10:42:39 -06:00
2026-11-23 04:41:22 -05:00
2026-11-22 23:16:54 -05:00
2026-11-24 20:57:36 +01:00
2026-11-25 03:44:43 -06:00
2026-11-24 19:38:04 -05:00
2026-11-25 03:44:43 -06:00
2026-11-25 06:00:45 -05:00
2026-11-24 11:42:12 -06:00
2026-11-24 19:16:06 -03:00
2026-11-24 11:42:12 -06:00
2026-11-24 20:26:00 -05:00
2026-11-25 03:44:43 -06:00
2026-11-24 11:42:12 -06:00
2026-11-23 15:47:27 -06:00
2026-11-23 15:37:32 -06:00
2026-11-24 04:11:27 -06:00
2026-11-24 19:38:11 -05:00
2026-11-24 10:42:39 -06:00
2026-11-24 04:11:27 -06:00
2026-11-24 16:32:20 +03:00
2026-11-24 20:26:00 -05:00
2026-11-24 11:42:12 -06:00
2026-11-24 12:57:22 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 19:38:04 -05:00
2026-11-24 20:58:44 -05:00
2026-11-25 03:44:43 -06:00
2026-11-23 12:42:09 -06:00
2026-11-23 20:51:04 -05:00
2026-11-25 00:25:24 +01:00
2026-11-25 03:44:43 -06:00
2026-11-25 03:44:43 -06:00
2026-11-23 09:35:20 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 10:33:06 -03:00
2026-11-23 21:50:56 -05:00
2026-11-24 11:42:12 -06:00
2026-11-24 10:24:51 -05:00
2026-11-24 11:51:04 +05:00
2026-11-23 10:47:01 -06:00
2026-11-24 11:42:12 -06:00
2026-11-23 22:24:27 +01:00
2026-11-24 11:42:12 -06:00
2026-11-24 18:08:29 +01:00
2026-11-24 11:42:12 -06:00
2026-11-25 04:46:33 +01:00
2026-11-24 14:53:10 +08:00
2026-11-23 19:43:04 -05:00
2026-11-23 09:52:44 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 12:20:51 -06:00
2026-11-24 19:38:04 -05:00
2026-11-23 20:56:28 +01:00
2026-11-25 04:46:33 +01:00
2026-11-24 05:10:18 -05:00
2026-11-24 19:38:04 -05:00
2026-11-24 12:35:29 +00:00
2026-11-24 17:57:57 +08:00
2026-11-24 20:26:00 -05:00
2026-11-24 20:26:00 -05:00
2026-11-23 12:42:41 -06:00
2026-11-23 19:42:49 -05:00
2026-11-24 15:16:22 +00:00
2026-11-24 21:35:06 -05:00
2026-11-24 21:44:23 -05:00
2026-11-24 11:42:12 -06:00
2026-11-24 20:26:00 -05:00
2026-11-25 00:20:54 -05:00
2026-11-23 09:35:16 -06:00
2026-11-23 09:35:16 -06:00
2026-11-23 23:18:39 +01:00
2026-11-23 12:47:18 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 21:39:58 -05:00
2026-11-24 07:29:32 +01:00
2026-11-24 11:42:12 -06:00
2026-11-23 12:50:05 -06:00
2026-11-25 03:44:43 -06:00
2026-11-25 03:44:43 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 14:58:19 +08:00
2026-11-24 20:00:23 -05:00
2026-11-24 21:19:30 +08:00
2026-11-23 16:37:09 -05:00
2026-11-24 12:45:05 -06:00
2026-11-24 08:15:59 -03:00
2026-11-23 16:36:07 -05:00
2026-11-24 16:09:38 +00:00
2026-11-25 10:50:03 +08:00
2026-11-24 00:35:10 +03:00
2026-11-24 11:13:12 +05:00
2026-11-24 17:22:18 +01:00
2026-11-24 11:42:12 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 20:26:00 -05:00
2026-11-23 16:11:49 -06:00
2026-11-23 08:08:09 -06:00
2026-11-23 08:08:09 -06:00
2026-11-23 08:08:09 -06:00
2026-11-23 09:52:44 -06:00
2026-11-23 16:17:15 -05:00
2026-11-22 23:15:19 -05:00
2026-11-25 00:23:37 +05:00
2026-11-23 21:45:01 +00:00
2026-11-23 17:24:37 -05:00
2026-11-23 11:10:12 -06:00
2026-11-23 11:10:12 -06:00
2026-11-24 20:26:00 -05:00
2026-11-25 03:44:43 -06:00
2026-11-23 16:10:41 +00:00
2026-11-23 04:50:22 -05:00
2026-11-24 17:57:57 +08:00
2026-11-24 02:56:34 +05:30
2026-11-24 11:42:12 -06:00
2026-11-23 23:16:12 +01:00
2026-11-24 22:54:10 +08:00
2026-11-24 11:42:12 -06:00
2026-11-23 08:16:35 -06:00
2026-11-22 23:14:57 -05:00
2026-11-24 09:19:38 -03:00
2026-11-23 18:37:42 +01:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:42:12 -06:00
2026-11-24 20:44:26 -05:00
2026-11-24 21:46:19 +08:00
2026-11-24 23:34:00 -05:00
2026-11-25 06:16:46 -05:00
2026-11-25 06:43:13 -05:00
2026-11-24 11:42:12 -06:00
2026-11-24 11:09:18 +05:00
2026-11-24 11:09:18 +05:00
2026-11-25 03:44:43 -06:00
2026-11-24 17:33:10 +01:00
2026-11-25 03:44:43 -06:00
2026-11-23 21:38:18 -08:00
2026-11-24 19:38:04 -05:00
2026-11-24 11:42:12 -06:00
2026-11-25 03:44:43 -06:00
2026-11-25 03:44:43 -06:00
2026-11-25 03:44:43 -06:00
2026-11-25 03:44:43 -06:00
2026-11-24 20:01:35 -05:00
2026-11-25 06:21:12 -05:00