Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1093928pxm; Wed, 23 Feb 2022 17:59:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJz75njhXVFlwb+PHgkOPD4i5t3IxE5Iv2QeEDLa4s/XrqJj7AMtmJZiHBLPbp+Z90NIrJRR X-Received: by 2002:a17:902:b584:b0:14d:b8a8:d11b with SMTP id a4-20020a170902b58400b0014db8a8d11bmr355401pls.64.1645667986915; Wed, 23 Feb 2022 17:59:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645667986; cv=none; d=google.com; s=arc-20160816; b=Qx1lCbRu4Wpe1/gHUbmhnStBVPxrZPCwsCUW625fASis4j1ZMnpfI+cjdMzHNT5SKE Cn/dnace/ThVU4KBdce1yEPgLFp4G4/33rcnuFc2wC3oa7pAI3T7esEH7vPzGUl2VW+j yRyxLZY4OWrJ6kx1taQj/FjHH2hKGMoZnJR66HIk8mat4ya98csXvOba4cfEbxUGNxuu G2/taZfMwKno8qPdv6bHuHQsD5sypFAkCeTj34peOBq9yRHdt9jWc4dh5Og2ysvw4lLw HQZwC+0hUUZVOvZ9e4FJpW83YAuD+GOHAjQZHBQiEW3Zawtd4sEdMm87AnXR6hNLD5oK Zl1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AfqrKHEUj3lI9uM6QGWRbdjKNLFW2EGBjiu/tzFGqaE=; b=RmfmjLQvUkmnkfgrysbnX+iqcL7vLHoMSkKg6rljzS0q6BOMEN3MVuOmhXRfDnUBaK MAvwf0y2bDENvDshcRKKlD29t+2aBTTKkQHqbwgvtZuYiz7/1HMUTUzbQSqiEtEPwBMK tO3Dwfqz3UdXxBTU9Ohzs397GKkRqeDhpl/j+03LO1cu5XpFLHIXn4bsDdAc2eWGWMAu mgVC7styoSNjR6pBH5OxeoxcMWlLKKD6c2tjZHERUtojAIVScczL6cJ3x4UWDAYvU0Vb Sk0z26v6+vqZl6Ok0/XF5abjNmEG/o5yoOlKqyf9DW8sBkWPX1t1jtBpoutQO6jEP9A+ ibMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=m3jvOpyR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w10si1380788plg.490.2022.02.23.17.59.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 17:59:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=m3jvOpyR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 88BCE269A85; Wed, 23 Feb 2022 17:28:18 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240482AbiBWMhL (ORCPT + 99 others); Wed, 23 Feb 2022 07:37:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238035AbiBWMhJ (ORCPT ); Wed, 23 Feb 2022 07:37:09 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 046F02D1CE for ; Wed, 23 Feb 2022 04:36:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645619801; x=1677155801; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=OdSCkrvWTIGBVhz8S1EekPKKnza/NTZR76i2du7AwlM=; b=m3jvOpyRO6OxsNVBoB4O1nNXIq11+OxlqKAJfzLIVXeCfRp3W3eGAYRA iaKKls8Mr21SGFZQbVywm2vRaYvwm/MZJL+VhJa2mM7GCkKxzojMuCv38 7rDPEVje01fqpp0TjOPgexObqS7R7C7jIKVNvNtQw4EgsIBCndNu65Rvh EKWIFTH6QFAA6jq/VCgfq06x7rXoRuSage68iT7iJEq/CtiIWPYh/smjK SYW8B2Hx+GddKwXqPspZZxAO9LlWyUgqBwRP3gV/+5BzicuKBFd5R00vf IW0OydIOyInHvAaDGyCjTvQUNDHxC+FY1jkiSCuw6bXc1nkGd5Rs9q7gS g==; X-IronPort-AV: E=McAfee;i="6200,9189,10266"; a="239342448" X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="239342448" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 04:36:31 -0800 X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="532666200" Received: from rli9-dbox.sh.intel.com (HELO rli9-dbox) ([10.239.159.142]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 04:36:26 -0800 Date: Wed, 23 Feb 2022 20:34:05 +0800 From: Philip Li To: Marc Zyngier Cc: Kalesh Singh , kernel test robot , llvm@lists.linux.dev, kbuild-all@lists.01.org, will@kernel.org, qperret@google.com, tabba@google.com, surenb@google.com, kernel-team@android.com, Catalin Marinas , James Morse , Alexandru Elisei , Suzuki K Poulose , Ard Biesheuvel , Mark Rutland , Pasha Tatashin , Joey Gouly , Peter Collingbourne , Andrew Scull , Paolo Bonzini , Zenghui Yu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu Subject: Re: [kbuild-all] Re: [PATCH v2 6/9] KVM: arm64: Detect and handle hypervisor stack overflows Message-ID: References: <20220222165212.2005066-7-kaleshsingh@google.com> <202202231727.L621fVgD-lkp@intel.com> <875yp63ptg.wl-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <875yp63ptg.wl-maz@kernel.org> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 23, 2022 at 09:16:59AM +0000, Marc Zyngier wrote: > On Wed, 23 Feb 2022 09:05:18 +0000, > kernel test robot wrote: > > > > Hi Kalesh, > > > > Thank you for the patch! Perhaps something to improve: > > > > [auto build test WARNING on cfb92440ee71adcc2105b0890bb01ac3cddb8507] > > > > url: https://github.com/0day-ci/linux/commits/Kalesh-Singh/KVM-arm64-Hypervisor-stack-enhancements/20220223-010522 > > base: cfb92440ee71adcc2105b0890bb01ac3cddb8507 > > config: arm64-randconfig-r011-20220221 (https://download.01.org/0day-ci/archive/20220223/202202231727.L621fVgD-lkp@intel.com/config) > > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) > > 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 > > # https://github.com/0day-ci/linux/commit/7fe99fd40f7c4b2973218045ca5b9c9160524db1 > > git remote add linux-review https://github.com/0day-ci/linux > > git fetch --no-tags linux-review Kalesh-Singh/KVM-arm64-Hypervisor-stack-enhancements/20220223-010522 > > git checkout 7fe99fd40f7c4b2973218045ca5b9c9160524db1 > > # save the config file to linux build tree > > mkdir build_dir > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/ > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All warnings (new ones prefixed by >>): > > > > include/linux/stddef.h:8:14: note: expanded from macro 'NULL' > > #define NULL ((void *)0) > > ^~~~~~~~~~~ > > arch/arm64/kvm/hyp/nvhe/switch.c:200:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] > > [ESR_ELx_EC_FP_ASIMD] = kvm_hyp_handle_fpsimd, > > ^~~~~~~~~~~~~~~~~~~~~ > > arch/arm64/kvm/hyp/nvhe/switch.c:196:28: note: previous initialization is here > > [0 ... ESR_ELx_EC_MAX] = NULL, > > ^~~~ > > include/linux/stddef.h:8:14: note: expanded from macro 'NULL' > > #define NULL ((void *)0) > > ^~~~~~~~~~~ > > Kalesh, please ignore this nonsense. There may be things to improve, > but this is *NOT* one of them. > > These reports are pretty useless, and just lead people to ignore real > bug reports. Hi Kalesh, sorry there're some irrelevant issues mixed in the report, kindly ignore them. And the valuable ones are the new ones that prefixed by >>, as the below one in original report. >> arch/arm64/kvm/hyp/nvhe/switch.c:372:17: warning: no previous prototype for function 'hyp_panic_bad_stack' [-Wmissing-prototypes] void __noreturn hyp_panic_bad_stack(void) ^ Thanks > > M. > > -- > Without deviation from the norm, progress is not possible. > _______________________________________________ > kbuild-all mailing list -- kbuild-all@lists.01.org > To unsubscribe send an email to kbuild-all-leave@lists.01.org