Hi
On Tue, Nov 7, 2017 at 2:11 AM, Stefan Berger
wrote:
> On 11/06/2017 05:11 PM, Marc-André Lureau wrote:
>>
>> Hi
>>
>> - Original Message -
>>>
>>> On 11/06/2017 01:39 PM, Marc-André Lureau wrote:
The control chardev is being used from the data thread to set the
locality
On 11/06/2017 05:11 PM, Marc-André Lureau wrote:
Hi
- Original Message -
On 11/06/2017 01:39 PM, Marc-André Lureau wrote:
The control chardev is being used from the data thread to set the
locality of the next request. Altough the chr has a write mutex, we
may potentially read the reply
Hi
- Original Message -
> On 11/06/2017 01:39 PM, Marc-André Lureau wrote:
> > The control chardev is being used from the data thread to set the
> > locality of the next request. Altough the chr has a write mutex, we
> > may potentially read the reply from another thread request.
>
> Righ
On 11/06/2017 01:39 PM, Marc-André Lureau wrote:
The control chardev is being used from the data thread to set the
locality of the next request. Altough the chr has a write mutex, we
may potentially read the reply from another thread request.
Right, so there may be concurrency with the CMD_RESE
The control chardev is being used from the data thread to set the
locality of the next request. Altough the chr has a write mutex, we
may potentially read the reply from another thread request.
Add a mutex to protect from concurrent control commands.
Signed-off-by: Marc-André Lureau
---
hw/tpm/