qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 75a73a: hw/arm/bcm2836: Remove unused 'cpu_ty


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 75a73a: hw/arm/bcm2836: Remove unused 'cpu_type' field
Date: Mon, 13 Jul 2020 08:45:32 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 75a73a11d3597275bc9ef237bcb38cb53de3166d
      
https://github.com/qemu/qemu/commit/75a73a11d3597275bc9ef237bcb38cb53de3166d
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M include/hw/arm/bcm2836.h

  Log Message:
  -----------
  hw/arm/bcm2836: Remove unused 'cpu_type' field

The 'cpu_type' has been moved from BCM283XState to BCM283XClass
in commit 210f47840d, but we forgot to remove the old variable.
Do it now.

Fixes: 210f47840d ("hw/arm/bcm2836: Hardcode correct CPU type")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200703200459.23294-1-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: cdecb3fc1eb182d90666348a47afe63c493686e7
      
https://github.com/qemu/qemu/commit/cdecb3fc1eb182d90666348a47afe63c493686e7
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M target/arm/translate-sve.c

  Log Message:
  -----------
  target/arm: Fix mtedesc for do_mem_zpz

The mtedesc that was constructed was not actually passed in.
Found by Coverity (CID 1429996).

Fixes: d28d12f008e
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200706202345.193676-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 74c13305827237e8ca99180b3b43b5c75f11f6c5
      
https://github.com/qemu/qemu/commit/74c13305827237e8ca99180b3b43b5c75f11f6c5
  Author: Jean-Christophe Dubois <jcd@tribudubois.net>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M hw/arm/fsl-imx25.c
    M include/hw/arm/fsl-imx25.h

  Log Message:
  -----------
  Add the ability to change the FEC PHY MDIO device number on i.MX25 processor

Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Message-id: 
9f8923ecd974160ae8f634c275b1100c2cbe66d7.1593806826.git.jcd@tribudubois.net
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: updated for object_property_set_uint() argument reordering]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: a9c167a3c45a2a77fadf8a6f7fa6982b05e64395
      
https://github.com/qemu/qemu/commit/a9c167a3c45a2a77fadf8a6f7fa6982b05e64395
  Author: Jean-Christophe Dubois <jcd@tribudubois.net>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M hw/arm/fsl-imx6.c
    M include/hw/arm/fsl-imx6.h

  Log Message:
  -----------
  Add the ability to change the FEC PHY MDIO device number on i.MX6 processor

Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Message-id: 
05a64e83eb1c0c865ac077b22c599425c024c02c.1593806826.git.jcd@tribudubois.net
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: updated for object_property_set_uint() argument reordering]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 1f7197deb0b33d858538df8e664d97d57be68e26
      
https://github.com/qemu/qemu/commit/1f7197deb0b33d858538df8e664d97d57be68e26
  Author: Jean-Christophe Dubois <jcd@tribudubois.net>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M hw/arm/fsl-imx7.c
    M include/hw/arm/fsl-imx7.h

  Log Message:
  -----------
  Add the ability to change the FEC PHY MDIO devices numbers on i.MX7 processor

Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Message-id: 
c850187322be9930e47c8b234c385a7d0da245cb.1593806826.git.jcd@tribudubois.net
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: updated for object_property_set_uint() argument reordering]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 887c0f1544991f567543b7c214aa11ab0cea0a29
      
https://github.com/qemu/qemu/commit/887c0f1544991f567543b7c214aa11ab0cea0a29
  Author: Aaron Lindsay <aaron@os.amperecomputing.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M target/arm/helper.c

  Log Message:
  -----------
  target/arm: Don't do raw writes for PMINTENCLR

Raw writes to this register when in KVM mode can cause interrupts to be
raised (even when the PMU is disabled). Because the underlying state is
already aliased to PMINTENSET (which already provides raw write
functions), we can safely disable raw accesses to PMINTENCLR entirely.

Signed-off-by: Aaron Lindsay <aaron@os.amperecomputing.com>
Message-id: 20200707152616.1917154-1-aaron@os.amperecomputing.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: e95e05dab6607d9e86cd2eaa3ae4508bf7bb8fbb
      
https://github.com/qemu/qemu/commit/e95e05dab6607d9e86cd2eaa3ae4508bf7bb8fbb
  Author: Eric Auger <eric.auger@redhat.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M hw/virtio/virtio-iommu.c

  Log Message:
  -----------
  virtio-iommu: Fix coverity issue in virtio_iommu_handle_command()

Coverity points out (CID 1430180) that the new case is missing
break or a /* fallthrough */ comment. Break is the right thing to
do as in that case, tail is not used.

Fixes 1733eebb9e ("virtio-iommu: Implement RESV_MEM probe request")
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200708160147.18426-1-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: fc4334303e042a78b672a2f31c55960958ba14ca
      
https://github.com/qemu/qemu/commit/fc4334303e042a78b672a2f31c55960958ba14ca
  Author: David CARLIER <devnexen@gmail.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M configure

  Log Message:
  -----------
  build: Enable BSD symbols for Haiku

Tell Haiku to provide various BSD functions by setting BSD_SOURCE
and linking libbsd.

Signed-off-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200703145614.16684-2-peter.maydell@linaro.org
[PMM: expanded commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: c9c8b88f0bee1bf9e5f2011c67f8b579b6cf68d0
      
https://github.com/qemu/qemu/commit/c9c8b88f0bee1bf9e5f2011c67f8b579b6cf68d0
  Author: David CARLIER <devnexen@gmail.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M configure
    M util/qemu-openpty.c

  Log Message:
  -----------
  util/qemu-openpty.c: Don't assume pty.h is glibc-only

Instead of using an OS-specific ifdef test to select the "openpty()
is in pty.h" codepath, make configure check for the existence of
the header and use the new CONFIG_PTY instead.

This is necessary to build on Haiku, which also provides openpty()
via pty.h.

Signed-off-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200703145614.16684-3-peter.maydell@linaro.org
[PMM: Expanded commit message; rename to HAVE_PTY_H]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 195588ccd55d3afa8621af3b4718babbf6cdca19
      
https://github.com/qemu/qemu/commit/195588ccd55d3afa8621af3b4718babbf6cdca19
  Author: David CARLIER <devnexen@gmail.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M configure
    M os-posix.c

  Log Message:
  -----------
  build: Check that mlockall() exists

Instead of assuming that all POSIX platforms provide mlockall(),
test for it in configure. If the host doesn't provide this platform
then os_mlock() will fail -ENOSYS, as it does already on Windows.

This is necessary for Haiku, which does not have mlockall().

Signed-off-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200703145614.16684-4-peter.maydell@linaro.org
[PMM: Expanded commit message; rename to HAVE_MLOCKALL]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 2a4b472c3c8fbbb95b104f9b7699a5ceeeb5b006
      
https://github.com/qemu/qemu/commit/2a4b472c3c8fbbb95b104f9b7699a5ceeeb5b006
  Author: David CARLIER <devnexen@gmail.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M configure
    M hw/xen/xen-legacy-backend.c
    M include/qemu/osdep.h
    M util/oslib-posix.c

  Log Message:
  -----------
  osdep.h: Always include <sys/signal.h> if it exists

Regularize our handling of <sys/signal.h>: currently we include it in
osdep.h, but only for OpenBSD, and we include it without an ifdef
guard in a couple of C files.  This causes problems for Haiku, which
doesn't have that header.

Instead, check in configure whether sys/signal.h exists, and if it
does then always include it from osdep.h.

Signed-off-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200703145614.16684-5-peter.maydell@linaro.org
[PMM: Expanded commit message; rename to HAVE_SYS_SIGNAL_H]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 8bf0f1754a8321568d536c2f33b013279fc4aaaa
      
https://github.com/qemu/qemu/commit/8bf0f1754a8321568d536c2f33b013279fc4aaaa
  Author: David CARLIER <devnexen@gmail.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M include/qemu/osdep.h

  Log Message:
  -----------
  osdep.h: For Haiku, define SIGIO as equivalent to SIGPOLL

Haiku doesn't provide SIGIO; fix this up in osdep.h by defining it as
equal to SIGPOLL.

Signed-off-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200703145614.16684-6-peter.maydell@linaro.org
[PMM: Expanded commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 652a46ebba970017c7a23767dcc983265cdb8eb7
      
https://github.com/qemu/qemu/commit/652a46ebba970017c7a23767dcc983265cdb8eb7
  Author: David CARLIER <devnexen@gmail.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M include/qemu/bswap.h

  Log Message:
  -----------
  bswap.h: Include <endian.h> on Haiku for bswap operations

Haiku puts the bswap* functions in <endian.h>; pull in that
include file on that platform.

Signed-off-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200703145614.16684-7-peter.maydell@linaro.org
[PMM: Expanded commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 81b7b1e21d5da37faef1dbb5404f3adae7e68ac2
      
https://github.com/qemu/qemu/commit/81b7b1e21d5da37faef1dbb5404f3adae7e68ac2
  Author: David CARLIER <devnexen@gmail.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M util/compatfd.c

  Log Message:
  -----------
  util/compatfd.c: Only include <sys/syscall.h> if CONFIG_SIGNALFD

util/compatfd.c includes <sys/syscall.h> so that the CONFIG_SIGNALFD
code can use SYS_signalfd. Guard the #include with CONFIG_SIGNALFD
to avoid portability issues on hosts like Haiku which do not
provide that header file.

Signed-off-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200703145614.16684-8-peter.maydell@linaro.org
[PMM: Expanded commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 2b9b9e701041dfbe5efd9af2205b21b35a49f971
      
https://github.com/qemu/qemu/commit/2b9b9e701041dfbe5efd9af2205b21b35a49f971
  Author: David CARLIER <devnexen@gmail.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M util/oslib-posix.c

  Log Message:
  -----------
  util/oslib-posix.c: Implement qemu_init_exec_dir() for Haiku

The qemu_init_exec_dir() function is inherently non-portable;
provide an implementation for Haiku hosts.

Signed-off-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200703145614.16684-9-peter.maydell@linaro.org
[PMM: Expanded commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 0b823cb07eade4e7e133cc09dfaccceec04cb6a2
      
https://github.com/qemu/qemu/commit/0b823cb07eade4e7e133cc09dfaccceec04cb6a2
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M util/drm.c

  Log Message:
  -----------
  util/drm: make portable by avoiding struct dirent d_type

Given this isn't perforance critical at all lets avoid the non-portable
d_type and use fstat instead to check whenever the file is a chardev.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reported-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200703145614.16684-10-peter.maydell@linaro.org
Message-id: 20200701180302.14821-1-kraxel@redhat.com
[PMM: fixed comment style; tweaked subject line]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 42928f2c9cd6185e3bda5e214f5c8f3603125ba9
      
https://github.com/qemu/qemu/commit/42928f2c9cd6185e3bda5e214f5c8f3603125ba9
  Author: Wentong Wu <wentong.wu@intel.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M target/nios2/translate.c

  Log Message:
  -----------
  target/nios2: add DISAS_NORETURN case for nothing more to generate

Add DISAS_NORETURN case for nothing more to generate because at runtime
execution will never return from some helper call. And at the same time
replace DISAS_UPDATE in t_gen_helper_raise_exception and gen_exception
with the newly added DISAS_NORETURN.

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
Message-id: 20200710233433.19729-1-wentong.wu@intel.com
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: c7694535718273c5a38c18a0f08e48509ba26e38
      
https://github.com/qemu/qemu/commit/c7694535718273c5a38c18a0f08e48509ba26e38
  Author: Wentong Wu <wentong.wu@intel.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M target/nios2/translate.c

  Log Message:
  -----------
  target/nios2: in line the semantics of DISAS_UPDATE with other targets

In line the semantics of DISAS_UPDATE on nios2 target with other targets
which is to explicitly write the PC back into the cpu state before doing
a tcg_gen_exit_tb().

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
Message-id: 20200710233433.19729-2-wentong.wu@intel.com
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 77b3f2af57a37b1c30174a911e03d6ff715ef4aa
      
https://github.com/qemu/qemu/commit/77b3f2af57a37b1c30174a911e03d6ff715ef4aa
  Author: Wentong Wu <wentong.wu@intel.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M target/nios2/translate.c

  Log Message:
  -----------
  target/nios2: Use gen_io_start around wrctl instruction

wrctl instruction on nios2 target will cause checking cpu
interrupt but tcg_handle_interrupt() will call cpu_abort()
if the CPU gets an interrupt while it's not in 'can do IO'
state, so add gen_io_start around wrctl instruction. Also
at the same time, end the onging TB with DISAS_UPDATE.

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
Message-id: 20200710233433.19729-3-wentong.wu@intel.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: dcef727e5e45f679908c90a7ff3b816c5d61f602
      
https://github.com/qemu/qemu/commit/dcef727e5e45f679908c90a7ff3b816c5d61f602
  Author: Wentong Wu <wentong.wu@intel.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M hw/nios2/cpu_pic.c

  Log Message:
  -----------
  hw/nios2: exit to main CPU loop only when unmasking interrupts

Only when guest code is unmasking interrupts, terminate the excution
of translated code and exit to the main CPU loop to handle previous
pended interrupts because of the interrupts mask by guest code.

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
Message-id: 20200710233433.19729-4-wentong.wu@intel.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: ad9d854b70b4587d6785a961b3a5860d8bf215ae
      
https://github.com/qemu/qemu/commit/ad9d854b70b4587d6785a961b3a5860d8bf215ae
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M hw/arm/tosa.c

  Log Message:
  -----------
  hw/arm/tosa.c: Detabify

Remove the hardcoded tabs from hw/arm/tosa.c. There aren't
many, but since they're all in constant #defines they're not
going to go away with our usual "only when we touch a function"
policy on reformatting.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200628203748.14250-2-peter.maydell@linaro.org


  Commit: d4e1d8f57eb2e6d0017ae5e8285fc788556ce427
      
https://github.com/qemu/qemu/commit/d4e1d8f57eb2e6d0017ae5e8285fc788556ce427
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M hw/arm/tosa.c

  Log Message:
  -----------
  hw/arm/tosa: Encapsulate misc GPIO handling in a device

Currently we have a free-floating set of IRQs and a function
tosa_out_switch() which handle the GPIO lines on the tosa board which
connect to LEDs, and another free-floating IRQ and tosa_reset()
function to handle the GPIO line that resets the system.  Encapsulate
this behaviour in a simple QOM device.

This commit fixes Coverity issue CID 1421929 (which pointed out that
the 'outsignals' in tosa_gpio_setup() were leaked), because it
removes the use of the qemu_allocate_irqs() API from this code
entirely.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200628203748.14250-3-peter.maydell@linaro.org


  Commit: c1abd462d99d8d94dd2c94eb9bb33108859407b2
      
https://github.com/qemu/qemu/commit/c1abd462d99d8d94dd2c94eb9bb33108859407b2
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M hw/arm/palm.c

  Log Message:
  -----------
  hw/arm/palm.c: Detabify

Remove hard-tabs from palm.c.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200628214230.2592-2-peter.maydell@linaro.org


  Commit: ad938fc1d53c99b264ecfc81291a4814204ff3dd
      
https://github.com/qemu/qemu/commit/ad938fc1d53c99b264ecfc81291a4814204ff3dd
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M hw/arm/palm.c

  Log Message:
  -----------
  hw/arm/palm.c: Encapsulate misc GPIO handling in a device

Replace the free-floating set of IRQs and palmte_onoff_gpios()
function with a simple QOM device that encapsulates this
behaviour.

This fixes Coverity issue CID 1421944, which points out that
the memory returned by qemu_allocate_irqs() is leaked.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200628214230.2592-3-peter.maydell@linaro.org


  Commit: 756f739b1682bf131994ec96dad7fbdf8b54493a
      
https://github.com/qemu/qemu/commit/756f739b1682bf131994ec96dad7fbdf8b54493a
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M hw/arm/aspeed.c

  Log Message:
  -----------
  hw/arm/aspeed: Do not create and attach empty SD cards by default

Since added in commit 2bea128c3d, each SDHCI is wired with a SD
card, using empty card when no block drive provided. This is not
the desired behavior. The SDHCI exposes a SD bus to plug cards
on, if no card available, it is fine to have an unplugged bus.

Avoid creating unnecessary SD card device when no block drive
provided.

Fixes: 2bea128c3d ("hw/sd/aspeed_sdhci: New device")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200705173402.15620-1-f4bug@amsat.org
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 5c65b1f135ff09d24827fa3a17e56a4f8a032cd5
      
https://github.com/qemu/qemu/commit/5c65b1f135ff09d24827fa3a17e56a4f8a032cd5
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M configure
    M hw/arm/aspeed.c
    M hw/arm/fsl-imx25.c
    M hw/arm/fsl-imx6.c
    M hw/arm/fsl-imx7.c
    M hw/arm/palm.c
    M hw/arm/tosa.c
    M hw/nios2/cpu_pic.c
    M hw/virtio/virtio-iommu.c
    M hw/xen/xen-legacy-backend.c
    M include/hw/arm/bcm2836.h
    M include/hw/arm/fsl-imx25.h
    M include/hw/arm/fsl-imx6.h
    M include/hw/arm/fsl-imx7.h
    M include/qemu/bswap.h
    M include/qemu/osdep.h
    M os-posix.c
    M target/arm/helper.c
    M target/arm/translate-sve.c
    M target/nios2/translate.c
    M util/compatfd.c
    M util/drm.c
    M util/oslib-posix.c
    M util/qemu-openpty.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200713' 
into staging

target-arm queue:
 * hw/arm/bcm2836: Remove unused 'cpu_type' field
 * target/arm: Fix mtedesc for do_mem_zpz
 * Add the ability to change the FEC PHY MDIO device number on 
i.MX25/i.MX6/i.MX7
 * target/arm: Don't do raw writes for PMINTENCLR
 * virtio-iommu: Fix coverity issue in virtio_iommu_handle_command()
 * build: Fix various issues with building on Haiku
 * target/nios2: fix wrctl behaviour when using icount
 * hw/arm/tosa: Encapsulate misc GPIO handling in a device
 * hw/arm/palm.c: Encapsulate misc GPIO handling in a device
 * hw/arm/aspeed: Do not create and attach empty SD cards by default

# gpg: Signature made Mon 13 Jul 2020 15:08:16 BST
# gpg:                using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
# gpg:                issuer "peter.maydell@linaro.org"
# gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>" [ultimate]
# gpg:                 aka "Peter Maydell <pmaydell@gmail.com>" [ultimate]
# gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>" 
[ultimate]
# Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE

* remotes/pmaydell/tags/pull-target-arm-20200713: (25 commits)
  hw/arm/aspeed: Do not create and attach empty SD cards by default
  hw/arm/palm.c: Encapsulate misc GPIO handling in a device
  hw/arm/palm.c: Detabify
  hw/arm/tosa: Encapsulate misc GPIO handling in a device
  hw/arm/tosa.c: Detabify
  hw/nios2: exit to main CPU loop only when unmasking interrupts
  target/nios2: Use gen_io_start around wrctl instruction
  target/nios2: in line the semantics of DISAS_UPDATE with other targets
  target/nios2: add DISAS_NORETURN case for nothing more to generate
  util/drm: make portable by avoiding struct dirent d_type
  util/oslib-posix.c: Implement qemu_init_exec_dir() for Haiku
  util/compatfd.c: Only include <sys/syscall.h> if CONFIG_SIGNALFD
  bswap.h: Include <endian.h> on Haiku for bswap operations
  osdep.h: For Haiku, define SIGIO as equivalent to SIGPOLL
  osdep.h: Always include <sys/signal.h> if it exists
  build: Check that mlockall() exists
  util/qemu-openpty.c: Don't assume pty.h is glibc-only
  build: Enable BSD symbols for Haiku
  virtio-iommu: Fix coverity issue in virtio_iommu_handle_command()
  target/arm: Don't do raw writes for PMINTENCLR
  ...

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


Compare: https://github.com/qemu/qemu/compare/00ce6c36b35e...5c65b1f135ff



reply via email to

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