All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC][PATCH 05/24] x86/entry: Implement ret_from_fork body with C code
Date: Mon, 16 Nov 2020 05:34:45 +0800	[thread overview]
Message-ID: <202011160534.nNeHXROL-lkp@intel.com> (raw)
In-Reply-To: <20201109144425.270789-6-alexandre.chartre@oracle.com>

[-- Attachment #1: Type: text/plain, Size: 3070 bytes --]

Hi Alexandre,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on tip/x86/mm]
[also build test WARNING on v5.10-rc3 next-20201113]
[cannot apply to tip/x86/core tip/x86/asm]
[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]

url:    https://github.com/0day-ci/linux/commits/Alexandre-Chartre/x86-pti-Defer-CR3-switch-to-C-code/20201109-225007
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 1fcd009102ee02e217f2e7635ab65517d785da8e
config: i386-randconfig-r014-20201109 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/63533707f1058d9d8eccb278eb735d9f88fdd222
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Alexandre-Chartre/x86-pti-Defer-CR3-switch-to-C-code/20201109-225007
        git checkout 63533707f1058d9d8eccb278eb735d9f88fdd222
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/x86/entry/common.c:38:24: warning: no previous prototype for 'return_from_fork' [-Wmissing-prototypes]
      38 | __visible noinstr void return_from_fork(struct pt_regs *regs,
         |                        ^~~~~~~~~~~~~~~~
   arch/x86/entry/common.c:112:24: warning: no previous prototype for 'do_int80_syscall_32' [-Wmissing-prototypes]
     112 | __visible noinstr void do_int80_syscall_32(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~~
   arch/x86/entry/common.c:171:24: warning: no previous prototype for 'do_fast_syscall_32' [-Wmissing-prototypes]
     171 | __visible noinstr long do_fast_syscall_32(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~
   arch/x86/entry/common.c:223:24: warning: no previous prototype for 'do_SYSENTER_32' [-Wmissing-prototypes]
     223 | __visible noinstr long do_SYSENTER_32(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~

vim +/return_from_fork +38 arch/x86/entry/common.c

    37	
  > 38	__visible noinstr void return_from_fork(struct pt_regs *regs,
    39						struct task_struct *prev,
    40						void (*kfunc)(void *), void *kargs)
    41	{
    42		schedule_tail(prev);
    43		if (kfunc) {
    44			/* kernel thread */
    45			kfunc(kargs);
    46			/*
    47			 * A kernel thread is allowed to return here after
    48			 * successfully calling kernel_execve(). Exit to
    49			 * userspace to complete the execve() syscall.
    50			 */
    51			regs->ax = 0;
    52		}
    53		syscall_exit_to_user_mode(regs);
    54	}
    55	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31392 bytes --]

  parent reply	other threads:[~2020-11-15 21:34 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-09 14:44 [RFC][PATCH 00/24] x86/pti: Defer CR3 switch to C code Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 01/24] x86/syscall: Add wrapper for invoking syscall function Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 02/24] x86/entry: Update asm_call_on_stack to support more function arguments Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 03/24] x86/entry: Consolidate IST entry from userspace Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 04/24] x86/sev-es: Define a setup stack function for the VC idtentry Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 05/24] x86/entry: Implement ret_from_fork body with C code Alexandre Chartre
2020-11-10 16:24   ` kernel test robot
2020-11-15 21:26   ` kernel test robot
2020-11-15 21:34   ` kernel test robot [this message]
2020-11-09 14:44 ` [RFC][PATCH 06/24] x86/pti: Provide C variants of PTI switch CR3 macros Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 07/24] x86/entry: Fill ESPFIX stack using C code Alexandre Chartre
2020-11-10 16:52   ` kernel test robot
2020-11-09 14:44 ` [RFC][PATCH 08/24] x86/entry: Add C version of SWAPGS and SWAPGS_UNSAFE_STACK Alexandre Chartre
2020-11-09 19:55   ` Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 09/24] x86/entry: Add C version of paranoid_entry/exit Alexandre Chartre
2020-11-10 18:40   ` kernel test robot
2020-11-09 14:44 ` [RFC][PATCH 10/24] x86/pti: Introduce per-task PTI trampoline stack Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 11/24] x86/pti: Function to clone page-table entries from a specified mm Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 12/24] x86/pti: Function to map per-cpu page-table entry Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 13/24] x86/pti: Extend PTI user mappings Alexandre Chartre
2020-11-09 19:56   ` Alexandre Chartre
2020-11-10 23:39     ` Andy Lutomirski
2020-11-11  8:55       ` Alexandre Chartre
2020-11-13  8:48   ` kernel test robot
2020-11-09 14:44 ` [RFC][PATCH 14/24] x86/pti: Use PTI stack instead of trampoline stack Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 15/24] x86/pti: Execute syscall functions on the kernel stack Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 16/24] x86/pti: Execute IDT handlers " Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 17/24] x86/pti: Execute IDT handlers with error code " Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 18/24] x86/pti: Execute system vector handlers " Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 19/24] x86/pti: Execute page fault handler " Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 20/24] x86/pti: Execute NMI " Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 21/24] x86/entry: Disable stack-protector for IST entry C handlers Alexandre Chartre
2020-11-13  7:58   ` kernel test robot
2020-11-13 18:59     ` Nick Desaulniers
2020-11-13 18:59       ` Nick Desaulniers
2020-11-13 19:39       ` Alexandre Chartre
2020-11-13 19:39         ` Alexandre Chartre
2020-11-13 19:45         ` Nick Desaulniers
2020-11-13 19:45           ` Nick Desaulniers
2020-11-13 23:47       ` Segher Boessenkool
2020-11-14  0:01         ` Miguel Ojeda
2020-11-14  0:01           ` Miguel Ojeda
2020-11-14  0:26           ` Segher Boessenkool
2020-11-14  1:58             ` Miguel Ojeda
2020-11-14  1:58               ` Miguel Ojeda
2020-11-14 10:20               ` Ard Biesheuvel
2020-11-14 10:20                 ` Ard Biesheuvel
2020-11-25 19:56                 ` Kees Cook
2020-11-25 19:56                   ` Kees Cook
2020-11-25 23:00                   ` Segher Boessenkool
2020-11-26  6:40                     ` Ard Biesheuvel
2020-11-26  6:40                       ` Ard Biesheuvel
2020-11-26 20:22                       ` Segher Boessenkool
2020-11-26 21:05                         ` Arvind Sankar
2020-11-26 21:05                           ` Arvind Sankar
2020-11-26 22:00                         ` Ard Biesheuvel
2020-11-26 22:00                           ` Ard Biesheuvel
2020-11-14  0:11         ` Nick Desaulniers
2020-11-14  0:11           ` Nick Desaulniers
2020-11-14  0:43           ` Segher Boessenkool
2020-11-14  0:48             ` Nick Desaulniers
2020-11-14  0:48               ` Nick Desaulniers
2020-11-09 14:44 ` [RFC][PATCH 22/24] x86/entry: Defer paranoid entry/exit to C code Alexandre Chartre
2020-11-15 22:51   ` kernel test robot
2020-11-09 14:44 ` [RFC][PATCH 23/24] x86/entry: Remove paranoid_entry and paranoid_exit Alexandre Chartre
2020-11-09 14:44 ` [RFC][PATCH 24/24] x86/pti: Defer CR3 switch to C code for non-IST and syscall entries Alexandre Chartre
2020-11-09 19:35 ` [RFC][PATCH 00/24] x86/pti: Defer CR3 switch to C code Dave Hansen
2020-11-09 19:53   ` Alexandre Chartre
  -- strict thread matches above, loose matches on Subject: below --
2020-11-09 11:22 Alexandre Chartre
2020-11-09 11:23 ` [RFC][PATCH 05/24] x86/entry: Implement ret_from_fork body with " Alexandre Chartre

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=202011160534.nNeHXROL-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.