From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: Re: [RFC PATCH 2/3] riscv: add support for SBI Supervisor Software Events extension
Date: Mon, 30 Oct 2023 21:47:56 +0800 [thread overview]
Message-ID: <202310302119.PQRASCF7-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "git am base is a link in commit message"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20231026143122.279437-3-cleger@rivosinc.com>
References: <20231026143122.279437-3-cleger@rivosinc.com>
TO: "Clément Léger" <cleger@rivosinc.com>
Hi Clément,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.6]
[cannot apply to next-20231030]
[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/Cl-ment-L-ger/riscv-add-SBI-SSE-extension-definitions/20231026-223410
base: linus/master
patch link: https://lore.kernel.org/r/20231026143122.279437-3-cleger%40rivosinc.com
patch subject: [RFC PATCH 2/3] riscv: add support for SBI Supervisor Software Events extension
:::::: branch date: 4 days ago
:::::: commit date: 4 days ago
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20231030/202310302119.PQRASCF7-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231030/202310302119.PQRASCF7-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/202310302119.PQRASCF7-lkp@intel.com/
Note: functions only called from assembly code should be annotated with the asmlinkage attribute
All warnings (new ones prefixed by >>):
>> arch/riscv/kernel/sse.c:36:15: warning: no previous prototype for 'do_sse' [-Wmissing-prototypes]
36 | unsigned long do_sse(unsigned long evt, struct sse_interrupted_state *i_state,
| ^~~~~~
vim +/do_sse +36 arch/riscv/kernel/sse.c
a77c752ef9c2a1 Clément Léger 2023-10-26 35
a77c752ef9c2a1 Clément Léger 2023-10-26 @36 unsigned long do_sse(unsigned long evt, struct sse_interrupted_state *i_state,
a77c752ef9c2a1 Clément Léger 2023-10-26 37 sse_event_handler *handler, void *arg)
a77c752ef9c2a1 Clément Léger 2023-10-26 38 {
a77c752ef9c2a1 Clément Léger 2023-10-26 39 int ret;
a77c752ef9c2a1 Clément Léger 2023-10-26 40 struct pt_regs regs;
a77c752ef9c2a1 Clément Léger 2023-10-26 41
a77c752ef9c2a1 Clément Léger 2023-10-26 42 nmi_enter();
a77c752ef9c2a1 Clément Léger 2023-10-26 43
a77c752ef9c2a1 Clément Léger 2023-10-26 44 sse_get_pt_regs(i_state, ®s);
a77c752ef9c2a1 Clément Léger 2023-10-26 45 ret = handler(evt, arg, ®s);
a77c752ef9c2a1 Clément Léger 2023-10-26 46 if (ret)
a77c752ef9c2a1 Clément Léger 2023-10-26 47 pr_warn("event %lx handler failed with error %d\n", evt, ret);
a77c752ef9c2a1 Clément Léger 2023-10-26 48
a77c752ef9c2a1 Clément Léger 2023-10-26 49 /* The SSE delivery path does not uses the "standard" exception path and
a77c752ef9c2a1 Clément Léger 2023-10-26 50 * thus does not process any pending signal/softirqs. Some drivers might
a77c752ef9c2a1 Clément Léger 2023-10-26 51 * enqueue pending work that needs to be handled as soon as possible.
a77c752ef9c2a1 Clément Léger 2023-10-26 52 * For that purpose, set the software interrupt pending bit
a77c752ef9c2a1 Clément Léger 2023-10-26 53 */
a77c752ef9c2a1 Clément Léger 2023-10-26 54 csr_set(CSR_IP, IE_SIE);
a77c752ef9c2a1 Clément Léger 2023-10-26 55
a77c752ef9c2a1 Clément Léger 2023-10-26 56 nmi_exit();
a77c752ef9c2a1 Clément Léger 2023-10-26 57
a77c752ef9c2a1 Clément Léger 2023-10-26 58 return ret ? SBI_SSE_HANDLER_FAILED : SBI_SSE_HANDLER_SUCCESS;
a77c752ef9c2a1 Clément Léger 2023-10-26 59 }
a77c752ef9c2a1 Clément Léger 2023-10-26 60
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <yujie.liu@intel.com>
To: "Clément Léger" <cleger@rivosinc.com>
Cc: <oe-kbuild-all@lists.linux.dev>
Subject: Re: [RFC PATCH 2/3] riscv: add support for SBI Supervisor Software Events extension
Date: Tue, 31 Oct 2023 10:23:51 +0800 [thread overview]
Message-ID: <202310302119.PQRASCF7-lkp@intel.com> (raw)
In-Reply-To: <20231026143122.279437-3-cleger@rivosinc.com>
Hi Clément,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.6]
[cannot apply to next-20231030]
[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/Cl-ment-L-ger/riscv-add-SBI-SSE-extension-definitions/20231026-223410
base: linus/master
patch link: https://lore.kernel.org/r/20231026143122.279437-3-cleger%40rivosinc.com
patch subject: [RFC PATCH 2/3] riscv: add support for SBI Supervisor Software Events extension
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20231030/202310302119.PQRASCF7-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231030/202310302119.PQRASCF7-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 <yujie.liu@intel.com>
| Closes: https://lore.kernel.org/r/202310302119.PQRASCF7-lkp@intel.com/
Note: functions only called from assembly code should be annotated with the asmlinkage attribute
All warnings (new ones prefixed by >>):
>> arch/riscv/kernel/sse.c:36:15: warning: no previous prototype for 'do_sse' [-Wmissing-prototypes]
36 | unsigned long do_sse(unsigned long evt, struct sse_interrupted_state *i_state,
| ^~~~~~
vim +/do_sse +36 arch/riscv/kernel/sse.c
a77c752ef9c2a1 Clément Léger 2023-10-26 35
a77c752ef9c2a1 Clément Léger 2023-10-26 @36 unsigned long do_sse(unsigned long evt, struct sse_interrupted_state *i_state,
a77c752ef9c2a1 Clément Léger 2023-10-26 37 sse_event_handler *handler, void *arg)
a77c752ef9c2a1 Clément Léger 2023-10-26 38 {
a77c752ef9c2a1 Clément Léger 2023-10-26 39 int ret;
a77c752ef9c2a1 Clément Léger 2023-10-26 40 struct pt_regs regs;
a77c752ef9c2a1 Clément Léger 2023-10-26 41
a77c752ef9c2a1 Clément Léger 2023-10-26 42 nmi_enter();
a77c752ef9c2a1 Clément Léger 2023-10-26 43
a77c752ef9c2a1 Clément Léger 2023-10-26 44 sse_get_pt_regs(i_state, ®s);
a77c752ef9c2a1 Clément Léger 2023-10-26 45 ret = handler(evt, arg, ®s);
a77c752ef9c2a1 Clément Léger 2023-10-26 46 if (ret)
a77c752ef9c2a1 Clément Léger 2023-10-26 47 pr_warn("event %lx handler failed with error %d\n", evt, ret);
a77c752ef9c2a1 Clément Léger 2023-10-26 48
a77c752ef9c2a1 Clément Léger 2023-10-26 49 /* The SSE delivery path does not uses the "standard" exception path and
a77c752ef9c2a1 Clément Léger 2023-10-26 50 * thus does not process any pending signal/softirqs. Some drivers might
a77c752ef9c2a1 Clément Léger 2023-10-26 51 * enqueue pending work that needs to be handled as soon as possible.
a77c752ef9c2a1 Clément Léger 2023-10-26 52 * For that purpose, set the software interrupt pending bit
a77c752ef9c2a1 Clément Léger 2023-10-26 53 */
a77c752ef9c2a1 Clément Léger 2023-10-26 54 csr_set(CSR_IP, IE_SIE);
a77c752ef9c2a1 Clément Léger 2023-10-26 55
a77c752ef9c2a1 Clément Léger 2023-10-26 56 nmi_exit();
a77c752ef9c2a1 Clément Léger 2023-10-26 57
a77c752ef9c2a1 Clément Léger 2023-10-26 58 return ret ? SBI_SSE_HANDLER_FAILED : SBI_SSE_HANDLER_SUCCESS;
a77c752ef9c2a1 Clément Léger 2023-10-26 59 }
a77c752ef9c2a1 Clément Léger 2023-10-26 60
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2023-10-30 13:49 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-30 13:47 kernel test robot [this message]
2023-10-31 2:23 ` [RFC PATCH 2/3] riscv: add support for SBI Supervisor Software Events extension kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-10-31 4:54 kernel test robot
2023-11-02 5:25 ` kernel test robot
2023-10-26 14:31 [RFC PATCH 0/3] riscv: add support for SBI Supervisor Software Events Clément Léger
2023-10-26 14:31 ` Clément Léger
2023-10-26 14:31 ` Clément Léger
2023-10-26 14:31 ` [RFC PATCH 1/3] riscv: add SBI SSE extension definitions Clément Léger
2023-10-26 14:31 ` Clément Léger
2023-10-26 14:31 ` Clément Léger
2023-10-26 14:31 ` [RFC PATCH 2/3] riscv: add support for SBI Supervisor Software Events extension Clément Léger
2023-10-26 14:31 ` Clément Léger
2023-10-26 14:31 ` Clément Léger
2023-10-26 14:31 ` [RFC PATCH 3/3] perf: RISC-V: add support for SSE event Clément Léger
2023-10-26 14:31 ` Clément Léger
2023-10-26 14:31 ` Clément Léger
2023-10-26 19:52 ` Atish Patra
2023-10-26 19:52 ` Atish Patra
2023-10-26 19:52 ` Atish Patra
2023-12-07 9:09 ` [External] [RFC PATCH 0/3] riscv: add support for SBI Supervisor Software Events Xu Lu
2023-12-07 9:09 ` Xu Lu
2023-12-07 9:09 ` Xu Lu
2023-12-07 9:23 ` Clément Léger
2023-12-07 9:23 ` Clément Léger
2023-12-07 9:23 ` Clément Léger
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=202310302119.PQRASCF7-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.