From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AEAC143C45; Mon, 8 Jul 2024 15:53:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720454001; cv=none; b=IbA2Q8c7ut1V5C40se08bvv1FAKl2eqepfZUbjv44mUhxVOt15c6cfNcXD/Vcdvs9ifO10HFx17DY5r33ri8KXTST3zI51QldhzI/3lvglWfjbYqwbBa2OGxcR19g8Gcs8BSSciqMZUga59bTIAHLAkoDZ/1/lw/xIFCUJrt0TY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720454001; c=relaxed/simple; bh=0dT9DFcn0Y3bJSFpiEG8lTelzSISjIxepScHvkGxYNQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nrDIDTmKHUdKufmJZt+sKXj2jWH8suUkfyDkRa7K0pqjFk0HVElOskbAk6DAr3fW2aCRC7O6R936up6ln7U6YxOCShow3wNuVk9hk5bzhF3eGn0OGL6Zhy5MnAs4egYcm7saMTJqImSXYAQI38TYtBFlp92H33PI2EdM9NomHpc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RPmLNWrk; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RPmLNWrk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7E3DC116B1; Mon, 8 Jul 2024 15:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720454001; bh=0dT9DFcn0Y3bJSFpiEG8lTelzSISjIxepScHvkGxYNQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=RPmLNWrkd14zClJcNi7XWX+RCWDX77i56aON0A9j6qkblIh7vmKzZZEKCcyl41/iZ f7LV3eu5tHAog52MkPDgIfH30vvXnRWhPtJFW2HI33XmX7dOnC6IU4bW5/DXSUSSaw cEVWbD44pf6ZG7hxjshzuOBka+1HfyYUJQkJb0dCUV6b9WQEcAJGs1/SZQr73m9fdu 7QCt63j7nl1owRlw/26DoZ9INp1xO3x6loSb30i/pMZYnhV+0BYewLN9+Dwi2C7S19 vm/AG2thUXfGmsABLYCXuxXVnwfG6ww5bShhJLcHuCKQC2gHJHhrO0/HugazetABrw SFymg5idKOr3g== Message-ID: <8838b5c3-0c51-42f6-9842-186139822be7@kernel.org> Date: Mon, 8 Jul 2024 10:53:18 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] pci: bus: only call of_platform_populate() if CONFIG_OF is enabled To: Bartosz Golaszewski Cc: Manivannan Sadhasivam , Bartosz Golaszewski , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Lukas Wunner , Bert Karwatzki , caleb.connolly@linaro.org, bhelgaas@google.com, amit.pundir@linaro.org, neil.armstrong@linaro.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Praveenkumar Patil References: <20240707183829.41519-1-spasswolf@web.de> <20240708003730.GA586698@rocinante> <20240708083317.GA3715331@rocinante> <6e57dbc0-f47a-464e-af6b-abd45c450dc6@kernel.org> <20240708154401.GD5745@thinkpad> <664619a9-c80f-4f81-b302-b9c5258b5e0e@kernel.org> Content-Language: en-US From: Mario Limonciello In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 7/8/2024 10:49, Bartosz Golaszewski wrote: > > If you have CONFIG_OF enabled then of_platform_populate() will go the > normal path and actually try to populate sub-nodes of the host bridge > node. If there are no OF nodes (not a device-tree system) then it will > fail. > > Bart So how about keep both patches then?