Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp331321pxb; Tue, 12 Apr 2022 03:05:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy41YYExa69yfdk7H5SVJe5rEbAw+E6+uyrqHmDuDuAA+Sh9o/5zDW92UMaDmyvfF6NNAtz X-Received: by 2002:a17:903:1249:b0:154:c472:de6b with SMTP id u9-20020a170903124900b00154c472de6bmr37145204plh.38.1649757899902; Tue, 12 Apr 2022 03:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649757899; cv=none; d=google.com; s=arc-20160816; b=ie/ySXRejOeDGQrNkPh0ZSIzopuGnBtCpoS2GjAmVwfnHPvmQPV+mN4nAfsJRizumM S9YkzvHecpUf0IoShL9tiQL9NRwpTXVTbIUgMyLLQiqzyah13dbGzpaLAzJThx4jaMZ1 TTKFOds75ykU2KbEeCFyh0JwmUs6kIJSEpE3G+mCPN9DhY57pZSpzChu+NXHUJCQvzdK 6Vd8C4faSMyEUz4bjBy/d7TmauMueKRevoxmdOga1klS2ewomhNWHb21WOh30yMqzgwl 0lEfN5ZVl0X0QfTdnBgs7PCwD/F9Z2aAx8KHn5zbpQrszpOoy9am/Nbvhqc7w7PhnLPE NbZQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QZCQxkJK0U/D79Y2Ua95KCB8a8ToP669D1jRnGo/6vo=; b=s/eS+EYz5AiREnTa82lPYZ/F/xA48km0Wj7Wm1y0XHSOgk6aOyiRrYogcGXNvd/znc r68zeYfG/g2vBNiL/NhlsGFVysi+TLNU4eEHrcLgTIu3uFdaDoAQMu0v+kmNsKqsvlvD DGzWrciU6TiUgWaRyHiHpTfpYQRuMePNnWpmiH4KaIE8RNnhxWZtaFtP7MbyrneB1I7i 4O1I/VxR+eMR3XOzhsEHFnU0ICJpD/FA5Q2XcbrAgg1ULLNRETIIU+AUewWnBF9t0+Oj qOh4QGN/yGcxTYEB+IAyrvxVb6XQNz0Jw0FppsuLAJbu1//EUk0XgUxRDJTwTb6GJSm1 pDRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dmDoFyt0; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j14-20020a170903024e00b00153b2d164bdsi11948380plh.197.2022.04.12.03.04.39; Tue, 12 Apr 2022 03:04:59 -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=@linuxfoundation.org header.s=korg header.b=dmDoFyt0; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344425AbiDKJe6 (ORCPT + 99 others); Mon, 11 Apr 2022 05:34:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231443AbiDKJe5 (ORCPT ); Mon, 11 Apr 2022 05:34:57 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5E9A2529A for ; Mon, 11 Apr 2022 02:32:43 -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 ams.source.kernel.org (Postfix) with ESMTPS id 62C10B8118C for ; Mon, 11 Apr 2022 09:32:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BF45C385A3; Mon, 11 Apr 2022 09:32:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649669561; bh=jRnyWqH9TwszaP2Qx1WH6PeeWSd9y+g9piA8kiDuNDw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dmDoFyt0F82MYSmB3JQ+MLArA0Fs/TTqgQEy5pPSdowH59QJcZXP5nbmWIKLt7z9x +OXuBm+2o70yQOZOr6WY133qcgEjjzR5xc2+k7E/5NCu5aO5W4l4kWPflB4Jd9R45U PfOMnvjFBvIMg+fgT8vTOdXyycBSC/jTQz2V/3ws= Date: Mon, 11 Apr 2022 11:32:38 +0200 From: Greg Kroah-Hartman To: Sudeep Holla Cc: Qing Wang , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] arch_topology: Do not set llc_sibling if llc_id is invalid Message-ID: References: <1649644580-54626-1-git-send-email-wangqing@vivo.com> <20220411083736.hrpgndcwuvtsgnhc@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220411083736.hrpgndcwuvtsgnhc@bogus> X-Spam-Status: No, score=-7.1 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 On Mon, Apr 11, 2022 at 09:37:36AM +0100, Sudeep Holla wrote: > Hi Qing, > > On Sun, Apr 10, 2022 at 07:36:19PM -0700, Qing Wang wrote: > > From: Wang Qing > > > > When ACPI is not enabled, cpuid_topo->llc_id = cpu_topo->llc_id = -1, which > > will set llc_sibling 0xff(...), this is misleading. > > > > Don't set llc_sibling(default 0) if we don't know the cache topology. > > > > Makes sense to me and thanks for splitting the patch and pointing this out > clearly. Your earlier patches mixed other things and made it hard to highlight > this one. > > Reviewed-by: Sudeep Holla > > Hi Greg, > > Can you pick this up ? IMO It can go as fix in -rc as it is kind of > misleading though I am not sure if it is breaking any platform. Will do, thanks. greg k-h