All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [kkdwivedi:cancellations 3/29] arch/s390/net/bpf_jit_comp.c:649:42: error: 'struct bpf_prog_aux' has no member named 'exception_boundary'
Date: Wed, 28 Oct 2026 21:03:32 +0100	[thread overview]
Message-ID: <202610282018.wVaIICD7-lkp@intel.com> (raw)

tree:   https://github.com/kkdwivedi/linux cancellations
head:   d085b61bdd9ef20d93fc010b4f0092f65b869e5a
commit: b1cc125c910e54e5242ef9babf1d05e267c5ebf3 [3/29] bpf: Remove exception_boundary, which nothing reads any more
config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20261028/202610282018.wVaIICD7-lkp@intel.com/config)
compiler: s390x-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261028/202610282018.wVaIICD7-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/202610282018.wVaIICD7-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/s390/net/bpf_jit_comp.c: In function 'bpf_jit_prologue':
>> arch/s390/net/bpf_jit_comp.c:649:42: error: 'struct bpf_prog_aux' has no member named 'exception_boundary'
     649 |                                   fp->aux->exception_boundary ? NVREGS : 0);
         |                                          ^~


vim +649 arch/s390/net/bpf_jit_comp.c

f1d5df84cd8c3ec Ilya Leoshkevich        2023-01-29  603  
054623105728b06 Michael Holzheu         2015-04-01  604  /*
054623105728b06 Michael Holzheu         2015-04-01  605   * Emit function prologue
054623105728b06 Michael Holzheu         2015-04-01  606   *
054623105728b06 Michael Holzheu         2015-04-01  607   * Save registers and create stack frame if necessary.
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  608   * Stack frame layout is described by struct prog_frame.
054623105728b06 Michael Holzheu         2015-04-01  609   */
b2268d550d20ff8 Ilya Leoshkevich        2025-06-24  610  static void bpf_jit_prologue(struct bpf_jit *jit, struct bpf_prog *fp)
054623105728b06 Michael Holzheu         2015-04-01  611  {
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  612  	BUILD_BUG_ON(sizeof(struct prog_frame) != STACK_FRAME_OVERHEAD);
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  613  
227b4e108adcc4e Heiko Carstens          2026-07-27  614  	emit_kcfi(bpf_is_subprog(fp) ? cfi_bpf_subprog_hash : cfi_bpf_hash, jit);
227b4e108adcc4e Heiko Carstens          2026-07-27  615  
f1d5df84cd8c3ec Ilya Leoshkevich        2023-01-29  616  	/* No-op for hotpatching */
f1d5df84cd8c3ec Ilya Leoshkevich        2023-01-29  617  	/* brcl 0,prologue_plt */
f1d5df84cd8c3ec Ilya Leoshkevich        2023-01-29  618  	EMIT6_PCREL_RILC(0xc0040000, 0, jit->prologue_plt);
f1d5df84cd8c3ec Ilya Leoshkevich        2023-01-29  619  	jit->prologue_plt_ret = jit->prg;
f1d5df84cd8c3ec Ilya Leoshkevich        2023-01-29  620  
9af27da6313c8f8 Kumar Kartikeya Dwivedi 2023-09-13  621  	if (!bpf_is_subprog(fp)) {
dd691e847d28ac5 Ilya Leoshkevich        2023-01-29  622  		/* Initialize the tail call counter in the main program. */
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  623  		/* xc tail_call_cnt(4,%r15),tail_call_cnt(%r15) */
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  624  		_EMIT6(0xd703f000 | offsetof(struct prog_frame, tail_call_cnt),
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  625  		       0xf000 | offsetof(struct prog_frame, tail_call_cnt));
6651ee070b3124f Michael Holzheu         2015-06-08  626  	} else {
94ad428df53688a Ilya Leoshkevich        2020-07-17  627  		/*
dd691e847d28ac5 Ilya Leoshkevich        2023-01-29  628  		 * Skip the tail call counter initialization in subprograms.
dd691e847d28ac5 Ilya Leoshkevich        2023-01-29  629  		 * Insert nops in order to have tail_call_start at a
dd691e847d28ac5 Ilya Leoshkevich        2023-01-29  630  		 * predictable offset.
94ad428df53688a Ilya Leoshkevich        2020-07-17  631  		 */
94ad428df53688a Ilya Leoshkevich        2020-07-17  632  		bpf_skip(jit, 6);
6651ee070b3124f Michael Holzheu         2015-06-08  633  	}
6651ee070b3124f Michael Holzheu         2015-06-08  634  	/* Tail calls have to skip above initialization */
227b4e108adcc4e Heiko Carstens          2026-07-27  635  	jit->tail_call_start = jit->prg - cfi_get_offset();
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  636  	if (fp->aux->exception_cb) {
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  637  		/*
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  638  		 * Switch stack, the new address is in the 2nd parameter.
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  639  		 *
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  640  		 * Arrange the restoration of %r6-%r15 in the epilogue.
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  641  		 * Do not restore them now, the prog does not need them.
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  642  		 */
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  643  		/* lgr %r15,%r3 */
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  644  		EMIT4(0xb9040000, REG_15, REG_3);
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  645  		jit->seen_regs |= NVREGS;
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  646  	} else {
054623105728b06 Michael Holzheu         2015-04-01  647  		/* Save registers */
b2268d550d20ff8 Ilya Leoshkevich        2025-06-24  648  		save_restore_regs(jit, REGS_SAVE,
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03 @649  				  fp->aux->exception_boundary ? NVREGS : 0);
fa7bd4b000a7ae3 Ilya Leoshkevich        2024-07-03  650  	}
c10302efe569bfd Martin Schwidefsky      2012-07-31  651  	/* Setup literal pool */
fcf35131396ace1 Ilya Leoshkevich        2019-11-14  652  	if (is_first_pass(jit) || (jit->seen & SEEN_LITERAL)) {
c1aff5682da2977 Ilya Leoshkevich        2019-11-18  653  		if (!is_first_pass(jit) &&
c1aff5682da2977 Ilya Leoshkevich        2019-11-18  654  		    is_valid_ldisp(jit->size - (jit->prg + 2))) {
c1aff5682da2977 Ilya Leoshkevich        2019-11-18  655  			/* basr %l,0 */
054623105728b06 Michael Holzheu         2015-04-01  656  			EMIT2(0x0d00, REG_L, REG_0);
c10302efe569bfd Martin Schwidefsky      2012-07-31  657  			jit->base_ip = jit->prg;
c1aff5682da2977 Ilya Leoshkevich        2019-11-18  658  		} else {
c1aff5682da2977 Ilya Leoshkevich        2019-11-18  659  			/* larl %l,lit32_start */
c1aff5682da2977 Ilya Leoshkevich        2019-11-18  660  			EMIT6_PCREL_RILB(0xc0000000, REG_L, jit->lit32_start);
c1aff5682da2977 Ilya Leoshkevich        2019-11-18  661  			jit->base_ip = jit->lit32_start;
c1aff5682da2977 Ilya Leoshkevich        2019-11-18  662  		}
c10302efe569bfd Martin Schwidefsky      2012-07-31  663  	}
054623105728b06 Michael Holzheu         2015-04-01  664  	/* Setup stack and backchain */
fcf35131396ace1 Ilya Leoshkevich        2019-11-14  665  	if (is_first_pass(jit) || (jit->seen & SEEN_STACK)) {
88aeca15d637c27 Michael Holzheu         2015-06-01  666  		/* lgr %w1,%r15 (backchain) */
88aeca15d637c27 Michael Holzheu         2015-06-01  667  		EMIT4(0xb9040000, REG_W1, REG_15);
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  668  		/* la %bfp,unused_end(%r15) (BPF frame pointer) */
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  669  		EMIT4_DISP(0x41000000, BPF_REG_FP, REG_15,
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  670  			   offsetofend(struct prog_frame, unused));
b2268d550d20ff8 Ilya Leoshkevich        2025-06-24  671  		/* aghi %r15,-frame_off */
b2268d550d20ff8 Ilya Leoshkevich        2025-06-24  672  		EMIT4_IMM(0xa70b0000, REG_15, -jit->frame_off);
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  673  		/* stg %w1,backchain(%r15) */
88aeca15d637c27 Michael Holzheu         2015-06-01  674  		EMIT6_DISP_LH(0xe3000000, 0x0024, REG_W1, REG_0,
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  675  			      REG_15,
e26d523edf2a62b Ilya Leoshkevich        2025-06-24  676  			      offsetof(struct prog_frame, backchain));
054623105728b06 Michael Holzheu         2015-04-01  677  	}
6d59b7dbf72ed20 Daniel Borkmann         2017-12-14  678  }
c10302efe569bfd Martin Schwidefsky      2012-07-31  679  

:::::: The code at line 649 was first introduced by commit
:::::: fa7bd4b000a7ae32eb6fc049125943561e5b46f3 s390/bpf: Implement exceptions

:::::: TO: Ilya Leoshkevich <iii@linux.ibm.com>
:::::: CC: Daniel Borkmann <daniel@iogearbox.net>

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

                 reply	other threads:[~2026-10-28 20:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202610282018.wVaIICD7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=memxor@gmail.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 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.