Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1488614lqh; Mon, 6 May 2024 09:05:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPgUb5K/Jp9M1oeYTMB4ChDoZs6DCNV+a9APQV83rfIU7rQD13cVwJmLEZxtzMOO0uH/FSyEVCXAbP+kF1v8nl4Ao/XSoOU+5iyzjgBw== X-Google-Smtp-Source: AGHT+IFPynIF4e4UAWvg6dDxHqdoWUfxdnsCn+esvMdnQ6PrvEVb4Nav/sQgHsvjyes0dYx9tchc X-Received: by 2002:a05:6808:13ca:b0:3c9:6e6a:d5f2 with SMTP id d10-20020a05680813ca00b003c96e6ad5f2mr3651583oiw.57.1715011538313; Mon, 06 May 2024 09:05:38 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ds18-20020a0561025c1200b0047c547cf080si1646648vsb.88.2024.05.06.09.05.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:05:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="Qp/WUtkN"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-170121-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170121-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0EAFA1C226E0 for ; Mon, 6 May 2024 16:05:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D769D155A58; Mon, 6 May 2024 16:05:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="Qp/WUtkN" Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2060.outbound.protection.outlook.com [40.107.95.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0FE81DFE1; Mon, 6 May 2024 16:05:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.95.60 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715011526; cv=fail; b=efv2/2mZ4dUrkJFzQ0pfkyWS+YIhDENQSrYX74712ZEMpJpbdySbJwfarFQ5jzMxTzaY6neEGqRz4EUVxkVk4d4VCAOVl4tEMBkNHQ2jk5jgLFoxDiQulum/NYrLLYpr1lffU1umPxBmnaj/Wr9rKKKsOEU9qaT0mYGycTnp3to= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715011526; c=relaxed/simple; bh=sCgLlWsYLxaB/tvVVpZMX5FMWRpcl7X/kd95d1xHSGE=; h=Message-ID:Date:To:Cc:References:From:Subject:In-Reply-To: Content-Type:MIME-Version; b=W3+sys8qSM3pxiigEGdHbLpXdZ0/Z/dLZn4/qspwcT0MbVN/lcgYRMfpcTOwpjrsczhfgBdaCMN9zx4v1ewFeu2su1AkTRkd5CDDlnumbpieDJf5zhyVY7IuBQlAh5S0aL9yK4yAzdKJ3JRe44/FW7A9ice9glCaphjYOZfID00= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=Qp/WUtkN; arc=fail smtp.client-ip=40.107.95.60 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VURg9I6NZhi9n9zbJr4QkjECpfWBZ+hzH+cKQgpmpn0ByBmk7YzDdcrbPGpiTJlwL4Dh4huzQ/AdYF/riVOf5roBELJKVxO8N4roj43G14yv25ZV7DjEXYNdtQ2ikIot5Gt6NfMJVwMFOGU2E6JLOhBk71RtI+plXPVwMJCqzA6n1I1RDc40rLKrSoRrwHtXFfya8YRgizLrqlS2+2ld5RHzuWcWw24StVu3UNcFkyQETMjhmKd7o8pXxhD9mhXW8Ca++tMjvHNxdBnUszgJsL9Sw2bm5DAJ4h3bqRx2HQaze7e9eKtOz0wnCyWl/LdN0EUpajMli71rnjTE/HPyfw== 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=x+sGLP4U+qB3XQCBV5sESJSwe+gOoT/FGYzgzn4DzYw=; b=SyDN3lxiPXW+IkMAV2eTEfslai8BEuLVZQIgiR/5emfiYjp4t4KV2rh7/ObCXAZQY+Ef6yZqRJu4Eq0mgU4Zts5EFadXcjCCscR4CmisMdniSfZ0tJTyxZ35a7Vb5MQydZFqYvyXMoSgA230B3RWShNugYn0kS5DbB7mr5z0jj/CTBywCWrVMxWOlBMKoGBhtPwviwBvHQEogFRplFle6eDb4XUhmPntD6akwBEOMKZJ9awhQrOyJfpL/8/adF6eLUtvWHfTxHZwx0Qbwg2xYxc2AclBVuRhlk94XTzd54CDAx4Y9KqEw4u6Je7LNZyG1uptplrfmExhX/40qkHTUA== 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=x+sGLP4U+qB3XQCBV5sESJSwe+gOoT/FGYzgzn4DzYw=; b=Qp/WUtkNRa6O8mVMz7+T22HLvCMbOAU0BXqZzqUsntWlUTTLJ5DC/DCd/Hb51JkhDvbuw26DF2zhwJ/ghcLqRhWzKzE00KQVP0zyN4NgU/wTOOowIvusuYVNmLhQCQF/iebECM8fvP6BUtOJEJdSC/mAsUCWYJym8t16uFzH5UA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) by SA0PR12MB4447.namprd12.prod.outlook.com (2603:10b6:806:9b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.42; Mon, 6 May 2024 16:05:21 +0000 Received: from BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::bf0:d462:345b:dc52]) by BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::bf0:d462:345b:dc52%7]) with mapi id 15.20.7544.041; Mon, 6 May 2024 16:05:21 +0000 Message-ID: Date: Mon, 6 May 2024 11:05:17 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 To: Ravi Bangoria , tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, seanjc@google.com, pbonzini@redhat.com Cc: hpa@zytor.com, rmk+kernel@armlinux.org.uk, peterz@infradead.org, james.morse@arm.com, lukas.bulwahn@gmail.com, arjan@linux.intel.com, j.granados@samsung.com, sibs@chinatelecom.cn, nik.borisov@suse.com, michael.roth@amd.com, nikunj.dadhania@amd.com, babu.moger@amd.com, x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, santosh.shukla@amd.com, ananth.narayan@amd.com, sandipan.das@amd.com References: <20240429060643.211-1-ravi.bangoria@amd.com> <20240429060643.211-3-ravi.bangoria@amd.com> Content-Language: en-US From: Tom Lendacky Subject: Re: [PATCH 2/3] x86/bus_lock: Add support for AMD In-Reply-To: <20240429060643.211-3-ravi.bangoria@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DS7PR07CA0016.namprd07.prod.outlook.com (2603:10b6:5:3af::18) To BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5732:EE_|SA0PR12MB4447:EE_ X-MS-Office365-Filtering-Correlation-Id: 6e508524-5318-491d-1eb5-08dc6de65495 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|1800799015|7416005|376005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Vmt0bXFlMjQzNm1Ba2tFNEJXbk9SbVlYZTRnRGU5UlBQaEwxdU85SnNXT0U0?= =?utf-8?B?OE5QamIwSDJtSmx0TTZnY1pzVllKT2Zlb1ZxbnFUb2pHdUxmK2FBMWpvV3lU?= =?utf-8?B?Z3ovdm5QWHVmbzN2MFNmLzhYb2dRckc4U1lNZEY4Qk5FRDRUaHh2ZmFMcFNE?= =?utf-8?B?empaUHp0cHlnblY1L2ZRYWExNWFFU0JoYUFWMElrVW5ST0ZtWGd6N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S9ndVVJU09MYXdqY3V5?= =?utf-8?B?QkhSdXR1OTEzOE9xdEdmY21TSVlKQUJkYlhTQTZKYWhKUUxKcWRaNEcrN0h3?= =?utf-8?B?WlhHcWZWTHVxWkpTTGpZaU5URVZtWFZ0ZzFsZkprcVdRWVVIL2VUL1VQU3ZW?= =?utf-8?B?djJMMHpzYUF0WXZXcmhuSEtXTkw1eEtWMFJGV1MrTzdwNUozbkoyajVrQ1lT?= =?utf-8?B?Tm0ycGY2cWMvM0k1dUhjUUN3YlcxYjJOb1haczBzbUEwTkZReDk2YVNiWGhX?= =?utf-8?B?akRCWGUrbWlFRU12YmF5U0M1THJUbGJIRGtYY1RweXhEZUcxbi8zSFZ5Z1VX?= =?utf-8?B?UlRIU2JGVWMxaE1NNFJvWWJwcU1JTHN5TTFobW16aUEvdi9BTFJ5bmt4Qjlv?= =?utf-8?B?dERyV1BWSXBOd2J1a0lvcThCL2Zxcjc3UWljK1UvMTFjajVjSVc5ZGZkME1L?= =?utf-8?B?UE9QQmZJcjZvNDJ6b3hHbmhZZi83ZHFQbUVLY01aZnhYY2lYQkVVbUsyU3Ns?= =?utf-8?Q?yR+PbFb6hYDwwggW8HDU7sCkQF4tr1r/MsZTbPwp50WE=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5732.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(1800799015)(7416005)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?M05NS0pqa0JDTmIvM1k0akxMM21MN1ErVEUvYi92NjZEdGdlQnNISENEM2VV?= =?utf-8?B?bzd2aDFEQm01RDRHc0VyK2Q4SEN6Y1NCN3lkMGh0YmladFNnWDg0ZDk4SW9G?= =?utf-8?B?WGlBNUxFMVk3aWk4a2RncTY1RHlxUHRncnB4dW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dmJGbDVu?= =?utf-8?B?L1RRNGV4a2hWQS84ckZ1NzlCVUFqMk0xNFRGTHViQ3N2YWIzZHdlbVJXL0ox?= =?utf-8?B?TkJKd0RkUlVKd2JxZnhLZWpDdG41aFp3QXF0dlBPdHBrMm5XSytkSkFpeEdh?= =?utf-8?B?UktuTHJyeisyYkdrL1doMmxuTWY3bXdlc0Y5cGdEL1A3bmc4V2J5OFNJenky?= =?utf-8?Q?xwT8zXV+7jR0Y+WbkuAgJXYy+?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e508524-5318-491d-1eb5-08dc6de65495 X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5732.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2024 16:05:21.0472 (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: +LEqtCLFnWwnqbj24x251aJ7KDlEkitg74zRq+9GjQPsnNo9gR891MgQv5znrl9l8v1Ao79BMZ68q+y4W0jREA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB4447 On 4/29/24 01:06, Ravi Bangoria wrote: > Upcoming AMD uarch will support Bus Lock Detect (called Bus Lock Trap > in AMD docs). Add support for the same in Linux. Bus Lock Detect is > enumerated with cpuid CPUID Fn0000_0007_ECX_x0 bit [24 / BUSLOCKTRAP]. > It can be enabled through MSR_IA32_DEBUGCTLMSR. When enabled, hardware > clears DR6[11] and raises a #DB exception on occurrence of Bus Lock if > CPL > 0. More detail about the feature can be found in AMD APM[1]. > > [1]: AMD64 Architecture Programmer's Manual Pub. 40332, Rev. 4.07 - June > 2023, Vol 2, 13.1.3.6 Bus Lock Trap > https://bugzilla.kernel.org/attachment.cgi?id=304653 > > Signed-off-by: Ravi Bangoria > --- > arch/x86/kernel/cpu/amd.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c > index 39f316d50ae4..013d16479a24 100644 > --- a/arch/x86/kernel/cpu/amd.c > +++ b/arch/x86/kernel/cpu/amd.c > @@ -1058,6 +1058,8 @@ static void init_amd(struct cpuinfo_x86 *c) > > /* AMD CPUs don't need fencing after x2APIC/TSC_DEADLINE MSR writes. */ > clear_cpu_cap(c, X86_FEATURE_APIC_MSRS_FENCE); > + > + bus_lock_init(); Can this call and the one in the intel.c be moved to common.c? Thanks, Tom > } > > #ifdef CONFIG_X86_32