From: kernel test robot <lkp@intel.com>
To: Nick Desaulniers <ndesaulniers@google.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Michael Ellerman <mpe@ellerman.id.au>,
Nathan Chancellor <nathan@kernel.org>
Subject: [linuxppc:next-test 85/129] arch/powerpc/xmon/xmon.c:489:12: error: stack frame size (2160) exceeds limit (2048) in 'xmon_core'
Date: Sat, 26 Aug 2023 03:16:00 +0800 [thread overview]
Message-ID: <202308260344.Vc4Giuk7-lkp@intel.com> (raw)
tree: https://github.com/linuxppc/linux next-test
head: c37b6908f7b2bd24dcaaf14a180e28c9132b9c58
commit: 7f3c5d099b6f8452dc4dcfe4179ea48e6a13d0eb [85/129] Revert "powerpc/xmon: Relax frame size for clang"
config: powerpc64-randconfig-r006-20230825 (https://download.01.org/0day-ci/archive/20230826/202308260344.Vc4Giuk7-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce: (https://download.01.org/0day-ci/archive/20230826/202308260344.Vc4Giuk7-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/202308260344.Vc4Giuk7-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/powerpc/xmon/xmon.c:489:12: error: stack frame size (2160) exceeds limit (2048) in 'xmon_core' [-Werror,-Wframe-larger-than]
static int xmon_core(struct pt_regs *regs, volatile int fromipi)
^
1 error generated.
vim +/xmon_core +489 arch/powerpc/xmon/xmon.c
5c699396f5f6cf arch/powerpc/xmon/xmon.c Anton Blanchard 2020-06-30 488
a2305e3de81939 arch/powerpc/xmon/xmon.c Arnd Bergmann 2021-04-29 @489 static int xmon_core(struct pt_regs *regs, volatile int fromipi)
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 490 {
a2305e3de81939 arch/powerpc/xmon/xmon.c Arnd Bergmann 2021-04-29 491 volatile int cmd = 0;
a2305e3de81939 arch/powerpc/xmon/xmon.c Arnd Bergmann 2021-04-29 492 struct bpt *volatile bp;
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 493 long recurse_jmp[JMP_BUF_LEN];
69393cb03ccdf2 arch/powerpc/xmon/xmon.c Christopher M. Riedl 2019-09-07 494 bool locked_down;
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 495 unsigned long offset;
f13659e0b39075 arch/powerpc/xmon/xmon.c Anton Blanchard 2007-03-21 496 unsigned long flags;
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 497 #ifdef CONFIG_SMP
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 498 int cpu;
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 499 int secondary;
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 500 #endif
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 501
f13659e0b39075 arch/powerpc/xmon/xmon.c Anton Blanchard 2007-03-21 502 local_irq_save(flags);
a71d64b4dc4067 arch/powerpc/xmon/xmon.c Anton Blanchard 2014-08-05 503 hard_irq_disable();
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 504
69393cb03ccdf2 arch/powerpc/xmon/xmon.c Christopher M. Riedl 2019-09-07 505 locked_down = xmon_is_locked_down();
69393cb03ccdf2 arch/powerpc/xmon/xmon.c Christopher M. Riedl 2019-09-07 506
aaf06665f7ea3e arch/powerpc/xmon/xmon.c Naveen N. Rao 2019-06-27 507 if (!fromipi) {
ed49f7fd6438dc arch/powerpc/xmon/xmon.c Breno Leitao 2017-08-02 508 tracing_enabled = tracing_is_on();
ed49f7fd6438dc arch/powerpc/xmon/xmon.c Breno Leitao 2017-08-02 509 tracing_off();
aaf06665f7ea3e arch/powerpc/xmon/xmon.c Naveen N. Rao 2019-06-27 510 }
ed49f7fd6438dc arch/powerpc/xmon/xmon.c Breno Leitao 2017-08-02 511
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 512 bp = in_breakpoint_table(regs->nip, &offset);
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 513 if (bp != NULL) {
59dc5bfca0cb6a arch/powerpc/xmon/xmon.c Nicholas Piggin 2021-06-18 514 regs_set_return_ip(regs, bp->address + offset);
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 515 atomic_dec(&bp->ref_count);
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 516 }
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 517
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 518 remove_cpu_bpts();
^1da177e4c3f41 arch/ppc64/xmon/xmon.c Linus Torvalds 2005-04-16 519
:::::: The code at line 489 was first introduced by commit
:::::: a2305e3de819394a7adf68078964a92d06f9db33 powerpc: mark local variables around longjmp as volatile
:::::: TO: Arnd Bergmann <arnd@arndb.de>
:::::: CC: Michael Ellerman <mpe@ellerman.id.au>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2023-08-25 19:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 19:16 kernel test robot [this message]
2023-08-25 20:09 ` [linuxppc:next-test 85/129] arch/powerpc/xmon/xmon.c:489:12: error: stack frame size (2160) exceeds limit (2048) in 'xmon_core' Nick Desaulniers
2023-08-27 11:32 ` Michael Ellerman
2023-08-28 17:39 ` Nick Desaulniers
2023-08-29 23:29 ` Michael Ellerman
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=202308260344.Vc4Giuk7-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=mpe@ellerman.id.au \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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