From: sashiko-bot@kernel.org
To: "Joshua Yeong" <joshua.yeong@starfivetech.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 2/3] regulator: Add RPMI voltage service
Date: Wed, 23 Sep 2026 07:29:15 +0000 [thread overview]
Message-ID: <20260923072915.9C33A1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260923070014.1340761-3-joshua.yeong@starfivetech.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Build Failure
--
commit 6effdf04903f1a405d2def7e8745701a7d1522d8
Author: Joshua Yeong <joshua.yeong@starfivetech.com>
regulator: Add RPMI voltage service
This commit adds a mailbox client based regulator driver for the RISC-V RPMI
voltage service group. The driver enumerates the voltage domains advertised
by the platform microcontroller and registers each of them as a regulator.
> diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
> index 7d151433747be..8ad4159a8bcfe 100644
> --- a/drivers/regulator/Kconfig
> +++ b/drivers/regulator/Kconfig
> @@ -1274,6 +1274,19 @@ config REGULATOR_RC5T583
> through regulator interface. The device supports multiple DCDC/LDO
> outputs which can be controlled by i2c communication.
>
> +config REGULATOR_RISCV_RPMI
> + tristate "RISC-V RPMI based regulator driver"
> + depends on MAILBOX || COMPILE_TEST
[Severity: Medium]
Will this cause a build failure when COMPILE_TEST is enabled but MAILBOX is
disabled?
The driver directly calls mailbox subsystem functions like
mbox_request_channel(), mbox_send_message(), and mbox_free_channel(). Since
include/linux/mailbox_client.h does not provide dummy stubs for these
functions when CONFIG_MAILBOX is disabled, compiling this driver without
the mailbox subsystem results in undefined reference linker errors.
Should the dependency be strictly depends on MAILBOX, or perhaps conditional
based on architecture but retaining the strict mailbox dependency?
> + default RISCV
> + help
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260923070014.1340761-2-joshua.yeong@starfivetech.com?part=2
next prev parent reply other threads:[~2026-09-23 7:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-23 7:00 [PATCH v2 0/3] Add RISC-V RPMI voltage service support Joshua Yeong
2026-09-23 7:00 ` [PATCH v2 1/3] dt-bindings: regulator: Add RPMI voltage service bindings Joshua Yeong
2026-09-23 7:25 ` sashiko-bot
2026-09-23 20:35 ` Krzysztof Kozlowski
2026-09-24 21:00 ` Mark Brown
2026-09-25 2:21 ` Joshua Yeong
2026-09-25 6:07 ` Krzysztof Kozlowski
2026-09-25 7:14 ` Joshua Yeong
2026-09-25 15:18 ` Krzysztof Kozlowski
2026-09-25 17:15 ` Mark Brown
2026-09-26 21:21 ` Conor Dooley
2026-09-27 6:37 ` Joshua Yeong
2026-09-25 17:20 ` Mark Brown
2026-09-25 6:11 ` Krzysztof Kozlowski
2026-09-25 17:25 ` Mark Brown
2026-09-23 7:00 ` [PATCH v2 2/3] regulator: Add RPMI voltage service Joshua Yeong
2026-09-23 7:29 ` sashiko-bot [this message]
2026-09-23 7:00 ` [PATCH v2 3/3] MAINTAINERS: Add RISC-V RPMI voltage driver Joshua Yeong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260923072915.9C33A1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=joshua.yeong@starfivetech.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox