From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD8D0376A09 for ; Mon, 27 Jul 2026 05:54:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785131699; cv=none; b=Ycs+Hkx5yGQ+AYi0R0FINLwAeDbI4NoWErS2cf/UGw6f4breu49ujEIQA9ljjvywYBlQSfyLGUX7a315ZFApCHMCkoaqg7Kmf9qfqBYFkFPfSYXc/5sVJl3KQQXMiCREU8WbAUW1vJinmd8My/TLOIsGs3tEILXm/cXlLMzEz9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785131699; c=relaxed/simple; bh=7mKpMmX1MskxkrL/pMAAbnvDH1tmrJhnhVxH0PrYE/s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fOuqJiBbP+92LlAysBGq/d/ToIZhoEaHxWLpWLII+0pVa/EkXWjHRgrxGvjtjovAnIYOGuzzxq+l6wc7RvvxpKj3BCmAbaS8gX/y2MtPIyRqAjUaH12uHmjde1gwLUVc6HIL4HizQUnjVmN/ZARvBSc6EHQGXXpKSK/zF7wAM8U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DvWKxA8J; arc=none smtp.client-ip=209.85.215.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DvWKxA8J" Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-caf707e3a70so2161038a12.1 for ; Sun, 26 Jul 2026 22:54:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785131698; x=1785736498; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=V6QF/6cJkPvqhq4tZwqYe84qaXlIKM+84MmPz77KpoE=; b=DvWKxA8JcZ5sCXiz7QQyNdVFHBTLV2FVU9+LSnaDNfitT1n2UNp5OMSVSypXFpS3/P LmUlsfTYIq9J/DzGRj+caMv7KEfA1zBI6OyTKj26JWCC5uyQKsjeGQuYBTT+S0eCuinA kvF9qY5nSW4ai7yBdcepXx9ii5oGbEaTm9jlWYbX42mTKXXGdioKsenYPbD4Fe5we4Bg 21KmgcYAB+lXXeWC0MCxKS48wxTSyorJ8GeQTdQs/OXsNMn2qHql/Np3c7SKvAsNOEsL dWwn9oc+AH/pgz+x4K8tpOA2sWtwcj/cx0GhwZxOmsrS8i6CF9GzOja6CrYHnqbuwbZz AC/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785131698; x=1785736498; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=V6QF/6cJkPvqhq4tZwqYe84qaXlIKM+84MmPz77KpoE=; b=Q9b+jWNaF4774HlCvqwMRIzdKgIwbJGIkRPiXef/ukSv/qeEW14sUV43R+8dkM+XD1 ZW/6nbi5PllgKdXcr+QkfS/auadUzUCYvP3xDlOvxoDzlDL1HphUZiA4fIDq8vMY9Wb4 KxkpPMDFDXXC5mja/lfh90z2+d5/ljndypQMVYdJsLD3xxdJA58toA+0IJvfjQz+D4Ls vYcAvSLP2s+8e6X3AnNxg1cV6p0QQQCli31gpmBDccKVlG/JfsxdZWkeMn4WTgcJ34x8 E1xYaibzE5E/dmIczFak8ni4JX5WjmO/h078In2BRErx+WSORqVrwZDhdq2Nqyb/D9rJ 5bsw== X-Forwarded-Encrypted: i=1; AHgh+RqwZgxxJQZSpt/KuJxCYkKech/9waBtuE/hC3lX9XioBpjs8hpbmLR7Wo7VtV5xrb3xxyHN7nzHdfPT5Oo=@vger.kernel.org X-Gm-Message-State: AOJu0Yx7YdMZB3u3xA2iRkd0BCFkKdOkTviuMVx6DgbSvSxciyH2DJh3 DPZoh+G014G58sUYL2pMQjzzXrKxiI676rWBG6hnhypAGsrJza1Uv15o X-Gm-Gg: AR+sD12O9xy7joldw/9BkWquekG1WtdmGvKy9gbBafftXKD+Me3aaMg4nC30LXIh8mT quZFXNVOeKBxHdvwQXkC2Ba0HS1dypzXYz9WQdVnLVw5y+naQVRG3E/59oILnQoiUahIOyR7ygO jf3KnBKFWUU0dtm776HKAA+y4TOwAZxP9chY3rdpB5G7K4IuExz5vQeVDN7GSOYo+gcILwKx6cr 5I4JbJ9hamuE4MrrGzh51i6QG4mytDVcNCjnGgBq30SMyF5MMRgRwTw8vORvo57j5vnmfn2UOn/ 3Y5niBw1AfLjtyA5tvYoNnwMXrAM21N6sTnvIVhi60A4u/V1iMGZZQsRhqAtpCETuuPB6fV/icE lvlaw1EtjlCh6uO8VUjVnnK9THSs6mHLxpOMMy8AW+4FzYGeEfentS0hasiReUUcjTQEJxvzc7a 6s7xQ8w2c3oCepQer/VyvQA1xHeZVOO8cq0lDCZNoF26Y= X-Received: by 2002:a05:6a21:3998:b0:3c3:75c5:48d5 with SMTP id adf61e73a8af0-3c6723703f9mr9477872637.4.1785131698064; Sun, 26 Jul 2026 22:54:58 -0700 (PDT) Received: from google.com ([2a00:79e0:2ebe:8:fc2f:1878:e714:ef41]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-314bc549cacsm27984046eec.16.2026.07.26.22.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jul 2026 22:54:57 -0700 (PDT) Date: Sun, 26 Jul 2026 22:54:54 -0700 From: Dmitry Torokhov To: Greg Kroah-Hartman Cc: Danilo Krummrich , "Rafael J. Wysocki" , driver-core@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] driver core: introduce PROBE_FORCE_ASYNCHRONOUS Message-ID: References: <2026072729-driller-leggings-e530@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2026072729-driller-leggings-e530@gregkh> On Mon, Jul 27, 2026 at 07:40:57AM +0200, Greg Kroah-Hartman wrote: > On Sun, Jul 26, 2026 at 10:31:41PM -0700, Dmitry Torokhov wrote: > > Add PROBE_FORCE_ASYNCHRONOUS probe type enum and update > > driver_allows_async_probing() to allow asynchronous probing for drivers > > marked with this type. > > > > While PROBE_PREFER_ASYNCHRONOUS exists, it represents a temporary opt-in > > preference. Subsystems that require asynchronous probing (such as slow > > legacy buses) need a dedicated probe type to guarantee asynchronous > > execution. > > > > Assisted-by: Antigravity:gemini-3.5-flash > > Signed-off-by: Dmitry Torokhov > > --- > > > > I am planning to rework serio and gameport subsystems to rely on > > asynchronous probing instead of rolling their own implementations. > > What do you mean? Why doesn't the PROBE_PREFER_ASYNCHRONOUS work for > you for those subsystems? It shows the intent. It is not "preference" anymore, it is a "must". If we ever introduce switch to make probing synchronous for some reason it should not affect drivers that must be probed asynchronously. Thanks. -- Dmitry