Skip to content
Snippets Groups Projects
  1. Aug 12, 2021
  2. Aug 10, 2021
  3. Aug 09, 2021
  4. Aug 06, 2021
    • Alyssa Ross's avatar
      meson: fix logic for gnutls check · abc14fd0
      Alyssa Ross authored
      
      The logic before was
      
      	if not get_option('gnutls').auto() or have_system
      
      Which is equivalent to
      
      	if get_option('gnutls').enabled() or get_option('gnutls').disabled() or have_system
      
      This means that the check for gnutls is performed even if gnutls is
      disabled, which means that the build system will insist on having
      libtasn1 if gnutls is found, even if gnutls support is disabled.
      
      When gnutls is disabled, the check for gnutls shouldn't be performed,
      to ensure that further build system logic (like the check for
      libtasn1) doesn't make decisions based on the presence of gnutls,
      rather than the gnutls option.
      
      After making this change, I can successfully ./configure --disable-gnutls
      on my system with gnutls installed, but not libtasn1.
      
      Signed-off-by: default avatarAlyssa Ross <hi@alyssa.is>
      Message-Id: <20210806144947.321647-1-hi@alyssa.is>
      Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      abc14fd0
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-6.1-pull-request' into staging · dee64246
      Peter Maydell authored
      
      linux-user pull request 20210806
      
      Fix endianness and addresses in i386 linux-user target
      
      # gpg: Signature made Fri 06 Aug 2021 10:16:32 BST
      # gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
      # gpg:                issuer "laurent@vivier.eu"
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full]
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier2/tags/linux-user-for-6.1-pull-request:
        linux-user/elfload: byteswap i386 registers when dumping core
        linux-user: fix guest/host address mixup in i386 setup_rt_frame()
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      dee64246
  5. Aug 05, 2021
  6. Aug 04, 2021
  7. Aug 03, 2021
    • Michael S. Tsirkin's avatar
      Drop _DSM 5 from expected DSDTs on ARM · 62a4db55
      Michael S. Tsirkin authored
      
      diff -rup /tmp/old/tests/data/acpi/microvm/DSDT.pcie.dsl /tmp/new/tests/data/acpi/microvm/DSDT.pcie.dsl
      --- /tmp/old/tests/data/acpi/microvm/DSDT.pcie.dsl	2021-08-03 16:22:52.289295442 -0400
      +++ /tmp/new/tests/data/acpi/microvm/DSDT.pcie.dsl	2021-08-03 16:22:40.102286317 -0400
      @@ -1302,14 +1302,9 @@ DefinitionBlock ("", "DSDT", 2, "BOCHS "
                           {
                               Return (Buffer (One)
                               {
      -                             0x21                                             // !
      +                             0x01                                             // .
                               })
                           }
      -
      -                    If ((Arg2 == 0x05))
      -                    {
      -                        Return (Zero)
      -                    }
                       }
      
                       Return (Buffer (One)
      
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      62a4db55
    • Michael S. Tsirkin's avatar
      Revert "acpi/gpex: Inform os to keep firmware resource map" · 40c3472a
      Michael S. Tsirkin authored
      This reverts commit 0cf8882f.
      
      Which this commit, with aarch64 when using efi PCI devices with IO ports
      do not work.  The reason is that EFI creates I/O port mappings below
      0x1000 (in fact, at 0). However Linux, for legacy reasons, does not
      support I/O ports <= 0x1000 on PCI, so the I/O assignment created by EFI
      is rejected.
      
      EFI creates the mappings primarily for itself, and up until DSM #5
      started to be enforced, all PCI resource allocations that existed at
      boot were ignored by Linux and recreated from scratch.
      
      Also, the commit in question looks dubious - it seems unlikely that
      Linux would fail to create a resource tree. What does
      happen is that BARs get moved around, which may cause trouble in some
      cases: for instance, Linux had to add special code to the EFI framebuffer
      driver to copy with framebuffer BARs being relocated.
      
      DSM #5 has a long history of debate and misinterpretation.
      
      Link: https://lore.kernel.org/r/20210724185234.GA2265457@roeck-us.net/
      
      
      Fixes: 0cf8882f ("acpi/gpex: Inform os to keep firmware resource map")
      Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Suggested-by: default avatarArd Biesheuvel <ardb@kernel.org>
      Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
      Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      40c3472a
Loading