[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7297d4b1-84a2-4bb1-8a33-29c827247df7@gmail.com>
Date: Mon, 16 Jun 2025 12:13:50 +0800
From: Nick Chan <towinchenmi@...il.com>
To: Sven Peter <sven@...nel.org>, Janne Grunau <j@...nau.net>,
Alyssa Rosenzweig <alyssa@...enzweig.io>, Neal Gompa <neal@...pa.dev>,
Hector Martin <marcan@...can.st>, Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, Sebastian Reichel <sre@...nel.org>,
Lee Jones <lee@...nel.org>, Marc Zyngier <maz@...nel.org>,
"Russell King (Oracle)" <rmk+kernel@...linux.org.uk>
Cc: asahi@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
Sebastian Reichel <sebastian.reichel@...labora.com>
Subject: Re: [PATCH v7 07/10] power: reset: macsmc-reboot: Add driver for
rebooting via Apple SMC
On 10/6/2025 23:29, Sven Peter wrote:
> From: Hector Martin <marcan@...can.st>
>
> This driver implements the reboot/shutdown support exposed by the SMC
> on Apple Silicon machines, such as Apple M1 Macs.
>
> Signed-off-by: Hector Martin <marcan@...can.st>
> Reviewed-by: Alyssa Rosenzweig <alyssa@...enzweig.io>
> Reviewed-by: Neal Gompa <neal@...pa.dev>
> Reviewed-by: Sebastian Reichel <sebastian.reichel@...labora.com>
> Signed-off-by: Sven Peter <sven@...nel.org>
> ---
> MAINTAINERS | 1 +
> drivers/power/reset/Kconfig | 9 ++
> drivers/power/reset/Makefile | 1 +
> drivers/power/reset/macsmc-reboot.c | 290 ++++++++++++++++++++++++++++++++++++
> 4 files changed, 301 insertions(+)
[...]
It seems that the reboot driver still probes even without the smc_reboot node in the smc node:
[ 0.994942] macsmc 236000100.smc: RTKit: Initializing (protocol version 12)
[ 1.002862] macsmc-gpio macsmc-gpio: First GPIO key: gP01 (0x67503031)
[ 1.013156] macsmc-reboot: Failed to locate of_node [id: -1]
[ 1.048188] macsmc-reboot macsmc-reboot: Missing NVMEM cell shutdown_flag (-2)
[ 1.055359] macsmc-reboot macsmc-reboot: Missing NVMEM cell boot_stage (-2)
[ 1.062332] macsmc-reboot macsmc-reboot: Missing NVMEM cell boot_error_count (-2)
[ 1.069799] macsmc-reboot macsmc-reboot: Missing NVMEM cell panic_count (-2)
[ 1.076902] macsmc-reboot macsmc-reboot: Handling reboot and poweroff requests via SMC
Best regards,
Nick Chan
Powered by blists - more mailing lists