Without it, we'd call preadv, then write with weird parameters, which is
clearly not ideal...
Signed-off-by: Warner Losh
---
bsd-user/freebsd/os-syscall.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bsd-user/freebsd/os-syscall.c b/bsd-user/freebsd/os-syscall.c
index de36c4b71c6..c90400ab
On Sat, Aug 19, 2023 at 4:44 AM Philippe Mathieu-Daudé
wrote:
> On 18/8/23 19:57, Richard Henderson wrote:
>
> > Richard Henderson (3):
> >bsd-user: Remove ELF_START_MMAP and image_info.start_mmap
> >bsd-user: Remove image_info.mmap
> >bsd-user: Remove image_info.start_brk
>
> Series:
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> The above system calls are not supported by qemu.
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.h| 21 +
> bsd-user/freebsd/os-syscall.c | 12 +
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.h| 72 +++
> bsd-user/freebsd/os-syscall.c | 8
> 2 files changed, 80 insertions(+)
>
> dif
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.h| 33 +
> bsd-user/freebsd/os-syscall.c | 4
> 2 files changed, 37 insertions(+)
>
Review
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.h| 23 +++
> bsd-user/freebsd/os-syscall.c | 8
> 2 files changed, 31 insertions(+)
>
Reviewed-by:
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> Co-authored-by: Kyle Evans
>
> Signed-off-by: Stacey Son
> Signed-off-by: Kyle Evans
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.h| 27 +++
> bsd-user/freebsd/os-syscall.c |
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> Co-authored-by: Mikaël Urankar
>
> Signed-off-by: Mikaël Urankar
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.h| 85 +++
> bsd-user/freebs
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.h| 23 +++
> bsd-user/freebsd/os-syscall.c | 4
> 2 files changed, 27 insertions(+)
>
Reviewed-by: War
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.h| 44 +++
> bsd-user/freebsd/os-syscall.c | 24 +++
> 2 files changed, 68 insert
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> Co-authored-by: Kyle Evans
>
> Signed-off-by: Stacey Son
> Signed-off-by: Kyle Evans
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.h| 11 +++
> bsd-user/freebsd/os-syscall.c | 4
> 2 fi
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.h| 7 +++
> bsd-user/freebsd/os-syscall.c | 4
> 2 files changed, 11 insertions(+)
>
Reviewed-by: Warner Losh
> diff
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.h| 20
> bsd-user/freebsd/os-syscall.c | 9 +
> 2 files changed, 29 insertions(+)
>
Reviewed-by: W
On Sat, Aug 19, 2023 at 3:49 AM Karim Taha wrote:
> From: Stacey Son
>
> To preserve the copyright notice and help with the 'Author' info for
> subsequent changes to the file.
>
I'd drop the first 'To' in this message. It's clearer without it what is
meant.
> Signed-off-by: Stacey Son
> Sign
On Sat, Aug 19, 2023 at 3:48 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.c | 46 ++
> 1 file changed, 46 insertions(+)
>
Reviewed-by: Warner Losh
diff --git a/bsd-user
On Sat, Aug 19, 2023 at 3:48 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.c | 41 +
> 1 file changed, 41 insertions(+)
>
Reviewed-by: Warner Losh
> diff --git a/bsd-user/b
On Sat, Aug 19, 2023 at 3:48 AM Karim Taha wrote:
> From: Stacey Son
>
> Co-authored-by: Mikaël Urankar
> Signed-off-by: Mikaël Urankar
> Signed-off-by: Karim Taha
> ---
> bsd-user/bsd-mem.c| 38 +++
> bsd-user/freebsd/os-syscall.c | 4
> 2 f
On Sat, Aug 19, 2023 at 3:48 AM Karim Taha wrote:
> ---
> bsd-user/bsd-mem.c | 0
> bsd-user/meson.build | 1 +
> 2 files changed, 1 insertion(+)
> create mode 100644 bsd-user/bsd-mem.c
>
Reviewed-by: Warner Losh
> diff --git a/bsd-user/bsd-mem.c b/bsd-user/bsd-mem.c
> new file mode 10064
On Sat, Aug 19, 2023 at 3:48 AM Karim Taha wrote:
> From: Kyle Evans
>
> Signed-off-by: Kyle Evans
> Signed-off-by: Karim Taha
> ---
> bsd-user/freebsd/os-misc.h| 24
> bsd-user/freebsd/os-syscall.c | 6 ++
> 2 files changed, 30 insertions(+)
>
Reviewed-by:
On Sat, Aug 19, 2023 at 9:10 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 8/19/23 02:47, Karim Taha wrote:
> > From: Kyle Evans
> >
> > Signed-off-by: Kyle Evans
> > Signed-off-by: Karim Taha
> > ---
> > bsd-user/freebsd/os-misc.h| 52 ++
On Sat, Aug 19, 2023 at 3:48 AM Karim Taha wrote:
> From: Stacey Son
>
> To preserve the copyright notice and help with the 'Author' info for
> subsequent changes to the file.
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/freebsd/os-misc.h | 28 +++
On Sat, Aug 19, 2023 at 3:48 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/qemu-bsd.h | 45 +
> 1 file changed, 45 insertions(+)
> create mode 100644 bsd-user/qemu-bsd.h
>
Review
On Sat, Aug 19, 2023 at 3:48 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> ---
> bsd-user/syscall_defs.h | 20
> 1 file changed, 20 insertions(+)
>
Reviewed-by: Warner Losh
> diff --git a/bsd-user/syscall_defs.h b/
One general thing about all the patches in this series. The first line in
the
commit message should start with 'bsd-user: ' which I'll only say once.
You can fix it in v2 easily enough.
On Sat, Aug 19, 2023 at 3:48 AM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-
On Sun, Aug 13, 2023 at 1:43 PM Karim Taha wrote:
> Upstream the implementation of the stat system calls from the
> qemu-bsd-user fork, the following system calls are implemented:
> stat(2), lstat(2), fstat(2), fstatat(2), nstat, nfstat, nlstat
> getfh(2), lgetfh(2), fhopen(2), fhstat(2), fhstatf
On 2023/8/19 01:27, Eugenio Perez Martin wrote:
> On Wed, Jul 19, 2023 at 9:54 AM Hawkins Jiawei wrote:
>>
>> This patch enables sending CVQ state load commands
>> in parallel at device startup by following steps:
>>
>>* Refactor vhost_vdpa_net_load_cmd() to iterate through
>> the control comm
On 2023/8/18 23:48, Eugenio Perez Martin wrote:
> On Wed, Jul 19, 2023 at 9:54 AM Hawkins Jiawei wrote:
>>
>> This patch moves vhost_svq_poll() to the caller of
>> vhost_vdpa_net_cvq_add() and introduces a helper funtion.
>>
>> By making this change, next patches in this series is
>> able to refac
On 2023/8/18 23:39, Eugenio Perez Martin wrote:
> On Wed, Jul 19, 2023 at 9:54 AM Hawkins Jiawei wrote:
>>
>> Next patches in this series will refactor vhost_vdpa_net_load_cmd()
>> to iterate through the control commands shadow buffers, allowing QEMU
>> to send CVQ state load commands in parallel
On 2023/8/18 23:23, Eugenio Perez Martin wrote:
> On Wed, Jul 19, 2023 at 9:54 AM Hawkins Jiawei wrote:
>>
>> Next patches in this series will no longer perform an
>> immediate poll and check of the device's used buffers
>> for each CVQ state load command. Consequently, there
>> will be multiple p
On 2023/8/18 23:08, Eugenio Perez Martin wrote:
> On Wed, Jul 19, 2023 at 9:54 AM Hawkins Jiawei wrote:
>>
>
> The subject could be more explicit. What about "add count argument to
> vhost_svq_poll"?
Hi Eugenio,
Thanks for reviewing.
You are right, I will use this new subject in the v4 patch.
T
On 8/19/23 02:47, Karim Taha wrote:
From: Kyle Evans
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
---
bsd-user/freebsd/os-misc.h| 52 +++
bsd-user/freebsd/os-syscall.c | 13 +
2 files changed, 65 insertions(+)
diff --git a/bsd-user/freeb
On 8/19/23 02:47, Karim Taha wrote:
From: Stacey Son
To preserve the copyright notice and help with the 'Author' info for
subsequent changes to the file.
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/freebsd/os-misc.h | 28
1 file changed, 28 i
On 8/19/23 02:47, Karim Taha wrote:
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/qemu-bsd.h | 45 +
1 file changed, 45 insertions(+)
create mode 100644 bsd-user/qemu-bsd.h
Reviewed-by: Richard Henderson
r~
On 8/19/23 02:47, Karim Taha wrote:
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/syscall_defs.h | 20
1 file changed, 20 insertions(+)
Reviewed-by: Richard Henderson
r~
On 8/19/23 02:47, Karim Taha wrote:
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/syscall_defs.h | 17 +
1 file changed, 17 insertions(+)
Reviewed-by: Richard Henderson
r~
On 18/8/23 19:57, Richard Henderson wrote:
Richard Henderson (3):
bsd-user: Remove ELF_START_MMAP and image_info.start_mmap
bsd-user: Remove image_info.mmap
bsd-user: Remove image_info.start_brk
Series:
Reviewed-by: Philippe Mathieu-Daudé
On 18/8/23 23:42, Richard Henderson wrote:
A typo, noted in the bug report, resulting in an
incorrect write offset.
Cc: qemu-sta...@nongnu.org
Fixes: 7390e0e9ab8 ("target/arm: Implement SME LD1, ST1")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1833
Signed-off-by: Richard Henderson
Upstream the implementation of the following mmap system calls, from the
qemu-bsd-user fork:
mmap(2), munmap(2), mprotect(2), msync(2), mlock(2), munlock(2), mlockall(2)
munlockall(2), madvise(2), minherit(2), mincore(2),
shm_open(2),shm_open2(2), shm_rename2(2), shm_unlink(2), shmget(2),
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/syscall_defs.h | 17 +
1 file changed, 17 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index e4825f2662..39a9bc8ed7 100644
--- a/bsd-user/syscall_defs.h
+++ b/bsd-
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 23 +++
bsd-user/freebsd/os-syscall.c | 8
2 files changed, 31 insertions(+)
diff --git a/bsd-user/bsd-mem.h b/bsd-user/bsd-mem.h
index 013b82f49a..3d91d3eb30
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 23 +++
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 27 insertions(+)
diff --git a/bsd-user/bsd-mem.h b/bsd-user/bsd-mem.h
index f76881519c..edbccd3111 100
From: Stacey Son
Co-authored-by: Mikaël Urankar
Signed-off-by: Mikaël Urankar
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.c| 38 +++
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 38 insertions(+), 4 deletions(-)
diff --git a/bsd-user
From: Stacey Son
Co-authored-by: Kyle Evans
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 27 +++
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 31 insertions(+)
diff --git a/bsd-user/bsd
From: Stacey Son
To preserve the copyright notice and help with the 'Author' info for
subsequent changes to the file.
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 65 +++
bsd-user/freebsd/os-syscall.c | 1 +
2 files c
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 20
bsd-user/freebsd/os-syscall.c | 9 +
2 files changed, 29 insertions(+)
diff --git a/bsd-user/bsd-mem.h b/bsd-user/bsd-mem.h
index fed7b7cd80..057c995a6e 1
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.c | 46 ++
1 file changed, 46 insertions(+)
diff --git a/bsd-user/bsd-mem.c b/bsd-user/bsd-mem.c
index e69250cc0d..4446c94725 100644
--- a/bsd-user/bsd-mem.c
+
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 44 +++
bsd-user/freebsd/os-syscall.c | 24 +++
2 files changed, 68 insertions(+)
diff --git a/bsd-user/bsd-mem.h b/bsd-user/bsd-mem.h
index
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 33 +
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 37 insertions(+)
diff --git a/bsd-user/bsd-mem.h b/bsd-user/bsd-mem.h
index 3d91d3eb30..221a
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 72 +++
bsd-user/freebsd/os-syscall.c | 8
2 files changed, 80 insertions(+)
diff --git a/bsd-user/bsd-mem.h b/bsd-user/bsd-mem.h
index 221ad76d8c..f7
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/qemu-bsd.h | 45 +
1 file changed, 45 insertions(+)
create mode 100644 bsd-user/qemu-bsd.h
diff --git a/bsd-user/qemu-bsd.h b/bsd-user/qemu-bsd.h
new file mode 100644
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 7 +++
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 11 insertions(+)
diff --git a/bsd-user/bsd-mem.h b/bsd-user/bsd-mem.h
index 057c995a6e..a6446a454c 100644
--- a/bsd-user
From: Stacey Son
The above system calls are not supported by qemu.
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 21 +
bsd-user/freebsd/os-syscall.c | 12
2 files changed, 33 insertions(+)
diff --git a/bsd-user/bsd-me
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.c | 41 +
1 file changed, 41 insertions(+)
diff --git a/bsd-user/bsd-mem.c b/bsd-user/bsd-mem.c
index 6c123abf04..e69250cc0d 100644
--- a/bsd-user/bsd-mem.c
+++ b/
---
bsd-user/bsd-mem.c | 0
bsd-user/meson.build | 1 +
2 files changed, 1 insertion(+)
create mode 100644 bsd-user/bsd-mem.c
diff --git a/bsd-user/bsd-mem.c b/bsd-user/bsd-mem.c
new file mode 100644
index 00..e69de29bb2
diff --git a/bsd-user/meson.build b/bsd-user/meson.build
index 52
From: Stacey Son
Co-authored-by: Mikaël Urankar
Signed-off-by: Mikaël Urankar
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 85 +++
bsd-user/freebsd/os-syscall.c | 7 +++
2 files changed, 92 insertions(+)
diff --git
From: Stacey Son
Co-authored-by: Kyle Evans
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
---
bsd-user/bsd-mem.h| 11 +++
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 15 insertions(+)
diff --git a/bsd-user/bsd-mem.h b/bsd-use
From: Kyle Evans
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
---
bsd-user/freebsd/os-misc.h| 24
bsd-user/freebsd/os-syscall.c | 6 ++
2 files changed, 30 insertions(+)
diff --git a/bsd-user/freebsd/os-misc.h b/bsd-user/freebsd/os-misc.h
index 993e459
From: Kyle Evans
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
---
bsd-user/freebsd/os-misc.h| 52 +++
bsd-user/freebsd/os-syscall.c | 13 +
2 files changed, 65 insertions(+)
diff --git a/bsd-user/freebsd/os-misc.h b/bsd-user/freebsd/os-misc.h
From: Stacey Son
To preserve the copyright notice and help with the 'Author' info for
subsequent changes to the file.
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/freebsd/os-misc.h | 28
1 file changed, 28 insertions(+)
create mode 100644 bsd-
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/syscall_defs.h | 20
1 file changed, 20 insertions(+)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 39a9bc8ed7..074df7bdd6 100644
--- a/bsd-user/syscall_defs.h
+++ b/b
在 2023/8/19 上午1:20, Philippe Mathieu-Daudé 写道:
Commit 228021f05e ("target/loongarch: Add core definition") sets
disas_set_info to loongarch_cpu_disas_set_info. Probably due to
a failed git-rebase, commit ca61e75071 ("target/loongarch: Add gdb
support") also sets it to the same value. Remove the d
在 2023/8/19 上午1:20, Philippe Mathieu-Daudé 写道:
Various CSR registers have Read/Write fields. We might
want to see guest trying to change such registers.
Signed-off-by: Philippe Mathieu-Daudé
---
target/loongarch/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/loongarch/cpu
62 matches
Mail list logo