Hi Tina, [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on v4.12-rc6 next-20170621] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Tina-Zhang/drm-i915-gvt-Fix-guest-i915-48bit-full-ppgtt-blocking-issue/20170621-233658 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: x86_64-randconfig-a0-06220349 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/i915/gvt/gvt.h:38:0, from drivers/gpu/drm/i915/gvt/vgpu.c:35: drivers/gpu/drm/i915/gvt/vgpu.c: In function 'populate_pvinfo_page': include/linux/compiler-gcc.h:161:2: error: 'struct vgt_if' has no member named 'vgt_caps'; did you mean 'vgt_id'? __builtin_offsetof(a, b) ^ drivers/gpu/drm/i915/gvt/mmio.h:75:9: note: in definition of macro 'INTEL_GVT_MMIO_OFFSET' typeof(reg) __reg = reg; \ ^~~ drivers/gpu/drm/i915/gvt/vgpu.c:46:2: note: in expansion of macro 'vgpu_vreg' vgpu_vreg(vgpu, vgtif_reg(vgt_caps)) = VGT_CAPS_FULL_PPGTT_48BIT; ^~~~~~~~~ drivers/gpu/drm/i915/i915_pvinfo.h:103:2: note: in expansion of macro '_MMIO' _MMIO((VGT_PVINFO_PAGE + offsetof(struct vgt_if, x))) ^~~~~ include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof' #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) ^~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/i915_pvinfo.h:103:27: note: in expansion of macro 'offsetof' _MMIO((VGT_PVINFO_PAGE + offsetof(struct vgt_if, x))) ^~~~~~~~ drivers/gpu/drm/i915/gvt/vgpu.c:46:18: note: in expansion of macro 'vgtif_reg' vgpu_vreg(vgpu, vgtif_reg(vgt_caps)) = VGT_CAPS_FULL_PPGTT_48BIT; ^~~~~~~~~ include/linux/compiler-gcc.h:161:2: error: 'struct vgt_if' has no member named 'vgt_caps'; did you mean 'vgt_id'? __builtin_offsetof(a, b) ^ drivers/gpu/drm/i915/gvt/mmio.h:75:22: note: in definition of macro 'INTEL_GVT_MMIO_OFFSET' typeof(reg) __reg = reg; \ ^~~ drivers/gpu/drm/i915/gvt/vgpu.c:46:2: note: in expansion of macro 'vgpu_vreg' vgpu_vreg(vgpu, vgtif_reg(vgt_caps)) = VGT_CAPS_FULL_PPGTT_48BIT; ^~~~~~~~~ drivers/gpu/drm/i915/i915_pvinfo.h:103:2: note: in expansion of macro '_MMIO' _MMIO((VGT_PVINFO_PAGE + offsetof(struct vgt_if, x))) ^~~~~ include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof' #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) ^~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/i915_pvinfo.h:103:27: note: in expansion of macro 'offsetof' _MMIO((VGT_PVINFO_PAGE + offsetof(struct vgt_if, x))) ^~~~~~~~ drivers/gpu/drm/i915/gvt/vgpu.c:46:18: note: in expansion of macro 'vgtif_reg' vgpu_vreg(vgpu, vgtif_reg(vgt_caps)) = VGT_CAPS_FULL_PPGTT_48BIT; ^~~~~~~~~ >> drivers/gpu/drm/i915/gvt/vgpu.c:46:41: error: 'VGT_CAPS_FULL_PPGTT_48BIT' undeclared (first use in this function) vgpu_vreg(vgpu, vgtif_reg(vgt_caps)) = VGT_CAPS_FULL_PPGTT_48BIT; ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/gvt/vgpu.c:46:41: note: each undeclared identifier is reported only once for each function it appears in vim +/VGT_CAPS_FULL_PPGTT_48BIT +46 drivers/gpu/drm/i915/gvt/vgpu.c 40 /* setup the ballooning information */ 41 vgpu_vreg64(vgpu, vgtif_reg(magic)) = VGT_MAGIC; 42 vgpu_vreg(vgpu, vgtif_reg(version_major)) = 1; 43 vgpu_vreg(vgpu, vgtif_reg(version_minor)) = 0; 44 vgpu_vreg(vgpu, vgtif_reg(display_ready)) = 0; 45 vgpu_vreg(vgpu, vgtif_reg(vgt_id)) = vgpu->id; > 46 vgpu_vreg(vgpu, vgtif_reg(vgt_caps)) = VGT_CAPS_FULL_PPGTT_48BIT; 47 vgpu_vreg(vgpu, vgtif_reg(avail_rs.mappable_gmadr.base)) = 48 vgpu_aperture_gmadr_base(vgpu); 49 vgpu_vreg(vgpu, vgtif_reg(avail_rs.mappable_gmadr.size)) = --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx