Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp387103rwb; Thu, 18 Aug 2022 05:46:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR6TUGMyBuf1IEQ4eFnFGuh336TI58zXvCzXX8P7X5v8XLgHRY2faRFRGd8ULLnGgadNilZ6 X-Received: by 2002:a17:902:e74b:b0:171:4c36:a6a6 with SMTP id p11-20020a170902e74b00b001714c36a6a6mr2532094plf.116.1660826806090; Thu, 18 Aug 2022 05:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660826806; cv=none; d=google.com; s=arc-20160816; b=OtShpi9ZbPPwbkmcLteLk6vQhSJvB2AavOoetXvKtpbHztEKAJHln9Sdy2zp/FRiVX Jw9IZ6Htr8PlQ2c3BMFK9rtuSZ/fNtDY5M5udVc3ZU5TFIlyyIxH5LqhRhdK4BLHkWMu upzPkUDWSWHwhFVxTEvgBWIFlaSMkAb04t4V1us9r/fr3HoapxJnNnY8aPJzITDTIG4U 2Xhwz99YUnZUEIe15V5aIl/mmthdmKOJMJlKJJt/GIi4RkDYAXaeJHTiuVq7uFVY4Yjb AwN3Ly401AiwGray81yCPQZNfB0K1fMC0vU0BW3beBIAe2HYK9StFaEQUWxXnRjFVCDS 3FMw== 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=jDJ2RPkIaKDz7QoK2j/9ib6w/4i1ZuYxpSgJIBoQXwA=; b=MaKKYRKccF5Hl4vGQZ98cjD0MA1phlImk8buatfw1OHnWaES0Zie5uzqx6DoLFNlIf k4txszvP0zfpi7hcixCdQgjFF3q/fb6Eza68ixwPxGeAbqotKLRD9n7F2R9SrqKmK+tv JMNDsk8hpFdrTr1UZcPGHaPxfg5fWWqfyWHIxu/DEFZWxHl6B606/mu4dq9gOIIeSRNH Zl/lv+npRh/rmKC9v208jCLkutzaUa/8ORCesU7C5jKizFVsIAy57oJbzgLADfXQLqWV XFDJ0/m5jSQVgVdeEUvJMHAT0GjwMBa5bHcfJgeiE2EG2OhC1/fYx5HpqfRnr++Hntib j+ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=qDAkk4Oy; 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=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gp1-20020a17090adf0100b001ef3dbdbd28si3574373pjb.189.2022.08.18.05.46.35; Thu, 18 Aug 2022 05:46:46 -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=@alien8.de header.s=dkim header.b=qDAkk4Oy; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244504AbiHRL6o (ORCPT + 99 others); Thu, 18 Aug 2022 07:58:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244541AbiHRL6X (ORCPT ); Thu, 18 Aug 2022 07:58:23 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 085C9AE9DA for ; Thu, 18 Aug 2022 04:57:57 -0700 (PDT) Received: from zn.tnic (p200300ea971b98ec329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:971b:98ec:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 7F4981EC0541; Thu, 18 Aug 2022 13:57:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1660823871; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=jDJ2RPkIaKDz7QoK2j/9ib6w/4i1ZuYxpSgJIBoQXwA=; b=qDAkk4Oy3ukbQU2QNwb8Km0VJfU3dD29i3JiD7/Dohu/QDmKn43dnmpc4ax3OJTTjy+XN+ 0PC/Wuw9Hynz8GF/ShbaVt2jD/L5Zzsa0RrJKcl3pXNFiFmfSP2HTDsbqMSpdldWDNpy8V B8WGLDTF49GmlweBpxNLvp9HDBs1eCw= Date: Thu, 18 Aug 2022 13:57:47 +0200 From: Borislav Petkov To: Saurabh Singh Sengar Cc: ssengar@microsoft.com, mikelley@microsoft.com, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, peterz@infradead.org, tim.c.chen@linux.intel.com, will@kernel.org, song.bao.hua@hisilicon.com, suravee.suthikulpanit@amd.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/cacheinfo: Don't use cpu_llc_shared_map for !CONFIG_SMP Message-ID: References: <1660148115-302-1-git-send-email-ssengar@linux.microsoft.com> <20220818045225.GA9054@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220818045225.GA9054@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Wed, Aug 17, 2022 at 09:52:25PM -0700, Saurabh Singh Sengar wrote: > Shall I mention here "Non-SMP AMD processor" instead ? You should explain what that is. Is that a CONFIG_SMP=n kernel which you boot on a AMD CPU? IOW, how do I reproduce the issue you're describing below, here locally? Send dmesg pls. Also, what is the use case? Why would you even build with SMP off? Feel free to explain more verbosely what you're trying to accomplish. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette