Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [linux-next:master 3022/4739] drivers/gpu/drm/msm/msm.o: warning: objtool: msm_dp_ctrl_on_stream(): unexpected end of section .text.msm_dp_ctrl_on_stream
@ 2025-06-25  2:16 kernel test robot
  2025-07-02 21:37 ` Nathan Chancellor
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2025-06-25  2:16 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: llvm, oe-kbuild-all, Stephen Boyd

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2ae2aaafb21454f4781c30734959cf223ab486ef
commit: 8583a655f2c2bb442e2a2668680f419aa4c511d1 [3022/4739] drm/msm/dp: move/inline ctrl register functions
config: x86_64-buildonly-randconfig-005-20250625 (https://download.01.org/0day-ci/archive/20250625/202506251051.7rmus46j-lkp@intel.com/config)
compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250625/202506251051.7rmus46j-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/202506251051.7rmus46j-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/msm/msm.o: warning: objtool: msm_dp_ctrl_on_stream(): unexpected end of section .text.msm_dp_ctrl_on_stream

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

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

* Re: [linux-next:master 3022/4739] drivers/gpu/drm/msm/msm.o: warning: objtool: msm_dp_ctrl_on_stream(): unexpected end of section .text.msm_dp_ctrl_on_stream
  2025-06-25  2:16 [linux-next:master 3022/4739] drivers/gpu/drm/msm/msm.o: warning: objtool: msm_dp_ctrl_on_stream(): unexpected end of section .text.msm_dp_ctrl_on_stream kernel test robot
@ 2025-07-02 21:37 ` Nathan Chancellor
  2025-07-02 21:44   ` Nathan Chancellor
  0 siblings, 1 reply; 4+ messages in thread
From: Nathan Chancellor @ 2025-07-02 21:37 UTC (permalink / raw)
  To: kernel test robot; +Cc: Dmitry Baryshkov, llvm, oe-kbuild-all, Stephen Boyd

On Wed, Jun 25, 2025 at 10:16:55AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   2ae2aaafb21454f4781c30734959cf223ab486ef
> commit: 8583a655f2c2bb442e2a2668680f419aa4c511d1 [3022/4739] drm/msm/dp: move/inline ctrl register functions
> config: x86_64-buildonly-randconfig-005-20250625 (https://download.01.org/0day-ci/archive/20250625/202506251051.7rmus46j-lkp@intel.com/config)
> compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250625/202506251051.7rmus46j-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/202506251051.7rmus46j-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):
> 
> >> drivers/gpu/drm/msm/msm.o: warning: objtool: msm_dp_ctrl_on_stream(): unexpected end of section .text.msm_dp_ctrl_on_stream

This appears to be a case similar to [1] and [2], where clang has been
able to figure out that there will be a divide by zero in the else
branch of msm_dp_ctrl_config_msa(). Should pixel_div be adjusted to 1 or
should the divide by zero be avoided by returning early? I believe Bill
is still looking into trying to make this less distructive in LLVM but
it should still probably be fixed for LLVM 20, which is already
released.

[1]: https://lore.kernel.org/CAHk-=wiq=E0fwJLFpCc3wPY_9BPZF3dbdqGgVoOmK9Ykj5JEeg@mail.gmail.com/
[2]: https://lore.kernel.org/20250609213505.GA1634981@ax162/

Cheers,
Nathan

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

* Re: [linux-next:master 3022/4739] drivers/gpu/drm/msm/msm.o: warning: objtool: msm_dp_ctrl_on_stream(): unexpected end of section .text.msm_dp_ctrl_on_stream
  2025-07-02 21:37 ` Nathan Chancellor
@ 2025-07-02 21:44   ` Nathan Chancellor
  2025-07-03  1:38     ` Philip Li
  0 siblings, 1 reply; 4+ messages in thread
From: Nathan Chancellor @ 2025-07-02 21:44 UTC (permalink / raw)
  To: kernel test robot; +Cc: Dmitry Baryshkov, llvm, oe-kbuild-all, Stephen Boyd

+ Dmitry's @kernel.org address, should these reports use .mailmap from
mainline to ensure they get sent to up to date addresses?

On Wed, Jul 02, 2025 at 02:37:16PM -0700, Nathan Chancellor wrote:
> On Wed, Jun 25, 2025 at 10:16:55AM +0800, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > head:   2ae2aaafb21454f4781c30734959cf223ab486ef
> > commit: 8583a655f2c2bb442e2a2668680f419aa4c511d1 [3022/4739] drm/msm/dp: move/inline ctrl register functions
> > config: x86_64-buildonly-randconfig-005-20250625 (https://download.01.org/0day-ci/archive/20250625/202506251051.7rmus46j-lkp@intel.com/config)
> > compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250625/202506251051.7rmus46j-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/202506251051.7rmus46j-lkp@intel.com/
> > 
> > All warnings (new ones prefixed by >>):
> > 
> > >> drivers/gpu/drm/msm/msm.o: warning: objtool: msm_dp_ctrl_on_stream(): unexpected end of section .text.msm_dp_ctrl_on_stream
> 
> This appears to be a case similar to [1] and [2], where clang has been
> able to figure out that there will be a divide by zero in the else
> branch of msm_dp_ctrl_config_msa(). Should pixel_div be adjusted to 1 or
> should the divide by zero be avoided by returning early? I believe Bill
> is still looking into trying to make this less distructive in LLVM but
> it should still probably be fixed for LLVM 20, which is already
> released.
> 
> [1]: https://lore.kernel.org/CAHk-=wiq=E0fwJLFpCc3wPY_9BPZF3dbdqGgVoOmK9Ykj5JEeg@mail.gmail.com/
> [2]: https://lore.kernel.org/20250609213505.GA1634981@ax162/
> 
> Cheers,
> Nathan
> 

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

* Re: [linux-next:master 3022/4739] drivers/gpu/drm/msm/msm.o: warning: objtool: msm_dp_ctrl_on_stream(): unexpected end of section .text.msm_dp_ctrl_on_stream
  2025-07-02 21:44   ` Nathan Chancellor
@ 2025-07-03  1:38     ` Philip Li
  0 siblings, 0 replies; 4+ messages in thread
From: Philip Li @ 2025-07-03  1:38 UTC (permalink / raw)
  To: Nathan Chancellor
  Cc: kernel test robot, Dmitry Baryshkov, llvm, oe-kbuild-all,
	Stephen Boyd

On Wed, Jul 02, 2025 at 02:44:59PM -0700, Nathan Chancellor wrote:
> + Dmitry's @kernel.org address, should these reports use .mailmap from
> mainline to ensure they get sent to up to date addresses?

Thanks Nathan, I will update the bot to use the correct address from the latest
.mailmap.

> 
> On Wed, Jul 02, 2025 at 02:37:16PM -0700, Nathan Chancellor wrote:
> > On Wed, Jun 25, 2025 at 10:16:55AM +0800, kernel test robot wrote:
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > > head:   2ae2aaafb21454f4781c30734959cf223ab486ef
> > > commit: 8583a655f2c2bb442e2a2668680f419aa4c511d1 [3022/4739] drm/msm/dp: move/inline ctrl register functions
> > > config: x86_64-buildonly-randconfig-005-20250625 (https://download.01.org/0day-ci/archive/20250625/202506251051.7rmus46j-lkp@intel.com/config)
> > > compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
> > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250625/202506251051.7rmus46j-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/202506251051.7rmus46j-lkp@intel.com/
> > > 
> > > All warnings (new ones prefixed by >>):
> > > 
> > > >> drivers/gpu/drm/msm/msm.o: warning: objtool: msm_dp_ctrl_on_stream(): unexpected end of section .text.msm_dp_ctrl_on_stream
> > 
> > This appears to be a case similar to [1] and [2], where clang has been
> > able to figure out that there will be a divide by zero in the else
> > branch of msm_dp_ctrl_config_msa(). Should pixel_div be adjusted to 1 or
> > should the divide by zero be avoided by returning early? I believe Bill
> > is still looking into trying to make this less distructive in LLVM but
> > it should still probably be fixed for LLVM 20, which is already
> > released.
> > 
> > [1]: https://lore.kernel.org/CAHk-=wiq=E0fwJLFpCc3wPY_9BPZF3dbdqGgVoOmK9Ykj5JEeg@mail.gmail.com/
> > [2]: https://lore.kernel.org/20250609213505.GA1634981@ax162/
> > 
> > Cheers,
> > Nathan
> > 
> 

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

end of thread, other threads:[~2025-07-03  1:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25  2:16 [linux-next:master 3022/4739] drivers/gpu/drm/msm/msm.o: warning: objtool: msm_dp_ctrl_on_stream(): unexpected end of section .text.msm_dp_ctrl_on_stream kernel test robot
2025-07-02 21:37 ` Nathan Chancellor
2025-07-02 21:44   ` Nathan Chancellor
2025-07-03  1:38     ` Philip Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox