Skip to content
Snippets Groups Projects
  1. Jan 14, 2021
  2. Jan 13, 2021
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/mcayland/tags/qemu-macppc-20210113' into staging · c0dd6654
      Peter Maydell authored
      
      qemu-macppc updates
      
      # gpg: Signature made Wed 13 Jan 2021 13:02:20 GMT
      # gpg:                using RSA key CC621AB98E82200D915CC9C45BC2C56FAE0F321F
      # gpg:                issuer "mark.cave-ayland@ilande.co.uk"
      # gpg: Good signature from "Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>" [full]
      # Primary key fingerprint: CC62 1AB9 8E82 200D 915C  C9C4 5BC2 C56F AE0F 321F
      
      * remotes/mcayland/tags/qemu-macppc-20210113:
        macio: don't set user_creatable to false
        macio: wire macio GPIOs to OpenPIC using sysbus IRQs
        macio: move OpenPIC inside macio-newworld device
        mac_newworld: delay wiring of PCI IRQs in New World machine
        macio: move heathrow PIC inside macio-oldworld device
        mac_oldworld: move initialisation of grackle before heathrow
        mac_oldworld: remove duplicate bus check for PPC_INPUT(env)
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      c0dd6654
    • Philippe Mathieu-Daudé's avatar
      decodetree: Open files with encoding='utf-8' · 4cacecaa
      Philippe Mathieu-Daudé authored
      
      When decodetree.py was added in commit 568ae7ef, QEMU was
      using Python 2 which happily reads UTF-8 files in text mode.
      Python 3 requires either UTF-8 locale or an explicit encoding
      passed to open(). Now that Python 3 is required, explicit
      UTF-8 encoding for decodetree source files.
      
      To avoid further problems with the user locale, also explicit
      UTF-8 encoding for the generated C files.
      
      Explicit both input/output are plain text by using the 't' mode.
      
      This fixes:
      
        $ /usr/bin/python3 scripts/decodetree.py test.decode
        Traceback (most recent call last):
          File "scripts/decodetree.py", line 1397, in <module>
            main()
          File "scripts/decodetree.py", line 1308, in main
            parse_file(f, toppat)
          File "scripts/decodetree.py", line 994, in parse_file
            for line in f:
          File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
            return codecs.ascii_decode(input, self.errors)[0]
        UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 80:
        ordinal not in range(128)
      
      Reported-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Suggested-by: default avatarYonggang Luo <luoyonggang@gmail.com>
      Reviewed-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20210110000240.761122-1-f4bug@amsat.org>
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      4cacecaa
    • Richard Henderson's avatar
      tcg/aarch64: Use tcg_constant_vec with tcg vec expanders · 10061ffe
      Richard Henderson authored
      
      Improve rotrv_vec to reduce "t1 = -v2, t2 = t1 + c" to
      "t1 = -v2, t2 = c - v2".  This avoids a serial dependency
      between t1 and t2.
      
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      10061ffe
Loading