lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cef18438-4cb3-f69e-f3b9-200151b2eb4c@nfschina.com>
Date: Thu, 6 Mar 2025 09:36:47 +0800
From: Su Hui <suhui@...china.com>
To: kernel test robot <lkp@...el.com>
Cc: oe-kbuild-all@...ts.linux.dev, simona@...ll.ch,
 maarten.lankhorst@...ux.intel.com, rodrigo.vivi@...el.com,
 lucas.demarchi@...el.com, thomas.hellstrom@...ux.intel.com,
 ilpo.jarvinen@...ux.intel.com, andriy.shevchenko@...ux.intel.com,
 michael.j.ruhl@...el.com, intel-xe@...ts.freedesktop.org,
 dri-devel@...ts.freedesktop.org, mripard@...nel.org,
 linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
 tzimmermann@...e.de, airlied@...il.com
Subject: Re: [PATCH] drm/xe: Select INTEL_VSEC to fix build dependency

On 2025/3/5 21:15, kernel test robot wrote:
> Hi Su,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on drm-xe/drm-xe-next]
> [also build test ERROR on linus/master v6.14-rc5 next-20250304]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url:    https://github.com/intel-lab-lkp/linux/commits/Su-Hui/drm-xe-Select-INTEL_VSEC-to-fix-build-dependency/20250227-153437
> base:   https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
> patch link:    https://lore.kernel.org/r/20250227073205.1248282-1-suhui%40nfschina.com
> patch subject: [PATCH] drm/xe: Select INTEL_VSEC to fix build dependency
> config: loongarch-randconfig-001-20250304 (https://download.01.org/0day-ci/archive/20250305/202503052153.gQnXU123-lkp@intel.com/config)
> compiler: loongarch64-linux-gcc (GCC) 14.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250305/202503052153.gQnXU123-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202503052153.gQnXU123-lkp@intel.com/
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fpga/tests/fpga-mgr-test.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fpga/tests/fpga-bridge-test.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/fpga/tests/fpga-region-test.o
>>> ERROR: modpost: "intel_vsec_register" [drivers/gpu/drm/xe/xe.ko] undefined!
> Kconfig warnings: (for reference only)
>     WARNING: unmet direct dependencies detected for INTEL_VSEC
>     Depends on [n]: X86_PLATFORM_DEVICES [=n] && PCI [=y]
>     Selected by [m]:
>     - DRM_XE [=m] && HAS_IOMEM [=y] && DRM [=m] && PCI [=y] && MMU [=y] && (m [=m] && MODULES [=y] || KUNIT [=y]=y [=y])
>     WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS
>     Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n]
>     Selected by [m]:
>     - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=m] && DRM_XE [=m] && DRM_XE [=m]=m [=m] && HAS_IOPORT [=y]
>
Thanks for these reported, this patch has some problems and is discarded.

As Lucas's and Jani's suggestion, there are some other solutions, but I 
can't
make sure these solutions won't generate such building errors like this one.
So I want to use some tools to make sure this dependency is absolutely 
right.
I saw there were some thoughts about kconfig-sat[1], maybe it can help. 
I guess
using SAT is a nice solution for this problem, but I'm not famlilar with 
SAT.

So it need some time (maybe more) for me to send a v2 patch.

[1] https://kernelnewbies.org/KernelProjects/linux-sat

Su Hui


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ