From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D292BC00140 for ; Thu, 18 Aug 2022 11:58:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244553AbiHRL6p (ORCPT ); Thu, 18 Aug 2022 07:58:45 -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> 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