Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1299671ybt; Thu, 25 Jun 2020 02:44:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxATrcD7yeP5oi7snUd0chNj2XBzmR5oYmxKsmjG5o0lCRQqFI0LKlhRbx6A/53ocjd2bIP X-Received: by 2002:a17:906:3192:: with SMTP id 18mr11780478ejy.208.1593078241954; Thu, 25 Jun 2020 02:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593078241; cv=none; d=google.com; s=arc-20160816; b=0jOYSgTbUbxP6y4cxpvKQ3c8tZj2uyuHtsSVIoe77Vk9YlEKmb6Cqn+eBu3SbTA3h0 K/LXQ2PX6C4HJgncNZ/YUsCZ5T1U1AVuUGTODhY4+Soq6HQxif7zdOhZ71ZJms3KRFpz fYpr8HogOU1fzAgNyGODq9b7ENLuYxEX4NSgISygfEakHHh6QXgz0f30uBfMCri8XOk2 CZ9xT3ps9EbwvcRwqHaBcUPGZ/qCUQ0LIkeqIIi5JZPyUmv7XBqdcGSVhFARP8sNBf8g g48RS3uuMS47BsRTJ/JjAIBPijRslTpc+S4Xp0QyOlcvLu3XYmhT7ea0e7mLW4M4cebQ 2w/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=v6rfavKomdzMT1Vz1XaaHF28qo2fZr0EHzpcYgRiUBQ=; b=WuR4jJZrE7AgVQasMKoPYPrqveaYegqJZquvyh6/lJBEnwJfsNEh+1R2NjOQ+lIvEz ApCXDWn+2zFXn3KlRZn399Jet+5nFyANzA6SVvEJUYRe4Q3jpodrmSULdYyM31+GFf9H 4N81FawgmuSlSMuVK5Nb4A8hZsFQRYMQJV7VuJYpTvmQNyVWupYoIOmbMCG7aDlozHP1 koNrgo2T46ZEOrOVapsW2aq0UJHQL653s/2WvpbR7KVg0juzxkt7Dg2FQumZ0pcT7B8w tuSFxEQDQMXWAziJ6xQj2erjO58COPJylaIhcMo6tesXk4C7LtnC6EGcw79OebI5phHT 2Izw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BwbQSy30; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si14949397edk.409.2020.06.25.02.43.38; Thu, 25 Jun 2020 02:44:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BwbQSy30; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389692AbgFYIes (ORCPT + 99 others); Thu, 25 Jun 2020 04:34:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:42754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389497AbgFYIer (ORCPT ); Thu, 25 Jun 2020 04:34:47 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 123A820720; Thu, 25 Jun 2020 08:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593074087; bh=yE7w4pBtr9gWM6b8JXlrez/Wof9L3MU2WqOiRKy3bh0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BwbQSy30KnXDM4git3UTct2s83H/Mt5+9CoksJpi55joPEP+L/4ocObw6nhLitLJQ 3z9+DHpHhmX6SjuVjOBnrL/ldxbaTXRnlVR7x/UdJpcnp7/DgEkkW6Q3eEEzOX3xB+ M/ul54Y2xF+Z5mA+5goaKxP+wtpK/UfbK2wv6reI= Date: Thu, 25 Jun 2020 09:34:41 +0100 From: Will Deacon To: Marc Zyngier Cc: kernel test robot , David Brazdil , Catalin Marinas , James Morse , Julien Thierry , Suzuki K Poulose , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, android-kvm@google.com Subject: Re: [PATCH v3 08/15] arm64: kvm: Split hyp/switch.c to VHE/nVHE Message-ID: <20200625083441.GB7584@willie-the-truck> References: <20200618122537.9625-9-dbrazdil@google.com> <202006251244.YDWclRrq%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 25, 2020 at 09:16:03AM +0100, Marc Zyngier wrote: > On 2020-06-25 06:03, kernel test robot wrote: > > Hi David, > > > > Thank you for the patch! Perhaps something to improve: > > > > [auto build test WARNING on linus/master] > > [also build test WARNING on v5.8-rc2 next-20200624] > > [cannot apply to kvmarm/next arm64/for-next/core arm-perf/for-next/perf] > > [If your patch is applied to the wrong git tree, kindly drop us a note. > > And when submitting patch, we suggest to use as documented in > > https://git-scm.com/docs/git-format-patch] > > > > url: > > https://github.com/0day-ci/linux/commits/David-Brazdil/Split-off-nVHE-hyp-code/20200618-203230 > > base: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > 1b5044021070efa3259f3e9548dc35d1eb6aa844 > > config: arm64-randconfig-r021-20200624 (attached as .config) > > compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project > > 8911a35180c6777188fefe0954a2451a2b91deaf) > > 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 > > # install arm64 cross compiling tool for clang build > > # apt-get install binutils-aarch64-linux-gnu > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross > > ARCH=arm64 > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All warnings (new ones prefixed by >>): > > > > > > arch/arm64/kvm/hyp/nvhe/switch.c:244:28: warning: no previous > > > > prototype for function 'hyp_panic' [-Wmissing-prototypes] > > void __hyp_text __noreturn hyp_panic(struct kvm_cpu_context > > *host_ctxt) > > I really wish we could turn these warnings off. They don't add much. > Or is there an annotation we could stick on the function (something > like __called_from_asm_please_leave_me_alone springs to mind...)? Agreed, I've caught myself skim-reading the kbuild robot reports now because they're often just noise, and then having to force myself to look at them properly when I remember. Even just something in the subject to say "the only problems are W=1 warnings" would help. Is that possible? Will