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 X-Spam-Level: X-Spam-Status: No, score=-4.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E18EC07E9C for ; Fri, 9 Jul 2021 07:53:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 27CDC613B5 for ; Fri, 9 Jul 2021 07:53:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 27CDC613B5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CcdfosxqF5zAsw/mdC3j4yXElo7+NJC2Dwy3P/us7dU=; b=nl8zrDteFJD2P3 C1jDMF4YQt4agbpsPZTPp02Ux8PBBEo1TpWbOCFFpxAaitpHQm3iRXymwQC4RmMDPevNEKSEuV4ni MW5XJ7ZFFVTvmZG7bP2bz54Eme/F5BXqcW5dKL9oKHx43V7LBldkm4At8z6scbYUSx9CV/MxVVOpB vcWIja34QZKo2WLjieT1htgqmfIh6A07AOdpSuMPYq3Z4IevAsav2aUqoBXQYduHm/jrgBZmHydwP a1uU7Sv24pyo/i+WO8ISkGR49lzCgCM2FDTw4wu9ED8PNYLyGnc2dUZOFrqRZK5bpcmnfD17y9syc GA+v1WcWmvUwGSrLjAuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m1lIw-0010p8-LZ; Fri, 09 Jul 2021 07:52:10 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m1lIt-0010ob-03 for linux-arm-kernel@lists.infradead.org; Fri, 09 Jul 2021 07:52:08 +0000 Received: by mail-pl1-x62c.google.com with SMTP id c15so4573478pls.13 for ; Fri, 09 Jul 2021 00:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=O9yEJ/RI8DyqTUqQc7qvFOA41xcGAb9AUJUpJSi1YCk=; b=hykJA/Js2Xkhhe70Ko9i6iWvtj5MCdYDu7B/4u+DpVpsKePBnWY5j4t4PmJ+/N5Tma i74pAgLdfgxkaGf4SgAwZgceXKJ7rvLOQBWSmhuTfRMGbGSTEGg8Y90WlqU6AxZc1+ne VnQDpGlScVjcXYoN01FMKeV5pUHPa6XpOQzAU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=O9yEJ/RI8DyqTUqQc7qvFOA41xcGAb9AUJUpJSi1YCk=; b=c/qWk2KaYNHyQzla/Gsd+v6H8BZIBhQSjJdzIbJj0dLanYbyfWZH31PhGvC7s0hB9H kyOdHV435qFZzk3T8jcgPNcUDAs5fSEkAxKapIjxNBj4R4sHSiX/rsh/QiI1REtYuuQZ UnF3XB1PWA78mx29/TrDt2uk5jdBqcngHlXiZJGhc8dm7Kc83WDrbjnwVNNtRqdsqBuX d/FvIZF90ORcfa+ZGMlxJYBfnsWb+zsrPXGTvJT9zIvfbRTBnv4yGbdywpefPz2iRt7z p2V+2CIJETVFNfK+G1gWiYfrprCAcVZP4MuHkgR4l5Jq6k/AYJjPVpo7qejiukQhggnr wz1w== X-Gm-Message-State: AOAM533OZ8XZ7piwlxLQY/HBdVSiWxS3Qjz6cwaWuBJ0x2h0bdgSfmhI Mx1wtPDSmmBpL5XvL2EFjrSZpg== X-Google-Smtp-Source: ABdhPJy5Iba/1n9IqX8ohIsdLkvuWXlXJvMJv1c0Hhbuj+FFhPRYR/07l1fWcSHSalGaLyrQsw0tBg== X-Received: by 2002:a17:90a:5d16:: with SMTP id s22mr36261212pji.48.1625817125628; Fri, 09 Jul 2021 00:52:05 -0700 (PDT) Received: from google.com ([2409:10:2e40:5100:a30d:fc4:7834:ee08]) by smtp.gmail.com with ESMTPSA id 194sm5349713pfy.51.2021.07.09.00.52.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 00:52:05 -0700 (PDT) Date: Fri, 9 Jul 2021 16:52:00 +0900 From: Sergey Senozhatsky To: David Edmondson Cc: Sergey Senozhatsky , Marc Zyngier , Will Deacon , Suleiman Souhlal , Joel Fernandes , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCHv2 2/4] arm64: add guest pvstate support Message-ID: References: <20210709043713.887098-1-senozhatsky@chromium.org> <20210709043713.887098-3-senozhatsky@chromium.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210709_005207_102329_10993293 X-CRM114-Status: GOOD ( 11.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On (21/07/09 08:39), David Edmondson wrote: [..] > > + > > +static bool has_pv_vcpu_state(void) > > +{ > > + struct arm_smccc_res res; > > + > > + /* To detect the presence of PV time support we require SMCCC 1.1+ */ > > "PV VCPU state support" rather than "PV time support". Indeed. Thanks. [..] > > +static int pv_vcpu_state_register_hooks(void) > > +{ > > + int ret; > > + > > + ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, > > + "hypervisor/arm/pvstate:starting", > > + vcpu_state_init, > > + vcpu_state_release); > > + if (ret < 0) > > + pr_warn("Failed to register CPU hooks\n"); > > Include that it's PV VCPU state hooks? Ack. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel