All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: hisilicon: fix compile testing
@ 2025-11-30 21:47 Peter Novak
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Novak @ 2025-11-30 21:47 UTC (permalink / raw)
  To: sboyd, mturquette; +Cc: linux-clk, Peter Novak

The hisilicon clock drivers can be selected when COMPILE_TEST is
enabled but they are never actually built because the Makefile
guards the subdirectory with CONFIG_ARCH_HISI.

Enable compile testing by allowing the build system to process the
hisilicon drivers unconditionally.

Signed-off-by: Peter Novak <seimun018r@gmail.com>
---
 drivers/clk/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
index b74a1767c..b1452489d 100644
--- a/drivers/clk/Makefile
+++ b/drivers/clk/Makefile
@@ -121,7 +121,7 @@ obj-$(CONFIG_CLK_BAIKAL_T1)		+= baikal-t1/
 obj-y					+= bcm/
 obj-$(CONFIG_ARCH_BERLIN)		+= berlin/
 obj-$(CONFIG_ARCH_DAVINCI)		+= davinci/
-obj-$(CONFIG_ARCH_HISI)			+= hisilicon/
+obj-y					+= hisilicon/
 obj-y					+= imgtec/
 obj-y					+= imx/
 obj-y					+= ingenic/
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: hisilicon: fix compile testing
@ 2025-12-01 15:55 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2025-12-01 15:55 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "only suspicious fbc files changed"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20251130214720.394745-1-seimun018r@gmail.com>
References: <20251130214720.394745-1-seimun018r@gmail.com>
TO: Peter Novak <seimun018r@gmail.com>
TO: sboyd@kernel.org
TO: mturquette@baylibre.com
CC: linux-clk@vger.kernel.org
CC: Peter Novak <seimun018r@gmail.com>

Hi Peter,

kernel test robot noticed the following build errors:

[auto build test ERROR on clk/clk-next]
[also build test ERROR on linus/master v6.18 next-20251201]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Peter-Novak/clk-hisilicon-fix-compile-testing/20251201-054942
base:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
patch link:    https://lore.kernel.org/r/20251130214720.394745-1-seimun018r%40gmail.com
patch subject: [PATCH] clk: hisilicon: fix compile testing
:::::: branch date: 18 hours ago
:::::: commit date: 18 hours ago
config: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20251201/202512012342.fSDxFDZP-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251201/202512012342.fSDxFDZP-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202512012342.fSDxFDZP-lkp@intel.com/

All errors (new ones prefixed by >>):

   alpha-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_fixed_rate':
>> (.text+0x174): undefined reference to `clk_register_fixed_rate'
>> alpha-linux-ld: (.text+0x178): undefined reference to `clk_register_fixed_rate'
>> alpha-linux-ld: (.text+0x214): undefined reference to `clk_unregister_fixed_rate'
   alpha-linux-ld: (.text+0x230): undefined reference to `clk_unregister_fixed_rate'
   alpha-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_fixed_factor':
>> (.text+0x2a8): undefined reference to `clk_register_fixed_factor'
>> alpha-linux-ld: (.text+0x2ac): undefined reference to `clk_register_fixed_factor'
>> alpha-linux-ld: (.text+0x348): undefined reference to `clk_unregister_fixed_factor'
   alpha-linux-ld: (.text+0x364): undefined reference to `clk_unregister_fixed_factor'
   alpha-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_mux':
>> (.text+0x410): undefined reference to `clk_register_mux_table'
>> alpha-linux-ld: (.text+0x42c): undefined reference to `clk_register_mux_table'
>> alpha-linux-ld: (.text+0x45c): undefined reference to `clk_register_clkdev'
   alpha-linux-ld: (.text+0x464): undefined reference to `clk_register_clkdev'
>> alpha-linux-ld: (.text+0x504): undefined reference to `clk_unregister_mux'
   alpha-linux-ld: (.text+0x520): undefined reference to `clk_unregister_mux'
   alpha-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_divider':
>> (.text+0x6c8): undefined reference to `clk_register_divider_table'
>> alpha-linux-ld: (.text+0x6dc): undefined reference to `clk_register_divider_table'
   alpha-linux-ld: (.text+0x70c): undefined reference to `clk_register_clkdev'
   alpha-linux-ld: (.text+0x710): undefined reference to `clk_register_clkdev'
>> alpha-linux-ld: (.text+0x7a4): undefined reference to `clk_unregister_divider'
   alpha-linux-ld: (.text+0x7bc): undefined reference to `clk_unregister_divider'
   alpha-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_gate':
>> (.text+0x84c): undefined reference to `clk_register_gate'
>> alpha-linux-ld: (.text+0x85c): undefined reference to `clk_register_gate'
   alpha-linux-ld: (.text+0x88c): undefined reference to `clk_register_clkdev'
   alpha-linux-ld: (.text+0x890): undefined reference to `clk_register_clkdev'
>> alpha-linux-ld: (.text+0x924): undefined reference to `clk_unregister_gate'
   alpha-linux-ld: (.text+0x93c): undefined reference to `clk_unregister_gate'
   alpha-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_gate_sep':
>> (.text+0xa08): undefined reference to `clk_register_clkdev'
   alpha-linux-ld: (.text+0xa0c): undefined reference to `clk_register_clkdev'
   alpha-linux-ld: drivers/clk/hisilicon/clk.o: in function `hi6220_clk_register_divider':
>> (.init.text+0xe0): undefined reference to `clk_register_clkdev'
>> alpha-linux-ld: (.init.text+0xe4): undefined reference to `clk_register_clkdev'
   alpha-linux-ld: drivers/clk/hisilicon/clkgate-separated.o: in function `hisi_register_clkgate_sep':
>> (.text+0x230): undefined reference to `clk_register'
   alpha-linux-ld: (.text+0x27c): undefined reference to `clk_register'
   alpha-linux-ld: drivers/clk/hisilicon/clkdivider-hi6220.o: in function `hi6220_clkdiv_set_rate':
   (.text+0xc): undefined reference to `divider_get_val'
   alpha-linux-ld: (.text+0x38): undefined reference to `divider_get_val'
   alpha-linux-ld: drivers/clk/hisilicon/clkdivider-hi6220.o: in function `hi6220_clkdiv_recalc_rate':
   (.text+0x12c): undefined reference to `divider_recalc_rate'
   alpha-linux-ld: (.text+0x148): undefined reference to `divider_recalc_rate'
   alpha-linux-ld: drivers/clk/hisilicon/clkdivider-hi6220.o: in function `hi6220_clkdiv_determine_rate':
   (.text+0x17c): undefined reference to `clk_hw_get_parent'
   alpha-linux-ld: (.text+0x1ac): undefined reference to `clk_hw_get_parent'
   alpha-linux-ld: (.text+0x1c8): undefined reference to `divider_round_rate_parent'
   alpha-linux-ld: (.text+0x1dc): undefined reference to `divider_round_rate_parent'
   alpha-linux-ld: drivers/clk/hisilicon/clkdivider-hi6220.o: in function `hi6220_register_clkdiv':
   (.text+0x31c): undefined reference to `clk_register'
   alpha-linux-ld: (.text+0x378): undefined reference to `clk_register'
   alpha-linux-ld: drivers/clk/hisilicon/clk-hisi-phase.o: in function `clk_register_hisi_phase':
   (.text+0x268): undefined reference to `devm_clk_register'
   alpha-linux-ld: (.text+0x2b4): undefined reference to `devm_clk_register'

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: hisilicon: fix compile testing
@ 2025-12-01 16:16 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2025-12-01 16:16 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "only suspicious fbc files changed"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20251130214720.394745-1-seimun018r@gmail.com>
References: <20251130214720.394745-1-seimun018r@gmail.com>
TO: Peter Novak <seimun018r@gmail.com>
TO: sboyd@kernel.org
TO: mturquette@baylibre.com
CC: linux-clk@vger.kernel.org
CC: Peter Novak <seimun018r@gmail.com>

Hi Peter,

kernel test robot noticed the following build errors:

[auto build test ERROR on clk/clk-next]
[also build test ERROR on linus/master v6.18 next-20251201]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Peter-Novak/clk-hisilicon-fix-compile-testing/20251201-054942
base:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
patch link:    https://lore.kernel.org/r/20251130214720.394745-1-seimun018r%40gmail.com
patch subject: [PATCH] clk: hisilicon: fix compile testing
:::::: branch date: 18 hours ago
:::::: commit date: 18 hours ago
config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20251201/202512012348.FlarXiKj-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251201/202512012348.FlarXiKj-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202512012348.FlarXiKj-lkp@intel.com/

All errors (new ones prefixed by >>):

   m68k-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_fixed_rate':
   clk.c:(.text+0xcc): undefined reference to `clk_register_fixed_rate'
>> m68k-linux-ld: clk.c:(.text+0x114): undefined reference to `clk_unregister_fixed_rate'
   m68k-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_fixed_factor':
   clk.c:(.text+0x188): undefined reference to `clk_register_fixed_factor'
>> m68k-linux-ld: clk.c:(.text+0x1d4): undefined reference to `clk_unregister_fixed_factor'
   m68k-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_mux':
   clk.c:(.text+0x24a): undefined reference to `clk_register_mux_table'
>> m68k-linux-ld: clk.c:(.text+0x2ea): undefined reference to `clk_unregister_mux'
   m68k-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_divider':
   clk.c:(.text+0x3dc): undefined reference to `clk_register_divider_table'
>> m68k-linux-ld: clk.c:(.text+0x46c): undefined reference to `clk_unregister_divider'
   m68k-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_gate':
   clk.c:(.text+0x4d0): undefined reference to `clk_register_gate'
>> m68k-linux-ld: clk.c:(.text+0x55a): undefined reference to `clk_unregister_gate'
   m68k-linux-ld: drivers/clk/hisilicon/clkgate-separated.o: in function `hisi_register_clkgate_sep':
   clkgate-separated.c:(.text+0x156): undefined reference to `clk_register'
>> m68k-linux-ld: clkgate-separated.c:(.text+0x19e): undefined reference to `clk_register'
   m68k-linux-ld: drivers/clk/hisilicon/clkdivider-hi6220.o: in function `hi6220_clkdiv_set_rate':
   clkdivider-hi6220.c:(.text+0x26): undefined reference to `divider_get_val'
   m68k-linux-ld: drivers/clk/hisilicon/clkdivider-hi6220.o: in function `hi6220_clkdiv_recalc_rate':
   clkdivider-hi6220.c:(.text+0xd2): undefined reference to `divider_recalc_rate'
   m68k-linux-ld: drivers/clk/hisilicon/clkdivider-hi6220.o: in function `hi6220_clkdiv_determine_rate':
   clkdivider-hi6220.c:(.text+0x108): undefined reference to `clk_hw_get_parent'
>> m68k-linux-ld: clkdivider-hi6220.c:(.text+0x124): undefined reference to `divider_round_rate_parent'
   m68k-linux-ld: drivers/clk/hisilicon/clkdivider-hi6220.o: in function `hi6220_register_clkdiv':
   clkdivider-hi6220.c:(.text+0x24a): undefined reference to `clk_register'
   m68k-linux-ld: drivers/clk/hisilicon/clk-hisi-phase.o: in function `clk_register_hisi_phase':
   clk-hisi-phase.c:(.text+0x1ae): undefined reference to `devm_clk_register'
>> m68k-linux-ld: clk-hisi-phase.c:(.text+0x220): undefined reference to `devm_clk_register'

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-12-01 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-01 15:55 [PATCH] clk: hisilicon: fix compile testing kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2025-12-01 16:16 kernel test robot
2025-11-30 21:47 Peter Novak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.