From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f176.google.com (mail-dy1-f176.google.com [74.125.82.176]) (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 ACF983B7B83 for ; Tue, 3 Mar 2026 15:55:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772553340; cv=none; b=FpR4dqlAysQABYUm7LOmFpcMTATsNNhOTRvzCuoFlLJ3ZTAj0qIVLY2dN3mJR9XI7cwhu9b6NLK1iINXweVdO7E4IHcjSMRc8OQSOlPlGkLT9tQlC/rE3gCwzwpwv16elnk6Ornon2uWnZR+4aFFdj+bQY+8Ce4YO/se2+HrVeY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772553340; c=relaxed/simple; bh=712s/sGy0khQULsZqrApaHszW+1SfxleI36zHFt9m2c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Tro4XwBu6hHdjW6kXn1SLsIG31HljgkYX1C5wPY1C7MlfGaHxX0/cKIF0uMvy5KkdXOzZWFR9nehaS7z+0tVbzuqR422Ef0psnOL+zplIu1Sh5LD0aTQNU69Ak9nSWOcPwDi9ODJ03z8jF4Y3ceIRrcdgq30qSiHY8Xp0CuuEsg= 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=LKxcpp6j; arc=none smtp.client-ip=74.125.82.176 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="LKxcpp6j" Received: by mail-dy1-f176.google.com with SMTP id 5a478bee46e88-2b6b0500e06so7074239eec.1 for ; Tue, 03 Mar 2026 07:55:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772553339; x=1773158139; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=eUE22i9yYL53YMlyoIDFQLF69lukLf1ODkck3aAper0=; b=LKxcpp6jZMnFzi+esIqdLED8U9V3uJ/liO7mz2eVdRKxs67Zwekkx3CP+dep5V07Ri JYjHxl2PzfFxVlGCc3k+0VDYQGvSwaJwnsbJ77BkiLB3AlXvoj6LjZGKp12wVLxfDwSl p8U514BX/La2ze/JFGhWTG31C2oGHnlnLkxq9IJsFHUQAHXgmX6JW4aJS+T7DZusYD3Z uN7VjvNXEyxNhTaFBFVblz4SMh59gYWq0p/tq07Pfk23VMSAYKrEBsBJW2LIO/X8cOJ6 5uGw8XTk9GnCMLXLtL5GQoem4GjJV1yUz6Paah3v7VMuEpZFZ0SgKMRWI8Pg7mKIFQv0 eEoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772553339; x=1773158139; h=in-reply-to:content-disposition: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; bh=eUE22i9yYL53YMlyoIDFQLF69lukLf1ODkck3aAper0=; b=plCnDormf7oIfZ7kUv5E7djmUe1NZOn6mtn8hjnVrD7yCd2/9uaq0t04odF0wULbbT K3Km4OzN8FQOiKPWt9HxLYnHaRmix7PRJepnMo5rh/uWoOeglg8KBBZXJeBWkZzunfdy 4xa9IFiU3GH9HQs7giaaedCPmCcWWCG6527UVmlRSvsgMVLjicvlRMR9w139HdfHseeR Olueb3PIkcYNtrBYIphgMVAqE7d+zyudWJ3TfKMCIi/o3X8+mVqjF2dPfHdABvgOqfg5 avNpsNrgt0/ya5jDUMaJ72LjqYOhTJkCT7AGeZ69k4/V929EQsw305g2snlSiUiBSyAW 4Jxg== X-Forwarded-Encrypted: i=1; AJvYcCWrt6fLxfoPauZQp+x1bKi8C1oMcisJg+t3crzY3T49HyEqvbwyxerZwTxhaPcjOesDm7IQb7gRGmcCPlg=@vger.kernel.org X-Gm-Message-State: AOJu0Yz1YK5QS4WsSx/8qruSoAxOkd7rj5Zhhb9a8jNaX47UOH0hazTX XYEt6ElG/SMrRhSEzWwdN0NLGWXC2NZO7XiExgnWvohg6StKWSRNCAeG X-Gm-Gg: ATEYQzyzU6I5x7DO4vB9k3kk9aPRm5VVSahOvcifGCMkEx539clXr4nMT5rgVKHZ/7Q nWMqZKpXLmg7KCWFKwvItVOoYg0Iuus6IiRDozrWSnrY1MBRrR7L/w8n+P98FHKPstWWYYpZDM0 g4mFKHSPLXUBIPrDIyL8vHcnlat923ntWTLtQPFB1FU+QoECEIrF4GdJznLmwufGdEFBUo6ghqE BE0iEdH6AazvdOnljg+jUDPi8UZqpJMYFhN19Cxg6m5vqXhf77/jOZj1JZCl2rvz9EbeztnCgU0 DkhfDKx38cJJl1R8YCGWyVsNrAiq5u88Kxk2xO4nhWZQ7kU6vQrBCFrC7vJUg2Ng6G5nagOtoII 3cH2Ms5DH7llcxhhSuUhxBZjtPDOFkuGV1q8XHnqthQPi57+HuMXr719yJHPb1MIKr7cwpx8Jpi K67jy1IpAtZWyzRi+YAtQhofx7jnf/AuhtUOaqg42UAHC4uGNALJLIJgc9iDXCX7llsPKsWvFai +U= X-Received: by 2002:a05:7300:7309:b0:2ba:7617:eeb1 with SMTP id 5a478bee46e88-2bde1c119e7mr6623413eec.12.1772553338553; Tue, 03 Mar 2026 07:55:38 -0800 (PST) Received: from google.com ([2a00:79e0:2ebe:8:a048:d9ec:d217:7d59]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2bdd1f48c77sm14850097eec.26.2026.03.03.07.55.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Mar 2026 07:55:37 -0800 (PST) Date: Tue, 3 Mar 2026 07:55:34 -0800 From: Dmitry Torokhov To: Danilo Krummrich Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Arnd Bergmann , Bartosz Golaszewski , Hans de Goede , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/3] Allow attaching software node when registering platform devices Message-ID: References: <20260214025246.2095239-1-dmitry.torokhov@gmail.com> 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: Hi Danilo, On Mon, Mar 02, 2026 at 03:39:51PM +0100, Danilo Krummrich wrote: > On Mon Mar 2, 2026 at 1:42 AM CET, Danilo Krummrich wrote: > > On Sun Mar 1, 2026 at 6:02 AM CET, Dmitry Torokhov wrote: > >>> Unless there there is any contrary feedback from Greg or Rafael, I can pick up > >>> the series after -rc1 is out and hand out a signed tag for the two of those. > >> > >> Yes, could this be applied please? I have a few patches that depend on > >> this that I'd like to send out. > > > > Sorry for the delay, will do tomorrow! > > Again, sorry for the delay, I gave this some extra cycles to make sure Greg and > Rafael have a chance to comment (especially since this will be shared with other > trees). > > I now applied this to driver-core-testing; I will share a signed tag once I have > the 0day result. Thank you! > > I have one consideration about the > > if (pdevinfo->swnode && pdevinfo->properties) > return ERR_PTR(-EINVAL); > > case (which I hate we can't catch at compile time). Maybe it is worth to at > least print a warning? I am not sure how much it will help: the setup is typically static so the developer using this change/api will immediately run into this error if they try to set both, users will not see it. OTOH it is a single message... Thanks. -- Dmitry