Re: [PATCH] qemu/bitops.h: Locate changed bits

2024-05-29 Thread Ho, Tong
, 2024 6:44 AM To: Ho, Tong Cc: qemu-devel@nongnu.org Subject: Re: [PATCH] qemu/bitops.h: Locate changed bits On Wed, 29 May 2024 at 06:05, Tong Ho wrote: > > Add inlined functions to obtain a mask of changed bits. 3 flavors > are added: toggled, changed to 1, changed to 0. > > Th

Re: [PATCH] hw/char/pl011: Add support for loopback

2024-02-20 Thread Ho, Tong
On Thu, Feb 8, 2024 at 3:36 AM, Peter Maydell wrote: > This implementation will send the transmitted characters > to the QEMU chardev and also loop them back into the UART > when loopback is enabled. Similarly if we receive a character > from the real input we will put it into the FIFO still, so

Re: [PATCH v4 3/3] tests/qtest: Introduce tests for AMD/Xilinx Versal TRNG device

2023-10-30 Thread Ho, Tong
, October 27, 2023 6:03 AM To: Ho, Tong Cc: qemu-...@nongnu.org ; qemu-devel@nongnu.org ; alist...@alistair23.me ; edgar.igles...@gmail.com ; richard.hender...@linaro.org ; frasse.igles...@gmail.com Subject: Re: [PATCH v4 3/3] tests/qtest: Introduce tests for AMD/Xilinx Versal TRNG device

Re: [PATCH] xlnx-bbram: hw/nvram: Remove deprecated device reset

2023-10-03 Thread Ho, Tong
Hi Philippe, Thanks for the review. The rest is in the pipeline. Regards, Tong Ho From: Philippe Mathieu-Daudé Sent: Monday, October 2, 2023 11:23 PM To: Ho, Tong ; qemu-...@nongnu.org Cc: qemu-devel@nongnu.org ; alist...@alistair23.me ; edgar.igles

RE: [PATCH 1/3] hw/misc: Introduce AMD/Xilix Versal TRNG device

2023-09-08 Thread Ho, Tong
Hi Peter, Your recommendation is noted. Thanks for your valuable input. I will present V2 with better alignment. Regards, Tong Ho -Original Message- From: Peter Maydell Sent: Friday, September 8, 2023 11:35 AM To: Ho, Tong Cc: Richard Henderson ; qemu-...@nongnu.org; qemu-devel

RE: [PATCH 1/3] hw/misc: Introduce AMD/Xilix Versal TRNG device

2023-09-08 Thread Ho, Tong
- From: Peter Maydell Sent: Friday, September 8, 2023 6:50 AM To: Ho, Tong Cc: Richard Henderson ; qemu-...@nongnu.org; qemu-devel@nongnu.org; alist...@alistair23.me; edgar.igles...@gmail.com Subject: Re: [PATCH 1/3] hw/misc: Introduce AMD/Xilix Versal TRNG device On Fri, 1 Sept 2023 at 05:16

RE: [PATCH 1/3] hw/misc: Introduce AMD/Xilix Versal TRNG device

2023-08-31 Thread Ho, Tong
tines and not as separate threads. I suppose the Versal TRNG implementation could use g_rand_*() directly, having a GRand object in the device state and seeding through g_rand_set_seed_array(). Best regards, Tong Ho -Original Message- From: Richard Henderson Sent: Thursday, August 31,