Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4114094pxk; Tue, 8 Sep 2020 11:03:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAOgr/ATw1R15FXkqvaDMbzR6HztGzkgc3vLHIcNw5JYq7B58D3GFzW5FZCX1yYmsfFMtZ X-Received: by 2002:a17:907:2173:: with SMTP id rl19mr26514473ejb.514.1599588214885; Tue, 08 Sep 2020 11:03:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599588214; cv=none; d=google.com; s=arc-20160816; b=dkKEbeQKAfGk2dNSPsO+GLGTCkbsYMrLgq57h2lY90CaLT7h/jhNwhvaay0+AuNhRL O9ziQZjKnX2du8sv1Nc54+9KesWBxhR+pdkWfKnXQpZ7QgnLDQU/+JB8EYrkeS+yz6Z+ bmiijgXNXzzh9LhoFYQwb5ve/sjMLI1fFtnqjoilFjYH8a0mgtiq7fDfRoywQGQG56eO +ZuaTDL5mr4ml8dqr5g3/zBECKRqNna+sfQBuQiJzXPQPAoxh7IAYA0PUM91m3EfsmQI w6/r5V/QHrC32SGqVDPjkKy/XhQJw/PPpR2rxKUcS+xKF1poEGfWif2W+kvq27lYah4a 40mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=72WG1McxFqIGqR0+XMVCYnaTg8/Pu4r+S87nI13px98=; b=UnMqg2PnZNF+ISqzjkCX8ZBFzjxgxVpEX37PzbHsVGIsxXCUD5dwaI9L1Ufe0t+mJU UEiKqqbmLfgMAdb3bB+soeajRL0bBZIMua72fpK3zHXVqbismOt4jaFsh5wFKR08dbiG pzy1C/eBr+EEGwnmoN+2TZAECgKzWgLoLcY9+6Tk8Lr8KjFF5vNAz1hFEPNb5y1jEPT7 TpKcXDcZX+BgP0CGWmFuuFfYVy/+WhOUqDzh2TbEfGerFiGynEYGWzluOAjpzOPD7Cvm fv76R6asNv74yheulMV78549mpwA54C0JBiM7TFoPfNAIsOFBCvdJCj+AaUJ2oy9KZ8V DDKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=ls4q+gxq; 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 bz3si11645282ejc.81.2020.09.08.11.03.12; Tue, 08 Sep 2020 11:03:34 -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=ls4q+gxq; 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 S1732117AbgIHSCh (ORCPT + 99 others); Tue, 8 Sep 2020 14:02:37 -0400 Received: from mail.skyhub.de ([5.9.137.197]:38970 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731663AbgIHSBS (ORCPT ); Tue, 8 Sep 2020 14:01:18 -0400 Received: from zn.tnic (p200300ec2f10bf0059bdf9fa8e813382.dip0.t-ipconnect.de [IPv6:2003:ec:2f10:bf00:59bd:f9fa:8e81:3382]) (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 3C9511EC0489; Tue, 8 Sep 2020 20:01:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1599588077; 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=72WG1McxFqIGqR0+XMVCYnaTg8/Pu4r+S87nI13px98=; b=ls4q+gxq01ufyfWCGaDIr4cX0hDa7QQPPRNqrHWOp9VTyGguOSzHrsGSotlWrzuk+CGZSV jte8+0fkjQm1FsAfuFrt0UUtL9edHhcws3KnwZDKIplufTwJYPvkwwvLyNm59pc4yax0aq O6Ogqmuru1rmAYWqsFZHp9hSMNGeyDQ= Date: Tue, 8 Sep 2020 20:01:12 +0200 From: Borislav Petkov To: "Jason A. Donenfeld" Cc: Srinivas Pandruvada , kitsunyan , "Brown, Len" , X86 ML , LKML , Linus Torvalds , Sultan Alsawaf Subject: Re: [PATCH] x86/msr: do not warn on writes to OC_MAILBOX Message-ID: <20200908180112.GK25236@zn.tnic> References: <20200907094843.1949-1-Jason@zx2c4.com> <20200907100647.GB10657@zn.tnic> <22617e57e541e460fac09db04fdb370f8e96e8ef.camel@linux.intel.com> <20200908172558.GG25236@zn.tnic> <20200908173656.GI25236@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 08, 2020 at 07:42:12PM +0200, Jason A. Donenfeld wrote: > Are you prepared to track down all the MSRs that might maybe do > something naughty? I'm not prepared - that's why this MSR filtering. To block *all* direct MSR accesses from userspace in the future. > Does `dd` warn when you run `dd if=/dev/zero of=/dev/sda`? Yah, because that's the same as bricking your hardware. Geez. > Probably not possible. Optimal values are related to the "silicon > lottery" that occurs when you buy a new CPU. Different optimal values > for different individual chips. Let's wait for what Srinivas finds out. I'd let Intel decide what they wanna do. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette