Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp637588pxy; Fri, 30 Apr 2021 12:57:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwctcnn4ADtS3AJ6PZdKW3cWvSJjWtfOuI1O8RU8K6B3rZxvc3Z9v3dPknEneUqaNFwgx0j X-Received: by 2002:a63:4d24:: with SMTP id a36mr6217084pgb.64.1619812676467; Fri, 30 Apr 2021 12:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619812676; cv=none; d=google.com; s=arc-20160816; b=Po3JQGMrkzYHOWXh6Rib18liQ0COV44qGB8D9ppN2sFEpUvaaHDf4GTx+2JwNMTE2R QydPDpV97BpAQQF6xFQvK962GgPTX4Cbzis11w1M6faARxt2sMhlWO+nBdO9/BW3cgmZ MqmvRryNZGeC/blFW/ek8N+a5hFEm+VEsIbxXXXhGq/Zdbsl2l9LLW+ajbq7A+SFJ6wt c/i7FEhvanQa+C0/H+Avnf81IK5iSFq5xaC0fyZoXbOPw+rGzuz52JU2d3BwhuEn0jeF X2HM/3VpKMTf+ok1SFUveGPFDA80WM54ZIDl7DKSk/Y1UYwYX1xd3xX8tt4sm25At8Lo idaw== 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=5FxCqAP5C1yOwn+gHliLIDnLy1eAr9ZCmwbDPrcWXuE=; b=OtoijBtmwAvpWM/5KAnbbDWqEi+EhIMqAMpCTF4LcR7EZZieEoyusZOooh61oA1tp1 DlMMYfU0t03ERCWs3ZK5H5U7b44POeRcTcDnI1TvnlhmBxzLk3joSo++orPMHyvz32VW 8yLojTaklN+vxdMr//NeFnTTL3esQeZRqpu1q6EHK6tW9j0F29eHFEWV7U4scwOaK9eI T1FdvOJREs+ozwZU25XQp194sKefvoS7hdUZ0l+DO4Sm1M4/JNGFZIQxW1Ws0/JcyLrI OMa4j+YP3IsmrT31VWYDR3WCpGV+9oZd+5lrRi0g0zm9a6EWC1LqAWh+dy1x6VjJMBXD MLZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=rLOVoONO; 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=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j64si3755976pfb.142.2021.04.30.12.57.44; Fri, 30 Apr 2021 12:57:56 -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=@alien8.de header.s=dkim header.b=rLOVoONO; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234142AbhD3T55 (ORCPT + 99 others); Fri, 30 Apr 2021 15:57:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234071AbhD3T5t (ORCPT ); Fri, 30 Apr 2021 15:57:49 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF0A1C06174A for ; Fri, 30 Apr 2021 12:57:00 -0700 (PDT) Received: from zn.tnic (p200300ec2f0c5700c52031cc761b260f.dip0.t-ipconnect.de [IPv6:2003:ec:2f0c:5700:c520:31cc:761b:260f]) (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 836C81EC02E6; Fri, 30 Apr 2021 21:56:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1619812618; 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=5FxCqAP5C1yOwn+gHliLIDnLy1eAr9ZCmwbDPrcWXuE=; b=rLOVoONOjx7G+tt1vqFbq6KkQJQbGzf6G3em5qSdzcj0NzQqQnC0+kd/F7iYZIrh1ni1PH ROkmTLWJvRTSEatuvzLksGGqt79GZo3sJ+jR0kxAnRt/AzO8ZLoAhkEq6eAMgLYQks6J4M 3T4PyC7Xvfh0Yv+1cetfHTpJGmwtL5c= Date: Fri, 30 Apr 2021 21:56:57 +0200 From: Borislav Petkov To: Reiji Watanabe Cc: Ramakrishna Saripalli , linux-kernel@vger.kernel.org, x86@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, Jonathan Corbet , bsd@redhat.com Subject: Re: [PATCH v4 1/1] x86/cpufeatures: Implement Predictive Store Forwarding control. Message-ID: References: <20210430131733.192414-1-rsaripal@amd.com> <20210430131733.192414-2-rsaripal@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 30, 2021 at 12:42:46PM -0700, Reiji Watanabe wrote: > Then, it would be a problem if its guests want to use PSFD looking at > x86_virt_spec_ctrl(). Well, will they want to do that? If so, why? Use case? We decided to do this lite version to give people the opportunity to evaluate whether there's a need to make full-blown mitigation-like, per-thread thing like the rest of the mitigations in bugs.c or leave it to be a chicken-bit thing. So do you have any particular use case in mind or are you simply poking holes in this? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette