From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D5834C433F5 for ; Tue, 5 Apr 2022 17:42:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PKrtO8aXIf+zkDI8Gds65wSDGW+GR9B4c3YYU8JVetc=; b=pUFNanyV8oE08a gZLvhBsS73AvCicfUm4iY/8jCa5tBsdrzVoaYNLIcZSLdfmrxqvvuWwAJ1NRWNI8IuePD0aKhuda0 lW+QYilml4smrOZ5fyXVwZ9qfTdwVJ4Qi/LqEei2XQiGbCAUt6JP5mtEXKLVGZwxxwC96w8f4NtTB yH1cIxdHINK+yeZPHzZ6KBaJQo//dvwl3aolLtuDdD2sPNtce4DEEuEzXWgkyKhb6aFw9B44S65pQ 6olWtp6PqwmpIxZVygK25cg+YTllj1zZ+oyrYdKtw2Eo7sOpc/pSR6iumcVrK21cV8f0EEOUO2NCU rmP1aMfwOZQDZt0dgYRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbnBS-0027Nb-IO; Tue, 05 Apr 2022 17:41:38 +0000 Received: from mga07.intel.com ([134.134.136.100]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbnBN-0027ML-Cp for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2022 17:41:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649180493; x=1680716493; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=d1uggptIEOdH6XP927KXNMIpnt0NmVSeFNANlHp6nPQ=; b=kxQBRKWDqtWCHSlmslbAcZGvbB4MQ1cisWRftacalbBuUljmGs3JvHBB SRgM1yPUKSYCfsTCzSClnEZko9hGvdanu+5fG3oxZteDdkrw1CuWx7/Nd c6NEpji6f5TclMkW6wz6eF9+sj0C7qM5wvWfolM+W2tjlKJxG9yOxiNm7 GgCNeUupQEk0tZ2XWZBmcdK+Wz1T2h7+YfoN9fRtaHTMdKLQO8hDCTJZt +fXIIEdfOnHTNipUyFa8U0FubR8+k3tYLG1o2iTXZBnfPgdA+OvAZWFD7 Kxyi4KHsTjyFNr5TXXOv1v7qpsvouJ13kKOz7/XAxrl8FuMAb8+O28FyB Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10308"; a="323992305" X-IronPort-AV: E=Sophos;i="5.90,236,1643702400"; d="scan'208";a="323992305" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2022 10:41:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,236,1643702400"; d="scan'208";a="523555238" Received: from lkp-server02.sh.intel.com (HELO a44fdfb70b94) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 05 Apr 2022 10:41:25 -0700 Received: from kbuild by a44fdfb70b94 with local (Exim 4.95) (envelope-from ) id 1nbnBE-0003dj-Br; Tue, 05 Apr 2022 17:41:24 +0000 Date: Wed, 6 Apr 2022 01:40:38 +0800 From: kernel test robot To: Masami Hiramatsu , Alexei Starovoitov Cc: kbuild-all@lists.01.org, Daniel Borkmann , Shubham Bansal , Andrii Nakryiko , Masami Hiramatsu , bpf@vger.kernel.org, kernel-team@fb.com, Jiri Olsa , Steven Rostedt , "Naveen N . Rao" , Anil S Keshavamurthy , "David S . Miller" , linux-kernel@vger.kernel.org, Mark Rutland , Will Deacon , Ard Biesheuvel , Russell King , Catalin Marinas , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH bpf 4/4] arm64: rethook: Replace kretprobe trampoline with rethook Message-ID: <202204060119.lme7uoGl-lkp@intel.com> References: <164915126392.982637.10302202550404803304.stgit@devnote2> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <164915126392.982637.10302202550404803304.stgit@devnote2> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220405_104133_597057_7640BBF9 X-CRM114-Status: GOOD ( 13.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Masami, I love your patch! Perhaps something to improve: [auto build test WARNING on bpf/master] url: https://github.com/intel-lab-lkp/linux/commits/Masami-Hiramatsu/kprobes-rethook-ARM-arm64-Replace-kretprobe-trampoline-with-rethook/20220405-195153 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git master config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220406/202204060119.lme7uoGl-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/74084aa7903f112b1c3df1f864d49b15d8aba270 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Masami-Hiramatsu/kprobes-rethook-ARM-arm64-Replace-kretprobe-trampoline-with-rethook/20220405-195153 git checkout 74084aa7903f112b1c3df1f864d49b15d8aba270 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/arm64/kernel/rethook.c:11:22: warning: no previous prototype for 'arch_rethook_trampoline_callback' [-Wmissing-prototypes] 11 | unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/arch_rethook_trampoline_callback +11 arch/arm64/kernel/rethook.c 9 10 /* This is called from arch_rethook_trampoline() */ > 11 unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs) 12 { 13 return rethook_trampoline_handler(regs, regs->regs[29]); 14 } 15 NOKPROBE_SYMBOL(arch_rethook_trampoline_callback); 16 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5602BC4167D for ; Tue, 5 Apr 2022 22:04:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1390525AbiDEWDu (ORCPT ); Tue, 5 Apr 2022 18:03:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1572996AbiDERna (ORCPT ); Tue, 5 Apr 2022 13:43:30 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D588CB91AE; Tue, 5 Apr 2022 10:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649180491; x=1680716491; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=d1uggptIEOdH6XP927KXNMIpnt0NmVSeFNANlHp6nPQ=; b=AAU/kxUvSzhEcigPIu96Y5JOYZY+9iUEM5gmtvyLnr/EgIUHoRqgIMVL BavdfY7ZpHp8edoItMSoePA6XqIbSSedbYkl2DHp6SXFh07fTp+1BeYDl cci9CTb7dnCJ4f3Cy8loJAhXcM3UFYGv01juWngneu93ybSolfD0/ISVH bjs0jCMFNY8C90VmQx6wD4CDeCk+FBgx3VRcQn4X2/c9+l5Ip+LBB8bAu FXwUc33/EIhiko6V2mvYdLP4GFb4v6LHTncVR4y+Fe7El3uHeTz9fJMwS WQDv3JTHyo+MWeNsdoW7Zw6XW08FgyfQh7hMLiSYsIpM0YJbQxX/VapKM w==; X-IronPort-AV: E=McAfee;i="6200,9189,10308"; a="259651073" X-IronPort-AV: E=Sophos;i="5.90,236,1643702400"; d="scan'208";a="259651073" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2022 10:41:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,236,1643702400"; d="scan'208";a="523555238" Received: from lkp-server02.sh.intel.com (HELO a44fdfb70b94) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 05 Apr 2022 10:41:25 -0700 Received: from kbuild by a44fdfb70b94 with local (Exim 4.95) (envelope-from ) id 1nbnBE-0003dj-Br; Tue, 05 Apr 2022 17:41:24 +0000 Date: Wed, 6 Apr 2022 01:40:38 +0800 From: kernel test robot To: Masami Hiramatsu , Alexei Starovoitov Cc: kbuild-all@lists.01.org, Daniel Borkmann , Shubham Bansal , Andrii Nakryiko , Masami Hiramatsu , bpf@vger.kernel.org, kernel-team@fb.com, Jiri Olsa , Steven Rostedt , "Naveen N . Rao" , Anil S Keshavamurthy , "David S . Miller" , linux-kernel@vger.kernel.org, Mark Rutland , Will Deacon , Ard Biesheuvel , Russell King , Catalin Marinas , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH bpf 4/4] arm64: rethook: Replace kretprobe trampoline with rethook Message-ID: <202204060119.lme7uoGl-lkp@intel.com> References: <164915126392.982637.10302202550404803304.stgit@devnote2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <164915126392.982637.10302202550404803304.stgit@devnote2> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masami, I love your patch! Perhaps something to improve: [auto build test WARNING on bpf/master] url: https://github.com/intel-lab-lkp/linux/commits/Masami-Hiramatsu/kprobes-rethook-ARM-arm64-Replace-kretprobe-trampoline-with-rethook/20220405-195153 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git master config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220406/202204060119.lme7uoGl-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/74084aa7903f112b1c3df1f864d49b15d8aba270 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Masami-Hiramatsu/kprobes-rethook-ARM-arm64-Replace-kretprobe-trampoline-with-rethook/20220405-195153 git checkout 74084aa7903f112b1c3df1f864d49b15d8aba270 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/arm64/kernel/rethook.c:11:22: warning: no previous prototype for 'arch_rethook_trampoline_callback' [-Wmissing-prototypes] 11 | unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/arch_rethook_trampoline_callback +11 arch/arm64/kernel/rethook.c 9 10 /* This is called from arch_rethook_trampoline() */ > 11 unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs) 12 { 13 return rethook_trampoline_handler(regs, regs->regs[29]); 14 } 15 NOKPROBE_SYMBOL(arch_rethook_trampoline_callback); 16 -- 0-DAY CI Kernel Test Service https://01.org/lkp