qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 99481a: accel: Restrict probe_access*() funct


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] 99481a: accel: Restrict probe_access*() functions to TCG
Date: Tue, 23 Jul 2024 22:45:31 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 99481a098837d6adc24a82d0d3123e675b3e191b
      
https://github.com/qemu/qemu/commit/99481a098837d6adc24a82d0d3123e675b3e191b
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M accel/stubs/tcg-stub.c
    M include/exec/exec-all.h

  Log Message:
  -----------
  accel: Restrict probe_access*() functions to TCG

This API is specific to TCG (already handled by hardware
accelerators), so restrict it with #ifdef'ry. Remove
unnecessary stubs.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240529155918.6221-1-philmd@linaro.org>


  Commit: 35422553bc6a22fd3de8ac7cb121b509e97b9bb1
      
https://github.com/qemu/qemu/commit/35422553bc6a22fd3de8ac7cb121b509e97b9bb1
  Author: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/i386/intel_iommu.c

  Log Message:
  -----------
  hw/i386/intel_iommu: Extract device IOTLB invalidation logic

This piece of code can be shared by both IOTLB invalidation and
PASID-based IOTLB invalidation

No functional changes intended.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Message-ID: <20240718081636.879544-12-zhenzhong.duan@intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 2465c89fb983eed670007742bd68c7d91b6d6f85
      
https://github.com/qemu/qemu/commit/2465c89fb983eed670007742bd68c7d91b6d6f85
  Author: Bibo Mao <maobibo@loongson.cn>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/intc/loongson_ipi.c

  Log Message:
  -----------
  hw/intc/loongson_ipi: Access memory in little endian

Loongson IPI is only available in little-endian,
so use that to access the guest memory (in case
we run on a big-endian host).

Cc: qemu-stable@nongnu.org
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Fixes: f6783e3438 ("hw/loongarch: Add LoongArch ipi interrupt support")
[PMD: Extracted from bigger commit, added commit description]
Co-Developed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Tested-by: Bibo Mao <maobibo@loongson.cn>
Acked-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20240718133312.10324-3-philmd@linaro.org>


  Commit: 0c2086bc7360565dfb9933181dafaefe2c94cddf
      
https://github.com/qemu/qemu/commit/0c2086bc7360565dfb9933181dafaefe2c94cddf
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/intc/loongson_ipi.c

  Log Message:
  -----------
  hw/intc/loongson_ipi: Fix resource leak

Once initialised, QOM objects can be realized and
unrealized multiple times before being finalized.
Resources allocated in REALIZE must be deallocated
in an equivalent UNREALIZE handler.

Free the CPU array in loongson_ipi_unrealize()
instead of loongson_ipi_finalize().

Cc: qemu-stable@nongnu.org
Fixes: 5e90b8db382 ("hw/loongarch: Set iocsr address space per-board rather 
than percpu")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240723111405.14208-3-philmd@linaro.org>


  Commit: 13e8ec6cf319913df4ae4f3e2e221f0b3df52acf
      
https://github.com/qemu/qemu/commit/13e8ec6cf319913df4ae4f3e2e221f0b3df52acf
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/intc/loongson_ipi.c

  Log Message:
  -----------
  hw/intc/loongson_ipi: Declare QOM types using DEFINE_TYPES() macro

When multiple QOM types are registered in the same file,
it is simpler to use the the DEFINE_TYPES() macro. Replace
the type_init() / type_register_static() combination.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20240718133312.10324-2-philmd@linaro.org>


  Commit: 9ea0f206b7e292c46d0767c3ef1a5ac1d0c6fecb
      
https://github.com/qemu/qemu/commit/9ea0f206b7e292c46d0767c3ef1a5ac1d0c6fecb
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M docs/about/emulation.rst
    M hw/rtc/ls7a_rtc.c

  Log Message:
  -----------
  docs: Correct Loongarch -> LoongArch

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20240718133312.10324-20-philmd@linaro.org>


  Commit: 220434f099cd14374cdb223bfe2f830fb3e1cd86
      
https://github.com/qemu/qemu/commit/220434f099cd14374cdb223bfe2f830fb3e1cd86
  Author: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M docs/interop/firmware.json

  Log Message:
  -----------
  docs/interop/firmware.json: add new enum FirmwareFormat

Only a small subset of all blockdev drivers make sense for firmware
images. Introduce and use a new enum to represent this.

This also reduces the dependency on firmware.json from the global qapi
definitions.

Claim "Since: 3.0" for the new enum, because that's correct for its
members, and the members are what matters in the interface.

Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240719-qapi-firmware-json-v6-1-c2e3de390b58@linutronix.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: d5d0070bfe2da3ab05e9975d557a1517df56199e
      
https://github.com/qemu/qemu/commit/d5d0070bfe2da3ab05e9975d557a1517df56199e
  Author: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M docs/interop/firmware.json

  Log Message:
  -----------
  docs/interop/firmware.json: add new enum FirmwareArchitecture

Only a small subset of all architectures supported by qemu make use of
firmware files. Introduce and use a new enum to represent this.

This also removes the dependency to machine.json from the global qapi
definitions.

Claim "Since: 3.0" for the new enum, because that's correct for most of
its members, and the members are what matters in the interface.

Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240719-qapi-firmware-json-v6-2-c2e3de390b58@linutronix.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 16c84ec1bed94997d786671cc154c250375e2363
      
https://github.com/qemu/qemu/commit/16c84ec1bed94997d786671cc154c250375e2363
  Author: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M docs/interop/firmware.json

  Log Message:
  -----------
  docs/interop/firmware.json: convert "Example" section

Since commit 3c5f6114d9ff ("qapi: remove "Example" doc section")
the "Example" section is not valid anymore.
It has been replaced by the "qmp-example" directive.

This was not detected earlier as firmware.json was not validated.
As this validation is about to be added, adapt firmware.json.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Message-ID: <20240719-qapi-firmware-json-v6-3-c2e3de390b58@linutronix.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 53858a6a305248a567d441de12afc97d3dd9cc7d
      
https://github.com/qemu/qemu/commit/53858a6a305248a567d441de12afc97d3dd9cc7d
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/i2c/mpc_i2c.c

  Log Message:
  -----------
  hw/i2c/mpc_i2c: Fix mmio region size

The last register of this device is at offset 0x14 occupying 8 bits so
to cover it the mmio region needs to be 0x15 bytes long. Also correct
the name of the field storing this register value to match the
register name.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Fixes: 7abb479c7a ("PPC: E500: Add FSL I2C controller")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240721225506.B32704E6039@zero.eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: c8f1a322d1f8c15f72cc57e469d2331a2d84da63
      
https://github.com/qemu/qemu/commit/c8f1a322d1f8c15f72cc57e469d2331a2d84da63
  Author: Yao Xingtao <yaoxt.fnst@fujitsu.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/mips/loongson3_virt.c

  Log Message:
  -----------
  hw/mips/loongson3_virt: remove useless type cast

The type of kernel_entry, kernel_low and kernel_high is uint64_t, cast
the pointer of this type to uint64_t* is useless.

Signed-off-by: Yao Xingtao <yaoxt.fnst@fujitsu.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240722091728.4334-2-yaoxt.fnst@fujitsu.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 007643bddcebf9e7fb8460a4e8068c4f80afa17e
      
https://github.com/qemu/qemu/commit/007643bddcebf9e7fb8460a4e8068c4f80afa17e
  Author: Yao Xingtao <yaoxt.fnst@fujitsu.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M include/qemu/range.h

  Log Message:
  -----------
  util/range: Make ranges_overlap() return bool

Just like range_overlaps_range(), use the returned bool value
to check whether 2 given ranges overlap.

Signed-off-by: Yao Xingtao <yaoxt.fnst@fujitsu.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240722040742.11513-2-yaoxt.fnst@fujitsu.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 7b3e371526d372a41a4d7db89b3a70b24d3a6198
      
https://github.com/qemu/qemu/commit/7b3e371526d372a41a4d7db89b3a70b24d3a6198
  Author: Yao Xingtao <yaoxt.fnst@fujitsu.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/cxl/cxl-mailbox-utils.c

  Log Message:
  -----------
  cxl/mailbox: make range overlap check more readable

use ranges_overlap() instead of open-coding the overlap check to improve
the readability of the code.

Signed-off-by: Yao Xingtao <yaoxt.fnst@fujitsu.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240722040742.11513-5-yaoxt.fnst@fujitsu.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 2a48b590f7479b93623e650642aee2fce015bbd3
      
https://github.com/qemu/qemu/commit/2a48b590f7479b93623e650642aee2fce015bbd3
  Author: Yao Xingtao <yaoxt.fnst@fujitsu.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M target/sparc/ldst_helper.c

  Log Message:
  -----------
  sparc/ldst_helper: make range overlap check more readable

use ranges_overlap() instead of open-coding the overlap check to improve
the readability of the code.

Signed-off-by: Yao Xingtao <yaoxt.fnst@fujitsu.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240722040742.11513-9-yaoxt.fnst@fujitsu.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 13c59a0e9efad5154ff4aba46d5d645c99af8fcf
      
https://github.com/qemu/qemu/commit/13c59a0e9efad5154ff4aba46d5d645c99af8fcf
  Author: Yao Xingtao <yaoxt.fnst@fujitsu.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M system/memory_mapping.c

  Log Message:
  -----------
  system/memory_mapping: make range overlap check more readable

use ranges_overlap() instead of open-coding the overlap check to improve
the readability of the code.

Signed-off-by: Yao Xingtao <yaoxt.fnst@fujitsu.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <20240722040742.11513-10-yaoxt.fnst@fujitsu.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 7cd9b9d476e729808f3c9b82a12f51a39673d5cb
      
https://github.com/qemu/qemu/commit/7cd9b9d476e729808f3c9b82a12f51a39673d5cb
  Author: Yao Xingtao <yaoxt.fnst@fujitsu.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M crypto/block-luks.c

  Log Message:
  -----------
  crypto/block-luks: make range overlap check more readable

use ranges_overlap() instead of open-coding the overlap check to improve
the readability of the code.

Signed-off-by: Yao Xingtao <yaoxt.fnst@fujitsu.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20240722040742.11513-12-yaoxt.fnst@fujitsu.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 1aef44805df33f3f6e6302984660f4ea6b31fb3e
      
https://github.com/qemu/qemu/commit/1aef44805df33f3f6e6302984660f4ea6b31fb3e
  Author: Yao Xingtao <yaoxt.fnst@fujitsu.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M dump/dump.c

  Log Message:
  -----------
  dump: make range overlap check more readable

use ranges_overlap() instead of open-coding the overlap check to improve
the readability of the code.

Signed-off-by: Yao Xingtao <yaoxt.fnst@fujitsu.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20240722040742.11513-13-yaoxt.fnst@fujitsu.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 2f28f28e74d9e8861701e5597b314fa85965ecd4
      
https://github.com/qemu/qemu/commit/2f28f28e74d9e8861701e5597b314fa85965ecd4
  Author: Zhao Liu <zhao1.liu@intel.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/nubus/nubus-virtio-mmio.c

  Log Message:
  -----------
  hw/nubus/virtio-mmio: Fix missing ERRP_GUARD() in realize handler

According to the comment in qapi/error.h, dereferencing @errp requires
ERRP_GUARD():

* = Why, when and how to use ERRP_GUARD() =
*
* Without ERRP_GUARD(), use of the @errp parameter is restricted:
* - It must not be dereferenced, because it may be null.
...
* ERRP_GUARD() lifts these restrictions.
*
* To use ERRP_GUARD(), add it right at the beginning of the function.
* @errp can then be used without worrying about the argument being
* NULL or &error_fatal.
*
* Using it when it's not needed is safe, but please avoid cluttering
* the source with useless code.

In nubus_virtio_mmio_realize(), @errp is dereferenced without
ERRP_GUARD().

Although nubus_virtio_mmio_realize() - as a DeviceClass.realize()
method - is never passed a null @errp argument, it should follow the
rules on @errp usage.  Add the ERRP_GUARD() there.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Message-ID: <20240723161802.1377985-1-zhao1.liu@intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: c9e0b9a59ce6499c32affad6415560b1ad1d708f
      
https://github.com/qemu/qemu/commit/c9e0b9a59ce6499c32affad6415560b1ad1d708f
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/char/goldfish_tty.c

  Log Message:
  -----------
  hw/char/goldfish: Use DMA memory API

Rather than using address_space_rw(..., 0 or 1),
use the simpler DMA memory API which expand to
the same code. This allows removing a cast on
the 'buf' variable which is really const. Since
'buf' is only used in the CMD_READ_BUFFER case,
we can reduce its scope.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240723181850.46000-1-philmd@linaro.org>


  Commit: b07f07761d85c97d478d9df3978fcd32f8fbb163
      
https://github.com/qemu/qemu/commit/b07f07761d85c97d478d9df3978fcd32f8fbb163
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M include/chardev/char-fe.h

  Log Message:
  -----------
  chardev/char-fe: Document returned value on error

qemu_chr_fe_add_watch() and qemu_chr_fe_write[_all]()
return -1 on error. Mention it in the documentation.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240722160745.67904-2-philmd@linaro.org>


  Commit: 5ebf19430a5fcb31db86dacb2f4beaf7a477a0aa
      
https://github.com/qemu/qemu/commit/5ebf19430a5fcb31db86dacb2f4beaf7a477a0aa
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M include/qemu/fifo8.h

  Log Message:
  -----------
  util/fifo8: Fix style

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20240722160745.67904-3-philmd@linaro.org>


  Commit: b81bc8dc8df414ff7767ee060d9234de45861089
      
https://github.com/qemu/qemu/commit/b81bc8dc8df414ff7767ee060d9234de45861089
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M util/fifo8.c

  Log Message:
  -----------
  util/fifo8: Use fifo8_reset() in fifo8_create()

Avoid open-coding fifo8_reset() in fifo8_create().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240722160745.67904-4-philmd@linaro.org>


  Commit: 06a16e7ba98438087b8806bad0ddf094380892a9
      
https://github.com/qemu/qemu/commit/06a16e7ba98438087b8806bad0ddf094380892a9
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/scsi/esp.c
    M include/qemu/fifo8.h
    M util/fifo8.c

  Log Message:
  -----------
  util/fifo8: Rename fifo8_peek_buf() -> fifo8_peek_bufptr()

Since fifo8_peek_buf() return a const buffer (which points
directly into the FIFO backing store). Rename it using the
'bufptr' suffix to better reflect that it is a pointer to
the internal buffer that is being returned. This will help
differentiate with methods *copying* the FIFO data.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20240722160745.67904-5-philmd@linaro.org>


  Commit: 06252bf5122f047ed5c14fb75f3167f11b882352
      
https://github.com/qemu/qemu/commit/06252bf5122f047ed5c14fb75f3167f11b882352
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M chardev/msmouse.c
    M hw/char/goldfish_tty.c
    M hw/net/allwinner_emac.c
    M hw/scsi/esp.c
    M include/qemu/fifo8.h
    M ui/console-vc.c
    M ui/gtk.c
    M util/fifo8.c

  Log Message:
  -----------
  util/fifo8: Rename fifo8_pop_buf() -> fifo8_pop_bufptr()

Since fifo8_pop_buf() return a const buffer (which points
directly into the FIFO backing store). Rename it using the
'bufptr' suffix to better reflect that it is a pointer to
the internal buffer that is being returned. This will help
differentiate with methods *copying* the FIFO data.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20240722160745.67904-6-philmd@linaro.org>


  Commit: 23ad5711730f994d66520a3283aac2979d89389e
      
https://github.com/qemu/qemu/commit/23ad5711730f994d66520a3283aac2979d89389e
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/scsi/esp.c
    M include/qemu/fifo8.h
    M util/fifo8.c

  Log Message:
  -----------
  util/fifo8: Expose fifo8_pop_buf()

Extract fifo8_pop_buf() from hw/scsi/esp.c and expose
it as part of the <qemu/fifo8.h> API. This function takes
care of non-contiguous (wrapped) FIFO buffer (which is an
implementation detail).

Suggested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20240722160745.67904-7-philmd@linaro.org>


  Commit: e4e9db25624a93e8b02890a15bba0958db33c669
      
https://github.com/qemu/qemu/commit/e4e9db25624a93e8b02890a15bba0958db33c669
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M hw/scsi/esp.c
    M include/qemu/fifo8.h
    M util/fifo8.c

  Log Message:
  -----------
  util/fifo8: Introduce fifo8_drop()

Add the fifo8_drop() helper for clarity.
It is a simple wrapper over fifo8_pop_buf().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20240722160745.67904-8-philmd@linaro.org>


  Commit: 632d3b2276d22d879d66652f617826c30fd51f4a
      
https://github.com/qemu/qemu/commit/632d3b2276d22d879d66652f617826c30fd51f4a
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Cover guest-agent in QAPI schema

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240717140025.66397-1-philmd@linaro.org>


  Commit: e4a44f94db11fcf873399c60ebb1d93a9ad1cd6e
      
https://github.com/qemu/qemu/commit/e4a44f94db11fcf873399c60ebb1d93a9ad1cd6e
  Author: Zhao Liu <zhao1.liu@intel.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Add myself as a reviewer of machine core

While working on a series of CPU/cache topology work, I became
interested in the machine core component and would like to help to
review more related patches.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240722164412.1163414-1-zhao1.liu@intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 6410f877f5ed535acd01bbfaa4baec379e44d0ef
      
https://github.com/qemu/qemu/commit/6410f877f5ed535acd01bbfaa4baec379e44d0ef
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
    M MAINTAINERS
    M accel/stubs/tcg-stub.c
    M chardev/msmouse.c
    M crypto/block-luks.c
    M docs/about/emulation.rst
    M docs/interop/firmware.json
    M dump/dump.c
    M hw/char/goldfish_tty.c
    M hw/cxl/cxl-mailbox-utils.c
    M hw/i2c/mpc_i2c.c
    M hw/i386/intel_iommu.c
    M hw/intc/loongson_ipi.c
    M hw/mips/loongson3_virt.c
    M hw/net/allwinner_emac.c
    M hw/nubus/nubus-virtio-mmio.c
    M hw/rtc/ls7a_rtc.c
    M hw/scsi/esp.c
    M include/chardev/char-fe.h
    M include/exec/exec-all.h
    M include/qemu/fifo8.h
    M include/qemu/range.h
    M system/memory_mapping.c
    M target/sparc/ldst_helper.c
    M ui/console-vc.c
    M ui/gtk.c
    M util/fifo8.c

  Log Message:
  -----------
  Merge tag 'hw-misc-20240723' of https://github.com/philmd/qemu into staging

Misc HW patch queue

- Restrict probe_access*() functions to TCG (Phil)
- Extract do_invalidate_device_tlb from vtd_process_device_iotlb_desc (Clément)
- Fixes in Loongson IPI model (Bibo & Phil)
- Make docs/interop/firmware.json compatible with qapi-gen.py script (Thomas)
- Correct MPC I2C MMIO region size (Zoltan)
- Remove useless cast in Loongson3 Virt machine (Yao)
- Various uses of range overlap API (Yao)
- Use ERRP_GUARD macro in nubus_virtio_mmio_realize (Zhao)
- Use DMA memory API in Goldfish UART model (Phil)
- Expose fifo8_pop_buf and introduce fifo8_drop (Phil)
- MAINTAINERS updates (Zhao, Phil)

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmagFF8ACgkQ4+MsLN6t
# wN5bKg//f5TwUhsy2ff0FJpHheDOj/9Gc2nZ1U/Fp0E5N3sz3A7MGp91wye6Xwi3
# XG34YN9LK1AVzuCdrEEs5Uaxs1ZS1R2mV+fZaGHwYYxPDdnXxGyp/2Q0eyRxzbcN
# zxE2hWscYSZbPVEru4HvZJKfp4XnE1cqA78fJKMAdtq0IPq38tmQNRlJ+gWD9dC6
# ZUHXPFf3DnucvVuwqb0JYO/E+uJpcTtgR6pc09Xtv/HFgMiS0vKZ1I/6LChqAUw9
# eLMpD/5V2naemVadJe98/dL7gIUnhB8GTjsb4ioblG59AO/uojutwjBSQvFxBUUw
# U5lX9OSn20ouwcGiqimsz+5ziwhCG0R6r1zeQJFqUxrpZSscq7NQp9ygbvirm+wS
# edLc8yTPf4MtYOihzPP9jLPcXPZjEV64gSnJISDDFYWANCrysX3suaFEOuVYPl+s
# ZgQYRVSSYOYHgNqBSRkPKKVUxskSQiqLY3SfGJG4EA9Ktt5lD1cLCXQxhdsqphFm
# Ws3zkrVVL0EKl4v/4MtCgITIIctN1ZJE9u3oPJjASqSvK6EebFqAJkc2SidzKHz0
# F3iYX2AheWNHCQ3HFu023EvFryjlxYk95fs2f6Uj2a9yVbi813qsvd3gcZ8t0kTT
# +dmQwpu1MxjzZnA6838R6OCMnC+UpMPqQh3dPkU/5AF2fc3NnN8=
# =J/I2
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 24 Jul 2024 06:36:47 AM AEST
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" 
[full]

* tag 'hw-misc-20240723' of https://github.com/philmd/qemu: (28 commits)
  MAINTAINERS: Add myself as a reviewer of machine core
  MAINTAINERS: Cover guest-agent in QAPI schema
  util/fifo8: Introduce fifo8_drop()
  util/fifo8: Expose fifo8_pop_buf()
  util/fifo8: Rename fifo8_pop_buf() -> fifo8_pop_bufptr()
  util/fifo8: Rename fifo8_peek_buf() -> fifo8_peek_bufptr()
  util/fifo8: Use fifo8_reset() in fifo8_create()
  util/fifo8: Fix style
  chardev/char-fe: Document returned value on error
  hw/char/goldfish: Use DMA memory API
  hw/nubus/virtio-mmio: Fix missing ERRP_GUARD() in realize handler
  dump: make range overlap check more readable
  crypto/block-luks: make range overlap check more readable
  system/memory_mapping: make range overlap check more readable
  sparc/ldst_helper: make range overlap check more readable
  cxl/mailbox: make range overlap check more readable
  util/range: Make ranges_overlap() return bool
  hw/mips/loongson3_virt: remove useless type cast
  hw/i2c/mpc_i2c: Fix mmio region size
  docs/interop/firmware.json: convert "Example" section
  ...

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/dd4bc5f1cfe9...6410f877f5ed

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications



reply via email to

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