Skip to content
Snippets Groups Projects
  1. Jun 25, 2021
  2. Jun 24, 2021
  3. Jun 16, 2021
  4. Jun 11, 2021
  5. Jun 07, 2021
  6. Jun 04, 2021
  7. May 27, 2021
  8. May 26, 2021
  9. May 21, 2021
  10. May 17, 2021
  11. May 12, 2021
  12. May 04, 2021
  13. May 02, 2021
  14. May 01, 2021
    • Philippe Mathieu-Daudé's avatar
      exec: Remove accel/tcg/ from include paths · db647703
      Philippe Mathieu-Daudé authored
      
      When TCG is enabled, the accel/tcg/ include path is added to the
      project global include search list. This accel/tcg/ directory
      contains a header named "internal.h" which, while intented to
      be internal to accel/tcg/, is accessible by all files compiled
      when TCG is enabled. This might lead to problem with other
      directories using the same "internal.h" header name:
      
        $ git ls-files | fgrep /internal.h
        accel/tcg/internal.h
        include/hw/ide/internal.h
        target/hexagon/internal.h
        target/mips/internal.h
        target/ppc/internal.h
        target/s390x/internal.h
      
      As we don't need to expose accel/tcg/ internals to the rest of
      the code base, simplify by removing it from the include search
      list, and include the accel/tcg/ public headers relative to the
      project root search path (which is already in the generic include
      search path).
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarClaudio Fontana <cfontana@suse.de>
      Message-Id: <20210413081008.3409459-1-f4bug@amsat.org>
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      db647703
  15. Mar 24, 2021
    • Richard Henderson's avatar
      exec: Build page-vary-common.c with -fno-lto · 44b99a6d
      Richard Henderson authored
      
      In bbc17caf, we used an alias attribute to allow target_page
      to be declared const, and yet be initialized late.
      
      This fails when using LTO with several versions of gcc.
      The compiler looks through the alias and decides that the const
      variable is statically initialized to zero, then propagates that
      zero to many uses of the variable.
      
      This can be avoided by compiling one object file with -fno-lto.
      In this way, any initializer cannot be seen, and the constant
      propagation does not occur.
      
      Since we are certain to have this separate compilation unit, we
      can drop the alias attribute as well.  We simply have differing
      declarations for target_page in different compilation units.
      Drop the use of init_target_page, and drop the configure detection
      for CONFIG_ATTRIBUTE_ALIAS.
      
      In order to change the compilation flags for a file with meson,
      we must use a static_library.  This runs into specific_ss, where
      we would need to create many static_library instances.
      
      Fix this by splitting page-vary.c: the page-vary-common.c part is
      compiled once as a static_library, while the page-vary.c part is
      left in specific_ss in order to handle the target-specific value
      of TARGET_PAGE_BITS_MIN.
      
      Reported-by: default avatarGavin Shan <gshan@redhat.com>
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Message-Id: <20210321211534.2101231-1-richard.henderson@linaro.org>
      [PMD: Fix typo in subject, split original patch in 3]
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Tested-by: default avatarGavin Shan <gshan@redhat.com>
      Message-Id: <20210322112427.4045204-4-f4bug@amsat.org>
      [rth: Update MAINTAINERS]
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      44b99a6d
    • Richard Henderson's avatar
      exec: Rename exec-vary.c as page-vary.c · 6670d4d0
      Richard Henderson authored
      
      exec-vary.c is about variable page size handling,
      rename it page-vary.c. Currently this file is target
      specific (built once for each target), comment this.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20210322112427.4045204-2-f4bug@amsat.org>
      [rth: Update MAINTAINERS]
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      6670d4d0
  16. Mar 17, 2021
  17. Mar 10, 2021
  18. Mar 06, 2021
    • Daniele Buono's avatar
      meson: Stop if cfi is enabled with system slirp · c715343f
      Daniele Buono authored
      
      For CFI, we need to compile slirp as a static library together with qemu.
      This is because we register slirp functions as callbacks for QEMU Timers.
      When using a system-wide shared libslirp, the type information for the
      callback is missing and the timer call produces a false positive with CFI.
      
      With this patch, meson will stop if CFI is enabled with system-wide slirp.
      
      In 6.1 we will introduce a new interface to slirp where the callback is
      passed as an enum rather than a function pointer.
      
      Signed-off-by: default avatarDaniele Buono <dbuono@linux.vnet.ibm.com>
      Message-Id: <20210304025939.9164-1-dbuono@linux.vnet.ibm.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      c715343f
  19. Mar 04, 2021
    • Akihiko Odaki's avatar
      configure: Improve OpenGL dependency detections · bc6a3565
      Akihiko Odaki authored
      
      This has the following visible changes:
      
      - GBM is required only for OpenGL dma-buf.
      - X11 is explicitly required by gtk-egl.
      - EGL is now mandatory for the OpenGL displays.
      
      The last one needs some detailed description. Before this change,
      EGL was tested only for OpenGL dma-buf with the check of
      EGL_MESA_image_dma_buf_export. However, all of the OpenGL
      displays depend on EGL and EGL_MESA_image_dma_buf_export is always
      defined by epoxy's EGL interface.
      Therefore, it makes more sense to always check the presence of EGL
      and say the OpenGL displays are available along with OpenGL dma-buf
      if it is present.
      
      Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@gmail.com>
      Message-Id: <20210223060307.87736-1-akihiko.odaki@gmail.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      bc6a3565
  20. Feb 25, 2021
  21. Feb 24, 2021
  22. Feb 18, 2021
  23. Feb 10, 2021
Loading