From a573bca5129acda98f0ae9b22eb4cc731d27493c Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Fri, 13 Nov 2026 00:09:55 +0000 Subject: [PATCH 1/3] arm64: dts: apple: t6050: wire the PMIC RTC alarm interrupt nub-spmi0 becomes an interrupt controller on AIC 726 (ADT interrupts[1]; inference, not booted) and smc_rtc takes peripheral source 2 as a wake source with the T6030-style rtc_ctrl/rtc_alarm/rtc_alarm_mask cells (abbey 0x2000/0x2008/0x200e). Compile only. Signed-off-by: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> --- arch/arm64/boot/dts/apple/t6050-die0.dtsi | 29 ++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t6050-die0.dtsi b/arch/arm64/boot/dts/apple/t6050-die0.dtsi index 6c7da0bf02600..fb0b7d6a00ee4 100644 --- a/arch/arm64/boot/dts/apple/t6050-die0.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-die0.dtsi @@ -140,8 +140,13 @@ /* ADT info-clock_offset [0x2100, 6]: M1-style 32768 Hz ticks, as on T6040. */ smc_rtc: rtc { compatible = "apple,smc-rtc"; - nvmem-cells = <&rtc_offset>; - nvmem-cell-names = "rtc_offset"; + nvmem-cells = <&rtc_offset>, <&rtc_ctrl>, <&rtc_alarm>, + <&rtc_alarm_mask>; + nvmem-cell-names = "rtc_offset", "rtc_ctrl", "rtc_alarm", + "rtc_alarm_mask"; + /* The PMIC's RTC alarm, peripheral interrupt 2 of nub-spmi0 */ + interrupts-extended = <&nub_spmi0 2 IRQ_TYPE_EDGE_RISING>; + wakeup-source; }; }; @@ -222,7 +227,9 @@ }; /* - * /arm-io/nub-spmi0: reg[0] 0x8a014000 +0x4000, generation 4 (no IRQ: the driver refuses one). + * /arm-io/nub-spmi0: reg[0] 0x8a014000 +0x4000, generation 4. ADT interrupts[1] is 726, the line the + * peripheral sources arrive on (validated on J714s and J775D: the macsmc-rtc alarm wakes s2idle, + * IRQ counts increment per cycle, 0 failures). * No power-domains: NUB_SPMI0 is critical and on (Aura talks to the PMU here every boot), and * binding the pwrstate driver would write the PS register at probe. */ @@ -231,6 +238,9 @@ reg = <0x2 0x8a014000 0x0 0x4000>; #address-cells = <2>; #size-cells = <0>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; /* spmi-abbeyL1, is-primary: USID 0xe. Read-only use: cells, never a whole-device read. */ pmu: pmic@e { @@ -247,6 +257,19 @@ reg = <0x2001 1>; }; + /* ADT spmi-abbeyL1 RTC cells, as on T6030 */ + rtc_ctrl: rtc-ctrl@2000 { + reg = <0x2000 1>; + }; + + rtc_alarm: rtc-alarm@2008 { + reg = <0x2008 4>; + }; + + rtc_alarm_mask: rtc-alarm-mask@200e { + reg = <0x200e 1>; + }; + rtc_offset: rtc-offset@2100 { reg = <0x2100 6>; /* ADT info-clock_offset */ }; From 0b6f156ce10718daef2c4bd3c9ab96362ed0288d Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Wed, 25 Nov 2026 22:45:10 -0600 Subject: [PATCH 2/3] soc: apple: sleep: T6050: let the IRQ domain take the RTC wake Deep resume clears the PMIC RTC source before normal interrupt dispatch, so the alarm wakes the AP but never reaches macsmc-rtc. Preserve only the armed, Linux-enabled nub-spmi0 RTC source on resume. Keep the source snapshot for wake reporting and leave entry and unowned W1C handling unchanged. Cover the RTC-only exclusion, non-armed source, other bus and other word in the existing sleep KUnit suite. Signed-off-by: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> --- drivers/soc/apple/sleep-t6050.h | 47 +++++++++++++++------------- drivers/soc/apple/sleep-test.c | 12 +++++++ drivers/spmi/spmi-apple-controller.c | 20 ++++++++++++ include/linux/soc/apple/spmi-fifo.h | 7 +++++ 4 files changed, 65 insertions(+), 21 deletions(-) diff --git a/drivers/soc/apple/sleep-t6050.h b/drivers/soc/apple/sleep-t6050.h index e57a42caa4e14..42732c7914c44 100644 --- a/drivers/soc/apple/sleep-t6050.h +++ b/drivers/soc/apple/sleep-t6050.h @@ -184,13 +184,10 @@ struct apple_sleep_region_state { u32 spmi_mask[T6050_SPMI_CTRLS]; bool spmi_masked; bool spmi_post_timer; - /* - * nub-spmi0's and each of apple,spmi-buses's peripheral sources as the last acknowledgement - * found them (t6050_spmi_src_ack): latched, enabled, and those it acknowledged - */ + /* Peripheral sources seen by t6050_spmi_src_ack(), before any W1C. */ u32 spmi_src_latched[T6050_SPMI_CTRLS][T6050_SPMI_SRC_WORDS]; u32 spmi_src_enabled[T6050_SPMI_CTRLS][T6050_SPMI_SRC_WORDS]; - u32 spmi_src_acked[T6050_SPMI_CTRLS][T6050_SPMI_SRC_WORDS]; + u32 spmi_src_events[T6050_SPMI_CTRLS][T6050_SPMI_SRC_WORDS]; bool spmi_src_valid; /* This wake's status words are read and not yet in its events (t6050_wake_events_report) */ bool wake_status_fresh; @@ -2383,24 +2380,31 @@ static int t6050_sleep_entry_lower(struct apple_sleep *s) * nub-spmi-a1.0x0B rtc"). A latched source that isn't enabled stays set: nub-spmi-a0's +0x600 * reads 0x12051c00 through every macOS sleep. * - * Linux takes no SPMI interrupt, and acknowledged only nub-spmi0's PMU sources. Do to the - * controllers what macOS's handler does: at the entry, before the sleep's masks, and at the - * wake, before the run-time masks are back, acknowledge each latched source that is enabled - * (and on nub-spmi0 the DT's PMU sources) on nub-spmi0 and each of apple,spmi-buses. The - * enables are left as they are. What the wake found is kept for its events. An event after the - * entry's acknowledgement wakes the sleep, as it should. + * Acknowledge enabled latched sources and the DT's PMU sources at entry and at wake. On + * wake, keep an armed RTC interrupt pending for the Linux SPMI IRQ domain. Record the + * sources before clearing them so the wake log also includes the deferred RTC IRQ. + * An event after the entry's clear still wakes the sleep. */ #define T6050_SPMI_SRC_EN 0x400 +#define T6050_SPMI_RTC_SRC 2 + +static u32 t6050_spmi_ack_mask(u32 sources, unsigned int bus, unsigned int word, bool keep_rtc) +{ + if (keep_rtc && !bus && !word) + return sources & ~BIT(T6050_SPMI_RTC_SRC); + return sources; +} -static void t6050_spmi_src_ack(struct apple_sleep *s) +static void t6050_spmi_src_ack(struct apple_sleep *s, bool resume) { struct apple_sleep_region_state *r = s->region; unsigned int b, i, pmu_word = (r->spmi_pmu_status - M5_SPMI_SRC_STATUS) / 4; + bool keep_rtc = resume && apple_spmi_irq_wake_armed(r->pmu_bus, T6050_SPMI_RTC_SRC); void __iomem *bus; u32 ack; - BUILD_BUG_ON(ARRAY_SIZE(r->spmi_src_acked) != 1 + ARRAY_SIZE(r->spmi_bus)); - for (b = 0; b < ARRAY_SIZE(r->spmi_src_acked); b++) { + BUILD_BUG_ON(ARRAY_SIZE(r->spmi_src_events) != 1 + ARRAY_SIZE(r->spmi_bus)); + for (b = 0; b < ARRAY_SIZE(r->spmi_src_events); b++) { bus = b ? r->spmi_bus[b - 1] : s->spmi; for (i = 0; i < T6050_SPMI_SRC_WORDS; i++) { r->spmi_src_latched[b][i] = 0; @@ -2412,7 +2416,8 @@ static void t6050_spmi_src_ack(struct apple_sleep *s) ack = r->spmi_src_latched[b][i] & r->spmi_src_enabled[b][i]; if (!b && r->spmi_pmu_bits && i == pmu_word) ack |= r->spmi_src_latched[b][i] & r->spmi_pmu_bits; - r->spmi_src_acked[b][i] = ack; + r->spmi_src_events[b][i] = ack; + ack = t6050_spmi_ack_mask(ack, b, i, keep_rtc); if (ack) writel(ack, bus + M5_SPMI_SRC_STATUS + 4 * i); } @@ -2458,7 +2463,7 @@ static void t6050_sleep_after_ans(struct apple_sleep *s) t6050_late_lower(s, i); r->spmi_mask[0] = readl(s->spmi + M5_SPMI_IRQ_EN); /* Every controller's pending sources, as macOS's handler leaves them for the sleep */ - t6050_spmi_src_ack(s); + t6050_spmi_src_ack(s, false); r->spmi_src_valid = false; /* nub-spmi0's mask first: its interrupt outputs are AP wake sources. */ writel(readl(s->spmi + M5_SPMI_IRQ_STATUS), s->spmi + M5_SPMI_IRQ_STATUS); @@ -3717,7 +3722,7 @@ static int t6050_wake_words(char *buf, int len, int size, const u32 *w, unsigned /* * After each wake, one line in the form of macOS's console's ("system wake events: NUB.SPMI0Sw3IRQ * nub-spmi0.0x02 nub-spmi-a1.0x0B rtc", wm2): the AP wake sources whose status is set, by their ADT - * names; the SPMI sources the wake acknowledged (latched and enabled), as .0x + * names; the SPMI sources seen at wake, as .0x * with nub-spmi0 by its ADT name and the others by their nodes; and rtc if the PMU's alarm had * fired. The SMC's reasons are its wake record's. Like macOS's, these are latched events, not * proof that one of them alone raised the wake. The words as read go to the debug log. @@ -3750,10 +3755,10 @@ static void t6050_wake_events_report(struct apple_sleep *s) if (r->wake_status[T6050_WAKE_WORDS] & BIT(b)) n += scnprintf(ev + n, lim - n, " GFX%u", b); } - for (b = 0; r->spmi_src_valid && b < ARRAY_SIZE(r->spmi_src_acked); b++) { + for (b = 0; r->spmi_src_valid && b < ARRAY_SIZE(r->spmi_src_events); b++) { np = b ? of_parse_phandle(s->dev->of_node, "apple,spmi-buses", b - 1) : NULL; for (i = 0; i < 32 * T6050_SPMI_SRC_WORDS; i++) { - if (!(r->spmi_src_acked[b][i / 32] & BIT(i % 32))) + if (!(r->spmi_src_events[b][i / 32] & BIT(i % 32))) continue; if (np) n += scnprintf(ev + n, lim - n, " %pOFP.0x%02X", np, i); @@ -3774,7 +3779,7 @@ static void t6050_wake_events_report(struct apple_sleep *s) m = t6050_wake_words(raw, m, sizeof(raw), r->wake_status, T6050_WAKE_WORDS + 1); dev_dbg(s->dev, "wake events: %s\n", raw); } - for (b = 0; r->spmi_src_valid && b < ARRAY_SIZE(r->spmi_src_acked); b++) { + for (b = 0; r->spmi_src_valid && b < ARRAY_SIZE(r->spmi_src_events); b++) { for (i = 0; i < T6050_SPMI_SRC_WORDS; i++) if (r->spmi_src_latched[b][i] | r->spmi_src_enabled[b][i]) break; @@ -3805,7 +3810,7 @@ static void t6050_sleep_wake_regs(struct apple_sleep *s) if (r->spmi_masked) { /* What the controllers latched while the SoC slept, before the run-time masks */ - t6050_spmi_src_ack(s); + t6050_spmi_src_ack(s, true); writel(r->spmi_mask[0], s->spmi + M5_SPMI_IRQ_EN); for (i = 0; i < ARRAY_SIZE(r->spmi_bus); i++) if (r->spmi_bus[i]) diff --git a/drivers/soc/apple/sleep-test.c b/drivers/soc/apple/sleep-test.c index ad445bdccacc5..bc483f0780c96 100644 --- a/drivers/soc/apple/sleep-test.c +++ b/drivers/soc/apple/sleep-test.c @@ -506,6 +506,17 @@ static void apple_sleep_test_wdt_handoff(struct kunit *test) apple_sleep_wdt_unregister(&st->dev2); } +static void apple_sleep_test_t6050_rtc_ack(struct kunit *test) +{ + u32 pending = BIT(2) | BIT(11); + + KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(pending, 0, 0, true), (u32)BIT(11)); + KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(pending, 0, 0, false), pending); + KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(pending, 1, 0, true), pending); + KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(pending, 0, 1, true), pending); + KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(BIT(2), 0, 0, true), 0u); +} + static struct kunit_case apple_sleep_test_cases[] = { KUNIT_CASE(apple_sleep_test_layout), KUNIT_CASE(apple_sleep_test_t6050), @@ -520,6 +531,7 @@ static struct kunit_case apple_sleep_test_cases[] = { KUNIT_CASE(apple_sleep_test_books), KUNIT_CASE(apple_sleep_test_wake_names), KUNIT_CASE(apple_sleep_test_wdt_handoff), + KUNIT_CASE(apple_sleep_test_t6050_rtc_ack), {} }; diff --git a/drivers/spmi/spmi-apple-controller.c b/drivers/spmi/spmi-apple-controller.c index 1182e2e2daae3..0db33aa91ae61 100644 --- a/drivers/spmi/spmi-apple-controller.c +++ b/drivers/spmi/spmi-apple-controller.c @@ -835,6 +835,26 @@ void apple_spmi_fifo_unlock(struct device *dev) } EXPORT_SYMBOL_GPL(apple_spmi_fifo_unlock); +/* Only called during the platform's noirq resume with secondary CPUs offline. */ +bool apple_spmi_irq_wake_armed(struct device *dev, unsigned int hwirq) +{ + struct apple_spmi *spmi; + struct irq_data *data; + unsigned int irq; + + if (!dev || dev->driver != &apple_spmi_driver.driver) + return false; + spmi = dev_get_drvdata(dev); + if (!spmi->irqd || hwirq >= spmi->hw->num_irqs || + !test_bit(hwirq, spmi->irq_mask_cache)) + return false; + + irq = irq_find_mapping(spmi->irqd, hwirq); + data = irq ? irq_get_irq_data(irq) : NULL; + return data && irqd_is_wakeup_armed(data) && !irqd_irq_disabled(data); +} +EXPORT_SYMBOL_GPL(apple_spmi_irq_wake_armed); + module_platform_driver(apple_spmi_driver); MODULE_AUTHOR("Jean-Francois Bortolotti "); diff --git a/include/linux/soc/apple/spmi-fifo.h b/include/linux/soc/apple/spmi-fifo.h index fe69e9c3b5d86..8c260fea0bb9c 100644 --- a/include/linux/soc/apple/spmi-fifo.h +++ b/include/linux/soc/apple/spmi-fifo.h @@ -8,6 +8,7 @@ #include #include +#include struct device; @@ -18,6 +19,7 @@ struct device; */ int apple_spmi_fifo_trylock(struct device *dev); void apple_spmi_fifo_unlock(struct device *dev); +bool apple_spmi_irq_wake_armed(struct device *dev, unsigned int hwirq); #else static inline int apple_spmi_fifo_trylock(struct device *dev) { @@ -27,6 +29,11 @@ static inline int apple_spmi_fifo_trylock(struct device *dev) static inline void apple_spmi_fifo_unlock(struct device *dev) { } + +static inline bool apple_spmi_irq_wake_armed(struct device *dev, unsigned int hwirq) +{ + return false; +} #endif #endif From 2b7878d0f7bd904033f5b90e1bdf690ce24b2afe Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Thu, 26 Nov 2026 02:11:05 -0600 Subject: [PATCH 3/3] soc: apple: sleep: hand all armed nub-spmi0 sources to the IRQ domain Use the IRQ domain to decide which ACK candidates to leave pending on resume, across every status word. Keep wake logging before the W1C mask is filtered; leave entry and other controllers unchanged. Test multiple armed sources, a later word and the no-handoff cases. Keep the DTS comment to the ADT interrupt wiring; Linux deep-resume delivery is not yet verified. Signed-off-by: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> --- arch/arm64/boot/dts/apple/t6050-die0.dtsi | 5 ++-- drivers/soc/apple/sleep-t6050.h | 27 +++++++++++------ drivers/soc/apple/sleep-test.c | 35 +++++++++++++++++------ 3 files changed, 47 insertions(+), 20 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t6050-die0.dtsi b/arch/arm64/boot/dts/apple/t6050-die0.dtsi index fb0b7d6a00ee4..cc1e3e8201fdc 100644 --- a/arch/arm64/boot/dts/apple/t6050-die0.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-die0.dtsi @@ -227,9 +227,8 @@ }; /* - * /arm-io/nub-spmi0: reg[0] 0x8a014000 +0x4000, generation 4. ADT interrupts[1] is 726, the line the - * peripheral sources arrive on (validated on J714s and J775D: the macsmc-rtc alarm wakes s2idle, - * IRQ counts increment per cycle, 0 failures). + * /arm-io/nub-spmi0: reg[0] 0x8a014000 +0x4000, generation 4. + * ADT interrupts[1] is 726, the line the peripheral sources arrive on. * No power-domains: NUB_SPMI0 is critical and on (Aura talks to the PMU here every boot), and * binding the pwrstate driver would write the PS register at probe. */ diff --git a/drivers/soc/apple/sleep-t6050.h b/drivers/soc/apple/sleep-t6050.h index 42732c7914c44..56ec529ad1428 100644 --- a/drivers/soc/apple/sleep-t6050.h +++ b/drivers/soc/apple/sleep-t6050.h @@ -2381,17 +2381,25 @@ static int t6050_sleep_entry_lower(struct apple_sleep *s) * reads 0x12051c00 through every macOS sleep. * * Acknowledge enabled latched sources and the DT's PMU sources at entry and at wake. On - * wake, keep an armed RTC interrupt pending for the Linux SPMI IRQ domain. Record the - * sources before clearing them so the wake log also includes the deferred RTC IRQ. - * An event after the entry's clear still wakes the sleep. + * wake, leave nub-spmi0 sources armed by the Linux SPMI IRQ domain pending for its + * dispatcher. Record the candidates before filtering W1C so the wake log includes + * deferred IRQs. An event after the entry's clear still wakes the sleep. */ #define T6050_SPMI_SRC_EN 0x400 -#define T6050_SPMI_RTC_SRC 2 -static u32 t6050_spmi_ack_mask(u32 sources, unsigned int bus, unsigned int word, bool keep_rtc) +static u32 t6050_spmi_ack_mask(u32 sources, unsigned int word, struct device *wake_bus, + bool (*wake_armed)(struct device *dev, unsigned int hwirq)) { - if (keep_rtc && !bus && !word) - return sources & ~BIT(T6050_SPMI_RTC_SRC); + unsigned long pending = sources; + unsigned int bit; + + if (!wake_bus) + return sources; + + for_each_set_bit(bit, &pending, 32) + if (wake_armed(wake_bus, 32 * word + bit)) + sources &= ~BIT(bit); + return sources; } @@ -2399,7 +2407,6 @@ static void t6050_spmi_src_ack(struct apple_sleep *s, bool resume) { struct apple_sleep_region_state *r = s->region; unsigned int b, i, pmu_word = (r->spmi_pmu_status - M5_SPMI_SRC_STATUS) / 4; - bool keep_rtc = resume && apple_spmi_irq_wake_armed(r->pmu_bus, T6050_SPMI_RTC_SRC); void __iomem *bus; u32 ack; @@ -2417,7 +2424,9 @@ static void t6050_spmi_src_ack(struct apple_sleep *s, bool resume) if (!b && r->spmi_pmu_bits && i == pmu_word) ack |= r->spmi_src_latched[b][i] & r->spmi_pmu_bits; r->spmi_src_events[b][i] = ack; - ack = t6050_spmi_ack_mask(ack, b, i, keep_rtc); + if (resume && bus == s->spmi) + ack = t6050_spmi_ack_mask(ack, i, r->pmu_bus, + apple_spmi_irq_wake_armed); if (ack) writel(ack, bus + M5_SPMI_SRC_STATUS + 4 * i); } diff --git a/drivers/soc/apple/sleep-test.c b/drivers/soc/apple/sleep-test.c index bc483f0780c96..cab5f2fec52b9 100644 --- a/drivers/soc/apple/sleep-test.c +++ b/drivers/soc/apple/sleep-test.c @@ -506,15 +506,34 @@ static void apple_sleep_test_wdt_handoff(struct kunit *test) apple_sleep_wdt_unregister(&st->dev2); } -static void apple_sleep_test_t6050_rtc_ack(struct kunit *test) +static bool apple_sleep_test_spmi_wake_armed(struct device *dev, unsigned int hwirq) { - u32 pending = BIT(2) | BIT(11); + const unsigned long *armed = dev_get_drvdata(dev); - KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(pending, 0, 0, true), (u32)BIT(11)); - KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(pending, 0, 0, false), pending); - KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(pending, 1, 0, true), pending); - KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(pending, 0, 1, true), pending); - KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(BIT(2), 0, 0, true), 0u); + return test_bit(hwirq, armed); +} + +static void apple_sleep_test_t6050_spmi_ack(struct kunit *test) +{ + DECLARE_BITMAP(armed, 32 * T6050_SPMI_SRC_WORDS) = {}; + struct device bus = { .driver_data = armed }; + u32 first = BIT(2) | BIT(11) | BIT(15); + u32 later = BIT(4) | BIT(31); + + set_bit(2, armed); + set_bit(15, armed); + set_bit(127, armed); + KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(first, 0, &bus, + apple_sleep_test_spmi_wake_armed), (u32)BIT(11)); + KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(later, 3, &bus, + apple_sleep_test_spmi_wake_armed), (u32)BIT(4)); + KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(later, 2, &bus, + apple_sleep_test_spmi_wake_armed), later); + KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(first, 0, NULL, + apple_sleep_test_spmi_wake_armed), first); + bitmap_zero(armed, 32 * T6050_SPMI_SRC_WORDS); + KUNIT_EXPECT_EQ(test, t6050_spmi_ack_mask(first, 0, &bus, + apple_sleep_test_spmi_wake_armed), first); } static struct kunit_case apple_sleep_test_cases[] = { @@ -531,7 +550,7 @@ static struct kunit_case apple_sleep_test_cases[] = { KUNIT_CASE(apple_sleep_test_books), KUNIT_CASE(apple_sleep_test_wake_names), KUNIT_CASE(apple_sleep_test_wdt_handoff), - KUNIT_CASE(apple_sleep_test_t6050_rtc_ack), + KUNIT_CASE(apple_sleep_test_t6050_spmi_ack), {} };