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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68972E7F158 for ; Wed, 27 Sep 2023 03:25:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229579AbjI0DZP (ORCPT ); Tue, 26 Sep 2023 23:25:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229666AbjI0DXO (ORCPT ); Tue, 26 Sep 2023 23:23:14 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B84F216615 for ; Tue, 26 Sep 2023 19:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695782808; x=1727318808; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=92IZjLvkXfOOf8zoWXjjyphUN7c3DRXJX04aFkJRoEY=; b=CASzK6XK+1io9Hd5ozPHZhpKyyxV+4rKn0c56wiIIvgtwQopPn5bRnEa V/uqIHdVCVoe3bQKEG1StmpKYXdezP9DntwsVBkgDK2cfFqxddbnrmEn8 Ut2AomSUTxqXmEvC2NQHiwrFgJWvZhFX6YZJQTc5HxFcIgzJaGutgEyG+ FyNHRIID/wH4xnhB3i+f7MkbtqvS8IVJsbM5HyAcLG9Jw5AE0LngXzBN4 NyJ9WO7kO7J10aLctAaWPn/R/1Jp90j/4GaxNJEtCqYAySufsE3iQahQn KnQ9tPO+kQkgK/cDlttPntzGN8f1PgJWogv6rBN8oYxMiLa8SM1I5EeuM Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10845"; a="381614909" X-IronPort-AV: E=Sophos;i="6.03,179,1694761200"; d="scan'208";a="381614909" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2023 19:46:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10845"; a="864621211" X-IronPort-AV: E=Sophos;i="6.03,179,1694761200"; d="scan'208";a="864621211" Received: from lkp-server02.sh.intel.com (HELO 32c80313467c) ([10.239.97.151]) by fmsmga002.fm.intel.com with ESMTP; 26 Sep 2023 19:46:46 -0700 Received: from kbuild by 32c80313467c with local (Exim 4.96) (envelope-from ) id 1qlKYt-0003eF-14; Wed, 27 Sep 2023 02:46:03 +0000 Date: Wed, 27 Sep 2023 10:45:34 +0800 From: kernel test robot To: Oliver Upton , kvmarm@lists.linux.dev Cc: oe-kbuild-all@lists.linux.dev, kvm@vger.kernel.org, Marc Zyngier , James Morse , Suzuki K Poulose , Zenghui Yu , Will Deacon , Cornelia Huck , Oliver Upton Subject: Re: [PATCH v10 10/12] KVM: arm64: Document vCPU feature selection UAPIs Message-ID: <202309271037.rM4DMYYZ-lkp@intel.com> References: <20230920183310.1163034-11-oliver.upton@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230920183310.1163034-11-oliver.upton@linux.dev> Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi Oliver, kernel test robot noticed the following build warnings: [auto build test WARNING on ce9ecca0238b140b88f43859b211c9fdfd8e5b70] url: https://github.com/intel-lab-lkp/linux/commits/Oliver-Upton/KVM-arm64-Allow-userspace-to-get-the-writable-masks-for-feature-ID-registers/20230921-023547 base: ce9ecca0238b140b88f43859b211c9fdfd8e5b70 patch link: https://lore.kernel.org/r/20230920183310.1163034-11-oliver.upton%40linux.dev patch subject: [PATCH v10 10/12] KVM: arm64: Document vCPU feature selection UAPIs reproduce: (https://download.01.org/0day-ci/archive/20230927/202309271037.rM4DMYYZ-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/202309271037.rM4DMYYZ-lkp@intel.com/ All warnings (new ones prefixed by >>): >> Documentation/virt/kvm/arm/vcpu-features.rst:13: WARNING: undefined label: kvm_arm_vcpu_init (if the link has no caption the label must precede a section header) >> Documentation/virt/kvm/arm/vcpu-features.rst:30: WARNING: undefined label: kvm_arm_get_reg_writable_masks (if the link has no caption the label must precede a section header) vim +13 Documentation/virt/kvm/arm/vcpu-features.rst 12 > 13 The ``KVM_ARM_VCPU_INIT`` ioctl accepts a bitmap of feature flags 14 (``struct kvm_vcpu_init::features``). Features enabled by this interface are 15 *opt-in* and may change/extend UAPI. See :ref:`KVM_ARM_VCPU_INIT` for complete 16 documentation of the features controlled by the ioctl. 17 18 Otherwise, all CPU features supported by KVM are described by the architected 19 ID registers. 20 21 The ID Registers 22 ================ 23 24 The Arm architecture specifies a range of *ID Registers* that describe the set 25 of architectural features supported by the CPU implementation. KVM initializes 26 the guest's ID registers to the maximum set of CPU features supported by the 27 system. The ID register values are VM-scoped in KVM, meaning that the values 28 are identical for all vCPUs in a VM. 29 > 30 KVM allows userspace to *opt-out* of certain CPU features described by the ID 31 registers by writing values to them via the ``KVM_SET_ONE_REG`` ioctl. The ID 32 registers are mutable until the VM has started, i.e. userspace has called 33 ``KVM_RUN`` on at least one vCPU in the VM. Userspace can discover what fields 34 are mutable in the ID registers using the ``KVM_ARM_GET_REG_WRITABLE_MASKS``. 35 See the :ref:`ioctl documentation ` for more 36 details. 37 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki