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 X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9618C433E2 for ; Sat, 12 Sep 2020 06:54:09 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 66D43214D8 for ; Sat, 12 Sep 2020 06:54:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BhLo57jx"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cghvapdK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 66D43214D8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=k9lH64+aeGeeYUIcMY6CQmb1K7fGd4cCjvbSlSP+ONs=; b=BhLo57jxtYrmiWGV3xIdV7LV3 AWl+Csgdg4leHEYMoy2sl7gibso5tP1VSP7aUYy4AOY0kvnF6qfIgnmQrpoU4qn5QJ/tU1DmEvppT Jr6n3JhcEq064EYFp+IcYkFsAxNlH5mTIC5LpLjdKBwclijNlyXt+9c35iT/+X8IU5CPI7YxePSvu hUQLvBYDbpbWnJq68w0WK/5kNTjPPDW86oien0UWhBV6P3jxFDk203G4Z02E+b1PKXq9hMYIc5L6e 8+uMZqdhUgHxdok0uFviLICS/UFTPyl0+hy33InCyd9RrG5BJBaQ6LPYMhjE1BSIgv66hX2cVEFfC bR9FscXNw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGzP0-0008Db-7V; Sat, 12 Sep 2020 06:52:50 +0000 Received: from us-smtp-1.mimecast.com ([207.211.31.81] helo=us-smtp-delivery-1.mimecast.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGzOx-0008D7-DM for linux-arm-kernel@lists.infradead.org; Sat, 12 Sep 2020 06:52:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599893565; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SRyQ1QFxCDQ8OqpfKXLD/GbTGE4WwcpE62BrSVEtBkw=; b=cghvapdKs5NiRB2wpzte6l6Ek5f8OXETwX6DBvZahKuHVbQvzi1/ZkJsZYc+dmLLxOzG70 bXcA3nX4wSwaH0HbzaSy5aQR8gRvLX9oxh//AsxrVuUiSoc4lJQZBDg/rxc3D6dCZv6iyP 2WEgoBTQm2SkiVp0MGYDZw9xhAPQMV4= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-595-WvC8h6FWNGSlov6MXxykyw-1; Sat, 12 Sep 2020 02:52:19 -0400 X-MC-Unique: WvC8h6FWNGSlov6MXxykyw-1 Received: by mail-wm1-f69.google.com with SMTP id c200so457334wmd.5 for ; Fri, 11 Sep 2020 23:52:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SRyQ1QFxCDQ8OqpfKXLD/GbTGE4WwcpE62BrSVEtBkw=; b=puY80wOfAAEhJVtNJMu2QNsYf+CzM4BCi/aQ+jhxn8mNIrK9Ev024XrNoLuwDWOEL0 Mnz25GBMS8jbpJvHlBzB9rA4lg22vXu+8XI74KS9h0v/f19Hx8IjtiQPiEczUUdxPjT6 iYxh+hT7jP2UOf3eRzcVlZfg1Oyn1hSZVvS3dAIZlGSaVMWZJoP7ctfmduKcTfl5bDfF 3loN/AhI4Vy0vUKh54h5PdrjuxVCZXzHWVdVONGFtmB20K87+mNypURV51lXn2DPkfrq qIXSxmAqfaRUg1HVT0xi4NYs1LdRGcidCLt/EdtcAThxwBpqBvZyv+q5+AiIpjjpDyNY DpYw== X-Gm-Message-State: AOAM531a0g44GeWXGSMf3C/CmTvpVzZojdQwfGGJsKxz51CYge9k47M6 zHLOYiaK4jYNB5oGxUDCYj5R2xVrRMfdT2BKepPIKKLMIBmFNmv9IY6MyIDVZ2GMx7zFEei5KNb YCy4cqG0iJSkDHDRVDOTCCL5Cu80QiJkm/SU= X-Received: by 2002:adf:cc8c:: with SMTP id p12mr5742206wrj.92.1599893537727; Fri, 11 Sep 2020 23:52:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGTbBg/jF29fakE1FZdqj99dDelahVRhx+p0vTf2b6aR808q04Prj08x/aA7jkcrhx01HIOA== X-Received: by 2002:adf:cc8c:: with SMTP id p12mr5742182wrj.92.1599893537483; Fri, 11 Sep 2020 23:52:17 -0700 (PDT) Received: from [192.168.10.150] ([93.56.170.5]) by smtp.gmail.com with ESMTPSA id e18sm9601700wra.36.2020.09.11.23.52.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2020 23:52:16 -0700 (PDT) Subject: Re: arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:633:12: error: no previous prototype for 'kvm_arch_post_init_vm' To: kernel test robot , Junaid Shahid References: <202009111950.BkbYSqxt%lkp@intel.com> From: Paolo Bonzini Message-ID: <8012684b-145a-3355-abdd-0cf281887b41@redhat.com> Date: Sat, 12 Sep 2020 08:52:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <202009111950.BkbYSqxt%lkp@intel.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0.002 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200912_025247_474938_058DEEE4 X-CRM114-Status: GOOD ( 19.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kbuild-all@lists.01.org, "kvm-ppc@vger.kernel.org" , linux-arm-kernel@lists.infradead.org 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 On 11/09/20 13:43, kernel test robot wrote: >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:633:12: error: no previous prototype for 'kvm_arch_post_init_vm' [-Werror=missing-prototypes] > 633 | int __weak kvm_arch_post_init_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~ >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:642:13: error: no previous prototype for 'kvm_arch_pre_destroy_vm' [-Werror=missing-prototypes] > 642 | void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors This makes little sense, the prototypes are in include/linux/kvm_host.h Also this code is not architecture-dependent... kvm-ppc guys, can you reproduce it? Paolo > > > Hi Junaid, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: e5bd0d2afe7061562c483d301e4aabb51b13fcfa > commit: 1aa9b9572b10529c2e64e2b8f44025d86e124308 kvm: x86: mmu: Recovery of shattered NX large pages > date: 10 months ago > config: powerpc-defconfig (attached as .config) > compiler: powerpc64-linux-gcc (GCC) 9.3.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 > git checkout 1aa9b9572b10529c2e64e2b8f44025d86e124308 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:633:12: error: no previous prototype for 'kvm_arch_post_init_vm' [-Werror=missing-prototypes] > 633 | int __weak kvm_arch_post_init_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~ >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:642:13: error: no previous prototype for 'kvm_arch_pre_destroy_vm' [-Werror=missing-prototypes] > 642 | void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1aa9b9572b10529c2e64e2b8f44025d86e124308 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus xlnx/master > git checkout 1aa9b9572b10529c2e64e2b8f44025d86e124308 > vim +/kvm_arch_post_init_vm +633 arch/powerpc/kvm/../../../virt/kvm/kvm_main.c > > 628 > 629 /* > 630 * Called after the VM is otherwise initialized, but just before adding it to > 631 * the vm_list. > 632 */ > > 633 int __weak kvm_arch_post_init_vm(struct kvm *kvm) > 634 { > 635 return 0; > 636 } > 637 > 638 /* > 639 * Called just after removing the VM from the vm_list, but before doing any > 640 * other destruction. > 641 */ > > 642 void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm) > 643 { > 644 } > 645 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org > _______________________________________________ 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 Content-Type: multipart/mixed; boundary="===============3023297184795635839==" MIME-Version: 1.0 From: Paolo Bonzini To: kbuild-all@lists.01.org Subject: Re: arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:633:12: error: no previous prototype for 'kvm_arch_post_init_vm' Date: Sat, 12 Sep 2020 08:52:16 +0200 Message-ID: <8012684b-145a-3355-abdd-0cf281887b41@redhat.com> In-Reply-To: <202009111950.BkbYSqxt%lkp@intel.com> List-Id: --===============3023297184795635839== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 11/09/20 13:43, kernel test robot wrote: >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:633:12: error: no previou= s prototype for 'kvm_arch_post_init_vm' [-Werror=3Dmissing-prototypes] > 633 | int __weak kvm_arch_post_init_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~ >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:642:13: error: no previou= s prototype for 'kvm_arch_pre_destroy_vm' [-Werror=3Dmissing-prototypes] > 642 | void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors This makes little sense, the prototypes are in include/linux/kvm_host.h Also this code is not architecture-dependent... kvm-ppc guys, can you reproduce it? Paolo > = > = > Hi Junaid, > = > FYI, the error/warning still remains. > = > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t master > head: e5bd0d2afe7061562c483d301e4aabb51b13fcfa > commit: 1aa9b9572b10529c2e64e2b8f44025d86e124308 kvm: x86: mmu: Recovery = of shattered NX large pages > date: 10 months ago > config: powerpc-defconfig (attached as .config) > compiler: powerpc64-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 1aa9b9572b10529c2e64e2b8f44025d86e124308 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cros= s ARCH=3Dpowerpc = > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All errors (new ones prefixed by >>): > = >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:633:12: error: no previou= s prototype for 'kvm_arch_post_init_vm' [-Werror=3Dmissing-prototypes] > 633 | int __weak kvm_arch_post_init_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~ >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:642:13: error: no previou= s prototype for 'kvm_arch_pre_destroy_vm' [-Werror=3Dmissing-prototypes] > 642 | void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > = > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/comm= it/?id=3D1aa9b9572b10529c2e64e2b8f44025d86e124308 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torv= alds/linux.git > git fetch --no-tags linus xlnx/master > git checkout 1aa9b9572b10529c2e64e2b8f44025d86e124308 > vim +/kvm_arch_post_init_vm +633 arch/powerpc/kvm/../../../virt/kvm/kvm_m= ain.c > = > 628 = > 629 /* > 630 * Called after the VM is otherwise initialized, but just before a= dding it to > 631 * the vm_list. > 632 */ > > 633 int __weak kvm_arch_post_init_vm(struct kvm *kvm) > 634 { > 635 return 0; > 636 } > 637 = > 638 /* > 639 * Called just after removing the VM from the vm_list, but before = doing any > 640 * other destruction. > 641 */ > > 642 void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm) > 643 { > 644 } > 645 = > = > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org >=20 --===============3023297184795635839==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Date: Sat, 12 Sep 2020 06:52:16 +0000 Subject: Re: arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:633:12: error: no previous prototype for 'kvm_arch Message-Id: <8012684b-145a-3355-abdd-0cf281887b41@redhat.com> List-Id: References: <202009111950.BkbYSqxt%lkp@intel.com> In-Reply-To: <202009111950.BkbYSqxt%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel test robot , Junaid Shahid Cc: kbuild-all@lists.01.org, "kvm-ppc@vger.kernel.org" , linux-arm-kernel@lists.infradead.org On 11/09/20 13:43, kernel test robot wrote: >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:633:12: error: no previous prototype for 'kvm_arch_post_init_vm' [-Werror=missing-prototypes] > 633 | int __weak kvm_arch_post_init_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~ >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:642:13: error: no previous prototype for 'kvm_arch_pre_destroy_vm' [-Werror=missing-prototypes] > 642 | void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors This makes little sense, the prototypes are in include/linux/kvm_host.h Also this code is not architecture-dependent... kvm-ppc guys, can you reproduce it? Paolo > > > Hi Junaid, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: e5bd0d2afe7061562c483d301e4aabb51b13fcfa > commit: 1aa9b9572b10529c2e64e2b8f44025d86e124308 kvm: x86: mmu: Recovery of shattered NX large pages > date: 10 months ago > config: powerpc-defconfig (attached as .config) > compiler: powerpc64-linux-gcc (GCC) 9.3.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 > git checkout 1aa9b9572b10529c2e64e2b8f44025d86e124308 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:633:12: error: no previous prototype for 'kvm_arch_post_init_vm' [-Werror=missing-prototypes] > 633 | int __weak kvm_arch_post_init_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~ >>> arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:642:13: error: no previous prototype for 'kvm_arch_pre_destroy_vm' [-Werror=missing-prototypes] > 642 | void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm) > | ^~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?ida9b9572b10529c2e64e2b8f44025d86e124308 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus xlnx/master > git checkout 1aa9b9572b10529c2e64e2b8f44025d86e124308 > vim +/kvm_arch_post_init_vm +633 arch/powerpc/kvm/../../../virt/kvm/kvm_main.c > > 628 > 629 /* > 630 * Called after the VM is otherwise initialized, but just before adding it to > 631 * the vm_list. > 632 */ > > 633 int __weak kvm_arch_post_init_vm(struct kvm *kvm) > 634 { > 635 return 0; > 636 } > 637 > 638 /* > 639 * Called just after removing the VM from the vm_list, but before doing any > 640 * other destruction. > 641 */ > > 642 void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm) > 643 { > 644 } > 645 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org >