Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4159944pxk; Tue, 8 Sep 2020 12:12:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5/tSOybH1w5vjUbJahC8eLgHe+5BOswth9kCxZ67vb1n6hoz/45tiGURUCAfLcTHg2LlJ X-Received: by 2002:a17:906:3785:: with SMTP id n5mr29154174ejc.218.1599592357498; Tue, 08 Sep 2020 12:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599592357; cv=none; d=google.com; s=arc-20160816; b=nzEsJO6PO2Tcf6xBDSWN7Ui/tw9C/nhfmVnPLhi9yMcl0F3vGn8nbAZTBGgL9acZXA JOHt1BTVusvPKTrxsQ9Wp4jjbBS73VcLrlY0+QYCjx4hmjM4W5bOifG0cvE5VQAdVMJe 7BwJ9U0nC6qUH/oFuz53jOY6J7pvL/e5AYv1BMpC5DRUShZ2fcZZvZymTGHvQZSLTKt8 WVk7eJqOho7JUBSugMj8DIxLwO7Z1kNcNnxNIx4jrL+WuKS2snXuYNGHSM4u7fD2mN+6 jxZA/T/IMZ+ZjdqEa9O74sbjXrodHWr/tSplIs9MRUPbvaP4hTJskpr1zxiqUeRvPCX9 E3Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=cIGpcF5gzgh4GezgseQJxcxcGyD7vixzYm6hJmkl4oY=; b=03pKpb9eMNfpFl0l8TkumuRSD0ExRXX/Tv5rQGfOhbPsxT+4xfekFfji1kNexFnZSN xryGn0p3hIlGrbR8j5dkDczTqo7JVOY4GO80lE+eVxbz2764PJ60Wy/KH/J04Bh01dbt VoMvpYr+1TKq9J4l25auTjX32wne1gecloUMo8ydt9CazvV4iVEdvClHw1zimynX1k1s sy4HWo11HnP2DdeKUNJbZf1og7XziKV3RqrIit/rnouXU8sRyNwQG0zfxZheUoEs99z1 zVYqssLN7BWnR4chitx6lpcyKnqIL4+xZBtWBUAoUDFii3DcmjaFbEytrEoCFxp0PAMv aoLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=osadIcsx; 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=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n24si13107072eji.99.2020.09.08.12.12.14; Tue, 08 Sep 2020 12:12:37 -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=@zx2c4.com header.s=mail header.b=osadIcsx; 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=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731417AbgIHTID (ORCPT + 99 others); Tue, 8 Sep 2020 15:08:03 -0400 Received: from mail.zx2c4.com ([192.95.5.64]:52273 "EHLO mail.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731444AbgIHTHf (ORCPT ); Tue, 8 Sep 2020 15:07:35 -0400 Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 087a7bc0 for ; Tue, 8 Sep 2020 18:38:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=mail; bh=v+IaKqTzajthwRuBeL8SUc47y/0=; b=osadIc sxEsxJYoLQkcN8ueOwsO2hJkvpqCKOEKAetdJO2vr8+7hIO81q1YJelVd6yrdZbh F2oyKFJcfsL4tkB7sJYYbIL4pkfW5gVPJ/iWoI3L27IS6RHJD7WrJhuSpf0gh2zs wucK7kLHGhK2zfOiA7x4YcQ5CoDk0Tdbd9QkyIoyDKMJRpsxWK5MBSRONoTuXydg 0kz438jbR0QrrsM9kuB1Ixy5IgwCiA+UjSW/4+D1+nnBIcdIpAu9gei253gy75Lk 9gvGw6SO0YcgsMxbl5hYviBpX+gTkYMMt07/6Tp0r3lHFXEOLRCUg3esykz+o0Xb /Q1iQR0hvs6+3jwg== Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 21954bbc (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 8 Sep 2020 18:38:37 +0000 (UTC) Received: by mail-il1-f177.google.com with SMTP id y2so16470169ilp.7 for ; Tue, 08 Sep 2020 12:07:32 -0700 (PDT) X-Gm-Message-State: AOAM533hJYeVwg71o1R1f8uQFbzUQS6qp9FsEkfcnhjmXq4yHCIpb3IX sQl7eOZ0vM1v3rpqGGSbMZe/ZFKJpmMQvk3TFAA= X-Received: by 2002:a92:58cd:: with SMTP id z74mr226562ilf.224.1599592051270; Tue, 08 Sep 2020 12:07:31 -0700 (PDT) MIME-Version: 1.0 References: <20200907094843.1949-1-Jason@zx2c4.com> <20200907100647.GB10657@zn.tnic> <22617e57e541e460fac09db04fdb370f8e96e8ef.camel@linux.intel.com> <20200908172558.GG25236@zn.tnic> <20200908173656.GI25236@zn.tnic> <20200908180112.GK25236@zn.tnic> In-Reply-To: <20200908180112.GK25236@zn.tnic> From: "Jason A. Donenfeld" Date: Tue, 8 Sep 2020 21:07:20 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] x86/msr: do not warn on writes to OC_MAILBOX To: Borislav Petkov Cc: Srinivas Pandruvada , kitsunyan , "Brown, Len" , X86 ML , LKML , Linus Torvalds , Sultan Alsawaf Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 8, 2020 at 8:01 PM Borislav Petkov wrote: > > 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. Nobody is talking about bricking any hardware. Sorry if I seemed to imply that before. In my experience, undervolting improperly results in the CPU calculating things wrong and eventually crashing, and overclocking usually will trip some thermal limits where the CPU powers down. I've never experienced bricked hardware as a result of this. Jason