Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27902rwd; Tue, 30 May 2023 15:37:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ50GwdoXOgy+Tp1UTRZG9TvCnZG3UzW3IryGsT0uFKXIe5AM3LfIPdbGrQd0JZAihHf6c0n X-Received: by 2002:a05:6a21:32a2:b0:10b:f590:5a1f with SMTP id yt34-20020a056a2132a200b0010bf5905a1fmr4644797pzb.0.1685486277498; Tue, 30 May 2023 15:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685486277; cv=none; d=google.com; s=arc-20160816; b=bN4Mv4fii8mUERZQ8L3N2X7GA8/ffIfA9tS6iJqzfl66mM5L4pIPVJ0/OPN2DQtza6 m6P8c5bQT2I270mMSwpA+jqk2uwKfs/Hg2VLlguhDudTxvqctznH6qlo23hU6yg++w9e VFVmHS7RII8hkcBiMvCOK9lRzNVxpgereHKRBTsh1D/yIRCV57eUabEPuEywoUmFGyuq VA+yNtjcVolSy0JGXIIfVJK4g48WNQxUFuF7iNyXwIr+KFs+pCK84c2Xz5rndKWu1lJI qX9n97bxDjy6yvNBTUUHvfTF0jPXwe3EGUNQcdJ7/y561sQXRE+zpUmWpwhirrr99GAR 9Hnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QPENgJ1RS3nDEzbRUAB4iKfBkzlw2l0wwPKr5pUrNBw=; b=a8cJHbjoi7wJYMBLoZ7X4UVHvTEydN8lPvLaO4rjtKEaLJepT2zMP4OdnQsYHh9TXN n1IWSr1gzYJUyqEi0xK2kNbtKHD8HEMZAEKLWeM1JLQQvUgvfqvaBPSeeLUxlfmo6H+v NVukAoIV296SWg4PrUQm7Q/5gtqIYhGmJzBW0/IGtvzEGvxOwr+IMlTF3TcoETT+vkn9 Wgb4SFNZYS1flMfBlf8EcqRKUuzkYDTiuIO3A4rbEVT7GeyBF8MFpo5TpCIZdeNXk9Um KfHCEp2LNUdv/9fBFh8YsFqF2sU/L8iB7zYBgJ5vJiZvysWlMobSA1xHrbKs/0KzEzGf vtQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iIfcx+aL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a656687000000b0053fbb190cb9si1555258pgw.572.2023.05.30.15.37.45; Tue, 30 May 2023 15:37:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iIfcx+aL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233555AbjE3VjL (ORCPT + 99 others); Tue, 30 May 2023 17:39:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230399AbjE3VjG (ORCPT ); Tue, 30 May 2023 17:39:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BF5BC7; Tue, 30 May 2023 14:39:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9ECDD633DB; Tue, 30 May 2023 21:39:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 504F1C4339B; Tue, 30 May 2023 21:39:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685482745; bh=K8tnh3E6cz2urAtYiHrxzL4PLY6sjrXzK1nJAzkm1l8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iIfcx+aLwdykV7AH9GpWQV3R0vRhMc95o68dX/6k/c+0KdjCVsjZyH01qTdmABgzU CmfvK/Of1GJVPgdKi+JX667/jEJ919uBVvwZIuLiCFT8jIDlw2gjNnpiC7SUasAuyw JaN0rsll7ad3dKGrvjRQQXv+xjfFNpmIEcM1Ih3+8hVEt6Dfu7WHkzTunfbYEpakC8 40T3uMyekZvqL4gwh+xgRuo3Ou0FNUDmwBXkownXDZqWzyVO7JqJTPEY8iBgcWaH9Q 51+S/QLLuw1n7AS3CbewwpLaMk0TOc6G+JdRAO5fasbIKk39G5J/8S4no25/aC9n8/ 5u/2ImEVWfLoA== Date: Tue, 30 May 2023 22:39:00 +0100 From: Conor Dooley To: Florian Fainelli Cc: stable@vger.kernel.org, Pierre Gondois , Conor Dooley , Sudeep Holla , Greg Kroah-Hartman , "Rafael J. Wysocki" , "open list:GENERIC ARCHITECTURE TOPOLOGY" Subject: Re: [PATCH stable 6.3 v2] arch_topology: Remove early cacheinfo error message if -ENOENT Message-ID: <20230530-basically-wildly-84415a94171d@spud> References: <20230530201955.848176-1-florian.fainelli@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20230530201955.848176-1-florian.fainelli@broadcom.com> X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yo Florian, On Tue, May 30, 2023 at 01:19:55PM -0700, Florian Fainelli wrote: > From: Pierre Gondois >=20 > commit 3522340199cc060b70f0094e3039bdb43c3f6ee1 upstream >=20 > fetch_cache_info() tries to get the number of cache leaves/levels > for each CPU in order to pre-allocate memory for cacheinfo struct. > Allocating this memory later triggers a: > 'BUG: sleeping function called from invalid context' > in PREEMPT_RT kernels. >=20 > If there is no cache related information available in DT or ACPI, > fetch_cache_info() fails and an error message is printed: > 'Early cacheinfo failed, ret =3D ...' >=20 > Not having cache information should be a valid configuration. > Remove the error message if fetch_cache_info() fails with -ENOENT. >=20 > Suggested-by: Conor Dooley > Link: https://lore.kernel.org/all/20230404-hatred-swimmer-6fecdf33b57a@sp= ud/ > Signed-off-by: Pierre Gondois > Reviewed-by: Conor Dooley > Link: https://lore.kernel.org/r/20230414081453.244787-4-pierre.gondois@ar= m.com > Signed-off-by: Sudeep Holla > Signed-off-by: Florian Fainelli How come this now needs a backport? Did the rest of the series get backported, but not this one since it has no fixes tag? Cheers, Conor.