Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-21 Thread Alexandre Courbot
On Thu, May 21, 2020 at 1:21 AM Nicolas Dufresne wrote: > > Le mercredi 20 mai 2020 à 12:19 +0900, Alexandre Courbot a écrit : > > On Wed, May 20, 2020 at 2:29 AM Nicolas Dufresne > > wrote: > > > Le mardi 19 mai 2020 à 17:37 +0900, Keiichi Watanabe a

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-20 Thread Alexandre Courbot
On Wed, May 20, 2020 at 2:29 AM Nicolas Dufresne wrote: > > Le mardi 19 mai 2020 à 17:37 +0900, Keiichi Watanabe a écrit : > > Hi Nicolas, > > > > On Fri, May 15, 2020 at 8:38 AM Nicolas Dufresne < > > nico...@ndufresne.ca > > > wrote: > > > Le lundi 11 mai 2020 à 20:49 +0900, Keiichi Watanabe a

[Qemu-devel] [PATCH v2] target-sh4: update PTEH upon MMU exception

2011-01-25 Thread Alexandre Courbot
Update the PTEH register to contain the VPN at which an MMU exception occured as specified by the SH4 reference. Signed-off-by: Alexandre Courbot gnu...@gmail.com --- target-sh4/helper.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/target-sh4/helper.c b/target-sh4

[Qemu-devel] [PATCH] target-sh4: fix index of address read error exception

2011-01-24 Thread Alexandre Courbot
Exception index of address read error should be 0x0e0. --- target-sh4/helper.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-sh4/helper.c b/target-sh4/helper.c index 45449ea..2d76f22 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -479,7 +479,7 @@

[Qemu-devel] [PATCH] target-sh4: update PTEH upon MMU exception

2011-01-24 Thread Alexandre Courbot
Update the PTEH register to contain the VPN at which an MMU exception occured as specified by the SH4 reference. --- target-sh4/helper.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/target-sh4/helper.c b/target-sh4/helper.c index 2d76f22..c34d2f5 100644 ---

[Qemu-devel] [PATCH] target-sh4: fix TLB invalidation code

2011-01-24 Thread Alexandre Courbot
In cpu_sh4_invalidate_tlb, the UTLB was invalidated twice and the ITLB left unchaged, probably because of some unfortunate copy/paste. Signed-off-by: Alexandre Courbot gnu...@gmail.com --- target-sh4/helper.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target-sh4

[Qemu-devel] [PATCH v2 0/2] target-sh4: Add support for missing ldc stc instructions with sgr

2010-07-11 Thread Alexandre Courbot
This series of patch adds support for the missing ldc stc privileged instructions with the sgr register. In order to take the difference of support between SH4A and SH4 (which does not recognize ldc with sgr), the LDST macro has been split into two simpler macros. Changelog from v1: signed off

[Qemu-devel] [PATCH v2 1/2] target-sh4: Split the LDST macro into 2 sub-macros

2010-07-11 Thread Alexandre Courbot
, and redeclares LDST to use these sub-macro. Signed-off-by: Alexandre Courbot gnu...@gmail.com --- target-sh4/translate.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/target-sh4/translate.c b/target-sh4/translate.c index d0d6c00..3abafd0 100644 --- a/target-sh4

[Qemu-devel] [PATCH v2 2/2] target-sh4: Add support for ldc stc with sgr

2010-07-11 Thread Alexandre Courbot
Add support for the following missing priviledged intructions: For SH4: - stc sgr, Rn - stc.l sgr, @-Rn For SH4A: - ldc Rm, sgr - ldc.l @Rm+, sgr Signed-off-by: Alexandre Courbot gnu...@gmail.com --- target-sh4/translate.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[Qemu-devel] [PATCH 0/2] target-sh4: Add support for missing ldc stc instructions with sgr

2010-07-09 Thread Alexandre Courbot
This series of patch adds support for the missing ldc stc privileged instructions with the sgr register. In order to take the difference of support between SH4A and SH4 (which does not recognize ldc with sgr), the LDST macro has been split into two simpler macros. [PATCH 1/2] target-sh4: Split

[Qemu-devel] [PATCH 2/2] target-sh4: Add support for ldc stc with sgr

2010-07-09 Thread Alexandre Courbot
Add support for the following missing priviledged intructions: For SH4: - stc sgr, Rn - stc.l sgr, @-Rn For SH4A: - ldc Rm, sgr - ldc.l @Rm+, sgr --- target-sh4/translate.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target-sh4/translate.c b/target-sh4/translate.c

[Qemu-devel] [PATCH 1/2] target-sh4: Split the LDST macro into 2 sub-macros

2010-07-09 Thread Alexandre Courbot
The LDST macro is used to generate ldc and stc instructions that work with a specific register. However, the SGR register only supports stc up to SH4A, which supports both stc and ldc. This patch creates two sub-macros named LD and ST that handle generating ldc and stc instructions separately, and