qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] ce9a2a: fw_cfg: expose control register size


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] ce9a2a: fw_cfg: expose control register size in fw_cfg.h
Date: Tue, 08 Mar 2016 17:30:05 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ce9a2aa372f567d1a19417ab02789706d132daf7
      
https://github.com/qemu/qemu/commit/ce9a2aa372f567d1a19417ab02789706d132daf7
  Author: Gabriel L. Somlo <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M hw/nvram/fw_cfg.c
    M include/hw/nvram/fw_cfg.h

  Log Message:
  -----------
  fw_cfg: expose control register size in fw_cfg.h

Expose the size of the control register (FW_CFG_CTL_SIZE) in fw_cfg.h.
Add comment to fw_cfg_io_realize() pointing out that since the
8-bit data register is always subsumed by the 16-bit control
register in the port I/O case, we use the control register width
as the *total* width of the (classic, non-DMA) port I/O region reserved
for the device.

Cc: Marc Marí <address@hidden>
Signed-off-by: Gabriel Somlo <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Marc Marí <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 305ae88895ebc2cb16565e5cb1fa0c87b66ea8d4
      
https://github.com/qemu/qemu/commit/305ae88895ebc2cb16565e5cb1fa0c87b66ea8d4
  Author: Gabriel L. Somlo <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M hw/i386/pc.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  pc: fw_cfg: move ioport base constant to pc.h

Move BIOS_CFG_IOPORT define from pc.c to pc.h, and rename
it to FW_CFG_IO_BASE.

Cc: Marc Marí <address@hidden>
Signed-off-by: Gabriel Somlo <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Marc Marí <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: e2ec75685c202c7537ed2064293a8e3e28a6d71a
      
https://github.com/qemu/qemu/commit/e2ec75685c202c7537ed2064293a8e3e28a6d71a
  Author: Gabriel L. Somlo <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi: pc: add fw_cfg device node to dsdt

Add a fw_cfg device node to the ACPI DSDT. While the guest-side
firmware can't utilize this information (since it has to access
the hard-coded fw_cfg device to extract ACPI tables to begin with),
having fw_cfg listed in ACPI will help the guest kernel keep a more
accurate inventory of in-use IO port regions.

Signed-off-by: Gabriel Somlo <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Marc Marí <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 70bee80d6b6cfa3ad888ee20332ddfb826a80249
      
https://github.com/qemu/qemu/commit/70bee80d6b6cfa3ad888ee20332ddfb826a80249
  Author: Gabriel L. Somlo <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M hw/arm/virt-acpi-build.c

  Log Message:
  -----------
  acpi: arm: add fw_cfg device node to dsdt

Add a fw_cfg device node to the ACPI DSDT. This is mostly
informational, as the authoritative fw_cfg MMIO region(s)
are listed in the Device Tree. However, since we are building
ACPI tables, we might as well be thorough while at it...

Signed-off-by: Gabriel Somlo <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Tested-by: Laszlo Ersek <address@hidden>
Reviewed-by: Marc Marí <address@hidden>
Reviewed-by: Shannon Zhao <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 36a43ea83b4426344592523fd560e5f76c4867c4
      
https://github.com/qemu/qemu/commit/36a43ea83b4426344592523fd560e5f76c4867c4
  Author: Gabriel L. Somlo <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M docs/specs/fw_cfg.txt

  Log Message:
  -----------
  fw_cfg: document ACPI device node information

Signed-off-by: Gabriel Somlo <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Marc Marí <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: a60c7856088b75b402671de74bf9c5cfce87dfbb
      
https://github.com/qemu/qemu/commit/a60c7856088b75b402671de74bf9c5cfce87dfbb
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M tests/acpi-test-data/pc/DSDT
    M tests/acpi-test-data/pc/DSDT.bridge
    M tests/acpi-test-data/q35/DSDT
    M tests/acpi-test-data/q35/DSDT.bridge

  Log Message:
  -----------
  tests: update acpi test data

using tests/acpi-test-data/rebuild-expected-aml.sh

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 3293680dc79c9a4fbbc2bbdd9395a886825a87a2
      
https://github.com/qemu/qemu/commit/3293680dc79c9a4fbbc2bbdd9395a886825a87a2
  Author: Peter Maydell <address@hidden>
  Date:   2016-03-09 (Wed, 09 Mar 2016)

  Changed paths:
    M docs/specs/fw_cfg.txt
    M hw/arm/virt-acpi-build.c
    M hw/i386/acpi-build.c
    M hw/i386/pc.c
    M hw/nvram/fw_cfg.c
    M include/hw/i386/pc.h
    M include/hw/nvram/fw_cfg.h
    M tests/acpi-test-data/pc/DSDT
    M tests/acpi-test-data/pc/DSDT.bridge
    M tests/acpi-test-data/q35/DSDT
    M tests/acpi-test-data/q35/DSDT.bridge

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-fw-cfg-20160308-1' 
into staging

acpi: add fw_cfg device node to dsdt

# gpg: Signature made Tue 08 Mar 2016 11:15:42 GMT using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-fw-cfg-20160308-1:
  tests: update acpi test data
  fw_cfg: document ACPI device node information
  acpi: arm: add fw_cfg device node to dsdt
  acpi: pc: add fw_cfg device node to dsdt
  pc: fw_cfg: move ioport base constant to pc.h
  fw_cfg: expose control register size in fw_cfg.h

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/5763795f935e...3293680dc79c

reply via email to

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