All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christoph Muellner <christoph.muellner@vrull.eu>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 3/5] uapi: prctl: Add new prctl call to set/get the memory consistency model
Date: Fri, 24 Nov 2023 23:42:03 +0800	[thread overview]
Message-ID: <202311241915.1PboZbFO-lkp@intel.com> (raw)
In-Reply-To: <20231124072142.2786653-4-christoph.muellner@vrull.eu>

Hi Christoph,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on shuah-kselftest/next]
[also build test ERROR on shuah-kselftest/fixes linus/master v6.7-rc2 next-20231124]
[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/Christoph-Muellner/RISC-V-Add-basic-Ssdtso-support/20231124-153009
base:   https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next
patch link:    https://lore.kernel.org/r/20231124072142.2786653-4-christoph.muellner%40vrull.eu
patch subject: [RFC PATCH 3/5] uapi: prctl: Add new prctl call to set/get the memory consistency model
config: x86_64-randconfig-001-20231124 (https://download.01.org/0day-ci/archive/20231124/202311241915.1PboZbFO-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231124/202311241915.1PboZbFO-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/202311241915.1PboZbFO-lkp@intel.com/

All errors (new ones prefixed by >>):

   kernel/sys.c: In function '__do_sys_prctl':
>> kernel/sys.c:150:41: error: called object is not a function or function pointer
     150 | # define SET_MEMORY_CONSISTENCY_MODEL   (-EINVAL)
         |                                         ^
   kernel/sys.c:2749:25: note: in expansion of macro 'SET_MEMORY_CONSISTENCY_MODEL'
    2749 |                 error = SET_MEMORY_CONSISTENCY_MODEL(arg2);
         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   kernel/sys.c:153:41: error: called object is not a function or function pointer
     153 | # define GET_MEMORY_CONSISTENCY_MODEL   (-EINVAL)
         |                                         ^
   kernel/sys.c:2752:25: note: in expansion of macro 'GET_MEMORY_CONSISTENCY_MODEL'
    2752 |                 error = GET_MEMORY_CONSISTENCY_MODEL();
         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +150 kernel/sys.c

    79	
    80	#ifndef SET_UNALIGN_CTL
    81	# define SET_UNALIGN_CTL(a, b)	(-EINVAL)
    82	#endif
    83	#ifndef GET_UNALIGN_CTL
    84	# define GET_UNALIGN_CTL(a, b)	(-EINVAL)
    85	#endif
    86	#ifndef SET_FPEMU_CTL
    87	# define SET_FPEMU_CTL(a, b)	(-EINVAL)
    88	#endif
    89	#ifndef GET_FPEMU_CTL
    90	# define GET_FPEMU_CTL(a, b)	(-EINVAL)
    91	#endif
    92	#ifndef SET_FPEXC_CTL
    93	# define SET_FPEXC_CTL(a, b)	(-EINVAL)
    94	#endif
    95	#ifndef GET_FPEXC_CTL
    96	# define GET_FPEXC_CTL(a, b)	(-EINVAL)
    97	#endif
    98	#ifndef GET_ENDIAN
    99	# define GET_ENDIAN(a, b)	(-EINVAL)
   100	#endif
   101	#ifndef SET_ENDIAN
   102	# define SET_ENDIAN(a, b)	(-EINVAL)
   103	#endif
   104	#ifndef GET_TSC_CTL
   105	# define GET_TSC_CTL(a)		(-EINVAL)
   106	#endif
   107	#ifndef SET_TSC_CTL
   108	# define SET_TSC_CTL(a)		(-EINVAL)
   109	#endif
   110	#ifndef GET_FP_MODE
   111	# define GET_FP_MODE(a)		(-EINVAL)
   112	#endif
   113	#ifndef SET_FP_MODE
   114	# define SET_FP_MODE(a,b)	(-EINVAL)
   115	#endif
   116	#ifndef SVE_SET_VL
   117	# define SVE_SET_VL(a)		(-EINVAL)
   118	#endif
   119	#ifndef SVE_GET_VL
   120	# define SVE_GET_VL()		(-EINVAL)
   121	#endif
   122	#ifndef SME_SET_VL
   123	# define SME_SET_VL(a)		(-EINVAL)
   124	#endif
   125	#ifndef SME_GET_VL
   126	# define SME_GET_VL()		(-EINVAL)
   127	#endif
   128	#ifndef PAC_RESET_KEYS
   129	# define PAC_RESET_KEYS(a, b)	(-EINVAL)
   130	#endif
   131	#ifndef PAC_SET_ENABLED_KEYS
   132	# define PAC_SET_ENABLED_KEYS(a, b, c)	(-EINVAL)
   133	#endif
   134	#ifndef PAC_GET_ENABLED_KEYS
   135	# define PAC_GET_ENABLED_KEYS(a)	(-EINVAL)
   136	#endif
   137	#ifndef SET_TAGGED_ADDR_CTRL
   138	# define SET_TAGGED_ADDR_CTRL(a)	(-EINVAL)
   139	#endif
   140	#ifndef GET_TAGGED_ADDR_CTRL
   141	# define GET_TAGGED_ADDR_CTRL()		(-EINVAL)
   142	#endif
   143	#ifndef RISCV_V_SET_CONTROL
   144	# define RISCV_V_SET_CONTROL(a)		(-EINVAL)
   145	#endif
   146	#ifndef RISCV_V_GET_CONTROL
   147	# define RISCV_V_GET_CONTROL()		(-EINVAL)
   148	#endif
   149	#ifndef SET_MEMORY_CONSISTENCY_MODEL
 > 150	# define SET_MEMORY_CONSISTENCY_MODEL	(-EINVAL)
   151	#endif
   152	#ifndef GET_MEMORY_CONSISTENCY_MODEL
   153	# define GET_MEMORY_CONSISTENCY_MODEL	(-EINVAL)
   154	#endif
   155	

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

  parent reply	other threads:[~2023-11-24 15:42 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-24  7:21 [RFC PATCH 0/5] RISC-V: Add dynamic TSO support Christoph Muellner
2023-11-24  7:21 ` Christoph Muellner
2023-11-24  7:21 ` [RFC PATCH 1/5] RISC-V: Add basic Ssdtso support Christoph Muellner
2023-11-24  7:21   ` Christoph Muellner
2023-11-24  7:21 ` [RFC PATCH 2/5] RISC-V: Expose Ssdtso via hwprobe API Christoph Muellner
2023-11-24  7:21   ` Christoph Muellner
2023-11-27 14:32   ` Samuel Holland
2023-11-27 14:32     ` Samuel Holland
2023-11-27 14:36     ` Christoph Müllner
2023-11-27 14:36       ` Christoph Müllner
2023-11-24  7:21 ` [RFC PATCH 3/5] uapi: prctl: Add new prctl call to set/get the memory consistency model Christoph Muellner
2023-11-24  7:21   ` Christoph Muellner
2023-11-24 15:41   ` kernel test robot
2023-11-24 15:42   ` kernel test robot [this message]
2023-11-24 15:42   ` kernel test robot
2023-11-24  7:21 ` [RFC PATCH 4/5] RISC-V: Implement " Christoph Muellner
2023-11-24  7:21   ` Christoph Muellner
2023-11-24  7:21 ` [RFC PATCH 5/5] RISC-V: selftests: Add DTSO tests Christoph Muellner
2023-11-24  7:21   ` Christoph Muellner
2023-11-24 10:15 ` [RFC PATCH 0/5] RISC-V: Add dynamic TSO support Peter Zijlstra
2023-11-24 10:15   ` Peter Zijlstra
2023-11-24 10:53   ` Christoph Müllner
2023-11-24 10:53     ` Christoph Müllner
2023-11-24 11:49     ` Peter Zijlstra
2023-11-24 11:49       ` Peter Zijlstra
     [not found]   ` <59da3e41-abb3-405a-8f98-c74bdf26935b@huaweicloud.com>
2023-11-24 11:54     ` Peter Zijlstra
2023-11-24 11:54       ` Peter Zijlstra
2023-11-24 13:05       ` Michael Ellerman
2023-11-24 13:05         ` Michael Ellerman
2023-11-26 12:34       ` Guo Ren
2023-11-26 12:34         ` Guo Ren
2023-11-27 12:14       ` Mark Rutland
2023-11-27 12:14         ` Mark Rutland
2024-02-08 11:10     ` Andrea Parri
2024-02-08 11:10       ` Andrea Parri
2023-11-25  2:51   ` Guo Ren
2023-11-25  2:51     ` Guo Ren
2023-11-27 11:16     ` Peter Zijlstra
2023-11-27 11:16       ` Peter Zijlstra
2023-11-28  1:42       ` Guo Ren
2023-11-28  1:42         ` Guo Ren
2023-11-27 10:36 ` Conor Dooley
2023-11-27 10:36   ` Conor Dooley
2023-11-27 12:58   ` Christoph Müllner
2023-11-27 12:58     ` Christoph Müllner

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=202311241915.1PboZbFO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=christoph.muellner@vrull.eu \
    --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.