Skip to content

Apple drivers: KUnit coverage for RTKit, DART page tables, SMC children, DCP parsers, AVE and macaudio, plus 2 fixes - #2902

Open
RyanTheTide wants to merge 12 commits into
integration/aurorafrom
kunit/apple-coverage
Open

RyanTheTide wants to merge 12 commits into
integration/aurorafrom
kunit/apple-coverage

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Several Apple drivers have no KUnit coverage at all: the RTKit IPC library and its crashlog parser, the DART page table code, the SMC RTC/GPIO/reboot/input children, most DCP dictionary parsers, the AVE firmware/userspace input paths and the macaudio "Speaker Volume Unlock" lease. Writing the tests turned up two real bugs.

Change

Two driver fixes, each with a Fixes: tag, then nine test-only commits, then one fix to an existing test. Each commit is one driver and can be reviewed alone.

commit what
media: apple: ave: do not round huge shared-memory requests to zero DIV_ROUND_UP in u32 turns a firmware SHAREDMALLOC request of 0xfffff001..0xffffffff bytes into 0 units. The request passes the bound and is answered with a ~4 GiB block while nothing is reserved. Now rounded in 64 bits.
drm: apple: parser: ignore channel counts the layout mask cannot hold 1 << nchans with a firmware count ≥ 32 or negative is UB, and counts above U32_MAX aliased small ones. Such counts now match no sieve. Counts 0..31 behave as before.
soc: apple: rtkit: add KUnit tests apple-rtkit (27 cases: HELLO, epmap, power ACKs, buffers, syslog/ioreport/kdebug/CoreAnalytics/crash) and apple-rtkit-crashlog (11 cases, logs flush against a vmalloc guard page so any over-read faults).
iommu: io-pgtable-dart: add KUnit tests io-pgtable-dart (15 cases / 31 with params): layouts, exact PTE encodings for DART1/DART2, map/unmap/iova_to_phys across tables, levels and TTBRs, refusals, teardown frees every page.
rtc / gpio / power: reset / Input: macsmc: add KUnit tests One commit per driver. Static stubs replace SMC reads and writes, and RAM-backed NVMEM holds the PMU cells.
drm: apple: add DCP parser bounds tests apple-dcp-parser-bounds (22 cases): every strict prefix of a valid blob must fail cleanly, plus the channel-count cases.
media: apple: ave: add IPC and writer KUnit tests apple-ave-ipc (20) and apple-ave-writer (8).
ASoC: apple: macaudio: add speaker volume unlock tests apple-speaker-volume-unlock (9 cases) on the pm-volumes test card. Nothing is played.
drm: apple: cec test: allocate the fakes before the device The existing apple-dcp-cec-adap cases freed their fake DCP and endpoint before the device's devres used them. KASAN (use-after-free in dcp_cec_unregister()) and UBSAN (invalid bool in afk_service_retry()) flagged it in the debug run below. Only the test was wrong: dcp_cec_unregister() and the driver are unchanged.

Test hooks are #include "...-test.c" under IS_ENABLED(CONFIG_..._KUNIT_TEST) and KUNIT_STATIC_STUB_REDIRECT, the same pattern as apple-dart. They compile to nothing when the test symbol is off. Every test symbol is bool, depends on KUNIT=y and the driver =y, and defaults to KUNIT_ALL_TESTS. The changes add no driver behaviour, gates, parameters or constants beyond the two fixes.

Dependency: the RTC tick case expects set_time to return 0. That fix is #2616 (open, CI green), so it is not duplicated here. Until #2616 lands, macsmc-rtc has one failing case.

Testing

arm64 QEMU, kunit.py --arch=arm64, on integration/aurora 110861f. The branch is rebased onto e892113; the 31 commits in between touch only soc/apple clpc/display-gate. Every suite has a negative control: a mutation of the driver, or the unfixed driver code, that the new tests must catch.

suite positive negative controls (failing cases)
apple-rtkit, apple-rtkit-crashlog 38/38 epmap base 1; crashlog size vs space left 2; footer margin dropped 2; syslog index bound 1
io-pgtable-dart 31/31 DART2 OA shift 5; index mask 3; DART2 r/w bits swapped 2; teardown leak 3
macsmc-{rtc,gpio,reboot,input} 68/68 key nibbles / sign extension / shutdown flag / lid byte 18; rounding / pcIO order / ac_mode bits / settle compare 5; set_time byte count: see the comment below
apple-parser (incl. new bounds suite) 97/97 depth limit 1; id-list bound 1; raw EDID length 1; 1-byte over-read 15; unfixed nchans code 2
apple-ave* 74/74 unfixed smalloc code 1 (0xfffff001 / 0xffffffff answered); 5 mutations caught
apple-speaker* (incl. volume unlock) 69/69 mixed owners no longer relock 1; timeout work keeps the lease 2

checkpatch --strict: 0 errors. The remaining warnings are the MAINTAINERS notes for new files and the filename comment in the .kunitconfig files, which matches the existing ones.

Also run:

Still to run

  • Nothing on hardware: these are host-only tests and the two fixes only refuse firmware input the hardware never sends. They run on every Mac's tree through KUNIT_ALL_TESTS.
Details for reviewers
  • Reviewed adversarially before posting. Items fixed:
    • gpio: case teardown used the chip after free. The chip state is now embedded in the test context, which is allocated before the device.
    • reboot: the atomic-refusal case now sets boot_stage = INITIALIZED, so it tests the atomic-mode check itself.
    • input: the cases report KEY_POWER/SW_LID and touch global suspend state, so they skip once system_state == SYSTEM_RUNNING (boot-time only).
    • macaudio: the ping case is deadline-based, so slow TCG does not flake it.
    • DCP: the counts are chosen so the test tells the fix from the old code, including the s64→u32 clamp (2^32 + 1, and 2^32 + 8 against an 8-channel sieve).
    • Sparse __force casts on the fake shmem.
  • Found by the extra runs above and fixed before posting:
    • io-pgtable-dart counted one page per table, which only holds on a 16K kernel. It now expects 1 << get_order(granule) pages.
    • The CoreAnalytics case now declares APPLE_RTKIT_NEEDS_COREANALYTICS, as the PMP does. soc: apple: rtkit: allocate endpoint 7 buffers only for clients that ask for them #2776 serves endpoint 7 only for such clients.
    • The gpio cases gave the test device a software node. The gpiochip's device shares that fwnode and drops its reference last, during the parent's devres. Under KASAN that showed a use-after-free in software_node_notify_remove(). The node is now registered before the test device and unregistered after it is gone.
    • The cause is in drivers/base/swnode.c and is not changed here. software_node_notify_remove() reads swnode->managed after swnode_put(), so the read is a use-after-free whenever that put is the last one. For a managed node it also drops the managed reference once per device that carries the node, not just for its owner. Any driver that registers a gpiochip (or another child that inherits the fwnode) on a device with a software node can reach this on unbind. It deserves its own fix.
  • Not covered, and why:
    • gpio key-enumeration and the input MSLD resync / dark-wake refusal need apple_smc_get_key_by_index() / apple_smc_key_exists() to succeed, and no stub reaches them from outside the MFD.
    • Probe paths (OF/nvmem lookup) are not covered.
  • The DART2 format at a 4K granule would lose OA bits 13:12. No hardware uses that combination, so it is noted only.
  • Logs: traces/ci/20261123-kunit-apple/ on the lab store.

Assisted-by: LLM (Claude:Opus 5.5)

ave_smalloc_get() rounds the size the firmware asks for on the
SHAREDMALLOC ring up to whole granules with DIV_ROUND_UP() in 32 bits.
A request of 0xfffff001..0xffffffff bytes wraps to 0 units, passes the
"units > total" check and is answered with the first free block and a
length of about 4 GiB, while nothing is reserved: the bound on the pool
is defeated and the same block is lent again to the next request.

Round in 64 bits so such a request needs more units than the pool has
and is refused.

Fixes: 01d0284 ("media: apple: ave: serve the 6070 firmware channels")
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
parse_nchans_mask() sets "1 << nchans" for every channel count in an
AudioChannelLayoutElements array. The count comes from the firmware's
dictionary as a 64-bit integer and is truncated to int on the way, so a
count of 32 or more, or a negative one, is an undefined shift, and a
count above U32_MAX aliases a small one (2^32 + 2 becomes 2).

Pass counts outside the u32 range on as U32_MAX, which matches no
channel sieve, and only set a mask bit for a count the mask has a bit
for. Every count from 0 to 31 is handled as before.

Fixes: 2c7e3ca ("drm: apple: Add sound mode parsing")
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
The RTKit IPC library and its crashlog parser have no tests. Add two
suites, included from the drivers so they reach the static handlers:

apple-rtkit (27 cases) feeds apple_rtkit_rx_dispatch() the messages a
co-processor sends: HELLO version negotiation (accepted, capped,
refused, client versions), the endpoint map (multipart, base offsets,
EARLY_CRASHLOG and CoreAnalytics flags, retained state), IOP/AP power
ACKs, idle notification, buffer requests, syslog, ioreport, kdebug,
CoreAnalytics and crash reports, and checks the replies. A static stub
on apple_rtkit_send_message() records them, after the crashed and
running checks, so no mailbox is touched.

apple-rtkit-crashlog (11 cases) checks that the parser follows the
containers to the right log and never reads past a truncated or
malformed crashlog: each log is placed flush against the end of a
vzalloc'd area, so a read past it faults the case.

Mutations caught: endpoint map base, crashlog size against the space
left, the footer margin and the syslog index bound.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
The Apple DART page table code has no tests; apple-dart-test.c maps a
single page. Add the io-pgtable-dart suite (15 cases, 31 with
parameters), included from io-pgtable-dart.c:

- the table layout chosen for DART1 4K/16K and DART2 16K granules and
  input sizes (levels, bits per level, 1 or 4 TTBRs), and the refused
  configurations;
- exact leaf and table PTE encodings for both formats, against
  hand-computed values;
- map/unmap/iova_to_phys across leaf table ends, at the top of an L1
  table, through four levels and across the TTBR split, with -EEXIST,
  -EINVAL and -ERANGE refusals that write nothing;
- that teardown frees every table page (NR_IOMMU_PAGES back to the
  baseline).

Mutations caught: the DART2 output address shift, the index mask, the
DART2 read/write bits swapped and a table page leaked at teardown.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Add tests for the time and alarm arithmetic: the 48-bit tick offset
with its sign extension and wrap, the 64-bit seconds offset and its
rounding to the nearest second, and the PMU alarm's value, mask and
control byte writes. A static stub replaces the SMC counter read and a
RAM-backed NVMEM device holds the offset and alarm cells. The tick
case expects set_time to return 0 on success, so it needs "rtc: macsmc:
return 0 from a successful set_time" first; without it the case fails
on the byte count (6).

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Add tests for the gPxx key names of the pins, the output command words,
the J700 pcIO and J713 radio lines with their remembered levels, the DT
output and pcIO templates, the valid line mask and the pcIO
output-command chip. A static stub replaces SMC writes.

Not covered: lookups that go through apple_smc_get_key_by_index() and
apple_smc_rw(), which have no stub reachable from outside the MFD.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Add tests for the MBSE key and the boot_stage and shutdown_flag writes
before a restart or power off, the clearing of the boot error and
panic counters, the refusal of atomic writes from a non-atomic SMC, and
the ac_power_mode attribute's read-modify-write of the power-on policy
byte. A static stub replaces SMC writes and a RAM-backed NVMEM device
holds the PMU cells.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Add tests for the decoding of the SMC's power button and lid
notifications and their handling as wake events while the system goes
to sleep, including the lid-open check against MSLD and the settle
time. A static stub replaces SMC reads.

The tests report KEY_POWER and SW_LID through a real input device and
touch global suspend state (pm_wakeup_clear(), pm_system_wakeup()), so
they skip once the system is running and only run at boot, before user
space.

Not covered: the MSLD resync after resume and the dark-wake refusal in
.prepare, which need apple_smc_key_exists() to succeed.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
parse_display_metadata(), parse_panel_product_metadata(),
parse_array_count(), parse_dptx_caps(), the system log mnits parsers,
the timing colour and id catalogs, parse_panel_edid_data(),
dcp_mode_default_above() and the audio element parsers had no tests.

Add the apple-dcp-parser-bounds suite (22 cases). Besides the decoded
values, every case feeds each strict prefix of a valid blob and expects
a clean error, so a parser that reads past the end of a truncated blob
fails. It also covers the framing and depth limits of the skipper, and
channel layouts whose counts the u32 mask has no bit for (fixed earlier
in this series): 32, 33, 34, 63, 64, -1, -31 and 2^32 + 1 must neither
set a bit nor alias a small count, and a layout claiming 2^32 + 8
channels must not be taken for the 8-channel one.

Mutations caught: the depth limit off by one, an id list bound off by
one, raw EDID bytes beyond the length kept and a one-byte over-read in
parse_bytes().

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Add two suites for the input the AVE driver takes from the firmware and
from user space:

apple-ave-ipc (20 cases), included from ave-ipc.c: hello words, channel
tables with overlapping or out-of-range rings, ring index wrap, full and
empty rings, command acks and messages outside the shared window, log
lines and shared-memory requests, including the near-4 GiB requests
fixed earlier in this series.

apple-ave-writer (8 cases): the 6070 Start and Process builders refuse
out-of-range session counts, unaligned buffers and short codec state
before they write anything.

The shared window and the mailbox are kernel memory; no firmware or
encoder hardware is needed.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
The "Speaker Volume Unlock" lease (macaudio_vlimit_update(), the
slk_* control and the timeout work) has no direct tests. Add the
apple-speaker-volume-unlock suite (9 cases) on the card of the
pm-volumes tests: the speaker volumes leave the safe ceiling only while
one process holds the lock control and every speaker volume, and only
while it pings within SPEAKER_LOCK_TIMEOUT while speaker playback runs;
a missed ping or a volume with another owner relocks them, and the
lease is kept while idle.

Mutations caught: mixed volume owners no longer relock, and the timeout
work keeping the lease.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
dcp_cec_test_setup() allocates the fake apple_dcp and AFK endpoint with
kunit_kzalloc() after kunit_device_register(). KUnit releases resources
in reverse order, so both are freed before the device is unregistered,
and the device's devres action dcp_cec_devm_release() then reads them:
KASAN reports a use-after-free in dcp_cec_unregister() and UBSAN an
invalid bool load in afk_service_retry() for the apple-dcp-cec-adap
cases.

Allocate the fakes before the device.

Fixes: 7577337 ("drm/apple: add native HDMI-CEC and 2 ms IRQ_HPD pulse tracking")
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Non-author review of 20783b6. I covered the two fixes and every non-test line; I skimmed the test files and didn't re-run them. Verdict: no blocker.

Fixes

  • bc2883e (AVE smalloc): correct. Before it, a request that rounded to 0 units passed units > total, and bitmap_find_next_zero_area(..., 0, ...) returned the first index. The slot was then recorded with units = 0, the marker this table uses for a free slot, so the block could be handed out again as well as being answered with no reservation. With DIV_ROUND_UP_ULL the largest request is 0x100000 units (for a 4 KiB granule), which units > total refuses. units stays a u32 and the result fits.
  • 7a7a7d4 (DCP nchans): correct. parse_chan_layout_element() takes unsigned int * at all three callers. Counts outside [0, U32_MAX] become U32_MAX, which can't equal a real selected_nchans in parse_mode_in_avep_element(). The mask only takes BIT(n) for n < 32. Counts 0..31 behave exactly as before.

Non-test changes

  • Each driver hook is an #include "...-test.c" or KUNIT_STATIC_STUB_REDIRECT under IS_ENABLED(CONFIG_..._KUNIT_TEST). The macaudio include sits in the file's existing IS_ENABLED(CONFIG_KUNIT) && !defined(MODULE) block. The redirect in apple_rtkit_send_message() compiles to nothing with the test symbol off, and costs one current->kunit_test check when it is on.
  • Every new test symbol is bool and depends on KUNIT=y plus the driver =y. Our current fleet config has CONFIG_KUNIT=m, so none of them can be enabled in a shipped kernel, and the bool-defaulting-to-KUNIT_ALL_TESTS=m-becomes-y trap doesn't apply. The .kunitconfig files are the way to run them.

Points

  1. Merge order: the macsmc-rtc tick case needs rtc: macsmc: return 0 from a successful set_time (NTP sync retry storm) #2616 first. Otherwise this PR lands with one known-failing KUnit case. Either land rtc: macsmc: return 0 from a successful set_time (NTP sync retry storm) #2616 first or mark that case skipped until it lands.
  2. The cec-adap test fix (20783b6) closes a use-after-free that KASAN found in the existing test. Worth saying in its commit message that only the test was affected and dcp_cec_unregister() in the driver is unchanged, so nobody goes looking for a driver bug.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Thanks @RyanTheTide.

  1. Merge order: rtc: macsmc: return 0 from a successful set_time (NTP sync retry storm) #2616 first. It has its review and rows and only needs the merge train. I would rather keep the tick case failing visibly until then than add a skip that someone has to remember to remove.
  2. Agreed. I can't reword the pushed commit without a force push, so the PR body's cec row now says that only the test was wrong and that dcp_cec_unregister() and the driver are unchanged. The squash/merge message can carry the same sentence.

Assisted-by: LLM (Claude:Opus 5.5)

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adversarial pre-PR checklist (§1–§6) review at 20783b6037135144085d525726ba868b624c8c1e (CI: 6/7 green, host-tests FAILED — job 137427336617).

Verdict: REQUEST CHANGES — the two driver fixes (bc2883e5 AVE smalloc 64-bit rounding and 7a7a7d40 DCP nchans bounds/clamp), the existing cec_adap_test.c KASAN/UBSAN lifetime fix (20783b60), the new KUnit suites, and §4/§6 hygiene are solid, but CI host-tests is red due to an #if IS_ENABLED(...) guard in drivers/soc/apple/rtkit-crashlog.c, and the macsmc-rtc tick test depends on unmerged PR #2616.

Blocking findings

  1. CI host-tests failure (drivers/soc/apple/rtkit-crashlog.c:496):

    • tools/asahi/rtkit-crashlog-tests.py compiles drivers/soc/apple/rtkit-crashlog.c directly on the host with clang against its minimal userspace stub header (without <linux/kconfig.h>), where IS_ENABLED() is not defined:
      rtkit-crashlog.c:496:5: error: function-like macro 'IS_ENABLED' is not defined
        496 | #if IS_ENABLED(CONFIG_APPLE_RTKIT_KUNIT_TEST)
      
    • Since CONFIG_APPLE_RTKIT_KUNIT_TEST is bool (never =m), switching line 496 to #ifdef CONFIG_APPLE_RTKIT_KUNIT_TEST fixes host-tests without modifying the host test harness.
  2. Unmerged merge-order prerequisite (#2616):

    • drivers/rtc/rtc-macsmc-test.c:289 (macsmc_rtc_test_tick_set) and :308 (macsmc_rtc_test_tick_negative) assert macsmc_rtc_set_time() == 0, which currently fails on integration/aurora (returns 6) because #2616 (rtc: macsmc: return 0 from a successful set_time, head 078f441ec9) is still OPEN.
    • Do not merge #2902 before #2616 lands (sequence strictly #2616 -> #2902 in MERGETRAIN-LINUX4).

Verified good

  • bc2883e5 (ave-ipc.c:393): DIV_ROUND_UP_ULL(bytes, AVE_SMALLOC_GRANULE) cleanly prevents 32-bit wrap to 0 units for 0xfffff001..0xffffffff firmware requests; max result 0x100000 fits in u32 and is rejected by units > total.
  • 7a7a7d40 (parser.c:2194,2217): clamping out-of-range s64 channel counts to U32_MAX and guarding BIT(nchans) with nchans < BITS_PER_TYPE(*mask) eliminates UB shifts and u32 truncation aliasing without affecting valid 0..31 counts.
  • 20783b60 (cec_adap_test.c:165): allocating fake dcp/ep before kunit_device_register() fixes the LIFO teardown UAF cleanly (test-only).
  • All new KUnit Kconfig symbols are bool, depend on KUNIT=y and <driver>=y, and default to KUNIT_ALL_TESTS, so fleet builds (CONFIG_KUNIT=m) are unaffected.

§1–§6 Checklist Summary

  • §1 No model gating: Pass (no chip/board/firmware gates added).
  • §2 Production-ready: Blocked — rtkit-crashlog.c:496 breaks host-tests CI; merge-order dependency on open PR #2616.
  • §3 Safety: Pass (two defensive firmware-input bounds fixes + test-only suites).
  • §4 Clean-room & attribution: Pass (all 12 commits carry human author/committer + human Signed-off-by: only, zero AI trailers in commits, Assisted-by: in PR body).
  • §5 Evidence: Pass for scope (host/KUnit-only tests + malformed-firmware-input refusals; strong mutant negative controls and KASAN/UBSAN/lockdep runs documented).
  • §6 Naming: Pass.

Assisted-by: LLM (Gemini 4 Neon)

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Review at 20783b6.

Second pass, non-author. I read every non-test line and all the test files against the driver code. I couldn't run KUnit: every buildslot was held for more than 30 minutes. The configs are saved for a rerun (16K + KASAN/UBSAN/lockdep, and a 4K variant).

The two fixes are right. In parser.c:2193 the s64 count is clamped to U32_MAX, which can never match selected_nchans: that comes from __ffs() of a u32 mask, so it is at most 31, and BIT() is only taken for n < 32. In ave-ipc.c:393, DIV_ROUND_UP_ULL closes the round-to-zero case, !bytes is still refused, and the caller's len is already u32, so there is no other truncation path. The KUNIT_STATIC_STUB_REDIRECT in apple_rtkit_send_message() compiles out when the test symbol is off. parser-bounds-test.o in appledrm-y also works with DRM_APPLE=m. All 12 commits carry only the author's Signed-off-by. There are no new params, cmdline options or gates, and all inputs are synthetic.

  1. drivers/rtc/rtc-macsmc-test.c:283 and :302: both tick_set and tick_negative expect set_time to return 0 on the tick path. At this head rtc-macsmc.c:152 still returns the byte count from nvmem_cell_write(). So until rtc: macsmc: return 0 from a successful set_time (NTP sync retry storm) #2616 lands, macsmc-rtc has two failing cases, not the one the body says. Please correct the body so the merge train expects 2.
  2. drivers/power/reset/macsmc-reboot-test.c:426,429: ktime_ms_delta(...) < 50 asserts on wall-clock time, which a preempted vCPU on shared TCG can flake. Counting what the refused path does (no stub write, no wait reached) tests the same thing without the clock.
  3. drivers/iommu/io-pgtable-dart-test.c:64-76: the teardown cases count the system-wide NR_IOMMU_PAGES. That is exact in the kunit.py guest. On a full boot with KUNIT_ALL_TESTS, a concurrent IOMMU page allocation (an async DART probe) makes it flaky. Worth a comment, or a skip outside kunit.py.
  4. drivers/soc/apple/rtkit-test.c:128-163: rtk_test_init() rebuilds the internals of apple_rtkit_init() by hand (completions, kfifos, delayed work, wq). A field a later change adds to apple_rtkit_init() will be silently missing from the test. Also, rtk_test_exit() (:166) dereferences test->priv unchecked, and it is NULL if an earlier ASSERT in init fails.
  5. drivers/soc/apple/rtkit.kunitconfig forces ARM64_16K_PAGES, so the rtkit suites only ever ran on 16K. If they need it, say why. If not, dropping the line gets 4K coverage. This file and io-pgtable-dart.kunitconfig also lack the # kunit.py run --arch=arm64 header the other new files have.
  6. FYI, no action needed here: the gpio and input tests lock in the existing board gates by name (gpio-macsmc.c:528-531 j700/j713, macsmc-input.c:259 J716S settle). This PR doesn't add them, but FLEET-CONVERGE will have to rewrite these cases when those gates move to DT.

Verdict: nits. Nothing blocks. Please fix the count in point 1 before the merge train picks it up.

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent source review at 20783b603713. The RTC fixture assumes the normalized set_time return from #2616 and will otherwise leave the new suite red. Land that dependency first or split the RTC test. Keep the DCP and AVE parser tests independent, then rerun all new suites on the actual integration tip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants