lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 29 Oct 2020 23:14:35 +0800 (GMT+08:00)
From:   Bailu Lin <bailu.lin@...o.com>
To:     Alex Shi <alex.shi@...ux.alibaba.com>
Cc:     Catalin Marinas <catalin.marinas@....com>,
        Will Deacon <will@...nel.org>,
        Jonathan Corbet <corbet@....net>,
        Harry Wei <harryxiyou@...il.com>,
        linux-arm-kernel@...ts.infradead.org, linux-doc@...r.kernel.org,
        linux-kernel@...r.kernel.org, kernel@...o.com
Subject: Re:Re: [PATCH] Documentation: Chinese translation of Documentation/arm64/perf.rst


>> +
>> +对于 non-VHE 主机端该属性将排除 EL2,因为虚拟机监控器运行在 EL2
>> +的任何代码主要用于客户端和主机端的切换。
>> +
>> +对于客户端该属性无效。请注意客户端从来不会运行在 EL2。
>> +
>> +
>> +exclude_host / exclude_guest
>> +----------------------------
>> +
>> +这些属性分别排除了 KVM 主机端和客户端。
>> +
>> +KVM 主机端可能运行在 EL0(用户空间),EL1(non-VHE 内核)和
>> +EL2(VHE 内核 或 non-VHE 虚拟机监控器)。
>> +
>> +KVM 客户端可能运行在 EL0(用户空间)和 EL1(内核)。
>> +
>> +由于主机端和客户端之间重叠的异常级别,我们不能仅仅依靠 PMU 的硬件异
>> +常过滤机制-因此我们必须启用/禁用对于客户端进入和退出的计数。而这在
>> +VHE 和 non-VHE 系统上表现不同。
>> +
>> +对于 non-VHE 系统的 exclude_host 属性排除 EL2 -  在进入和退出客户
>> +端时,我们会根据 exclude_host 和 exclude_guest 属性在适当的情况下
>> +禁用/启用该事件。
>> +
>> +对于 VHE 系统的 exclude_guest 属性排除 EL1,而对其中的 exclude_host
>> +属性同时排除 EL0,EL2。在进入和退出客户端时,我们会适当地根据
>> +exclude_host 和 exclude_guest 属性包括/排除 EL0。
>> +
>> +以上声明也适用于在 not-VHE 客户端使用这些属性时,但是请注意客户端从
>> +来不会运行在 EL2。
>> +
>> +
>> +准确性
>> +------
>> +
>> +在 non-VHE 主机端上,我们在 EL2 进入/退出主机端/客户端的切换时启用/
>> +关闭计数器 -但是在启用/禁用计数器和进入/退出客户端之间存在一段延时。
>> +对于 exclude_host, 我们可以通过过滤 EL2 消除在客户端进入/退出边界
>> +上用于计数客户端事件的主机端事件计数器。但是当使用 !exclude_hv 时,
>> +在客户端进入/退出有一个小的暗窗口无法捕获到主机端的事件。
>> +
>> +在VHE系统尚没有暗窗口。
>> 
>
>暗窗口 maynot the best, but I have no better on blackout window..
>
Is "灰色的窗口期" better ?
>Thanks
>Alex

Thanks
Bailu


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ