All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] PCI: Allow untainted driver_override for PCI stub drivers
@ 2026-11-20 10:35 kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2026-11-20 10:35 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261118235645.2907908-1-alex@shazbot.org>
References: <20261118235645.2907908-1-alex@shazbot.org>
TO: Alex Williamson <alex@shazbot.org>
TO: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
CC: Alex Williamson <alex@shazbot.org>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
CC: Jonathan Corbet <corbet@lwn.net>
CC: Shuah Khan <skhan@linuxfoundation.org>
CC: Randy Dunlap <rdunlap@infradead.org>
CC: "Rafael J . Wysocki" <rafael@kernel.org>
CC: Danilo Krummrich <dakr@kernel.org>
CC: Johan Hovold <johan@kernel.org>
CC: Steven Rostedt <rostedt@goodmis.org>
CC: Masami Hiramatsu <mhiramat@kernel.org>
CC: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: David Lechner <dlechner@baylibre.com>
CC: Armin Wolf <W_Armin@gmx.de>
CC: Thierry Reding <thierry.reding@kernel.org>
CC: Mike Rapoport <rppt@kernel.org>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Karl Mehltretter <kmehltretter@gmail.com>
CC: "Paul E . McKenney" <paulmck@kernel.org>
CC: Borislav Petkov <bp@alien8.de>
CC: Dapeng Mi <dapeng1.mi@linux.intel.com>
CC: Marco Elver <elver@google.com>
CC: "Ethan Nelson-Moore" <enelsonmoore@gmail.com>
CC: Jeff Layton <jlayton@kernel.org>
CC: Bradley Morgan <brads@mainlining.org>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>
CC: Petr Mladek <pmladek@suse.com>
CC: Pnina Feder <pnina.feder@mobileye.com>
CC: Mete Durlu <meted@linux.ibm.com>

Hi Alex,

kernel test robot noticed the following build errors:

[auto build test ERROR on pci/next]
[also build test ERROR on pci/for-linus linus/master v7.4-rc3 next-20261119]
[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/Alex-Williamson/PCI-Allow-untainted-driver_override-for-PCI-stub-drivers/20261118-165643
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
patch link:    https://lore.kernel.org/r/20261118235645.2907908-1-alex%40shazbot.org
patch subject: [PATCH] PCI: Allow untainted driver_override for PCI stub drivers
:::::: branch date: 15 hours ago
:::::: commit date: 15 hours ago
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20261120/202611201844.f7iWPFcy-lkp@intel.com/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/20261120/202611201844.f7iWPFcy-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/r/202611201844.f7iWPFcy-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/pci/pci-stub.c:40:17: error: 'struct device_driver' has no member named 'support_driver_override'
      40 |         .driver.support_driver_override = true,
         |                 ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/pci/pci-stub.c:40:43: error: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
      40 |         .driver.support_driver_override = true,
         |                                           ^~~~
   drivers/pci/pci-stub.c:40:43: note: (near initialization for 'stub_driver.driver.name')
--
>> drivers/pci/pci-pf-stub.c:39:17: error: 'struct device_driver' has no member named 'support_driver_override'
      39 |         .driver.support_driver_override = true,
         |                 ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/pci/pci-pf-stub.c:39:43: error: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
      39 |         .driver.support_driver_override = true,
         |                                           ^~~~
   drivers/pci/pci-pf-stub.c:39:43: note: (near initialization for 'pf_stub_driver.driver.name')


vim +40 drivers/pci/pci-stub.c

c70e0d9dfef3d82 Chris Wright    2008-11-25  34  
c70e0d9dfef3d82 Chris Wright    2008-11-25  35  static struct pci_driver stub_driver = {
c70e0d9dfef3d82 Chris Wright    2008-11-25  36  	.name		= "pci-stub",
c70e0d9dfef3d82 Chris Wright    2008-11-25  37  	.id_table	= NULL,	/* only dynamic id's */
c70e0d9dfef3d82 Chris Wright    2008-11-25  38  	.probe		= pci_stub_probe,
18c7a349d072a22 Lu Baolu        2022-04-18  39  	.driver_managed_dma = true,
907f70ec2397402 Alex Williamson 2026-11-18 @40  	.driver.support_driver_override = true,
c70e0d9dfef3d82 Chris Wright    2008-11-25  41  };
c70e0d9dfef3d82 Chris Wright    2008-11-25  42  

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [PATCH] driver core: Disable driver overriding by default
@ 2026-11-18 16:22 Danilo Krummrich
  2026-11-18 23:56 ` [PATCH] PCI: Allow untainted driver_override for PCI stub drivers Alex Williamson
  0 siblings, 1 reply; 6+ messages in thread
From: Danilo Krummrich @ 2026-11-18 16:22 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Greg Kroah-Hartman, Jonathan Corbet, Shuah Khan, Randy Dunlap,
	Rafael J. Wysocki, Johan Hovold, Steven Rostedt, Masami Hiramatsu,
	Mathieu Desnoyers, David Lechner, Armin Wolf, Thierry Reding,
	Mike Rapoport (Microsoft), Arnd Bergmann, Karl Mehltretter,
	Paul E. McKenney, Borislav Petkov (AMD), Dapeng Mi, Marco Elver,
	Ethan Nelson-Moore, Jeff Layton, Bradley Morgan, Andrew Morton,
	Petr Mladek, Pnina Feder, Mete Durlu, Aaron Tomlin, Rio,
	Feng Tang, linux-doc, linux-kernel, driver-core,
	linux-trace-kernel, Mark Brown, Bjorn Helgaas, Alex Williamson

On Mon Nov 16, 2026 at 12:08 PM CET, Uwe Kleine-König wrote:
> If this patch is accepted, a number of drivers that are supposed to be
> force-bound need to get their .support_driver_override property set. I'm
> aware of the following:
>
>  - spidev_spi_driver in drivers/spi/spidev.c
>  - stub_driver in drivers/pci/pci-stub.c
>  - uio_dmem_genirq in drivers/uio/uio_dmem_genirq.c
>  - uio_pci_driver in drivers/uio/uio_pci_generic.c
>  - uio_pdrv_genirq in drivers/uio/uio_pdrv_genirq.c
>  - vfio_amba_driver in drivers/vfio/platform/vfio_amba.c
>  - vfio_ccw_sch_driver in drivers/s390/cio/vfio_ccw_drv.c
>  - vfio_pci_driver in drivers/vfio/pci/vfio_pci.c
>  - vfio_platform_driver in drivers/vfio/platform/vfio_platform.c
>
> This is not needed for the userspace i2c driver.
>
> As the flag to set is only introduced in this patch and assuming this
> patch is accepted, I suggest to create an immutable branch for it to
> allow setting the needed flags in driver trees. Alternatively let all
> these go together via a single tree or branch.

Either is fine with me, but it's probably easier to just include the
corresponding patches in this series and merge them all together such that we
avoid having things broken in individual trees.

Can you please add the corresponding patches in a v2?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-20 10:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20 10:35 [PATCH] PCI: Allow untainted driver_override for PCI stub drivers kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-11-18 16:22 [PATCH] driver core: Disable driver overriding by default Danilo Krummrich
2026-11-18 23:56 ` [PATCH] PCI: Allow untainted driver_override for PCI stub drivers Alex Williamson
2026-11-19  0:03   ` sashiko-bot
2026-11-20  2:32   ` kernel test robot
2026-11-20  4:20   ` kernel test robot
2026-11-20  6:58   ` kernel test robot

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.