All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jani Nikula <jani.nikula@intel.com>,
	intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	jani.nikula@intel.com
Subject: Re: [PATCH 4/8] drm/intel-display: introduce new kernel module for Intel display
Date: Sat, 5 Dec 2026 17:55:40 +0800	[thread overview]
Message-ID: <20261205085839.7IMchyer-lkp@intel.com> (raw)
In-Reply-To: <89d3ef4c53e7e69db6fc39f6a54631af4086c20b.1796304421.git.jani.nikula@intel.com>

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

  parent reply	other threads:[~2026-12-05  9:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 13:30 [PATCH 0/8] drm/intel: add intel-display.ko kernel module Jani Nikula
2026-12-03 13:30 ` [PATCH 1/8] drm/xe: Enable unclaimed register detection on xe for pre-LNL Jani Nikula
2026-12-03 13:30 ` [PATCH 2/8] drm/i915/de: Nuke driver_is_i915() Jani Nikula
2026-12-03 13:30 ` [PATCH 3/8] drm/xe/display: remove xe display kunit tests Jani Nikula
2026-12-03 13:30 ` [PATCH 4/8] drm/intel-display: introduce new kernel module for Intel display Jani Nikula
2026-12-05  9:55   ` kernel test robot
2026-12-05  9:55   ` kernel test robot [this message]
2026-12-03 13:30 ` [PATCH 5/8] drm/intel-display: use intel_display for TRACE_SYSTEM Jani Nikula
2026-12-03 13:30 ` [PATCH 6/8] drm/i915/display: remove ifdef I915 Jani Nikula
2026-12-03 13:30 ` [PATCH 7/8] drm/i915/display: highlight the places that still include from i915 Jani Nikula
2026-12-03 13:31 ` [PATCH 8/8] drm/xe: remove compat i915 headers Jani Nikula
2026-12-03 14:58 ` ✗ CI.checkpatch: warning for drm/intel: add intel-display.ko kernel module Patchwork
2026-12-03 14:59 ` ✗ CI.KUnit: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2026-12-05  9:55 [PATCH 4/8] drm/intel-display: introduce new kernel module for Intel display kernel test robot
2026-12-05 17:30 kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261205085839.7IMchyer-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.