All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: Re: [PATCH] lkdtm: Add more EFI runtime tests
Date: Mon, 12 Oct 2026 07:19:02 +0800	[thread overview]
Message-ID: <202610120736.AeXVWn3u-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "maintainer prefers to test the version of patch actually in efi/next"
:::::: Manual check reason: "code appeared briefly on ardb's branch, may never have been submitted for review"
:::::: 

BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261011114013.1130-2-ardb@kernel.org>
References: <20261011114013.1130-2-ardb@kernel.org>
TO: Ard Biesheuvel <ardb@kernel.org>
TO: linux-efi@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: kees@kernel.org
CC: Ard Biesheuvel <ardb@kernel.org>

Hi Ard,

kernel test robot noticed the following build errors:

[auto build test ERROR on efi/next]
[also build test ERROR on char-misc/char-misc-testing char-misc/char-misc-next char-misc/char-misc-linus linus/master v7.3-rc6 next-20261009]
[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/Ard-Biesheuvel/lkdtm-Add-more-EFI-runtime-tests/20261011-134014
base:   https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
patch link:    https://lore.kernel.org/r/20261011114013.1130-2-ardb%40kernel.org
patch subject: [PATCH] lkdtm: Add more EFI runtime tests
:::::: branch date: 11 hours ago
:::::: commit date: 11 hours ago
config: i386-randconfig-1002-20261012 (https://download.01.org/0day-ci/archive/20261012/202610120736.AeXVWn3u-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261012/202610120736.AeXVWn3u-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/202610120736.AeXVWn3u-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/misc/lkdtm/bugs.c:846:28: error: no member named 'lkdtm_rt_test' in 'struct efi'
     846 |         efi_status_t status = efi.lkdtm_rt_test(id);
         |                               ~~~ ^
>> drivers/misc/lkdtm/bugs.c:857:14: error: use of undeclared identifier 'EFI_LKDTM_RUNTIME_RO_TEST'
     857 |         efi_rt_test(EFI_LKDTM_RUNTIME_RO_TEST, "write to RO");
         |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/misc/lkdtm/bugs.c:862:14: error: use of undeclared identifier 'EFI_LKDTM_RUNTIME_NX_TEST'
     862 |         efi_rt_test(EFI_LKDTM_RUNTIME_NX_TEST, "branch to NX");
         |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
   3 errors generated.


vim +846 drivers/misc/lkdtm/bugs.c

a34039981e6deb0 Ard Biesheuvel 2026-05-01  843  
c118951036e5315 Ard Biesheuvel 2026-10-11  844  static void efi_rt_test(enum efi_rts_ids id, const char *desc)
c118951036e5315 Ard Biesheuvel 2026-10-11  845  {
c118951036e5315 Ard Biesheuvel 2026-10-11 @846  	efi_status_t status = efi.lkdtm_rt_test(id);
c118951036e5315 Ard Biesheuvel 2026-10-11  847  
c118951036e5315 Ard Biesheuvel 2026-10-11  848  	if (status == EFI_UNSUPPORTED)
c118951036e5315 Ard Biesheuvel 2026-10-11  849  		pr_err("XFAIL: Test not supported on this configuration\n");
c118951036e5315 Ard Biesheuvel 2026-10-11  850  	else if (status != EFI_ABORTED || efi_enabled(EFI_RUNTIME_SERVICES))
c118951036e5315 Ard Biesheuvel 2026-10-11  851  		pr_err("FAIL: EFI %s memory not caught (%#lx)\n",
c118951036e5315 Ard Biesheuvel 2026-10-11  852  		       desc, status);
c118951036e5315 Ard Biesheuvel 2026-10-11  853  }
c118951036e5315 Ard Biesheuvel 2026-10-11  854  
c118951036e5315 Ard Biesheuvel 2026-10-11  855  static void __maybe_unused lkdtm_EFI_RUNTIME_WRITE_TO_RO(void)
c118951036e5315 Ard Biesheuvel 2026-10-11  856  {
c118951036e5315 Ard Biesheuvel 2026-10-11 @857  	efi_rt_test(EFI_LKDTM_RUNTIME_RO_TEST, "write to RO");
c118951036e5315 Ard Biesheuvel 2026-10-11  858  }
c118951036e5315 Ard Biesheuvel 2026-10-11  859  
c118951036e5315 Ard Biesheuvel 2026-10-11  860  static void __maybe_unused lkdtm_EFI_RUNTIME_BRANCH_TO_NX(void)
c118951036e5315 Ard Biesheuvel 2026-10-11  861  {
c118951036e5315 Ard Biesheuvel 2026-10-11 @862  	efi_rt_test(EFI_LKDTM_RUNTIME_NX_TEST, "branch to NX");
c118951036e5315 Ard Biesheuvel 2026-10-11  863  }
c118951036e5315 Ard Biesheuvel 2026-10-11  864  

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

             reply	other threads:[~2026-10-11 23:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-11 23:19 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-10-11 21:33 [PATCH] lkdtm: Add more EFI runtime tests kernel test robot
2026-10-11 14:48 MaeeFilho FL
2026-10-12  5:23 ` Ard Biesheuvel
2026-10-11 11:40 Ard Biesheuvel
2026-10-12 17:07 ` Kees Cook

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=202610120736.AeXVWn3u-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@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.