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.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 838D9C433E4 for ; Tue, 14 Jul 2020 12:24:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 524DE22447 for ; Tue, 14 Jul 2020 12:24:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="amDuc6W7"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="pCGZyNO7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 524DE22447 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.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=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EW4VxxRGJx0pyvJEHZF0KHTE0gZ7UYaZkRWMGvlVC0E=; b=amDuc6W7fzApQTlrsjfcQRwwj yJx1W299KIgoERByP387cweOvalphRCsiSeqXfCzXtQNXTsgkDxo55rFlcFf8ShAs5ICHq/Xh9OIa NUyRZ4XDnr5ghjBXS/anov6EtR+xhnT/MQ/hsaN/2V2wHUoeZc5ms+ZAh+GgYQAg3U4NAiOu/rob2 +Ga7pbZKgMcyl/bE9QNnipn0L9xCGhblghfBdSK/I9MCbtZpiozFRZAvOxGFFfLd+DUlTXPURKm43 ZWot+lOdG3JT0uQJjp5deyaGF+zy2oAoNSnnqk1o5XtsQ3taMWI5bqU+YVYSEe4f67B2LlPdP9jCo HPG4g+FMg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvJxx-0008Uu-8E; Tue, 14 Jul 2020 12:23:21 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvJxr-0008U3-4y for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2020 12:23:19 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2736322447; Tue, 14 Jul 2020 12:23:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594729394; bh=I2Mo4ZvYlf50Yqnet4hGdLKJEVtpoN/tlaSaHOof3Ww=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pCGZyNO721Ki2+Z6spSqPI4S3qygxb3AelD9WVlKncGpftGnTdop2XwxMgl0lnXh5 7C0eKfFE4dOtXHuPCy4z+FnRGqzkMHx0iO7xz+gb9Vc4GayEtTB+gElyBK1zCXZChU ayr7GXtWosslFEfL4SxEbYYpOr27MJ/muWRJuECE= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jvJxo-00BfU5-Mb; Tue, 14 Jul 2020 13:23:12 +0100 MIME-Version: 1.0 Date: Tue, 14 Jul 2020 13:23:12 +0100 From: Marc Zyngier To: zhukeqian Subject: Re: [Question] About scaling factor of Enhanced Counter Virtualization In-Reply-To: <0bbe0709-c055-2d97-9a88-814821dd9c2f@huawei.com> References: <0bbe0709-c055-2d97-9a88-814821dd9c2f@huawei.com> User-Agent: Roundcube Webmail/1.4.5 Message-ID: X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: zhukeqian1@huawei.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, james.morse@arm.com, catalin.marinas@arm.com, will@kernel.org, suzuki.poulose@arm.com, yebiaoxiang@huawei.com, xiexiangyou@huawei.com, wanghaibin.wang@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200714_082315_326902_F81FCE3C X-CRM114-Status: GOOD ( 12.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Suzuki K, Poulose" , Catalin Marinas , xiexiangyou@huawei.com, yebiaoxiang@huawei.com, James Morse , wanghaibin.wang@huawei.com, Will Deacon , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2020-07-14 13:15, zhukeqian wrote: > Hi Marc, > > On 2020/7/14 19:34, Marc Zyngier wrote: >> Hi Keqian, >> >> On 2020-07-14 03:20, zhukeqian wrote: >>> Hi all, >>> >>> We are studying Enhanced Counter Virtualization (introduced by >>> ARMv8.6 >>> extension), and here is a question >>> raised by Biaoxiang Ye : >>> >>> Described in the ARMv8.6 Extension Specification: >>> Note: the scaling factor CNTSCALE is designed as a 2.62 bit fixed >>> point number, so permitting a scaling up by >>> (nearly) a factor 4. The scaling factor CNTISCALE is signed as an >>> 8.56 >>> number for the scaling of the values >>> written into the timers for comparison with the actual count. This >>> implies that the greatest scaling down of the >>> counter supported in (nearly) a factor of *512*. >>> >>> We think the number "512" should be "256" (2^8), or do we miss >>> something? >> >> This register doesn't seem to be described in ARM DDI 0487F.b, >> which is the official documentation and does contain the ARMv8.6 >> material, including ARMv8.6-ECV. >> >> Either you are looking at confidential information (and nobody >> can answer you in public), or obsolete information (and nobody >> knows what this is about). >> > Well, it's alpha release version :( . Many thanks! Wow. I suggest you discard this document, as it is obsolete. ARMv8.6 is a released version of the architecture, and everything should be in the ARM ARM. M. -- Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel