From: Marc Zyngier <maz@kernel.org>
To: zhukeqian <zhukeqian1@huawei.com>
Cc: "Suzuki K, Poulose" <suzuki.poulose@arm.com>,
Catalin Marinas <catalin.marinas@arm.com>,
xiexiangyou@huawei.com, yebiaoxiang@huawei.com,
James Morse <james.morse@arm.com>,
wanghaibin.wang@huawei.com, Will Deacon <will@kernel.org>,
kvmarm@lists.cs.columbia.edu,
linux-arm-kernel@lists.infradead.org
Subject: Re: [Question] About scaling factor of Enhanced Counter Virtualization
Date: Tue, 14 Jul 2020 12:34:15 +0100 [thread overview]
Message-ID: <ccc11488876b8222414389d0cbcead6b@kernel.org> (raw)
In-Reply-To: <e435efd2-f894-ecbb-5eb4-abf446aa1e56@huawei.com>
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 <yebiaoxiang@huawei.com>:
>
> 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).
In any case, this is most probably a question for ARM's support
team, and not the kernel mailing lists.
Thanks,
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
next prev parent reply other threads:[~2020-07-14 11:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-14 2:20 [Question] About scaling factor of Enhanced Counter Virtualization zhukeqian
2020-07-14 11:34 ` Marc Zyngier [this message]
2020-07-14 12:15 ` zhukeqian
2020-07-14 12:23 ` Marc Zyngier
2020-07-14 13:22 ` zhukeqian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ccc11488876b8222414389d0cbcead6b@kernel.org \
--to=maz@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=james.morse@arm.com \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=suzuki.poulose@arm.com \
--cc=wanghaibin.wang@huawei.com \
--cc=will@kernel.org \
--cc=xiexiangyou@huawei.com \
--cc=yebiaoxiang@huawei.com \
--cc=zhukeqian1@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).