[android-common:android16-6.12-desktop 1/1] drivers/gpu/drm/i915/gt/intel_rps.c:2732:2: error: #error "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first"
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
Hi Tomasz, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android16-6.12-desktop head: 24c37396da197463e1ff2bc69bb789e34dacad53 commit: f8833da199c243bbf9801b0eb6b36820abe8f3ec [1/1] ANDROID: [TEMP] i915: Provide workaround to build i915 as vendor module config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20260813/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260813/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): drivers/gpu/drm/i915/gt/intel_rps.c: In function 'ips_ping_for_i915_load': >> drivers/gpu/drm/i915/gt/intel_rps.c:2732:2: error: #error "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first" 2732 | #error "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first" | ^~~~~ vim +2732 drivers/gpu/drm/i915/gt/intel_rps.c 2714 2715 /* 2716 * Tells the intel_ips driver that the i915 driver is now loaded, if 2717 * IPS got loaded first. 2718 * 2719 * This awkward dance is so that neither module has to depend on the 2720 * other in order for IPS to do the appropriate communication of 2721 * GPU turbo limits to i915. 2722 */ 2723 static void 2724 ips_ping_for_i915_load(void) 2725 { 2726 #if IS_ENABLED(CONFIG_INTEL_IPS) 2727 /* 2728 * (b/352497771): GKI does not allow to build any vendor module which 2729 * uses symbol_get/symbol_put as symbol lookup circumvents all ABI 2730 * checking. 2731 */ > 2732 #error "Use of GKI forbidden symbol_get/symbol_put symbols, please refactor code first" 2733 void (*link)(void); 2734 2735 link = symbol_get(ips_link_to_i915_driver); 2736 if (link) { 2737 link(); 2738 symbol_put(ips_link_to_i915_driver); 2739 } 2740 #endif 2741 } 2742 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki