Re: [Qemu-devel] [PATCH v3 07/13] tpm_tis: merge r/w_offset into rw_offset

2017-12-21 Thread Marc-André Lureau
Hi On Fri, Nov 10, 2017 at 3:11 PM, Stefan Berger wrote: > We can now merge the r_offset and w_offset into a single rw_offset. > This is possible since when the offset is used for writing in > RECEPTION state then reads are ignore. Conversly, when the offset Conversely > is used for reading whe

[Qemu-devel] [PATCH v3 07/13] tpm_tis: merge r/w_offset into rw_offset

2017-11-10 Thread Stefan Berger
We can now merge the r_offset and w_offset into a single rw_offset. This is possible since when the offset is used for writing in RECEPTION state then reads are ignore. Conversly, when the offset is used for reading when in COMPLETION state, then writes are ignored. Signed-off-by: Stefan Berger -