From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECF95C4741F for ; Fri, 30 Oct 2020 19:40:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B8AF622242 for ; Fri, 30 Oct 2020 19:40:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727458AbgJ3Tkp (ORCPT ); Fri, 30 Oct 2020 15:40:45 -0400 Received: from mga12.intel.com ([192.55.52.136]:38744 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbgJ3Tjz (ORCPT ); Fri, 30 Oct 2020 15:39:55 -0400 IronPort-SDR: mNLE9XVsFajNJb6lxtxpSE8WL8at/GFkSc7/6lEqJAkPliliao5YxothQrf3QsscaLHHZuFbnz KlfB6LruttUw== X-IronPort-AV: E=McAfee;i="6000,8403,9790"; a="147942226" X-IronPort-AV: E=Sophos;i="5.77,434,1596524400"; d="scan'208";a="147942226" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2020 12:39:55 -0700 IronPort-SDR: DlHlHGWJsUImM1T/HVqSCfLTrVVPXp9apXMWpZjbnNEmOUUabun9y+9izWZ6MY/SunI+WWPijU Hvv08IP71JeQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,434,1596524400"; d="scan'208";a="351972319" Received: from otcwcpicx6.sc.intel.com ([172.25.55.29]) by fmsmga004.fm.intel.com with ESMTP; 30 Oct 2020 12:39:55 -0700 Date: Fri, 30 Oct 2020 19:39:55 +0000 From: Fenghua Yu To: Peter Zijlstra Cc: Thomas Gleixner , Borislav Petkov , Ingo Molnar , Tony Luck , Christopherson Sean J , Ashok Raj , Ravi V Shankar , linux-kernel , x86 Subject: Re: [PATCH RFC v2 2/4] x86/bus_lock: Handle warn and fatal in #DB for bus lock Message-ID: <20201030193955.GA3568909@otcwcpicx6.sc.intel.com> References: <20201028202804.3562179-1-fenghua.yu@intel.com> <20201028202804.3562179-3-fenghua.yu@intel.com> <20201029092747.GI2628@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201029092747.GI2628@hirez.programming.kicks-ass.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, PeterZ, On Thu, Oct 29, 2020 at 10:27:47AM +0100, Peter Zijlstra wrote: > On Wed, Oct 28, 2020 at 08:28:02PM +0000, Fenghua Yu wrote: > > diff --git a/arch/x86/include/uapi/asm/debugreg.h b/arch/x86/include/uapi/asm/debugreg.h > > index d95d080b30e3..61078319fc6c 100644 > > --- a/arch/x86/include/uapi/asm/debugreg.h > > +++ b/arch/x86/include/uapi/asm/debugreg.h > > @@ -16,7 +16,7 @@ > > are either reserved or not of interest to us. */ > > > > /* Define reserved bits in DR6 which are always set to 1 */ > > -#define DR6_RESERVED (0xFFFF0FF0) > > +#define DR6_RESERVED (0xFFFF07F0) > > NAK You are right. I will remove this piece of code in the next version. Thank you very much for your review! -Fenghua