Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6592386rwb; Mon, 5 Dec 2022 14:51:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf46/JlI8hTUaqu74g847L2UDlXfQG5cMYMW34DVC/R7tYflzOTPitR7p9uVaZ/seQ+jjDBU X-Received: by 2002:a50:fc0b:0:b0:46b:5812:a03a with SMTP id i11-20020a50fc0b000000b0046b5812a03amr29593798edr.91.1670280679466; Mon, 05 Dec 2022 14:51:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670280679; cv=pass; d=google.com; s=arc-20160816; b=Eo8fS2HSbFuYKnmU4ueOaXg+ejsIghbLoZlrUh5KRzv/mQnJhbXzI6UcWU/UZ0UbMH vsxz51044hef/I/z/+eJQ+R06/6V3zDWp0FERnfnb1bQ+wv0h2268MonqyqYn7NbFQFM egKKQ5xKf05owWQh6TKjX7JVHqXSK4+eMCt53CaM8sw29nycxfYk/H0gpvnwzjIMKEx3 MuTKERXRqB0HxtUyddUCmag65i6w6nEr9XUyaoxC5l4/KGiMTbfNRiuaYBI+hF85BvmT sx6xCnhLLFGRfVRP0R7UwFS/szFApRwbnEs1N5xA4botiPYkhhHxCeEKDpWpGv7iGjBP E8Yw== 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:subject:from:references:cc:to:content-language :user-agent:date:message-id:dkim-signature; bh=sWGI7KUTvroWW3xM8pTptGV1FGip4+nRCmlZGQWsTW8=; b=QrFobP1kbKPMw92oR58ZzHyvHGEDYekQ8T7P9iX6jWQeecl+T40PJA2NYm+DJkadnB K9Px+8AKDNPrk2LO+3/ErYRwO8vUFIB0slGFlXYPfvnsTknnFX8oslOK+RJo0HigaeIM 3/yiW/QCnzra+rfJ6NYE0KJTV48BiXG1aKv7rMXqU8LO8NmC0lkIGdtMWphL3l23yWCq FDoBsf4MRoxK4RxgNdkQTgpSU558Rm62NJZPiJKM77/kGcTlIiWhqxwJP+uKEGRWEHf0 NB+tslVp73Rv/St7aObQM6AQaIkQj0rPEsntgjkaJ9y33CqYNyQmX19Pfxl71QNWY2Eh 9zXQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=SJdmnR9+; 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 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq14-20020a1709073f0e00b007bf22d4e679si14041007ejc.63.2022.12.05.14.50.59; Mon, 05 Dec 2022 14:51:19 -0800 (PST) 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=@amd.com header.s=selector1 header.b=SJdmnR9+; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232726AbiLEWF2 (ORCPT + 80 others); Mon, 5 Dec 2022 17:05:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231191AbiLEWF1 (ORCPT ); Mon, 5 Dec 2022 17:05:27 -0500 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2047.outbound.protection.outlook.com [40.107.102.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78FB1C40; Mon, 5 Dec 2022 14:05:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VWy/3ycVfNMYdjm/qmgZlbFiCJ6+440Mo+zIktxNemoKVRSfW0RwnSAHRb0PfhfBJ6QRaqjLO95nMQfCPW3MDTeLKwbT3HVQBNI3OyK7qNKdIhqL7y93P/7WRoJfAAVMUZ20j7VepwIjUC/KcA9Eti7AIV8Oes2otofNEImcZHnDYvqC7sQNAjFybV5Q2gUrtBSECb8KFMupRFJEZDzKu1jBYmxQSMhiDNOKq/c6a6toevUHRX1HiPlBsVqdJmYzX3Ipa7zfllOth9Sr+8xWkX4otjDGwTRK3twaHIi8ny/Ntr/Rixy6ctY5j3iYivYTyF8hsZlJpCnJ2tL3d8Gmlg== 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=sWGI7KUTvroWW3xM8pTptGV1FGip4+nRCmlZGQWsTW8=; b=lQr8lJpHUZGlUtwlU99oZz4j2dBnDPUMQ0+5I1eV+C5LXycGtXb49MtPfyyDw5/KhTYFjDKr21ApJOyekcPRzN/W0GOJiHZdl5Rmz9z6c8Rk9jPXuNaBRD+NJQaRh1GmdKsD8cziRrs5pS3Ik4b9BWj7itgP03uJUzlNw6ZkgAmV9LP+4nPmz2WcY4MxM6mt2GwXrm3rzP3jzTX88vxHwIzrn2DnJu+EZLO0IaZ1UoRpiPBGWarCnKV8ed3/EXze+a3UCtbiy59j1wIxJMxbBRmyZyRZVkWRrjEnRm5iEBTaVN0zTS/flYcQu5fjGyqCS03zMvM5OFLr2zKTzgZDEA== 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=sWGI7KUTvroWW3xM8pTptGV1FGip4+nRCmlZGQWsTW8=; b=SJdmnR9+q8n7gkHKr99z6KZA3mBj5RaqjnBot8AqPCKDVygU+74MUAtXhyrhvTWOSBXKg3e+znU7e0mUgMAaTJMSYVzD8XYxQy2w25xoCyZDqUckB60lpHzy1D/izFidzz8LaG5WSmWhHylP4DbP4PQohoPN2Idse2GogtJWGjs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DS7PR12MB6263.namprd12.prod.outlook.com (2603:10b6:8:95::17) by SN7PR12MB6815.namprd12.prod.outlook.com (2603:10b6:806:265::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Mon, 5 Dec 2022 22:05:21 +0000 Received: from DS7PR12MB6263.namprd12.prod.outlook.com ([fe80::818b:be51:fc53:5adc]) by DS7PR12MB6263.namprd12.prod.outlook.com ([fe80::818b:be51:fc53:5adc%5]) with mapi id 15.20.5880.013; Mon, 5 Dec 2022 22:05:21 +0000 Message-ID: Date: Mon, 5 Dec 2022 16:05:17 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US To: Borislav Petkov Cc: x86@kernel.org, Babu Moger , Borislav Petkov , Boris Ostrovsky , Dave Hansen , "H. Peter Anvin" , Ingo Molnar , Joao Martins , Jonathan Corbet , Konrad Rzeszutek Wilk , Paolo Bonzini , Sean Christopherson , Thomas Gleixner , David Woodhouse , Greg Kroah-Hartman , Juergen Gross , Peter Zijlstra , Tony Luck , Tom Lendacky , Alexey Kardashevskiy , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221201015003.295769-1-kim.phillips@amd.com> <20221201015003.295769-2-kim.phillips@amd.com> <53393726-5a8a-1a13-c620-32c65872278c@amd.com> From: Kim Phillips Subject: Re: [PATCH v4 1/7] x86/cpu: Define a scattered No Nested Data Breakpoints feature bit In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BL0PR0102CA0034.prod.exchangelabs.com (2603:10b6:207:18::47) To DS7PR12MB6263.namprd12.prod.outlook.com (2603:10b6:8:95::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS7PR12MB6263:EE_|SN7PR12MB6815:EE_ X-MS-Office365-Filtering-Correlation-Id: 6b4f7501-e803-4347-bb4c-08dad70cccff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nTb2IUo4xSPPXAWLypoomrkepSxEJ3ytfmzsKzLkvPB5K6g/JO+PeoeE1sDB5u8gJXzQrAv1fwdiSDDYs2tjjNu6WXEvGRGUfSpMEVkJiJj5r3TpxtwtARiOmN80QLLw0Mg+4mZzhC5DZzBrm20z0ej97Dr/fHmOFrJ3qfopO5zRQa1VRpQhx3oglAjNXjZuh2kxEAL32Czq6cZrFLnmnX130y/BBcQlR2+ZmEQlDyndD+ppWN3S3YK/EPsFL7KIkwW6AV+lgc8uRyu+0Xr+mSaP+NBs8MROAtsg128lvGIxjQjSdnIZL71w/MM7GXKT0Kf6W88aTAVeI3iWBDjOygi0cq6s5RHE3FvoGQOvurysECf4iHVYDJJg/mGm9tK6ov1gF7K+wFXJAvozRYiUWM+qXw6XVE74LG+qh2G0JbQvJWYG9HsAjB1EmKJhueda0PUWUtVHJP4+ks3b/mgz99xjg3DHcoVEC77tMvoW9iJV6/Vgo38m8lDYLAHHgo0BEVzuxTc+GXY/EevuW4GNHeEJtQKKhD/LHo+P7kwOBnfYIJGHxg+Ljsh7AHOXaz1uHOVPqPNhvFrm5rNP2s9+KC6KZtyYHx16KUrtvqv2onWnWPQFSuWlLBKLidgzwonJEA3x8xp5QPxcok21j1Ri57dEjk2Y+sx2u5fUyY9lKQauOqac0RgqaFKX1wBFIphURRoLmXDFvFOw/5AAPHZ0zKPqh/IrEq/eLXYirV6knEc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS7PR12MB6263.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(39860400002)(376002)(346002)(136003)(396003)(451199015)(36756003)(38100700002)(86362001)(31696002)(8936002)(2906002)(4326008)(41300700001)(44832011)(4744005)(7416002)(5660300002)(478600001)(66476007)(66556008)(6486002)(54906003)(316002)(2616005)(6916009)(66946007)(31686004)(8676002)(6666004)(186003)(53546011)(26005)(6512007)(6506007)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UXIrK0lZa3hlV0NMWjdxY2M3RjNCV3JPYmhRbThIWDd4Mm9qUjNCVHBFWUh3?= =?utf-8?B?RzhGbWpBYmY1L3kwdlhYWUdNbUJFdjM0aUhVU2hBUE1EdHpCRWxQWEVxMERS?= =?utf-8?B?Vi9SUG9BQjk3SVVPdVlhRGFuTWtLcTFPWlh4VkJaVW5yZFhteEdCQWEvU1g2?= =?utf-8?B?a3BvMHFZQWRpQVFPYmlhYUVhcjljSm5jNjBhUTZ0aDEyb0NLb2N3eEl1M3R5?= =?utf-8?B?S3pXQzlIQzFkODgrRDFnazVPd0NFOGkwUmdmQTUrU1RqSVRXMGlNQk1yaEw4?= =?utf-8?B?aHREdTVTMENvNnJKV0IyeElmak9LUjRrKzE1S1Mzc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f-8?Q?6O2qVUht4hK+OSVCEYKdJ7yf2?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b4f7501-e803-4347-bb4c-08dad70cccff X-MS-Exchange-CrossTenant-AuthSource: DS7PR12MB6263.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2022 22:05:20.7268 (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: fIbHO2aYxcyCLyjh1Orl6bysCzWGCLrW8QhMPJYIW2nJ8YuLADP3v/VZth/mC+f1s42M2u+WI9VNi9rZLnmqoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6815 X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 12/5/22 2:20 PM, Borislav Petkov wrote: > On Mon, Dec 05, 2022 at 11:32:01AM -0600, Kim Phillips wrote: >> This is starting to get off-topic. > > What does that mean? > > Are you saying I'm not allowed to ask why stuff is added? No, sorry. You had asked "what is the use of this bit in a KVM guest?", and I'm saying that it was already being propagated to the guest prior to this patchseries, which is about propagating the Automatic IBRS feature. That's all. Thanks, Kim