qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 for-2.11 1/3] tpm_emulator: Add a caching lay


From: Stefan Berger
Subject: Re: [Qemu-devel] [PATCH v3 for-2.11 1/3] tpm_emulator: Add a caching layer for the TPM Established flag
Date: Wed, 15 Nov 2017 07:18:06 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 11/14/2017 10:47 PM, Marc-André Lureau wrote:
Hi

On Wed, Nov 15, 2017 at 2:16 AM, Stefan Berger
<address@hidden> wrote:
On 11/14/2017 06:40 PM, Marc-André Lureau wrote:
Hi

On Tue, Nov 14, 2017 at 10:52 PM, Stefan Berger
<address@hidden> wrote:
Add a caching layer for the TPM established flag so that we don't
need to go to the emulator every time the flag is read by accessing
the REG_ACCESS register.
What's the impact? Isn't this just a "small" optimization? Iotw, why
is this for-2.11?

The TIS has a register that contains this flag and that's being polled quite
frequently. So it generates a lot of traffic to the emulator. This caching
layer gets rid of most of the traffic.
I didn't notice any problem when doing my tests, I guess Amarnath
niether. perhaps it's best to delay for after 2.11.

So then let's delay it. Following a Reviewed-by I'd put it in the tpm-next queue then.

   Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]