Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH 4/8] drm/intel-display: introduce new kernel module for Intel display
       [not found] <89d3ef4c53e7e69db6fc39f6a54631af4086c20b.1796304421.git.jani.nikula@intel.com>
@ 2026-12-05  9:55 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-05  9:55 UTC (permalink / raw)
  To: Jani Nikula, intel-gfx, intel-xe; +Cc: llvm, oe-kbuild-all, jani.nikula

Hi Jani,

kernel test robot noticed the following build errors:

[auto build test ERROR on 510efc2b4932f99250fd283990d633498e301ce2]

url:    https://github.com/intel-lab-lkp/linux/commits/Jani-Nikula/drm-xe-Enable-unclaimed-register-detection-on-xe-for-pre-LNL/20261203-153053
base:   510efc2b4932f99250fd283990d633498e301ce2
patch link:    https://lore.kernel.org/r/89d3ef4c53e7e69db6fc39f6a54631af4086c20b.1796304421.git.jani.nikula%40intel.com
patch subject: [PATCH 4/8] drm/intel-display: introduce new kernel module for Intel display
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20261205/20261205085839.7IMchyer-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 63b30c97f6082ebf34b31bdd81bb50df7672b67b)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261205/20261205085839.7IMchyer-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261205085839.7IMchyer-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/display/intel_vga.c:167:10: error: call to '_inb' declared with 'error' attribute: inb()) requires CONFIG_HAS_IOPORT
     167 |                 return inb(reg);
         |                        ^
   include/asm-generic/io.h:677:13: note: expanded from macro 'inb'
     677 | #define inb _inb
         |             ^
   include/asm-generic/io.h:576:14: note: expanded from macro '_inb'
     576 | #define _inb _inb
         |              ^
   drivers/gpu/drm/i915/display/intel_vga.c:167:10: note: called by function 'intel_vga_read'
>> drivers/gpu/drm/i915/display/intel_vga.c:175:3: error: call to '_outb' declared with 'error' attribute: outb() requires CONFIG_HAS_IOPORT
     175 |                 outb(val, reg);
         |                 ^
   include/asm-generic/io.h:689:14: note: expanded from macro 'outb'
     689 | #define outb _outb
         |              ^
   include/asm-generic/io.h:630:15: note: expanded from macro '_outb'
     630 | #define _outb _outb
         |               ^
   drivers/gpu/drm/i915/display/intel_vga.c:175:3: note: called by function 'intel_vga_write'
   drivers/gpu/drm/i915/display/intel_vga.c:242:2: note: inlined by function 'intel_vga_disable'
     242 |         intel_vga_write(display, VGA_SEQ_I, 0x01, mmio);
         |         ^
>> drivers/gpu/drm/i915/display/intel_vga.c:167:10: error: call to '_inb' declared with 'error' attribute: inb()) requires CONFIG_HAS_IOPORT
     167 |                 return inb(reg);
         |                        ^
   include/asm-generic/io.h:677:13: note: expanded from macro 'inb'
     677 | #define inb _inb
         |             ^
   include/asm-generic/io.h:576:14: note: expanded from macro '_inb'
     576 | #define _inb _inb
         |              ^
   drivers/gpu/drm/i915/display/intel_vga.c:167:10: note: called by function 'intel_vga_read'
   drivers/gpu/drm/i915/display/intel_vga.c:243:8: note: inlined by function 'intel_vga_disable'
     243 |         sr1 = intel_vga_read(display, VGA_SEQ_D, mmio);
         |               ^
>> drivers/gpu/drm/i915/display/intel_vga.c:175:3: error: call to '_outb' declared with 'error' attribute: outb() requires CONFIG_HAS_IOPORT
     175 |                 outb(val, reg);
         |                 ^
   include/asm-generic/io.h:689:14: note: expanded from macro 'outb'
     689 | #define outb _outb
         |              ^
   include/asm-generic/io.h:630:15: note: expanded from macro '_outb'
     630 | #define _outb _outb
         |               ^
   drivers/gpu/drm/i915/display/intel_vga.c:175:3: note: called by function 'intel_vga_write'
   drivers/gpu/drm/i915/display/intel_vga.c:245:2: note: inlined by function 'intel_vga_disable'
     245 |         intel_vga_write(display, VGA_SEQ_D, sr1, mmio);
         |         ^
>> drivers/gpu/drm/i915/display/intel_vga.c:167:10: error: call to '_inb' declared with 'error' attribute: inb()) requires CONFIG_HAS_IOPORT
     167 |                 return inb(reg);
         |                        ^
   include/asm-generic/io.h:677:13: note: expanded from macro 'inb'
     677 | #define inb _inb
         |             ^
   include/asm-generic/io.h:576:14: note: expanded from macro '_inb'
     576 | #define _inb _inb
         |              ^
   drivers/gpu/drm/i915/display/intel_vga.c:167:10: note: called by function 'intel_vga_read'
   drivers/gpu/drm/i915/display/intel_vga.c:247:8: note: inlined by function 'intel_vga_disable'
     247 |         msr = intel_vga_read(display, VGA_MIS_R, mmio);
         |               ^
>> drivers/gpu/drm/i915/display/intel_vga.c:175:3: error: call to '_outb' declared with 'error' attribute: outb() requires CONFIG_HAS_IOPORT
     175 |                 outb(val, reg);
         |                 ^
   include/asm-generic/io.h:689:14: note: expanded from macro 'outb'
     689 | #define outb _outb
         |              ^
   include/asm-generic/io.h:630:15: note: expanded from macro '_outb'
     630 | #define _outb _outb
         |               ^
   drivers/gpu/drm/i915/display/intel_vga.c:175:3: note: called by function 'intel_vga_write'
   drivers/gpu/drm/i915/display/intel_vga.c:267:2: note: inlined by function 'intel_vga_disable'
     267 |         intel_vga_write(display, VGA_MIS_W, msr, mmio);
         |         ^
   6 errors generated.


vim +167 drivers/gpu/drm/i915/display/intel_vga.c

cc6ed470caa201 Ville Syrjälä 2025-12-08  161  
3acd8cbbd738eb Ville Syrjälä 2025-12-08  162  u8 intel_vga_read(struct intel_display *display, u16 reg, bool mmio)
3acd8cbbd738eb Ville Syrjälä 2025-12-08  163  {
3acd8cbbd738eb Ville Syrjälä 2025-12-08  164  	if (mmio)
3acd8cbbd738eb Ville Syrjälä 2025-12-08  165  		return intel_de_read8(display, _MMIO(reg));
3acd8cbbd738eb Ville Syrjälä 2025-12-08  166  	else
3acd8cbbd738eb Ville Syrjälä 2025-12-08 @167  		return inb(reg);
3acd8cbbd738eb Ville Syrjälä 2025-12-08  168  }
3acd8cbbd738eb Ville Syrjälä 2025-12-08  169  
3acd8cbbd738eb Ville Syrjälä 2025-12-08  170  static void intel_vga_write(struct intel_display *display, u16 reg, u8 val, bool mmio)
3acd8cbbd738eb Ville Syrjälä 2025-12-08  171  {
3acd8cbbd738eb Ville Syrjälä 2025-12-08  172  	if (mmio)
3acd8cbbd738eb Ville Syrjälä 2025-12-08  173  		intel_de_write8(display, _MMIO(reg), val);
3acd8cbbd738eb Ville Syrjälä 2025-12-08  174  	else
3acd8cbbd738eb Ville Syrjälä 2025-12-08 @175  		outb(val, reg);
3acd8cbbd738eb Ville Syrjälä 2025-12-08  176  }
3acd8cbbd738eb Ville Syrjälä 2025-12-08  177  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-05  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <89d3ef4c53e7e69db6fc39f6a54631af4086c20b.1796304421.git.jani.nikula@intel.com>
2026-12-05  9:55 ` [PATCH 4/8] drm/intel-display: introduce new kernel module for Intel display kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox