Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp574270pxb; Wed, 18 Aug 2021 08:57:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDtvNS5fpb1gs23Om1jGjVS1a1lVrc/GyDY0OGIGT41S79D2qSGt7liwjx/ScwWVHRfEQl X-Received: by 2002:a17:906:a283:: with SMTP id i3mr10155524ejz.528.1629302245352; Wed, 18 Aug 2021 08:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629302245; cv=none; d=google.com; s=arc-20160816; b=VnnHZmtBq8pwsyNZJAN6Qz21AcTEUQbzlnZyxQ/VyaF0jYME5XjDjpZ8a1y3xJrvTl SFdL85ZhchFmlk3Kau+/BMjaY/Q44eTTv+v7s/eIULz+kQPVI6Bf7IkoxifpoCuLWYQc JN7Dkn9h9P3bzlVw2jdLPHyX7/0XVVjGjn3O0tSN7NJ15iLl8j2otwdk1VR2OAvsMsQi xUfGb/H55eBI93nh+xMRHU1nH13yu05KxFvNtKE6mTY9feHn3pMBsQCjJgkmJLyst8MR UQ8oN8lWpfdR6sjeYQo3DRXbc1PmSW7gNjT1yYleBZ1olqEig3iPz0mFmVkbUl7OBa2D 9gcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=QLLyYCgtHSyD6bJRB52AfHEbo90ydEF6jlPRBfxb998=; b=YVtv4BaZw4W8ywgHTSNBMnUdT2fILudCSfTRraP/rqjzX1Kpjqofj9mfAnF14RADFZ 8YwTe0Gdw5gaIT/ELt9U+7uljpYJySakcPGH3UE1mB435QiiI3E40S/LJe5GHzRoGwU6 OdGIg9CdaxEWLCoByNy3ShtApBNn9CjOk1xp4RQQ/CK1erwUFNfrXOmcN8TEcUg38tAT o5f8PVFaLv7UnPYKsBdLdprKKdpKLgs1FvHoYkiUfbwKJSY6ZjA+itKxjmHmaSkRH8e7 kxG8+BxvSFQIhaB5m6JaaSlgI/8E4+MyRc8CwBksyUtg7zJOE15s9Gc/7s+EJBqdzboZ KLnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v23si153433eds.259.2021.08.18.08.57.02; Wed, 18 Aug 2021 08:57:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240194AbhHRPyD (ORCPT + 99 others); Wed, 18 Aug 2021 11:54:03 -0400 Received: from mga07.intel.com ([134.134.136.100]:21820 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240304AbhHRPxq (ORCPT ); Wed, 18 Aug 2021 11:53:46 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10080"; a="280097040" X-IronPort-AV: E=Sophos;i="5.84,330,1620716400"; d="scan'208";a="280097040" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2021 08:53:11 -0700 X-IronPort-AV: E=Sophos;i="5.84,330,1620716400"; d="scan'208";a="449809140" Received: from ksawchu-mobl.amr.corp.intel.com (HELO [10.212.83.236]) ([10.212.83.236]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2021 08:53:09 -0700 Subject: Re: [RFC PATCH 1/2] driver core: export driver_deferred_probe_trigger() To: Greg Kroah-Hartman Cc: Mark Brown , alsa-devel@alsa-project.org, "Rafael J . Wysocki" , tiwai@suse.de, linux-kernel@vger.kernel.org, liam.r.girdwood@linux.intel.com, vkoul@kernel.org, Geert Uytterhoeven , Jason Gunthorpe , Dan Williams , Andy Shevchenko , Christoph Hellwig References: <20210817190057.255264-1-pierre-louis.bossart@linux.intel.com> <20210817190057.255264-2-pierre-louis.bossart@linux.intel.com> <20210818115736.GA4177@sirena.org.uk> <20210818134814.GF4177@sirena.org.uk> <14235b8d-d375-6e2d-cae9-33adf9c48120@linux.intel.com> From: Pierre-Louis Bossart Message-ID: Date: Wed, 18 Aug 2021 10:53:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> a) we have to use request_module() > > Wait, why? > > module loading is async, use auto-loading when the hardware/device is > found and reported to userspace. Forcing a module to load by the kernel > is not always wise as the module is not always present in the filesystem > at that point in time at boot (think modules on the filesystem, not in > the initramfs). > > Try fixing this issue and maybe it will resolve itself as you should be > working async. It's been that way for a very long time (2015?) for HDAudio support, see sound/pci/hda/hda_bind.c. It's my understanding that it was a conscious design decision to use vendor-specific modules, if available, and fallback to generic modules if the first pass failed. Takashi, you may want to chime in...