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

Brian Masney <[email protected]> Mon, 20 Jul 2026 10:53:28 -0400
Newsgroups dev.linux.lists.llvm,org.kernel.vger.linux-clk,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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 <[email protected]> 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 <[email protected]>
> >
> > Reviewed-by: Brian Masney <[email protected]>
> 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/[email protected]/T/#u

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

Brian