qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] ccff1a: hw/m68k/mcf5206: Reduce m5206_mbar_re


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] ccff1a: hw/m68k/mcf5206: Reduce m5206_mbar_read/write() of...
Date: Sun, 31 May 2020 14:00:23 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ccff1ae4df08ad79d055ad255fd578786f17a313
      
https://github.com/qemu/qemu/commit/ccff1ae4df08ad79d055ad255fd578786f17a313
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-05-30 (Sat, 30 May 2020)

  Changed paths:
    M hw/m68k/mcf5206.c

  Log Message:
  -----------
  hw/m68k/mcf5206: Reduce m5206_mbar_read/write() offset arg to 16-bit

All calls to m5206_mbar_read/m5206_mbar_write are used with
'offset = hwaddr & 0x3ff', so we are sure the offset fits
in 16-bit.

Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200526094052.1723-2-f4bug@amsat.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>


  Commit: b809667808b1f742a85d6cce0d77800be20bcaa0
      
https://github.com/qemu/qemu/commit/b809667808b1f742a85d6cce0d77800be20bcaa0
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-05-30 (Sat, 30 May 2020)

  Changed paths:
    M hw/m68k/mcf5206.c
    M hw/m68k/mcf5208.c
    M hw/m68k/mcf_intc.c
    M hw/net/mcf_fec.c

  Log Message:
  -----------
  hw/m68k/mcf52xx: Replace hw_error() by qemu_log_mask()

hw_error() calls exit(). This a bit overkill when we can log
the accesses as unimplemented or guest error.

When fuzzing the devices, we don't want the whole process to
exit. Replace some hw_error() calls by qemu_log_mask().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200526094052.1723-3-f4bug@amsat.org>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>


  Commit: 4ec2a1f53e8aaa22924614b64dde97321126943e
      
https://github.com/qemu/qemu/commit/4ec2a1f53e8aaa22924614b64dde97321126943e
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-05-31 (Sun, 31 May 2020)

  Changed paths:
    M hw/m68k/mcf5206.c
    M hw/m68k/mcf5208.c
    M hw/m68k/mcf_intc.c
    M hw/net/mcf_fec.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/huth-gitlab/tags/pull-request-2020-05-30' into staging

- Replace hw_error() with qemu_log_mask() in the m68k coldfire machine code

# gpg: Signature made Sat 30 May 2020 08:44:41 BST
# gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg:                issuer "huth@tuxfamily.org"
# gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
# gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
# gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]
# gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
# Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5

* remotes/huth-gitlab/tags/pull-request-2020-05-30:
  hw/m68k/mcf52xx: Replace hw_error() by qemu_log_mask()
  hw/m68k/mcf5206: Reduce m5206_mbar_read/write() offset arg to 16-bit

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/ce20db593f50...4ec2a1f53e8a



reply via email to

[Prev in Thread] Current Thread [Next in Thread]