From: kernel test robot <lkp@intel.com>
To: Brian Masney <bmasney@redhat.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Maxime Ripard <mripard@kernel.org>,
Claudiu Beznea <claudiu.beznea@tuxon.dev>,
Conor Dooley <conor@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org, Brian Masney <bmasney@redhat.com>
Subject: Re: [PATCH v2 3/3] clk: microchip: core: allow driver to be compiled with COMPILE_TEST
Date: Fri, 5 Dec 2025 11:51:12 +0800 [thread overview]
Message-ID: <202512051151.N3iZUKEG-lkp@intel.com> (raw)
In-Reply-To: <20251201-clk-microchip-fixes-v2-3-9d5a0daadd98@redhat.com>
Hi Brian,
kernel test robot noticed the following build errors:
[auto build test ERROR on 92fd6e84175befa1775e5c0ab682938eca27c0b2]
url: https://github.com/intel-lab-lkp/linux/commits/Brian-Masney/clk-microchip-core-remove-duplicate-determine_rate-on-pic32_sclk_ops/20251202-060924
base: 92fd6e84175befa1775e5c0ab682938eca27c0b2
patch link: https://lore.kernel.org/r/20251201-clk-microchip-fixes-v2-3-9d5a0daadd98%40redhat.com
patch subject: [PATCH v2 3/3] clk: microchip: core: allow driver to be compiled with COMPILE_TEST
config: openrisc-allmodconfig (https://download.01.org/0day-ci/archive/20251205/202512051151.N3iZUKEG-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251205/202512051151.N3iZUKEG-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/oe-kbuild-all/202512051151.N3iZUKEG-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/clk/microchip/clk-core.c: Assembler messages:
>> drivers/clk/microchip/clk-core.c:721: Error: unrecognized instruction `nop'
>> drivers/clk/microchip/clk-core.c:721: Error: unrecognized instruction `nop'
>> drivers/clk/microchip/clk-core.c:721: Error: unrecognized instruction `nop'
>> drivers/clk/microchip/clk-core.c:721: Error: unrecognized instruction `nop'
>> drivers/clk/microchip/clk-core.c:721: Error: unrecognized instruction `nop'
drivers/clk/microchip/clk-core.c:722: Error: unrecognized instruction `nop'
drivers/clk/microchip/clk-core.c:722: Error: unrecognized instruction `nop'
drivers/clk/microchip/clk-core.c:722: Error: unrecognized instruction `nop'
drivers/clk/microchip/clk-core.c:722: Error: unrecognized instruction `nop'
drivers/clk/microchip/clk-core.c:722: Error: unrecognized instruction `nop'
drivers/clk/microchip/clk-core.c:862: Error: unrecognized instruction `nop'
drivers/clk/microchip/clk-core.c:862: Error: unrecognized instruction `nop'
drivers/clk/microchip/clk-core.c:862: Error: unrecognized instruction `nop'
drivers/clk/microchip/clk-core.c:862: Error: unrecognized instruction `nop'
drivers/clk/microchip/clk-core.c:862: Error: unrecognized instruction `nop'
vim +721 drivers/clk/microchip/clk-core.c
ce6e11884659988 Purna Chandra Mandal 2016-05-13 682
ce6e11884659988 Purna Chandra Mandal 2016-05-13 683 static int spll_clk_set_rate(struct clk_hw *hw, unsigned long rate,
ce6e11884659988 Purna Chandra Mandal 2016-05-13 684 unsigned long parent_rate)
ce6e11884659988 Purna Chandra Mandal 2016-05-13 685 {
ce6e11884659988 Purna Chandra Mandal 2016-05-13 686 struct pic32_sys_pll *pll = clkhw_to_spll(hw);
ce6e11884659988 Purna Chandra Mandal 2016-05-13 687 unsigned long ret, flags;
ce6e11884659988 Purna Chandra Mandal 2016-05-13 688 u32 mult, odiv, v;
ce6e11884659988 Purna Chandra Mandal 2016-05-13 689 int err;
ce6e11884659988 Purna Chandra Mandal 2016-05-13 690
ce6e11884659988 Purna Chandra Mandal 2016-05-13 691 ret = spll_calc_mult_div(pll, rate, parent_rate, &mult, &odiv);
ce6e11884659988 Purna Chandra Mandal 2016-05-13 692 if (!ret)
ce6e11884659988 Purna Chandra Mandal 2016-05-13 693 return -EINVAL;
ce6e11884659988 Purna Chandra Mandal 2016-05-13 694
ce6e11884659988 Purna Chandra Mandal 2016-05-13 695 /*
ce6e11884659988 Purna Chandra Mandal 2016-05-13 696 * We can't change SPLL counters when it is in-active use
ce6e11884659988 Purna Chandra Mandal 2016-05-13 697 * by SYSCLK. So check before applying new counters/rate.
ce6e11884659988 Purna Chandra Mandal 2016-05-13 698 */
ce6e11884659988 Purna Chandra Mandal 2016-05-13 699
ce6e11884659988 Purna Chandra Mandal 2016-05-13 700 /* Is spll_clk active parent of sys_clk ? */
ce6e11884659988 Purna Chandra Mandal 2016-05-13 701 if (unlikely(clk_hw_get_parent(pic32_sclk_hw) == hw)) {
ce6e11884659988 Purna Chandra Mandal 2016-05-13 702 pr_err("%s: failed, clk in-use\n", __func__);
ce6e11884659988 Purna Chandra Mandal 2016-05-13 703 return -EBUSY;
ce6e11884659988 Purna Chandra Mandal 2016-05-13 704 }
ce6e11884659988 Purna Chandra Mandal 2016-05-13 705
ce6e11884659988 Purna Chandra Mandal 2016-05-13 706 spin_lock_irqsave(&pll->core->reg_lock, flags);
ce6e11884659988 Purna Chandra Mandal 2016-05-13 707
ce6e11884659988 Purna Chandra Mandal 2016-05-13 708 /* apply new multiplier & divisor */
ce6e11884659988 Purna Chandra Mandal 2016-05-13 709 v = readl(pll->ctrl_reg);
ce6e11884659988 Purna Chandra Mandal 2016-05-13 710 v &= ~(PLL_MULT_MASK << PLL_MULT_SHIFT);
ce6e11884659988 Purna Chandra Mandal 2016-05-13 711 v &= ~(PLL_ODIV_MASK << PLL_ODIV_SHIFT);
ce6e11884659988 Purna Chandra Mandal 2016-05-13 712 v |= (mult << PLL_MULT_SHIFT) | (odiv << PLL_ODIV_SHIFT);
ce6e11884659988 Purna Chandra Mandal 2016-05-13 713
ce6e11884659988 Purna Chandra Mandal 2016-05-13 714 /* sys unlock before write */
ce6e11884659988 Purna Chandra Mandal 2016-05-13 715 pic32_syskey_unlock();
ce6e11884659988 Purna Chandra Mandal 2016-05-13 716
ce6e11884659988 Purna Chandra Mandal 2016-05-13 717 writel(v, pll->ctrl_reg);
ce6e11884659988 Purna Chandra Mandal 2016-05-13 718 cpu_relax();
ce6e11884659988 Purna Chandra Mandal 2016-05-13 719
ce6e11884659988 Purna Chandra Mandal 2016-05-13 720 /* insert few nops (5-stage) to ensure CPU does not hang */
ce6e11884659988 Purna Chandra Mandal 2016-05-13 @721 cpu_nop5();
ce6e11884659988 Purna Chandra Mandal 2016-05-13 722 cpu_nop5();
ce6e11884659988 Purna Chandra Mandal 2016-05-13 723
ce6e11884659988 Purna Chandra Mandal 2016-05-13 724 /* Wait until PLL is locked (maximum 100 usecs). */
ce6e11884659988 Purna Chandra Mandal 2016-05-13 725 err = readl_poll_timeout_atomic(pll->status_reg, v,
ce6e11884659988 Purna Chandra Mandal 2016-05-13 726 v & pll->lock_mask, 1, 100);
ce6e11884659988 Purna Chandra Mandal 2016-05-13 727 spin_unlock_irqrestore(&pll->core->reg_lock, flags);
ce6e11884659988 Purna Chandra Mandal 2016-05-13 728
ce6e11884659988 Purna Chandra Mandal 2016-05-13 729 return err;
ce6e11884659988 Purna Chandra Mandal 2016-05-13 730 }
ce6e11884659988 Purna Chandra Mandal 2016-05-13 731
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-12-05 3:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-01 22:06 [PATCH v2 0/3] clk: microchip: core: fix issue with round_rate conversion and allow compile test Brian Masney
2025-12-01 22:06 ` [PATCH v2 1/3] clk: microchip: core: remove duplicate determine_rate on pic32_sclk_ops Brian Masney
2025-12-01 22:06 ` [PATCH v2 2/3] clk: microchip: core: remove unused include asm/traps.h Brian Masney
2025-12-01 22:06 ` [PATCH v2 3/3] clk: microchip: core: allow driver to be compiled with COMPILE_TEST Brian Masney
2025-12-05 3:51 ` kernel test robot [this message]
2025-12-05 11:33 ` Brian Masney
2025-12-05 7:21 ` Dan Carpenter
2025-12-05 11:35 ` Brian Masney
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=202512051151.N3iZUKEG-lkp@intel.com \
--to=lkp@intel.com \
--cc=bmasney@redhat.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=conor@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mripard@kernel.org \
--cc=mturquette@baylibre.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sboyd@kernel.org \
/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
all inboxes | Powered by JetHome®