Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2893093rdb; Wed, 15 Nov 2023 13:59:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDogKtKzpUn0qyF8JHo3Vy+avXM+y+xAQqQCWD18B8J4cGwHfCMfdXCJ9DyMU+U96WUq8C X-Received: by 2002:a17:902:f683:b0:1ca:b820:74ed with SMTP id l3-20020a170902f68300b001cab82074edmr8024491plg.14.1700085540397; Wed, 15 Nov 2023 13:59:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700085540; cv=none; d=google.com; s=arc-20160816; b=w1MC0hLZPS7y9xf7nFgtPRE3kUVzp0iY24y27OX4hmkXSCtk45ihkeDjl/m308gXRI bB75xCCcYmPSJopdxvsOEoGI1QHfMO4eYSsBw+mq3RG+Zq+xS8V+NpLPMhZH1AO2eqec 5265dsRZwWXZvLlhKLjyL+8og22CMnwATuC7ZomwrtK2h4vrpYheI22YIht4Hkb0rN63 Lue67oeJAOrrK8sUvjNN+X5mYRMTXr+i+T4kIHrcnZndl00aMEqIOdNctIGe08xphWo+ QggtrsZfd6csGEp9w2eYPuOMF0ZxrCkz2pENLnCU8OnVxzATHBOViQc0ZcZWL+BTkUDc rVag== 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=/cUndAW7Ao3QmgLm4zyZorz8kYE4B5qjSfGYFZSqo8Y=; fh=dNFJKWeLfh7wr7DJ4eRNAqzJOd+nt9nq50vhE/PxkVk=; b=L+7SXhDhVn/XNaEoH70TQrWU2AqTsa66F7evoq1tle92MWpdFhnYOiyl1qnGFS2cO7 NXbBPYDsuXwfGEy0weXn3+aFhPJWuUMp8x4JlKyvkNcGlmuUZfUxHgm+x6QPXDy0nRl7 Hn9Sz2UWGGOWkm7ijE2i0VOg85QGRYMuqTuTwaAwkRlr9JRq4JAXtkmqVMaQdOVdkymC XgznIh7zO3DL7rzZKarzYNkmeFBRxrUNdp4CTzkWiyMqgbinxhpl0pnIOONAgw3/OYSq dWnWCp0OolHlO04+5Gr5jTnPB+opulwzs21YeS0tqQtXn71J6MBchpq5bK1BF99gXCe3 PpWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gV78nYn1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bd7-20020a170902830700b001cc43334839si10359056plb.521.2023.11.15.13.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 13:59:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gV78nYn1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 867E48054614; Wed, 15 Nov 2023 13:58:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343716AbjKOV6d (ORCPT + 99 others); Wed, 15 Nov 2023 16:58:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343715AbjKOV6b (ORCPT ); Wed, 15 Nov 2023 16:58:31 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A26B6A9 for ; Wed, 15 Nov 2023 13:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700085508; x=1731621508; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3taof8CoXDBT/pWXFj3jBJpymKDLX1dvSz+gdf7t378=; b=gV78nYn1qAsgnE/MPYqtdL+93YfdfaqboGWXWSul5aJtggIVa6lTSsIo ZBaPwrQNtuC1oL/ZTCXPCL+y7Hn7s6K1Bh5/SIfUiyL37um/Eq4Rs5ffP OE5fXfB+AE0AGCs8N8McMwWu40s3fyMkY9bV1WVDwaHGoLxRf8EWQs5jk GBZZZRUMAAR5igSa8ZfqP9O1671v/Yn/FRVltUON2Zsqfn+l2q71g/xjW QmnkkrkHZbr8K8KexzItrj+V5Y0lAFPHvHDQs5lUvF4vW73gLuaucA5g5 KjAA52gCtIewQ48foublYFIUKMWKeSp9SNm++YYvBnPlBnO811ymLu7/V Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10895"; a="390756845" X-IronPort-AV: E=Sophos;i="6.03,306,1694761200"; d="scan'208";a="390756845" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2023 13:58:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10895"; a="882525590" X-IronPort-AV: E=Sophos;i="6.03,306,1694761200"; d="scan'208";a="882525590" Received: from lkp-server02.sh.intel.com (HELO b8de5498638e) ([10.239.97.151]) by fmsmga002.fm.intel.com with ESMTP; 15 Nov 2023 13:58:24 -0800 Received: from kbuild by b8de5498638e with local (Exim 4.96) (envelope-from ) id 1r3Ntu-0000t8-1U; Wed, 15 Nov 2023 21:58:22 +0000 Date: Thu, 16 Nov 2023 05:57:51 +0800 From: kernel test robot To: Sebastian Ene , will@kernel.org, Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , catalin.marinas@arm.com, mark.rutland@arm.com, akpm@linux-foundation.org, maz@kernel.org Cc: oe-kbuild-all@lists.linux.dev, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com, vdonnefort@google.com, qperret@google.com, smostafa@google.com, Sebastian Ene Subject: Re: [PATCH v3 07/10] arm64: ptdump: Parse the host stage-2 page-tables from the snapshot Message-ID: <202311160522.Nr71iglr-lkp@intel.com> References: <20231115171639.2852644-9-sebastianene@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231115171639.2852644-9-sebastianene@google.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 15 Nov 2023 13:58:57 -0800 (PST) Hi Sebastian, kernel test robot noticed the following build warnings: [auto build test WARNING on arm64/for-next/core] [also build test WARNING on kvmarm/next linus/master v6.7-rc1 next-20231115] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Sebastian-Ene/KVM-arm64-Add-snap-shooting-the-host-stage-2-pagetables/20231116-012017 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core patch link: https://lore.kernel.org/r/20231115171639.2852644-9-sebastianene%40google.com patch subject: [PATCH v3 07/10] arm64: ptdump: Parse the host stage-2 page-tables from the snapshot config: arm64-randconfig-001-20231116 (https://download.01.org/0day-ci/archive/20231116/202311160522.Nr71iglr-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231116/202311160522.Nr71iglr-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311160522.Nr71iglr-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/arm64/mm/ptdump.c:178:31: warning: 'stage2_pte_bits' defined but not used [-Wunused-const-variable=] 178 | static const struct prot_bits stage2_pte_bits[] = { | ^~~~~~~~~~~~~~~ vim +/stage2_pte_bits +178 arch/arm64/mm/ptdump.c 177 > 178 static const struct prot_bits stage2_pte_bits[] = { 179 { 180 .mask = PTE_VALID, 181 .val = PTE_VALID, 182 .set = " ", 183 .clear = "F", 184 }, { 185 .mask = KVM_PTE_LEAF_ATTR_HI_S2_XN, 186 .val = KVM_PTE_LEAF_ATTR_HI_S2_XN, 187 .set = "XN", 188 .clear = " ", 189 }, { 190 .mask = KVM_PTE_LEAF_ATTR_LO_S2_S2AP_R, 191 .val = KVM_PTE_LEAF_ATTR_LO_S2_S2AP_R, 192 .set = "R", 193 .clear = " ", 194 }, { 195 .mask = KVM_PTE_LEAF_ATTR_LO_S2_S2AP_W, 196 .val = KVM_PTE_LEAF_ATTR_LO_S2_S2AP_W, 197 .set = "W", 198 .clear = " ", 199 }, { 200 .mask = KVM_PTE_LEAF_ATTR_LO_S2_AF, 201 .val = KVM_PTE_LEAF_ATTR_LO_S2_AF, 202 .set = "AF", 203 .clear = " ", 204 }, { 205 .mask = PTE_NG, 206 .val = PTE_NG, 207 .set = "FnXS", 208 .clear = " ", 209 }, { 210 .mask = PTE_CONT, 211 .val = PTE_CONT, 212 .set = "CON", 213 .clear = " ", 214 }, { 215 .mask = PTE_TABLE_BIT, 216 .val = PTE_TABLE_BIT, 217 .set = " ", 218 .clear = "BLK", 219 }, { 220 .mask = KVM_PGTABLE_PROT_SW0, 221 .val = KVM_PGTABLE_PROT_SW0, 222 .set = "SW0", /* PKVM_PAGE_SHARED_OWNED */ 223 }, { 224 .mask = KVM_PGTABLE_PROT_SW1, 225 .val = KVM_PGTABLE_PROT_SW1, 226 .set = "SW1", /* PKVM_PAGE_SHARED_BORROWED */ 227 }, { 228 .mask = KVM_PGTABLE_PROT_SW2, 229 .val = KVM_PGTABLE_PROT_SW2, 230 .set = "SW2", 231 }, { 232 .mask = KVM_PGTABLE_PROT_SW3, 233 .val = KVM_PGTABLE_PROT_SW3, 234 .set = "SW3", 235 }, 236 }; 237 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki