Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1684649ybt; Thu, 25 Jun 2020 11:35:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+pKCIug890M7QVsaGBgrFVKYLVktcf5XAAoblKAKh/cX9QpiDS+Yjz0n3IuAB9fZPeDr8 X-Received: by 2002:a17:906:fcc7:: with SMTP id qx7mr8307693ejb.182.1593110100780; Thu, 25 Jun 2020 11:35:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593110100; cv=none; d=google.com; s=arc-20160816; b=wr7MPVZAVPifaPo63U5ZuOk3rJ/6SxZl5EO4NpIfgh6g1y2dQMLIikAK23BelSQxD3 2aiuz3Fm/DGqhA3GHMDZYsHjiN80zww7IhYOzUr1ZjYXet7bF8AM2tbLcJbECt/CozGS Up+7elgycmjSC7XLDK4dCVmpiX8nmuds/a7EJk4Hd/o4UixD0B9k4PgAgD2zX9PMkwNA UdrYIGOrW/AyV2x7ia7ycMheRxt3XeIzAUg5QAVZJqWBvc/ZK73UyuI0YDkHsnaCMqDf WjtDFYGZ5hPJ89DGS53IXOnOBWXR7GbmYK2C83yA+Gw9FtIfDLcjGbXwXNtSF9XPSPqI cKxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=yBDVB+/OUGNJgKQWAMaAmC4lrAcmwQMu0s1F09p9QQM=; b=FDyh/JJPlKdRQT/sAJ+5pSA7N6pBz+12AxZo1iIMjv/7YKs4s0oDJXa4BHFLrv/r9O fKtxSGndB8ugH0WIRr0I70lmy1dcFVLjyMPptewvxnX73q7ImqoaOsJ1r0Onj1drSZqj nDFItCX4coGCKrJKZNzrlNHAy2Qn+JLJ5+etzHECfab3RgaUYcFoFRrsZ1qgevFKkjLE 2pOdCNDU2+zKN+5dR3W0zPzGc6sXM/POeT7aWgjULF7Rp0YSZV5yg3Ujn7tPss5xIaLI oGeUFpZkdU9IoJgpeJ3b51TQEJPb204toMZA1ISngYztHYeayTuwtRxFn4EvTx62Rk1B h01A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oKVWfvoG; 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 o13si16245375edv.186.2020.06.25.11.34.37; Thu, 25 Jun 2020 11:35:00 -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=oKVWfvoG; 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 S2405742AbgFYR4M (ORCPT + 99 others); Thu, 25 Jun 2020 13:56:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:34678 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405512AbgFYR4L (ORCPT ); Thu, 25 Jun 2020 13:56:11 -0400 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A68D4208C7 for ; Thu, 25 Jun 2020 17:56:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593107770; bh=P85gb0RYxs8bdscv/UzJZV8GMZKO6FNZmtLISXWaRkI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=oKVWfvoGv7fuIwzL2lqOsnY8d0mXHBPXz6dV//HQfdCW1l2sfTW2ApQkAZO+2jvXH N0NKmYVRu3N7wTkF8pT1cJRqAVMcYDkz5u5tt107w2JCYbcC4uTvmEWDOWR1AkdRHp L+E6hvq2jfQPexZDLIr8zDUu+RZSNmNoPvube2N8= Received: by mail-wm1-f54.google.com with SMTP id f139so6857244wmf.5 for ; Thu, 25 Jun 2020 10:56:10 -0700 (PDT) X-Gm-Message-State: AOAM532WNayHktw1s0NJMEJHE0v7MqAjsKXLFh1ZVtkjR+iLycEAunml 3DARlL2ySd2U8ugrquOJS14JoOjeh2upRkNWiYPcPg== X-Received: by 2002:a1c:b143:: with SMTP id a64mr4970455wmf.133.1593107769134; Thu, 25 Jun 2020 10:56:09 -0700 (PDT) MIME-Version: 1.0 References: <20200618122537.9625-9-dbrazdil@google.com> <202006251244.YDWclRrq%lkp@intel.com> In-Reply-To: From: Ard Biesheuvel Date: Thu, 25 Jun 2020 19:55:58 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 08/15] arm64: kvm: Split hyp/switch.c to VHE/nVHE To: Marc Zyngier Cc: kernel test robot , kbuild-all@lists.01.org, Suzuki K Poulose , android-kvm@google.com, Catalin Marinas , Linux Kernel Mailing List , clang-built-linux , James Morse , linux-arm-kernel , David Brazdil , Will Deacon , kvmarm , Julien Thierry Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Jun 2020 at 10:16, 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...)? > We should define 'asmlinkage' to whatever makes this warning go away.