1. 19 Feb, 2022 27 commits
  2. 17 Feb, 2022 1 commit
  3. 16 Feb, 2022 5 commits
    • Jan Beulich's avatar
      x86emul: fix VPBLENDMW with mask and memory operand · 0941d6cb
      Jan Beulich authored
      
      
      Element size for this opcode depends on EVEX.W, not the low opcode bit.
      Make use of AVX512BW being a prereq to AVX512_BITALG and move the case
      label there, adding an AVX512BW feature check.
      
      Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
      Reviewed-by: default avatarAndrew Cooper <andrew.cooper3@citrix.com>
      master commit: eddf13b5e9401f6871dcce1ce61c80cff62079ed
      master date: 2022-02-14 10:08:38 +0100
      0941d6cb
    • Anthony PERARD's avatar
      tools/libs: Fix build dependencies · f8c720be
      Anthony PERARD authored
      
      
      Some libs' Makefile aren't loading the dependencies files *.d2.
      
      We can load them from "libs.mk" as none of the Makefile here are
      changing $(DEPS) or $(DEPS_INCLUDE) so it is fine to move the
      "include" to "libs.mk".
      
      As a little improvement, don't load the dependencies files (and thus
      avoid regenerating the *.d2 files) during `make clean`.
      
      Signed-off-by: default avatarAnthony PERARD <anthony.perard@citrix.com>
      Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
      master commit: e62cc29f9b6c42b67182a1362e2ea18bad75b5ff
      master date: 2022-02-08 11:15:53 +0000
      f8c720be
    • Anthony PERARD's avatar
      build: fix exported variable name CFLAGS_stack_boundary · 17093dba
      Anthony PERARD authored
      Exporting a variable with a dash doesn't work reliably, they may be
      striped from the environment when calling a sub-make or sub-shell.
      
      CFLAGS-stack-boundary start to be removed from env in patch "build:
      set ALL_OBJS in main Makefile; move prelink.o to main Makefile" when
      running `make "ALL_OBJS=.."` due to the addition of the quote. At
      least in my empirical tests.
      
      Fixes: 2740d96e
      
       ("xen/build: have the root Makefile generates the CFLAGS")
      Signed-off-by: default avatarAnthony PERARD <anthony.perard@citrix.com>
      Acked-by: default avatarJan Beulich <jbeulich@suse.com>
      17093dba
    • Roger Pau Monné's avatar
      libxl: force netback to wait for hotplug execution before connecting · 58d289c9
      Roger Pau Monné authored
      
      
      By writing an empty "hotplug-status" xenstore node in the backend path
      libxl can force Linux netback to wait for hotplug script execution
      before proceeding to the 'connected' state.
      
      This is required so that netback doesn't skip state 2 (InitWait) and
      thus blocks libxl waiting for such state in order to launch the
      hotplug script (see libxl__wait_device_connection).
      
      Reported-by: default avatarJames Dingwall <james-xen@dingwall.me.uk>
      Signed-off-by: default avatarRoger Pau Monné <roger.pau@citrix.com>
      Tested-by: default avatarJames Dingwall <james-xen@dingwall.me.uk>
      Reviewed-by: default avatarPaul Durrant <paul@xen.org>
      Tested-by: default avatarJulien Grall <jgrall@amazon.com>
      Reviewed-by: default avatarWei Liu <wei.liu@kernel.org>
      master commit: 0bdc43c8dec993258e930b34855853c22b917519
      master date: 2022-01-27 13:51:19 +0100
      58d289c9
    • Dario Faggioli's avatar
      tools/libs/light: don't touch nr_vcpus_out if listing vcpus and returning NULL · cd6250ea
      Dario Faggioli authored
      
      
      If we are in libxl_list_vcpu() and we are returning NULL, let's avoid
      touching the output parameter *nr_vcpus_out, which the caller should
      have initialized to 0.
      
      The current behavior could be problematic if are creating a domain and,
      in the meantime, an existing one is destroyed when we have already done
      some steps of the loop. At which point, we'd return a NULL list of vcpus
      but with something different than 0 as the number of vcpus in that list.
      And this can cause troubles in the callers (e.g., nr_vcpus_on_nodes()),
      when they do a libxl_vcpuinfo_list_free().
      
      Crashes due to this are rare and difficult to reproduce, but have been
      observed, with stack traces looking like this one:
      
      #0  libxl_bitmap_dispose (map=map@entry=0x50) at libxl_utils.c:626
      #1  0x00007fe72c993a32 in libxl_vcpuinfo_dispose (p=p@entry=0x38) at _libxl_types.c:692
      #2  0x00007fe72c94e3c4 in libxl_vcpuinfo_list_free (list=0x0, nr=<optimized out>) at libxl_utils.c:1059
      #3  0x00007fe72c9528bf in nr_vcpus_on_nodes (vcpus_on_node=0x7fe71000eb60, suitable_cpumap=0x7fe721df0d38, tinfo_elements=48, tinfo=0x7fe7101b3900, gc=0x7fe7101bbfa0) at libxl_numa.c:258
      #4  libxl__get_numa_candidate (gc=gc@entry=0x7fe7100033a0, min_free_memkb=4233216, min_cpus=4, min_nodes=min_nodes@entry=0, max_nodes=max_nodes@entry=0, suitable_cpumap=suitable_cpumap@entry=0x7fe721df0d38, numa_cmpf=0x7fe72c940110 <numa_cmpf>, cndt_out=0x7fe721df0cf0, cndt_found=0x7fe721df0cb4) at libxl_numa.c:394
      #5  0x00007fe72c94152b in numa_place_domain (d_config=0x7fe721df11b0, domid=975, gc=0x7fe7100033a0) at libxl_dom.c:209
      #6  libxl__build_pre (gc=gc@entry=0x7fe7100033a0, domid=domid@entry=975, d_config=d_config@entry=0x7fe721df11b0, state=state@entry=0x7fe710077700) at libxl_dom.c:436
      #7  0x00007fe72c92c4a5 in libxl__domain_build (gc=0x7fe7100033a0, d_config=d_config@entry=0x7fe721df11b0, domid=975, state=0x7fe710077700) at libxl_create.c:444
      #8  0x00007fe72c92de8b in domcreate_bootloader_done (egc=0x7fe721df0f60, bl=0x7fe7100778c0, rc=<optimized out>) at libxl_create.c:1222
      #9  0x00007fe72c980425 in libxl__bootloader_run (egc=egc@entry=0x7fe721df0f60, bl=bl@entry=0x7fe7100778c0) at libxl_bootloader.c:403
      #10 0x00007fe72c92f281 in initiate_domain_create (egc=egc@entry=0x7fe721df0f60, dcs=dcs@entry=0x7fe7100771b0) at libxl_create.c:1159
      #11 0x00007fe72c92f456 in do_domain_create (ctx=ctx@entry=0x7fe71001c840, d_config=d_config@entry=0x7fe721df11b0, domid=domid@entry=0x7fe721df10a8, restore_fd=restore_fd@entry=-1, send_back_fd=send_back_fd@entry=-1, params=params@entry=0x0, ao_how=0x0, aop_console_how=0x7fe721df10f0) at libxl_create.c:1856
      #12 0x00007fe72c92f776 in libxl_domain_create_new (ctx=0x7fe71001c840, d_config=d_config@entry=0x7fe721df11b0, domid=domid@entry=0x7fe721df10a8, ao_how=ao_how@entry=0x0, aop_console_how=aop_console_how@entry=0x7fe721df10f0) at libxl_create.c:2075
      
      Signed-off-by: default avatarDario Faggioli <dfaggioli@suse.com>
      Tested-by: default avatarJames Fehlig <jfehlig@suse.com>
      Reviewed-by: default avatarAnthony PERARD <anthony.perard@citrix.com>
      master commit: d9d3496e817ace919092d70d4730257b37c2e743
      master date: 2022-01-31 10:58:07 +0100
      cd6250ea
  4. 08 Feb, 2022 6 commits
  5. 04 Feb, 2022 1 commit