Re: [PATCH Resend] drm/qxl: Use correct notify port address when creating cursor ring

2020-04-24 Thread Huacai Chen
Hi, Gerd On Tue, Mar 31, 2020 at 10:53 PM Gerd Hoffmann wrote: > > On Tue, Mar 31, 2020 at 02:18:08PM +0800, Huacai Chen wrote: > > The command ring and cursor ring use different notify port addresses > > definition: QXL_IO_NOTIFY_CMD and QXL_IO_NOTIFY_CURSOR. However, in &

[PATCH 2/3] mips/mips_fulong2e: Set preferred page size to 16KB

2020-04-08 Thread Huacai Chen
Loongson processor prefers 16KB page size in system emulator, so let's define mc->minimum_page_bits to 14. Cc: Jiaxun Yang Signed-off-by: Huacai Chen --- hw/mips/mips_fulong2e.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/mips/mips_fulong2e.c b/hw/mips/mips_fulong2e.c index 5040

[PATCH 1/3] target/mips: Support variable page size

2020-04-08 Thread Huacai Chen
Traditionally, MIPS use 4KB page size, but Loongson prefer 16KB page size in system emulator. So, let's define TARGET_PAGE_BITS_VARY and TARGET_PAGE_BITS_MIN to support variable page size. Cc: Jiaxun Yang Signed-off-by: Huacai Chen --- target/mips/cpu-param.h | 5 + 1 file changed, 5

[PATCH 3/3] MAINTAINERS: Add myself as fulong2e co-maintainer

2020-04-08 Thread Huacai Chen
now (and also in future) I can have some spare time, so I can finally do some real work on QEMU/MIPS. And if possible, I hope I can be a co-maintainer of MIPS/fulong2e. Cc: Jiaxun Yang Signed-off-by: Huacai Chen --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b

[PATCH Resend] drm/qxl: Use correct notify port address when creating cursor ring

2020-03-31 Thread Huacai Chen
on QXL_IO_NOTIFY_CMD and QXL_IO_NOTIFY_CURSOR are the same. However, QEMU's behavior may be change in future, so let's fix it. P.S.: In the X.org QXL driver, the notify port address of cursor ring is correct. Cc: Signed-off-by: Huacai Chen --- drivers/gpu/drm/qxl/qxl_kms.c | 2 +- 1 file changed, 1