Re: [PATCH] clk: hisilicon: allow COMPILE_TEST builds

From: Brian Masney

Date: Mon Jul 20 2026 - 12:01:51 EST


Hi Rosen,

On Sun, Jul 19, 2026 at 02:44:03PM -0700, Rosen Penev wrote:
> On Mon, May 11, 2026 at 8:00 AM Brian Masney <bmasney@xxxxxxxxxx> wrote:
> >
> > On Fri, May 08, 2026 at 10:11:10PM -0700, Rosen Penev wrote:
> > > The HiSilicon clock symbols already depend on ARCH_HISI or COMPILE_TEST,
> > > but the parent clock Makefile only descends into the hisilicon directory
> > > when ARCH_HISI is enabled.
> > >
> > > Add a hidden family gate selected by the HiSilicon clock and reset symbols,
> > > default it for ARCH_HISI, and use it for the parent Makefile descent. This
> > > keeps existing platform builds unchanged while allowing compile-test
> > > coverage.
> > >
> > > Tested with:
> > > make LLVM=1 ARCH=loongarch drivers/clk/hisilicon/
> > >
> > > Assisted-by: Codex:GPT-5.5
> > > Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> >
> > Reviewed-by: Brian Masney <bmasney@xxxxxxxxxx>
> Should I resend?

Yes, it missed the last merge window, and I submitted it to Stephen on
June 29th via this git pull:

https://lore.kernel.org/linux-clk/akLzCVzbMbUsgDda@xxxxxxxxxx/T/#u

Let's see what he says. Hopefully you won't have to resend.

Brian