Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5434347rwl; Tue, 11 Apr 2023 05:33:48 -0700 (PDT) X-Google-Smtp-Source: AKy350b7evpcsrFnDSh2Mya2b/ePzCkqGIIl3/7Vod6PS0PnZxZJvvwBO5KT3b05UMkhJReTeLnD X-Received: by 2002:a17:906:5ad5:b0:930:8fd7:789f with SMTP id x21-20020a1709065ad500b009308fd7789fmr2257093ejs.38.1681216428672; Tue, 11 Apr 2023 05:33:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681216428; cv=none; d=google.com; s=arc-20160816; b=DjSlt1wNz2e2QqP9VACDEncXygO7FlfygZILkfnm6ibiE3l3Dx8GG86wvdZJ0NO6/y Ql0nKELiAmBxgi1P96/GEUOAsrkxjZgkcCOgK3QfJvbNZu++6va8R9P1OJxtgRRpXtZS LFeJ3UnNyUdj50aRnemvixhkzRV3n6dK4ylsnDS5n+0EPJ8jotoT3Mq+qFwBs+0ITnN3 3P77x3TKUmfopTr3SfL71DmQu1a+cE5DqnWKCiydhDpe0bvajYFx0K2ztTJXlRzfSKOu ZCqS3247WPfH3VREIvEN4re/5XnaKs5f4KO2fNhD5cT5htrz0Sj2oNgk2UnjpXIucAoq fCeA== 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=U91yrCJOeaVtdZbsR7c3QE7v7nHaAXGphx6CJX18KdU=; b=T1E/GieQdvT8MkAihaTFuBYo7QJcSy0xuE4JAGiiIaDOdwzNT9gM3ExAMvk115Jgg3 WL2h3M/n+5zC4OlA5nWzZZPvvZVSYp+6NNRCK9mes6BphobhwJrEPdUet5FYT8W/0uve 3GlNawmQx+4oNDz+J8bZsM6CO/TnNPSIZMX7W0TE8s/borxmVq4ngYKNw72Ald+nhuPp /ABqOwvmSHYSs4A+MFcQsTMMcVVktF1L4C2yJKUq+r3ZcUUjrUaIhF67qbzJb8LU50hD DT+wzinuhcIeu+BPir++8YJ26N7nRvfF2DRqdiLM7bFRWSBNmtmNUFtYQriXkKbtAXmg PXpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=Gg2BhMhs; 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 qf37-20020a1709077f2500b0094a698a7a28si853971ejc.666.2023.04.11.05.33.23; Tue, 11 Apr 2023 05:33:48 -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=Gg2BhMhs; 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 S229762AbjDKMX5 (ORCPT + 99 others); Tue, 11 Apr 2023 08:23:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjDKMX4 (ORCPT ); Tue, 11 Apr 2023 08:23:56 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E64E41707; Tue, 11 Apr 2023 05:23:54 -0700 (PDT) Received: from zn.tnic (p5de8e687.dip0.t-ipconnect.de [93.232.230.135]) (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 73BF51EC0102; Tue, 11 Apr 2023 14:23:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1681215833; 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=U91yrCJOeaVtdZbsR7c3QE7v7nHaAXGphx6CJX18KdU=; b=Gg2BhMhs4U2g3JSr/wHcKxH+DS0dtgDgEa/5/Lap7Y8sfmv28i2jHD+Yx1z992I9m+D1fc wC/bgI92Yvwv5XE9/Fk8rYVqznCn5rrhx+RT50S9uus+lScLaRrYJyjqFwVF5u0FORr8mL S8ESuZ2V4xMlhLpLtNxgA5x+rjPleVE= Date: Tue, 11 Apr 2023 14:23:48 +0200 From: Borislav Petkov To: Wen Pu Cc: K Prateek Nayak , "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , "mingo@redhat.com" , "dave.hansen@linux.intel.com" , "hpa@zytor.com" , "corbet@lwn.net" , "jgross@suse.com" , "andrew.cooper3@citrix.com" , "peterz@infradead.org" , "Jason@zx2c4.com" , "thomas.lendacky@amd.com" , "x86@kernel.org" , "linux-doc@vger.kernel.org" Subject: Re: [PATCH 0/2] arch/x86: Set L2 Cache ID on AMD processors Message-ID: <20230411122348.GAZDVRVNvbbS8F5NUB@fat_crate.local> References: <20230410163527.1626-1-kprateek.nayak@amd.com> <7d5f81e3-0890-ae35-2e5c-59d1b0950297@hygon.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7d5f81e3-0890-ae35-2e5c-59d1b0950297@hygon.cn> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Tue, Apr 11, 2023 at 12:10:38PM +0000, Wen Pu wrote: > I have tested the function cacheinfo_amd_init_l2c_id() on Hygon machine, > it had the same result as yours above. So Hygon also should set the > l2c_id. Could you please set it for Hygon, or should I send a separate > patch? Separate patch please. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette