Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10984465imu; Thu, 6 Dec 2018 09:39:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/W8XS4fBOTgUEkWdSelRl7kZ4qdDXBqIcPvRMT+n43MTALRcsO/SgYyv3SipM0xl7NuVFgo X-Received: by 2002:a62:345:: with SMTP id 66mr29215456pfd.189.1544117980567; Thu, 06 Dec 2018 09:39:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544117980; cv=none; d=google.com; s=arc-20160816; b=cQCNV+XqpysMcIfwM6DToMRtJr6kcM/G7zXJs0xXcne11kWBna2LhThjuGgu3/ky8t Z/EDWIzJRBkJ9FJN0jf4lsKFlKLo3f904MBx0qxEaFvlxEIfLVe+qPAUA4PoeYjiBAQy Nok/mcbL+t6BNzMicDCWidYRP0usSRduM8Nq4n5TOIuw3UiTbas9fIY+axzIUeiwBDCr ZfQlwIboumdzStWCHfV0WJt+bTdC6aeGe2VLalu2sPCVe2/mORX/HTjDJheu0zmzyI8V egf8GbkDCIuFVuhwjPje1me+E+G5kfkNSeb161zTbiGT58u5+2bH5i2acsYyW/A8r+uD bMIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RipILcQUpcH8GUSH9/CuTptFulrcCQEOXLwS1tPYpEc=; b=AOC5M/QFTgUunZbH3npmQzGN7ZqRQ9Vbksorw4/XMfk3ksQpRyYrs7r/BabfJ24w86 IVuFHWRiusPWXSAZRy7vddIBR6OlFHdNJdU3ZoIFDgIRdUpo8WZMXhstljBzVdJz/Fa4 pIKFpSdmbVbRehhXpvDHKmqMw1z3GdgQBKDUUFc9dKavYLMCXCd0D4tQdQl4y8/qU0V7 JdP940uPeXOb6k/gKc8aLSYe9MU+k9gUFZKkCiEQ47Vprs/hwKOVWKceA9A5Okd+Nt/c CjF+RcVp7bOvGoD05fJLRWeTImbV5H+Fi39EjMg95Tw79cteQVftcsl2cEoIQQweAK4E FrJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="IfwL/StQ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bh5si674306plb.42.2018.12.06.09.39.18; Thu, 06 Dec 2018 09:39:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="IfwL/StQ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725998AbeLFRg1 (ORCPT + 99 others); Thu, 6 Dec 2018 12:36:27 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:55019 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbeLFRg1 (ORCPT ); Thu, 6 Dec 2018 12:36:27 -0500 Received: by mail-wm1-f67.google.com with SMTP id z18so1807935wmc.4 for ; Thu, 06 Dec 2018 09:36:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=RipILcQUpcH8GUSH9/CuTptFulrcCQEOXLwS1tPYpEc=; b=IfwL/StQPm7N8olcHNWcUOamvmzRs9EXsPcINNOPtIa5ele76oSjmmaGLSQFcVnPY5 8VsoK4m8RJh88xr1cjgHELc+g66OsTqnTrF+/PxWCYI5hCuCK/ffv3eQZT6FPOWApZdy lIVis1h/sNwvweZnzoyqRoX4QlowgcZZvjy/yhoXTrUaCfwmgdumoaZiAJOdUQtv3Tuq d94qZRdvKNVE/t7mKNH9SnzWKFKBhqCpfwSPdCQfNclF3A0dxUecJWrIjploBW1u2y79 7pDM/N6xIAwqN6iChwoKGvOqzQgpOv1Q3n4j0R3b/Ty8c5nXbl1nYPgsYtIl/ulh0fTG cuyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=RipILcQUpcH8GUSH9/CuTptFulrcCQEOXLwS1tPYpEc=; b=ldqk5DJthMHjHQOPBIx3fxPJLl4SoOgl2plOTnCQaNGI+hqV+oiUmzhykCFkTDugun JRBdL17AgYIulU2WSZiGegHFs7Igl7DYADXWRRw7Zk+IxJXINEZOysCpm4Lo9hMmYkpe Kv4Z696Tb2o59LHDwFzvOcz4o6DOkr3q2fdTIgNladKG7jLkXMjmGPvfZ7rVBtvFt8C3 xp8HaD86jGbCUBUAF/di3TF+6cQFlY15j2Y1FwGDZMNI6nRO95NoigtCPZxK2T7Beqbu Jagp6az4LZ/VzPd86zGSrZ3eUsc/XLTS/ZSjiMEOS6DWaDsmuSB260L9qIxMG4F4uP2X 1ytQ== X-Gm-Message-State: AA+aEWbiHAMBNiKf64I+Y2yQGndOTWHQpExTkTXk+nAP5+WRt4NXNHRO 54N/6rNDpxvNA3PnPrS4IveLySsu X-Received: by 2002:a1c:2501:: with SMTP id l1mr7082223wml.102.1544117784797; Thu, 06 Dec 2018 09:36:24 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id h127sm2076839wmd.31.2018.12.06.09.36.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Dec 2018 09:36:24 -0800 (PST) Date: Thu, 6 Dec 2018 18:36:21 +0100 From: Ingo Molnar To: Andy Lutomirski Cc: Sean Christopherson , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , linux-kernel@vger.kernel.org, Linus Torvalds , Rik van Riel , Yu-cheng Yu Subject: Re: [PATCH] x86/mm/fault: Streamline the fault error_code decoder some more Message-ID: <20181206173621.GA31884@gmail.com> References: <20181205163624.1842-1-sean.j.christopherson@intel.com> <20181206073409.GA64887@gmail.com> <20181206155336.GC31263@linux.intel.com> <20181206164710.GA119529@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Andy Lutomirski wrote: > That’s why I suggested “read,” in lowercase, for reads. Other than > that, most of the unset bits are uninteresting. An OOPS is so likely to > be a kernel fault that it’s barely worth mentioning, and I even added a > whole separate diagnostic for user oopses. Similarly, I don’t think we > need to remind the reader that an oops wasn’t an SGX error or that it > wasn’t a PK error. So I think my idea highlights the interesting bits > and avoids distraction from the uninteresting bits. Ok - all good points. Thanks, Ingo