qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] d10205: target/arm: Fix offsets for TTBCR


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] d10205: target/arm: Fix offsets for TTBCR
Date: Sun, 18 Jul 2021 05:47:10 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: d102058e795229f53a443a58d10d8b457e96acb4
      
https://github.com/qemu/qemu/commit/d102058e795229f53a443a58d10d8b457e96acb4
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M target/arm/helper.c

  Log Message:
  -----------
  target/arm: Fix offsets for TTBCR

The functions vmsa_ttbcr_write and vmsa_ttbcr_raw_write expect
the offset to be for the complete TCR structure, not the offset
to the low 32-bits of a uint64_t.  Using offsetoflow32 in this
case breaks big-endian hosts.

For TTBCR2, we do want the high 32-bits of a uint64_t.
Use cp15.tcr_el[*].raw_tcr as the offsetofhigh32 argument to
clarify this.

Buglink: https://gitlab.com/qemu-project/qemu/-/issues/187
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210709230621.938821-2-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 955990af736a8cb2af7839d53b26ed8bb3b0633a
      
https://github.com/qemu/qemu/commit/955990af736a8cb2af7839d53b26ed8bb3b0633a
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M docs/conf.py

  Log Message:
  -----------
  docs: Fix documentation Copyright date

In commit 6d8980a38fa we updated the copyright string we present to
the user in -version output, About dialogs, etc, but we forgot that
the Sphinx manuals have a separate copyright string setting.  Update
that one too.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20210705095547.15790-2-peter.maydell@linaro.org


  Commit: b4634487c44bd1cc664f45b63c98161dfd170784
      
https://github.com/qemu/qemu/commit/b4634487c44bd1cc664f45b63c98161dfd170784
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M docs/devel/index.rst
    M docs/interop/index.rst
    M docs/specs/index.rst
    M docs/system/index.rst
    M docs/tools/index.rst
    M docs/user/index.rst

  Log Message:
  -----------
  docs: Stop calling the top level subsections of our manual 'manuals'

We merged our previous multiple-manual setup into a single Sphinx
manual, but we left some text in the various index.rst lines that
still calls the top level subsections separate 'manuals'.  Update
them to talk about "this section of the manual" instead, and remove
now-obsolete comments about how the index.rst files are the "top
level page for the 'foo' manual".

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20210705095547.15790-3-peter.maydell@linaro.org


  Commit: 21b6c26d632482a6633604f8c05c89669f37441f
      
https://github.com/qemu/qemu/commit/21b6c26d632482a6633604f8c05c89669f37441f
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M docs/devel/index.rst
    M docs/interop/index.rst
    M docs/specs/index.rst
    M docs/system/index.rst
    M docs/tools/index.rst
    M docs/user/index.rst

  Log Message:
  -----------
  docs: Remove "Contents:" lines from top-level subsections

Since the top-level subsections aren't self-contained manuals
any more, the "Contents:" lines at the top of each of their
index pages look a bit odd; remove them.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20210705095547.15790-4-peter.maydell@linaro.org


  Commit: f347839258a1ace57d0b59e89bf01352b8d1c13b
      
https://github.com/qemu/qemu/commit/f347839258a1ace57d0b59e89bf01352b8d1c13b
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    A docs/about/build-platforms.rst
    A docs/about/deprecated.rst
    A docs/about/index.rst
    A docs/about/license.rst
    A docs/about/removed-features.rst
    M docs/index.rst
    R docs/system/build-platforms.rst
    R docs/system/deprecated.rst
    M docs/system/index.rst
    R docs/system/license.rst
    R docs/system/removed-features.rst

  Log Message:
  -----------
  docs: Move deprecation, build and license info out of system/

Now that we have a single Sphinx manual rather than multiple manuals,
we can provide a better place for "common to all of QEMU" information
like the deprecation notices, build platforms, license information,
which we currently have in the system/ manual even though it applies
to all of QEMU.

Create a new directory about/ on the same level as system/, user/,
etc, and move these documents there.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20210705095547.15790-5-peter.maydell@linaro.org


  Commit: 4a43fa3af926bb2ceef8f7ed188a41c70e0e8477
      
https://github.com/qemu/qemu/commit/4a43fa3af926bb2ceef8f7ed188a41c70e0e8477
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M docs/about/index.rst

  Log Message:
  -----------
  docs: Add some actual About text to about/index.rst

Add some text to About to act as a brief introduction to the QEMU
manual and to make the about page a bit less of an abrupt start to
it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20210705095547.15790-6-peter.maydell@linaro.org


  Commit: 13f934e79fa72d28a2c7de584a45c646b65d524f
      
https://github.com/qemu/qemu/commit/13f934e79fa72d28a2c7de584a45c646b65d524f
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M MAINTAINERS
    A docs/_templates/footer.html
    M docs/meson.build

  Log Message:
  -----------
  docs: Add license note to the HTML page footer

The standard Sphinx/RTD HTML page footer gives a copyright line
(based on the 'copyright' variable set in conf.py) and a line "Built
with Sphinx using a theme provided by Read the Docs" (which can be
disabled via the html_show_sphinx variable, but we leave it enabled).
As a free software project, we'd like to also mention the license
QEMU and its manual are released under.

Add a template footer.html which defines the 'extrafooter' block that
the RtD theme provides for this purpose.  The new line of text will
go below the existing copyright and sphinx-acknowledgement lines.
(Unfortunately the RTD footer template does not permit putting it
after the copyright but before the sphinx-acknowledgement.)

We use the templating functionality to make the new text also be a
hyperlink to the about/license.html page of the manual.

Unlike rst files, HTML template files are not reported to our depfile
plugin, so we maintain a manual list in meson.build.  New template
files should be rare, so not being able to auto-generate the
dependency info is not too awkward.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20210705095547.15790-7-peter.maydell@linaro.org


  Commit: 3a50c8f3067aaf344a568b8de6a68887ee55bc21
      
https://github.com/qemu/qemu/commit/3a50c8f3067aaf344a568b8de6a68887ee55bc21
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M docs/_templates/footer.html

  Log Message:
  -----------
  docs: Add QEMU version information to HTML footer

Add a line to the HTML document footer mentioning the QEMU version.
The version information is already provided in very faint text below
the QEMU logo in the sidebar, but that is rather inconspicious, so
repeating it in the footer seems useful.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20210705095547.15790-8-peter.maydell@linaro.org


  Commit: d4a7c362fe50bbdfd0a02b1a2c1fdf57e98bba79
      
https://github.com/qemu/qemu/commit/d4a7c362fe50bbdfd0a02b1a2c1fdf57e98bba79
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M MAINTAINERS
    A docs/system/arm/cubieboard.rst
    M docs/system/target-arm.rst

  Log Message:
  -----------
  docs: Add skeletal documentation of cubieboard

Add skeletal documentation of the cubieboard machine.

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


  Commit: 3f65df38e8a5e75ccfd5a641d252ad8882c9e68c
      
https://github.com/qemu/qemu/commit/3f65df38e8a5e75ccfd5a641d252ad8882c9e68c
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M MAINTAINERS
    A docs/system/arm/emcraft-sf2.rst
    M docs/system/target-arm.rst

  Log Message:
  -----------
  docs: Add skeletal documentation of the emcraft-sf2

Add skeletal documentation of the emcraft-sf2 machine.

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


  Commit: c90df7ce4ef50f9cea3c42daea4fc167bb0d9d2e
      
https://github.com/qemu/qemu/commit/c90df7ce4ef50f9cea3c42daea4fc167bb0d9d2e
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M MAINTAINERS
    A docs/system/arm/highbank.rst
    M docs/system/target-arm.rst

  Log Message:
  -----------
  docs: Add skeletal documentation of highbank and midway

Add skeletal documentation for the highbank and midway machines.

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


  Commit: 8fe612a183dec4c63afdc57537079bc742d024ca
      
https://github.com/qemu/qemu/commit/8fe612a183dec4c63afdc57537079bc742d024ca
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M target/arm/neon-ls.decode
    M target/arm/neon-shared.decode
    M target/arm/sve.decode
    M target/arm/translate-neon.c
    M target/arm/translate-sve.c

  Log Message:
  -----------
  target/arm: Remove duplicate 'plus1' function from Neon and SVE decode

The Neon and SVE decoders use private 'plus1' functions to implement
"add one" for the !function decoder syntax.  We have a generic
"plus_1" function in translate.h, so use that instead.

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


  Commit: fd79f89c76c8e2f409dd9db5d7a367b1f64b6dc6
      
https://github.com/qemu/qemu/commit/fd79f89c76c8e2f409dd9db5d7a367b1f64b6dc6
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

  Changed paths:
    M MAINTAINERS
    A docs/_templates/footer.html
    A docs/about/build-platforms.rst
    A docs/about/deprecated.rst
    A docs/about/index.rst
    A docs/about/license.rst
    A docs/about/removed-features.rst
    M docs/conf.py
    M docs/devel/index.rst
    M docs/index.rst
    M docs/interop/index.rst
    M docs/meson.build
    M docs/specs/index.rst
    A docs/system/arm/cubieboard.rst
    A docs/system/arm/emcraft-sf2.rst
    A docs/system/arm/highbank.rst
    R docs/system/build-platforms.rst
    R docs/system/deprecated.rst
    M docs/system/index.rst
    R docs/system/license.rst
    R docs/system/removed-features.rst
    M docs/system/target-arm.rst
    M docs/tools/index.rst
    M docs/user/index.rst
    M target/arm/helper.c
    M target/arm/neon-ls.decode
    M target/arm/neon-shared.decode
    M target/arm/sve.decode
    M target/arm/translate-neon.c
    M target/arm/translate-sve.c

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

target-arm queue:
 * Remove duplicate 'plus1' function from Neon and SVE decode
 * Fix offsets for TTBCR for big-endian hosts
 * docs: fix copyright date
 * docs: add license/version info to HTML footers
 * docs: add an About section
 * docs: document some more arm boards

# gpg: Signature made Sun 18 Jul 2021 13:45:22 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-20210718:
  target/arm: Remove duplicate 'plus1' function from Neon and SVE decode
  docs: Add skeletal documentation of highbank and midway
  docs: Add skeletal documentation of the emcraft-sf2
  docs: Add skeletal documentation of cubieboard
  docs: Add QEMU version information to HTML footer
  docs: Add license note to the HTML page footer
  docs: Add some actual About text to about/index.rst
  docs: Move deprecation, build and license info out of system/
  docs: Remove "Contents:" lines from top-level subsections
  docs: Stop calling the top level subsections of our manual 'manuals'
  docs: Fix documentation Copyright date
  target/arm: Fix offsets for TTBCR

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


Compare: https://github.com/qemu/qemu/compare/a97fca4ceb9d...fd79f89c76c8



reply via email to

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