Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1909951rwl; Fri, 31 Mar 2023 20:28:33 -0700 (PDT) X-Google-Smtp-Source: AKy350b3zpz8iQu8bY45xpBIOUTmxpzFndPPdg/J9225cE6q78vuyrbMOlCkN+Vd0RiNMWDyZM7Z X-Received: by 2002:a17:90b:1253:b0:236:1ec1:6d30 with SMTP id gx19-20020a17090b125300b002361ec16d30mr7614272pjb.3.1680319713161; Fri, 31 Mar 2023 20:28:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680319713; cv=none; d=google.com; s=arc-20160816; b=Ll98hGabCznVYAggIY/bqLx+WUUJLKhn17JbD7G1aneY1y6Dy4uu1B/LEg2n4Frt+c 4WoDsI+LPVsQ9G+EuGYE9yrl60PIiUhZOTk8p6RMp7vVMif8zmiojRfrPk83m85nCGIT XjtmRBEi48ayMFF0ReCbrvLuPr5pQTOluI4jITCSzmdcXrG2cLJx3VFJl/YpTRVY0RJO Dg4BOzF03uQkpCCnv0oYmQp2sVCdTIMnA6Cz3nLFMnagxOt+3HGY4IqjbIFRBfo0XxXo nq0EWZBLosAJCQLZLfr2E+mU8wYINk6TsnSDZPRaZWliAEE2ywTBJw9WvPf9ZJnRDN+0 hfgQ== 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=cr5tBYy38ZZC28ZSszUi1K8vp86NGKalcc5lCrnyDOk=; b=KtNiWdM/5D5BG0KrVAEsrSms0nmSkoi3pwoEKD6QB2OVgE+VJceMuo0+VXMnPu1MpK 6oeL30N6x8kQfyWrO924mSfDDqfGebQ40EWbHHqpXfYreUSu52+xOgrc/84jCU5ial5c 9wOxYHyS7e9zRCo60bIA14RuEo3r8wSPg9APRX2mLee8zgbst80Rx6wiPUFpGVACdcpU HVI5LS4C7/QL6qMLnASWV18s15W1cZhICt6zegBw25o3kWROXuCIRBfCKSgNMLfAGTP4 SamXC9DKEl2+a3f2jpiXHUffp5zLuVBeZlmYz1n5ZlEahUxzk9HatjaQHLZAuWPB8QYv 7JMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Aq5zoNHo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020a631b52000000b0051343ab1eb5si3762586pgm.581.2023.03.31.20.28.22; Fri, 31 Mar 2023 20:28:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Aq5zoNHo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233780AbjDADWL (ORCPT + 99 others); Fri, 31 Mar 2023 23:22:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233651AbjDADWI (ORCPT ); Fri, 31 Mar 2023 23:22:08 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FD36E1A2; Fri, 31 Mar 2023 20:22:07 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id h12-20020a17090aea8c00b0023d1311fab3so25466242pjz.1; Fri, 31 Mar 2023 20:22:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680319327; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=cr5tBYy38ZZC28ZSszUi1K8vp86NGKalcc5lCrnyDOk=; b=Aq5zoNHoBZWN6EFETU/CMM0feLdgHGCSqNclgQmWBifRyVilDdbU9ETOmOHRt7jpOp O2cq+76kq8X8T/9qXOMfQYuGTvz0PcqPSBAfI4lcPkqahI8xFYHM5D2xhmwxKgRXcqqW IZZIKKxs3n1mcM49yZojPokiY2bbJ04G+GPc19RVhXQR6GkBseKQjCydZM68LDglrtCG /JxD3mhhllqj++aT+GN5RofKg/qK3crM3hiyCkL7xl3lu+E9fZO8FLMqBxjQNsRMtIMU hurlJWu8Lso4YHDW+Da7UiYrysjuMkNlReuIYd067eyOgtld5iXC9yCPwAr0Ygh0YT0L mYGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680319327; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cr5tBYy38ZZC28ZSszUi1K8vp86NGKalcc5lCrnyDOk=; b=3vJUfncbl/TX/e+bznc2zWpTXgnOHjKJRPOTjapCy0HM8MFXWFBA5YP+SFGyWYap4w PzinElxjRF+mCnxaruHlYASyIahnxzVMdxWB/xogLwbrna+mxnG2tg339qn264zY307O ibiTSq3/1U7WYgXx7Ei9WWm/vZ5WV/yR86K/UEN8FaBEZNGlX7g4omLMSY2Oh61o/mEE mho/EsosG33m0ETnrr1F/h8saSF3GOvN/pAP/N9HffFJqIlGlfCcyAcuSCaEPSGGj7Xm 73aF2PxWNj2l/oSwk3UAHR9b/5IErwWJSlOdosHPe1pumi9GAda7EAdop1DXmRWOsQ++ j/kg== X-Gm-Message-State: AAQBX9dL0o+cB2DDJ+oIdPhK8MslIwevTtzTAAWAs8h8dc1Vd9GOhziy u3AzAJgTEbhhwj0a+QHgtv0= X-Received: by 2002:a17:903:2343:b0:1a1:abcc:e44e with SMTP id c3-20020a170903234300b001a1abcce44emr35392488plh.9.1680319326990; Fri, 31 Mar 2023 20:22:06 -0700 (PDT) Received: from debian.me (subs02-180-214-232-71.three.co.id. [180.214.232.71]) by smtp.gmail.com with ESMTPSA id d19-20020a170902b71300b0019ac23cb6edsm2257266pls.181.2023.03.31.20.22.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 20:22:06 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id 447A1102ED5; Sat, 1 Apr 2023 10:22:04 +0700 (WIB) Date: Sat, 1 Apr 2023 10:22:04 +0700 From: Bagas Sanjaya To: David Dai , "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Paolo Bonzini , Jonathan Corbet , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Will Deacon , Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider Cc: Saravana Kannan , kernel-team@android.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev Subject: Re: [RFC PATCH v2 3/6] kvm: arm64: Add support for util_hint service Message-ID: References: <20230331014356.1033759-1-davidai@google.com> <20230331014356.1033759-4-davidai@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230331014356.1033759-4-davidai@google.com> X-Spam-Status: No, score=1.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 Thu, Mar 30, 2023 at 06:43:47PM -0700, David Dai wrote: > +ARM_SMCCC_HYP_KVM_UTIL_HINT_FUNC_ID > + ============== ========= ============================ > + Function ID: (uint32) 0x86000041 > + Arguments: (uint32) util value(0-1024) where 1024 represents > + the highest performance point normalized > + across all CPUs > + Return values: (int32) NOT_SUPPORTED(-1) on error. > + Endianness: Must be the same endianness > + as the host. > + ============== ======== ============================ Sphinx reports htmldocs warning: /home/bagas/repo/linux-kernel/Documentation/virt/kvm/arm/util_hint.rst:21: WARNING: Malformed table. Column span alignment problem in table line 8. ============== ========= ============================ Function ID: (uint32) 0x86000041 Arguments: (uint32) util value(0-1024) where 1024 represents the highest performance point normalized across all CPUs Return values: (int32) NOT_SUPPORTED(-1) on error. Endianness: Must be the same endianness as the host. ============== ======== ============================ I have to fix the table: ---- >8 ---- diff --git a/Documentation/virt/kvm/arm/util_hint.rst b/Documentation/virt/kvm/arm/util_hint.rst index 262d142d62d91e..99e5bf99446d90 100644 --- a/Documentation/virt/kvm/arm/util_hint.rst +++ b/Documentation/virt/kvm/arm/util_hint.rst @@ -11,7 +11,8 @@ to the host. This hypercall using the SMC32/HVC32 calling convention: ARM_SMCCC_HYP_KVM_UTIL_HINT_FUNC_ID - ============== ========= ============================ + + ============== ========= ======================================== Function ID: (uint32) 0x86000041 Arguments: (uint32) util value(0-1024) where 1024 represents the highest performance point normalized @@ -19,4 +20,4 @@ ARM_SMCCC_HYP_KVM_UTIL_HINT_FUNC_ID Return values: (int32) NOT_SUPPORTED(-1) on error. Endianness: Must be the same endianness as the host. - ============== ======== ============================ + ============== ========= ======================================== Thanks. -- An old man doll... just what I always wanted! - Clara