Re: [PULL 0/4] target/xtensa fixes

2020-06-26 Thread Peter Maydell
On Thu, 25 Jun 2020 at 09:11, Max Filippov  wrote:
>
> Hi Peter,
>
> please pull the following batch of fixes for the target/xtensa.
>
> The following changes since commit 648db19685b7030aa558a4ddbd3a8e53d8c9a062:
>
>   Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2020-04-29' 
> into staging (2020-04-29 15:07:33 +0100)
>
> are available in the Git repository at:
>
>   git://github.com/OSLL/qemu-xtensa.git tags/20200625-xtensa
>
> for you to fetch changes up to 8a3a81478dcc592518069125a6ad271fe5511b95:
>
>   target/xtensa: drop gen_io_end call (2020-06-22 03:38:30 -0700)
>
> 
> target/xtensa fixes for 5.1:
>
> - fix access to special registers missing in the core configuration;
> - fix simcall opcode behavior for new hardware;
> - drop gen_io_end call from xtensa translator.
>
> 


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.1
for any user-visible changes.

-- PMM



[PULL 0/4] target/xtensa fixes

2020-06-25 Thread Max Filippov
Hi Peter,

please pull the following batch of fixes for the target/xtensa.

The following changes since commit 648db19685b7030aa558a4ddbd3a8e53d8c9a062:

  Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2020-04-29' into 
staging (2020-04-29 15:07:33 +0100)

are available in the Git repository at:

  git://github.com/OSLL/qemu-xtensa.git tags/20200625-xtensa

for you to fetch changes up to 8a3a81478dcc592518069125a6ad271fe5511b95:

  target/xtensa: drop gen_io_end call (2020-06-22 03:38:30 -0700)


target/xtensa fixes for 5.1:

- fix access to special registers missing in the core configuration;
- fix simcall opcode behavior for new hardware;
- drop gen_io_end call from xtensa translator.


Max Filippov (4):
  target/xtensa: work around missing SR definitions
  target/xtensa: fetch HW version from configuration overlay
  target/xtensa: fix simcall for newer hardware
  target/xtensa: drop gen_io_end call

 target/xtensa/cpu.h  |  1 +
 target/xtensa/overlay_tool.h |  8 +++---
 target/xtensa/translate.c| 60 +---
 3 files changed, 46 insertions(+), 23 deletions(-)

-- 
Thanks.
-- Max



Re: [Qemu-devel] [PULL 0/4] target/xtensa fixes for 3.1

2018-11-26 Thread Peter Maydell
On Sun, 25 Nov 2018 at 23:12, Max Filippov  wrote:
>
> Hi Peter,
>
> please pull the following batch of fixes for target/xtensa.
>
> The following changes since commit 47c1cc30e440860aa695358f7c2dd0b9d7b53d16:
>
>   Update version for v3.1.0-rc2 release (2018-11-20 18:10:26 +)
>
> are available in the git repository at:
>
>   git://github.com/OSLL/qemu-xtensa.git tags/20181125-xtensa
>
> for you to fetch changes up to 895e4897e278572e5265e0333f5e9864be2704a6:
>
>   MAINTAINERS: add missing xtensa patterns (2018-11-22 21:16:43 -0800)
>
> 
> xtensa fixes for 3.1:
>
> - fix register counting logic for linux-user gdbserver;
> - provide default memory sizes for XTFPGA boards;
> - add missing xtensa patterns to MAINTAINTERS.
>

Applied, thanks.

-- PMM



[Qemu-devel] [PULL 0/4] target/xtensa fixes for 3.1

2018-11-25 Thread Max Filippov
Hi Peter,

please pull the following batch of fixes for target/xtensa.

The following changes since commit 47c1cc30e440860aa695358f7c2dd0b9d7b53d16:

  Update version for v3.1.0-rc2 release (2018-11-20 18:10:26 +)

are available in the git repository at:

  git://github.com/OSLL/qemu-xtensa.git tags/20181125-xtensa

for you to fetch changes up to 895e4897e278572e5265e0333f5e9864be2704a6:

  MAINTAINERS: add missing xtensa patterns (2018-11-22 21:16:43 -0800)


xtensa fixes for 3.1:

- fix register counting logic for linux-user gdbserver;
- provide default memory sizes for XTFPGA boards;
- add missing xtensa patterns to MAINTAINTERS.


Max Filippov (4):
  target/xtensa: gdbstub fix register counting
  target/xtensa: drop num_[core_]regs from dc232b/dc233c configs
  target/xtensa: xtfpga: provide default memory sizes
  MAINTAINERS: add missing xtensa patterns

 MAINTAINERS|  2 ++
 hw/xtensa/xtfpga.c | 10 ++
 target/xtensa/core-dc232b.c|  2 --
 target/xtensa/core-dc232b/gdb-config.inc.c |  1 +
 target/xtensa/core-dc233c.c|  2 --
 target/xtensa/core-dc233c/gdb-config.inc.c |  1 +
 target/xtensa/gdbstub.c| 11 ---
 7 files changed, 22 insertions(+), 7 deletions(-)



Re: [Qemu-devel] [PULL 0/4] target/xtensa fixes for 2.12

2018-03-27 Thread Peter Maydell
On 26 March 2018 at 22:44, Max Filippov  wrote:
> Hi Peter,
>
> please pull the following fixes for target/xtensa for 2.12:
>
> The following changes since commit 7b93d78a04aa242d377ae213b79db6c319c71847:
>
>   Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into 
> staging (2018-03-26 15:17:25 +0100)
>
> are available in the git repository at:
>
>   git://github.com/OSLL/qemu-xtensa.git tags/20180326-xtensa
>
> for you to fetch changes up to d0ce7e9cfc8eda113f872b608fe4a3dd7662997e:
>
>   target/xtensa: fix timers test (2018-03-26 14:17:04 -0700)
>
> 
> target/xtensa fixes for 2.12:
>
> - add .inc. to non-top level source file names under target/xtensa;
> - fix #include  in the import_core.sh script;
> - remove stray linux-user/xtensa/syscall.h;
> - fix timers test.

Applied, thanks.

-- PMM



[Qemu-devel] [PULL 0/4] target/xtensa fixes for 2.12

2018-03-26 Thread Max Filippov
Hi Peter,

please pull the following fixes for target/xtensa for 2.12:

The following changes since commit 7b93d78a04aa242d377ae213b79db6c319c71847:

  Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging 
(2018-03-26 15:17:25 +0100)

are available in the git repository at:

  git://github.com/OSLL/qemu-xtensa.git tags/20180326-xtensa

for you to fetch changes up to d0ce7e9cfc8eda113f872b608fe4a3dd7662997e:

  target/xtensa: fix timers test (2018-03-26 14:17:04 -0700)


target/xtensa fixes for 2.12:

- add .inc. to non-top level source file names under target/xtensa;
- fix #include  in the import_core.sh script;
- remove stray linux-user/xtensa/syscall.h;
- fix timers test.


Max Filippov (4):
  target/xtensa: add .inc. to non-top level source file names
  target/xtensa/import_core.sh: fix #include 
  linux-user/xtensa: remove stray syscall.h
  target/xtensa: fix timers test

 linux-user/xtensa/syscall.h  | 0
 target/xtensa/core-dc232b.c  | 6 +++---
 target/xtensa/core-dc232b/{gdb-config.c => gdb-config.inc.c} | 0
 .../core-dc232b/{xtensa-modules.c => xtensa-modules.inc.c}   | 0
 target/xtensa/core-dc233c.c  | 4 ++--
 target/xtensa/core-dc233c/{gdb-config.c => gdb-config.inc.c} | 0
 .../core-dc233c/{xtensa-modules.c => xtensa-modules.inc.c}   | 0
 target/xtensa/core-de212.c   | 4 ++--
 target/xtensa/core-de212/{gdb-config.c => gdb-config.inc.c}  | 0
 .../xtensa/core-de212/{xtensa-modules.c => xtensa-modules.inc.c} | 0
 target/xtensa/core-fsf.c | 2 +-
 .../xtensa/core-fsf/{xtensa-modules.c => xtensa-modules.inc.c}   | 0
 target/xtensa/core-sample_controller.c   | 4 ++--
 .../core-sample_controller/{gdb-config.c => gdb-config.inc.c}| 0
 .../{xtensa-modules.c => xtensa-modules.inc.c}   | 0
 target/xtensa/import_core.sh | 9 +
 tests/tcg/xtensa/Makefile| 2 +-
 17 files changed, 16 insertions(+), 15 deletions(-)
 delete mode 100644 linux-user/xtensa/syscall.h
 rename target/xtensa/core-dc232b/{gdb-config.c => gdb-config.inc.c} (100%)
 rename target/xtensa/core-dc232b/{xtensa-modules.c => xtensa-modules.inc.c} 
(100%)
 rename target/xtensa/core-dc233c/{gdb-config.c => gdb-config.inc.c} (100%)
 rename target/xtensa/core-dc233c/{xtensa-modules.c => xtensa-modules.inc.c} 
(100%)
 rename target/xtensa/core-de212/{gdb-config.c => gdb-config.inc.c} (100%)
 rename target/xtensa/core-de212/{xtensa-modules.c => xtensa-modules.inc.c} 
(100%)
 rename target/xtensa/core-fsf/{xtensa-modules.c => xtensa-modules.inc.c} (100%)
 rename target/xtensa/core-sample_controller/{gdb-config.c => gdb-config.inc.c} 
(100%)
 rename target/xtensa/core-sample_controller/{xtensa-modules.c => 
xtensa-modules.inc.c} (100%)

-- 
Thanks.
-- Max



Re: [Qemu-devel] [PULL 0/4] target/xtensa fixes

2017-06-06 Thread Peter Maydell
On 5 June 2017 at 18:01, Max Filippov  wrote:
> Hi Peter,
>
> please pull my current target/xtensa queue:
>
> The following changes since commit c6e84fbd447a51e1161d74d71566a5f67b47eac5:
>
>   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging 
> (2017-06-02 17:46:22 +0100)
>
> are available in the git repository at:
>
>   git://github.com/OSLL/qemu-xtensa.git tags/20170605-xtensa
>
> for you to fetch changes up to aa717e657f3ef2e676803676eaa268ec0108a453:
>
>   target/xtensa: handle unknown registers in gdbstub (2017-06-03 02:16:18 
> -0700)
>
> 
> target/xtensa fixes:
>
> - fix read/write simcall mapping flags and return value;
> - use -serial option to direct console output of sim machine to QEMU chardev;
> - fix handling of unknown registers in the gdbstub.
>
> 
> Max Filippov (4):
>   target/xtensa: fix mapping direction in read/write simcalls
>   target/xtensa: fix return value of read/write simcalls
>   target/xtensa: support output to chardev console
>   target/xtensa: handle unknown registers in gdbstub

Hi; I'm afraid this doesn't build:

/home/peter.maydell/qemu/target/xtensa/xtensa-semi.c:34:25: fatal
error: sysemu/char.h: No such file or directory

Looks like you have a clash with the recent char frontend pullreq
which moved the char headers around.

thanks
-- PMM



[Qemu-devel] [PULL 0/4] target/xtensa fixes

2017-06-05 Thread Max Filippov
Hi Peter,

please pull my current target/xtensa queue:

The following changes since commit c6e84fbd447a51e1161d74d71566a5f67b47eac5:

  Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging 
(2017-06-02 17:46:22 +0100)

are available in the git repository at:

  git://github.com/OSLL/qemu-xtensa.git tags/20170605-xtensa

for you to fetch changes up to aa717e657f3ef2e676803676eaa268ec0108a453:

  target/xtensa: handle unknown registers in gdbstub (2017-06-03 02:16:18 -0700)


target/xtensa fixes:

- fix read/write simcall mapping flags and return value;
- use -serial option to direct console output of sim machine to QEMU chardev;
- fix handling of unknown registers in the gdbstub.


Max Filippov (4):
  target/xtensa: fix mapping direction in read/write simcalls
  target/xtensa: fix return value of read/write simcalls
  target/xtensa: support output to chardev console
  target/xtensa: handle unknown registers in gdbstub

 hw/xtensa/sim.c |  4 ++
 target/xtensa/cpu.h |  1 +
 target/xtensa/gdbstub.c | 13 +--
 target/xtensa/xtensa-semi.c | 91 +++--
 4 files changed, 87 insertions(+), 22 deletions(-)

-- 
Thanks.
-- Max