Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp55902pxy; Wed, 21 Apr 2021 18:21:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBdoKjzVPrTmUjzy2HDHLDjmcJ3umQ/fR3yQfYP1blvynms5SygmReAebyckHka1/4rSRy X-Received: by 2002:a17:90a:644b:: with SMTP id y11mr1045934pjm.229.1619054482612; Wed, 21 Apr 2021 18:21:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1619054482; cv=pass; d=google.com; s=arc-20160816; b=T7oVI3FAW0lT5DfSv/tKoxARBD2u88eB0FSBSJHvSGGfU1zln8ymh7Nd7UNVTK84W4 Xx53g7Zl3YE40K0zErDxnJ4/uX4GskasRCckRpRMgLpzCiFKrmqJpzx0c+ShZ/xZUbjz qC8zLxETlgXN7EDpUjwBeVFIxYBMcRDD5DH5mxVx4yI45M1HvTukyB32rcqZ2XmcYOTC QIHqdc8I3vvJBMMzvhZwBGodxOCWxccfnAs2wFSQ5wctJYlvG4fZW5M8HWl6ufC25XWs bwtH/biAAGzPk7V+JmvYFPufQjU3iwBudImrdnwS48Z7WMkVp5ha88Wl10Epc8UGClyg snnA== 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 :content-language:in-reply-to:user-agent:date:message-id:from :references:cc:to:subject:dkim-signature; bh=xGx11qHaeR2v0mAwaqna309/MG94hrZuVBkB2iU/X5w=; b=qXXBy0KauiK4hc+tbSg14PrnwwXCD0pWa0Jo11TdbPBiVIiPKsuXhWfAenke7vnBkA UsXamZN17MoOjVIvQIe/C6GcV+2QIz+TxDyVOXQJO/diCy9x3vBpVAI9PESYYBl7DN4T 6sLcs3umG2AwYiw8n/AtrmmMMlCtsUjZu/V8EGJUeLwjdsXaWzJUnFpp+G0iQ05Gg4nH 4CK0Jsgd/As+O/ErhjPyJ7pQxzXP6r5VBLWBcLNBpgX2W80MLlxwaMvOo7cwQY8XNQ7+ Ck+PKrLuTiohnAu1/zq6k8riGo9DOxqyKtKDtVUbAT/WiGVk5v5Jx0zElE1AvlFU1ioZ hzfw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=KPpz3890; 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.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amd.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i17si1155408pla.361.2021.04.21.18.21.10; Wed, 21 Apr 2021 18:21:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=KPpz3890; 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.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245463AbhDUTFr (ORCPT + 99 others); Wed, 21 Apr 2021 15:05:47 -0400 Received: from mail-eopbgr770045.outbound.protection.outlook.com ([40.107.77.45]:47069 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S245439AbhDUTFi (ORCPT ); Wed, 21 Apr 2021 15:05:38 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mjzK+qiEsomu5UQ/uaSq7Yg6lgOfFl559cqOT/5yYtRnayrIQ6nwvTYbDCcLWjWjgtiPgVjL+YcJp29QaN2+5lUUzZTfxuSnjauAfgj6OQv/4ktsIuFA3Mhhd+q1NSKbNIrz4ayFlcYVRUew2b/cqh28O9KJFUEQps8Lr+DGnqU6jY03Lrixf/v5L57BDHAsnjnra/nuOjbNjhItmrL+EKxz7JQCLAZA9Xo/NLt+FHrX83T6W0o+QXSTUOXYX8cnlYvDGMwe/poizbjS7GWOcV+9yL2QcV1vcOwO3ziiRtvbzNrobb9Z5Zx7Sz1dLhraPJ8o3PP9XacmxqDnz5ECQA== 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-SenderADCheck; bh=xGx11qHaeR2v0mAwaqna309/MG94hrZuVBkB2iU/X5w=; b=kPEwrFY9JS9wArFjhOIQP0Fc6J3RqCCRVJnfH5mwYSqa73i3fpbIC5o+H8NspOvxSc1UdWeEKQnS0jNUxdFrdN0ugnAl6HIYAPkZX3zzF4Rblm31hzsvAlwrRCq72jlrkafBb0/5vK+VNQuSWq/w+C4FKs4t0vZqg2xNoLzfdBdP+TSc9/ep4VAGxQhQsS1J/hfK4/Gbi3zkeZDpZnqipN5c++ORcux3QDfRn3lxM20nwlpj0oLd1I1AjXDIVmCSG8vUULu+zp/ioFa+zc7Sv5mtKDCnz3Vx68aI8f8/YRa4GEvgx1nt0VnU+s5iNeX0H6B4/ibXB6VKJtnOO5KcgA== 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=xGx11qHaeR2v0mAwaqna309/MG94hrZuVBkB2iU/X5w=; b=KPpz3890yPSZ8qSaSwDHWCUagSZ4zI7dccetMFo91D1OFwz9n6uG5FF7jBWxFh2agrIeShDC7mkBy2/CnctWihHCnM6e0k7SdjxvQekWzBmIRsSIlff3SXnZxS31xr8TnicbSS5ZxTGWn1fKG0NOdTyaOm7TOA/2meKUSPs2I5Y= Authentication-Results: lwn.net; dkim=none (message not signed) header.d=none;lwn.net; dmarc=none action=none header.from=amd.com; Received: from DM6PR12MB3435.namprd12.prod.outlook.com (2603:10b6:5:39::26) by DM6PR12MB4975.namprd12.prod.outlook.com (2603:10b6:5:1bd::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20; Wed, 21 Apr 2021 19:05:04 +0000 Received: from DM6PR12MB3435.namprd12.prod.outlook.com ([fe80::69b0:5e8d:c318:3f3b]) by DM6PR12MB3435.namprd12.prod.outlook.com ([fe80::69b0:5e8d:c318:3f3b%7]) with mapi id 15.20.4042.024; Wed, 21 Apr 2021 19:05:04 +0000 Subject: Re: [PATCH 4/4] x86/speculation: Add PSF mitigation kernel parameters To: Borislav Petkov Cc: Bandan Das , Randy Dunlap , linux-kernel@vger.kernel.org, x86@kernel.org, tglx@linutronix.de, mingo@redhat.com, Jonathan Corbet References: <20210421090117.22315-1-rsaripal@amd.com> <20210421090117.22315-5-rsaripal@amd.com> <4c688fc7-67df-3187-54b2-bf20e510fb39@infradead.org> <20210421184826.GA3120@zn.tnic> <863ece71-463f-fc50-db13-7fd280902d6b@amd.com> <20210421185725.GC22401@zn.tnic> From: "Saripalli, RK" Message-ID: <569cf62f-ac3e-d9be-8a59-5bb354c6cafa@amd.com> Date: Wed, 21 Apr 2021 14:05:00 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 In-Reply-To: <20210421185725.GC22401@zn.tnic> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.78.25] X-ClientProxiedBy: SN7PR04CA0231.namprd04.prod.outlook.com (2603:10b6:806:127::26) To DM6PR12MB3435.namprd12.prod.outlook.com (2603:10b6:5:39::26) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [172.31.134.241] (165.204.78.25) by SN7PR04CA0231.namprd04.prod.outlook.com (2603:10b6:806:127::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Wed, 21 Apr 2021 19:05:02 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e027e3ff-5767-473f-e28b-08d904f85ec5 X-MS-TrafficTypeDiagnostic: DM6PR12MB4975: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pJMsWApW+9OjHPmbwe1jiQVQy8KcsYEYr0x9iicffCMA0Gwc1KmnSUA+UbYnnjqU5DBwi8tOBfHUvXbM7pUdKZkSQRqv001wdeleh/CC1U7plPA0mCX+NqZG2ad0WO9BQ6KZC7CMmjJ3ay56L8Y4Y6AqyqDO3hQIaPbRHjAtiHVidG/UaBkNtLbIEdZA4F2oSVfrnmF96vZPdHVJG/6/PGhKjp5g3XNxypjMzpMrN0SiYTIoNaWIeZEA2+smS3HMg1mKYsmk6oEtAiU6LZGsoIUzSblbsQlznlxmLxESIAb5mZKz/Kv24J1USHSPchaAuwVys/dQ2onN2hyeW0tCUq2Fm2z78nSEZV6g2hc+2zQcU0FVcgdl5XM0hU+wdldIz0EgCLAH88Unc+GOVnGdU8/y3D1P/7Hn1LOwJrQU/TtF7Dgk151fKRBQ681Sze6fuKkOwi0AXHr9iaPddyIsDvZQKZiJJyYba7U5JZBltsRSgSM17wa2TyISPIwMS7lPcVCRI+VapW9Vn2vkN2SNcKUFHn6/InBfRhCqaDUgMoL2NnFIeW+wYqPT3b+d7J5xrR+hfh0jqcRu/QpBSaRldq1NSOB3sX8bVze2p+fXAg1vIc6F4LCGMs5t6gbVN6qe93iYMOwC7sWk4IOIF2PP2JOqPS5ewCmcTZqVdcUtt5fnR0gfOWVx+uPs00GB1eHg X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR12MB3435.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(136003)(346002)(39860400002)(396003)(366004)(6486002)(2906002)(5660300002)(4744005)(8936002)(53546011)(186003)(31686004)(31696002)(16526019)(66556008)(6916009)(478600001)(38100700002)(36756003)(8676002)(26005)(4326008)(316002)(54906003)(16576012)(2616005)(956004)(66476007)(66946007)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?TGVaYVNWTlc0dzF4dzcwUVZIR3pRVHE5M2lVeE80K2NzMzloekZMa0h1eW1D?= =?utf-8?B?ZEpRa2VxaWhKeTdWNmFJNjB5bW4rWlgrbVpub1NoL3IyWTFBenduaWphRUZF?= =?utf-8?B?UGNqd2VoSTFJUFY3Sko1TnZWcC9QOTNQMWF6L0tQN1NnZElHRFUwVlJXc3hE?= =?utf-8?B?UVo0OEFMQllRdEFnajNveEtEWXczOU1Sb1VTSC9haW9NdkdHQU5pZ2tMdnYy?= =?utf-8?B?cHJBMytRSGxmb2ZldHc2QXZHUXl6Nk1NTFlmLzRieGZGWGhCbmJ1VnhxY3Ay?= =?utf-8?B?Rm5yNGFITjZneDNhajhrUWsvM1R0aTg0d090c3NYN0UrUjZBUkh1MkxYMkhm?= =?utf-8?B?TUd4NXFrb2hYb0dxaFdJeHVpcE5kbHJ3R1JYb3ZNck9DNmJJanlmQ2l3RVFD?= =?utf-8?B?NHVuMWN5N1k0MkRIWmQ1aDN4R21kWFBoM3B3UTJMZlFyWlN6YmZqaUpXS2dj?= =?utf-8?B?SUxtcDJKMW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?utf-8?B?Q0ZYdTRwcnpXdUdURVo0a1U1Q3E3VVlBVnFRdEdDTlE2b1ZqSFlBakl0VDBD?= =?utf-8?B?ckJJYnFoQytZNkZkekhvT1BCTDZqYjljdEhyUFNTYUxheDFhNDAvQld5YUFn?= =?utf-8?B?MFltMmtONzdENlBSN3RGVzhNVGFsRWpiRGhVUVVEV3FRRDdZK1NhdlNkTjg3?= =?utf-8?B?VTAyNjJ3OEVwN0JVUWErVlphSklxWWtMM2k1UUp6cUhWcFlVbFdKck9BNE5q?= =?utf-8?B?WGVreTVyWkFDbllPeXMrNUNXS2lpQzRlYWp5dXpPWnRDaS9aWDRjak5RVlk3?= =?utf-8?B?THZhckZJeW5jaUtVS1dBSTRqM0R2U2JPbFd1QkpTRkFMTTJCRWpyZytXVmR5?= =?utf-8?Q?MoOEvXTXtPF12rYv7nT1M1OZ+QiICnoJWBXzLfy?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: e027e3ff-5767-473f-e28b-08d904f85ec5 X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3435.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2021 19:05:03.9622 (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: t90lXqc6fWFN20bG5jZEMn+ErLjEPaW1O2hvVoZff1OmhuhYIbasWMLC3OrkH0wNRRYxW4X/HcUV74pqLLBPjw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4975 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/21/2021 1:57 PM, Borislav Petkov wrote: > On Wed, Apr 21, 2021 at 01:55:03PM -0500, Saripalli, RK wrote: >> I separated them into separate patches because the KVM patch depends on one of the patch. >> The corresponding QEMU patch depends on another patch. >> >> By separating them into 4 separate patches, my thinking was I could keep them logically separate. > > Sure but they all go together through the same tree - why does that > matter for Qemu/KVM? Ok. I will combine all the 4 patches into one patch and resend that one patch. Thanks, RK >