Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4212884rdb; Thu, 14 Sep 2023 15:47:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEkDWBG4tL+Ms1DSOHwq/RWMZMd7xJ9ZErsRZAFxMwxoUYb3ze1FYLRqOgK83jMxbWc58Cd X-Received: by 2002:a05:6a20:7d84:b0:15a:592c:130c with SMTP id v4-20020a056a207d8400b0015a592c130cmr211034pzj.14.1694731659690; Thu, 14 Sep 2023 15:47:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694731659; cv=pass; d=google.com; s=arc-20160816; b=fG3IJ9UV0KA9I/upIZuMQyZyo6bzTgEigGAMjT83yr93CAzr9Ih/zfM/FXZ5sVZzzz ygYKYP05Ak727IYe/MbCdKLnrmflx3BLoKobwKbVEpy9bgP6sAJ2yd6BFhI/dm0oMp/P ftrXygcDmJeFTz198GgBAyOSKNNkSNI1yx/UXNH/s1Yt4oQ0KXnXgImyoJfNLx9f/8Yf wB2JDaTn8aMVvKA1AYsE3WyFG1fMIiNqAykgGLu3DrgNPzdwKGOX4a5uwbtjtd0yAiy3 arB/uyAgJXNOAVjWCL4OlkaFv4us/wC98dJd+z4AKkeFVVHZzas+27ZgdBFccVNexIz3 GLRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=zAsIzILfNBZ6liarEIjtR8/5fEe2bem/QCYvEgFiVVY=; fh=8Lb7xeVGxeGvTnYHtoggcQU14dAt56Vyv/HcKW23zxo=; b=i1UbZg7hmV/neSwhEtsIbXSVxD0et/DRPjG3F35KxtD99v4c9DPkPfcg/uUlT3KjOz yRQcUC9Sxnl5iUhyZPUIXujS6S6hfS4Azzm8NQNtKAcA/a1Odj9YXPL0PyQi//tVaTml l7Z+KOU1FIb7B5hV0qo/gSTi/NDZDGrD/n4GdeN/Lhtj23D4XjNzF/RLcXSt2e0Y0vUT HIj44OBtrVkRuRTtmqcWIAZ00FJJTNLq2zxguqhtAPy526DAznEcKJYha6v7Z6Gb09k5 q2KBVEFdFwwhsDhIWoHeJHFNvIqOphHn51b+WsKH42vgXIOodPQPVHAe6I34WRztdwvv x8hQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=MrbbJJ4i; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id oc5-20020a17090b1c0500b0026811da0fc7si4710070pjb.128.2023.09.14.15.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 15:47:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=MrbbJJ4i; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1C1A38220771; Thu, 14 Sep 2023 01:50:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235976AbjINIuF (ORCPT + 99 others); Thu, 14 Sep 2023 04:50:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230234AbjINIuD (ORCPT ); Thu, 14 Sep 2023 04:50:03 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2064.outbound.protection.outlook.com [40.107.237.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36BA091; Thu, 14 Sep 2023 01:49:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rqj8KjeV1t2fnUKw13pQ1hhYB8YAnxVJfBoS5yH4enj5IUAFxU5IgMwNV4f7PPsBtczS7QMcd4e7kBd/mJ0RpMQLtYkn1XMNT6P/R42vwOYspPtCt16q88J1fhQNb3Spi8B70ZUsnHUGRcCqfYraOBs3LBpH6lBacXztpe7jABkxXDarps4GtcnrXCiiSLcnH7y3e3af4qZFdK0JE9u2SxE1Jwy2Ldrm/YZaL1w5y+26rbU1o5c4DPvfDoqVT7mZy1z5kYFF0iv+cQLc18LDhIIogh2Uv+fDIgpB2Gd0yff2RwF81nNgvQltc3XFanEI5VRKkCXnswZ1XZKfCrBGVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zAsIzILfNBZ6liarEIjtR8/5fEe2bem/QCYvEgFiVVY=; b=KaDFZX+Ti6CShxbZoGV9+p6Yw9KBnxM3cZI2P8y7Vobe3gZKZlFfKeTmDQFXag8Iw4P6+8uVajNuXqMQEiGDWllowQovlEdmXID/+lAvQEisWbsHrX+SsyBrU1iqd/j15PIkL2XLXgI/HOvh0Gnwx+aBOjpnKuiTffKfSv2O2YFQa2YBGZXKsoL3jFMc/WYdRTHvWCc19taoH2HCUIHNpkx8/ad4MgaEKhfb6xeRWeSpYlRDuRADK0D/I6Ajd8fTntJTpxaSu/WNgyQyPm0CzY1IiV28T5vMh6PwLEySJrlhKnzC1WuZ7An7oBV3s/RvuDIxz05paglbyfw+NM89oQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zAsIzILfNBZ6liarEIjtR8/5fEe2bem/QCYvEgFiVVY=; b=MrbbJJ4iHQ4z2iNOTm8nbV/7JW9zdtMeM5nNXUuT3ujgQENRUkRgUPpltrlsx6OUOuU33lEOjSi+QWaUUnZBpQucH9XbY+UHCaw2qsBIsdQbfnm6c4WbuddH5cp0Y97OivduAvp3AaJ1MWzPpq8j64AVexK+99kzetprPcPkhGs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from PH7PR12MB5712.namprd12.prod.outlook.com (2603:10b6:510:1e3::13) by DM3PR12MB9433.namprd12.prod.outlook.com (2603:10b6:0:47::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.30; Thu, 14 Sep 2023 08:49:57 +0000 Received: from PH7PR12MB5712.namprd12.prod.outlook.com ([fe80::a285:eb6e:8fc:7cd7]) by PH7PR12MB5712.namprd12.prod.outlook.com ([fe80::a285:eb6e:8fc:7cd7%4]) with mapi id 15.20.6745.035; Thu, 14 Sep 2023 08:49:56 +0000 Message-ID: Date: Thu, 14 Sep 2023 14:19:46 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] perf/x86/amd: Do not WARN on every IRQ To: Jirka Hladky Cc: Peter Zijlstra , Breno Leitao , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Thomas Gleixner , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , leit@fb.com, dcostantino@meta.com, "open list:PERFORMANCE EVENTS SUBSYSTEM" , "open list:PERFORMANCE EVENTS SUBSYSTEM" , ananth.narayan@amd.com, Ravi Bangoria , Michael Petlan References: <20230616115316.3652155-1-leitao@debian.org> <20230616132954.GG4253@hirez.programming.kicks-ass.net> <100041d0-f2fe-331b-13a7-ad09082aeb7d@gmail.com> <20230616153221.GI4253@hirez.programming.kicks-ass.net> Content-Language: en-US From: Sandipan Das In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: PN2PR01CA0124.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:6::9) To PH7PR12MB5712.namprd12.prod.outlook.com (2603:10b6:510:1e3::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR12MB5712:EE_|DM3PR12MB9433:EE_ X-MS-Office365-Filtering-Correlation-Id: 1894de21-c3de-491b-1c98-08dbb4ff91fe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XU9COUaYRqpDto7uJZqQlD/m6YPU3TkjS+3G39IcsBTGBLz36N+0EpbsZTfcCnP3M/mEE5d053sKo0atCwolffR5zg27P+Y4obia66/xsGEOwJ0Cv9pnRIjCIHDfig88Yvrwz5xrALXm7HFihVZluxAAKTAhOdCqnzZfk9KXs8f44o8Xwc1tynxGmjD2b8jfywFWIIK4U8YyaWo7UVXfOsShRWQ8r9mGeF9eAuU8SNB7Vu4RyJYl0xRC+JnvUrqwmdmV1qEtI+2A3C4oG1e1tIyI2qLYqRdgJ/tDocRnVv/0RkLlRbgBcE0zWcIzQ4Dn81pyDmxzpxYUqNCIfS5AY+S86Q3D+DUXjj/1dxwkTHVUOtOgtAbmSypbDI4OVkK5Z7lFt1k157I/g8Eue9QJ9EwjYAgrdYZFnYaFjzc73iY32BbPPO9VXh2naoymfXTftp8T5+ja9zb9Fnedg6XhGHJUVyXIOSPPcwpyLVGvxNga5BobvvUj+S7dKrrVZl0kjOtGESmEjFBQe20ZDeVbwx7sx2dVkSGo9ZA3XzTruIXlBkSKe3MGYVGEnqm1qPbX5kUrO+gB1OZdsueOb8gSNCPk7PWJLZ6wJn0DZlBo/U3lZ3h2D/URgJpbLVSGRHjM9OaZgclWCkaK8DXoTp2jPA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR12MB5712.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(39860400002)(366004)(376002)(396003)(1800799009)(186009)(451199024)(6486002)(53546011)(6506007)(6666004)(478600001)(2616005)(83380400001)(26005)(4326008)(2906002)(6512007)(66556008)(966005)(44832011)(6916009)(66946007)(8936002)(54906003)(66476007)(8676002)(316002)(5660300002)(7416002)(31696002)(36756003)(41300700001)(86362001)(38100700002)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SC9KZVovczhzbjFLR3RLS2s4MnhHTnNpcGJxMVFjWVBSd3M1a3N3a05ET0ZB?= =?utf-8?B?b0JqMU1IMjRUaFZaMStsVmZGbyttdVNzRVh0STFVa0FoWGRiS1ZmeWcreE5N?= =?utf-8?B?R0lGaGhXNS9kb09oTThnQTNrQlZ5UWxEbEE2VmdBc3NSb0pxemlqR2VwWU4z?= =?utf-8?B?TnlZdTJZZm1aRUVVYVl2dDVsTEZYdFN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B?NENzYlNsNzc4cDZYNTY5bHdtUS9kNklQV0I0MmViTlNuR2dzWHYvMFZCNkM2?= =?utf-8?B?Qkd3WXhmY2c0VGR6OHRjcS9jUndzOEQvbXE4NHdsZWk1M0pXTWcyZDR4VU5h?= =?utf-8?Q?NaOW/2HAc48knIZcYGV79DMA3?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1894de21-c3de-491b-1c98-08dbb4ff91fe X-MS-Exchange-CrossTenant-AuthSource: PH7PR12MB5712.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2023 08:49:56.6560 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: s18lexTz3r7lCt3aPZ0SXLyC3SPYJAQxnBBqrQsGPgFTYBg/Ken5Y6mwDOx26nqhPeNFrN9v3vH1ioOMj5FwsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR12MB9433 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 01:50:05 -0700 (PDT) Hi Jirka, Thanks for reporting back. Moving to the latest Family 19h microcode (link below) will fix the problem. https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amd-ucode/microcode_amd_fam19h.bin On 9/14/2023 2:03 PM, Jirka Hladky wrote: > Hi Sandipan, > > here is the info from /proc/cpuinfo >                                                                                                                                                                                                                       > vendor_id       : AuthenticAMD                                                                                                                                                                                                               > cpu family      : 25                                                                                                                                                                                                                         > model           : 160                                                                                                                                                                                                                       > model name      : AMD EPYC 9754 128-Core Processor                                                                                                                                                                                           > stepping        : 2                                                                                                                                                                                                                         > microcode       : 0xaa0020f > >>2. Microcode patch level > Is it the microcode string from cpuinfo provided above, or are you looking for something else?  > > Thanks! > Jirka > > > On Wed, Sep 13, 2023 at 6:19 PM Sandipan Das > wrote: > > Hi Jirka, > > Can you please share the following? > > 1. Family, Model and Stepping of the processor > 2. Microcode patch level > On 9/13/2023 8:00 PM, Jirka Hladky wrote: > > Hi Sandipan, > > > > Is there any update on this issue? We have hit the issue, and it makes > > the server pretty unusable due to the thousands of Call Traces being > > logged. > > > > Thanks a lot! > > Jirka > > > > > > On Fri, Jun 16, 2023 at 5:34 PM Peter Zijlstra > wrote: > >> > >> On Fri, Jun 16, 2023 at 08:13:22PM +0530, Sandipan Das (AMD) wrote: > >>> The reserved bits should never be set. The purpose of the WARN_ON() is to catch such anomalies. > >>> I am working out the details with Breno and will report back with a resolution. > >> > >> Thanks! > >> > > > > > > > > -- > -Jirka