Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp37519pxb; Tue, 12 Apr 2022 16:07:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxsLZWMVTovsa338IIKG4hZZeXWzQxC2wZATnKhJL6SYBeus4dOIkEHosV+dz35rspardW X-Received: by 2002:a17:902:e552:b0:156:9cdc:e6cf with SMTP id n18-20020a170902e55200b001569cdce6cfmr40048264plf.78.1649804848642; Tue, 12 Apr 2022 16:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649804848; cv=none; d=google.com; s=arc-20160816; b=rehHSYzVuHmLocc0lp5QFzvrYj+XKzjguRF+ytnV57p7oSjNkM4KA0fhRj0w2mob7H Kdg2kjck97HR9139hqTtqQNl7xqckrZrEr+l1xOtJs7i92f5CyxqSvbyGP8zrLvTbtyK ORHh6gPMaOd6xMn4EDBGdNJkqn6y81gLVRU/itHdisZmULkOVDJcGZLyocMSm6SCi4oo /N6I7rG86Yj6stfZreDMkE41qQELswZiY6P0HLhstHuZ4ua0iMZEd39LHKX1KQ6FLdAe TjY4tNbNYmBuwKDYJEs4jjJRTWRuHcq3ztkE2B4JMnrQgztRd221hutvdBoQBD381H2s TEXA== 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; bh=Aa7L1QQsHF25A9OpFwjZkMR36KBg4U6BX5ERwIOzY6c=; b=NA3XMgsevCMo74kFn76+UX3NtH9HLZQ3JLq358rOSH1G1QFIZeT6ui+5wZiwaTZFD+ 4rIGJzHcpjvnOn3SkNMPVW/ELRlCiBTo1SwPj+KgFxeWScZpgDO1CoDkDLEX2vmm19xF sa187KmWnLXP5iwPg9LwrCo+PFl5U5CxdsB7TKNjfOgXAFgvCQAGRw7eXXnSul7sZb0D GKOsTAb2+3gHRf4OYXlCJks8U9kAmwehTV/d+jL4gvsq5M4ty+nj627/zrs2xCaVO7NN CcKT43r/EqhBIoTpvUMTlmV9ucrR/S7mThMb20/rHfu9FWtWYccjW1QGcyTWD5drWgf1 QLKg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q7-20020a170902eb8700b001588b580ba6si2479594plg.303.2022.04.12.16.07.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:07:28 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 96E8213E172; Tue, 12 Apr 2022 14:49:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343904AbiDKIj4 (ORCPT + 99 others); Mon, 11 Apr 2022 04:39:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233263AbiDKIjy (ORCPT ); Mon, 11 Apr 2022 04:39:54 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7D45D3EA89 for ; Mon, 11 Apr 2022 01:37:41 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 49159ED1; Mon, 11 Apr 2022 01:37:41 -0700 (PDT) Received: from bogus (unknown [10.57.41.152]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 293683F73B; Mon, 11 Apr 2022 01:37:39 -0700 (PDT) Date: Mon, 11 Apr 2022 09:37:36 +0100 From: Sudeep Holla To: Qing Wang , Greg Kroah-Hartman Cc: "Rafael J. Wysocki" , Sudeep Holla , linux-kernel@vger.kernel.org Subject: Re: [PATCH] arch_topology: Do not set llc_sibling if llc_id is invalid Message-ID: <20220411083736.hrpgndcwuvtsgnhc@bogus> References: <1649644580-54626-1-git-send-email-wangqing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1649644580-54626-1-git-send-email-wangqing@vivo.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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. -- Regards, Sudeep