Re: [Qemu-devel] [PATCH 02/10] cuda: don't allow writes to port output pins

2018-02-05 Thread Philippe Mathieu-Daudé
On 02/03/2018 07:37 AM, Mark Cave-Ayland wrote: > Use the direction registers as a mask to ensure that only input pins are > updated upon write. > > Signed-off-by: Mark Cave-Ayland > --- > hw/misc/macio/cuda.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/misc/

Re: [Qemu-devel] [PATCH 02/10] cuda: don't allow writes to port output pins

2018-02-05 Thread Laurent Vivier
On 03/02/2018 11:37, Mark Cave-Ayland wrote: > Use the direction registers as a mask to ensure that only input pins are > updated upon write. > > Signed-off-by: Mark Cave-Ayland > --- > hw/misc/macio/cuda.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/misc/mac

[Qemu-devel] [PATCH 02/10] cuda: don't allow writes to port output pins

2018-02-03 Thread Mark Cave-Ayland
Use the direction registers as a mask to ensure that only input pins are updated upon write. Signed-off-by: Mark Cave-Ayland --- hw/misc/macio/cuda.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/misc/macio/cuda.c b/hw/misc/macio/cuda.c index 23b7e0f5b0..7214e7adcb 1