Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8030845rwd; Tue, 20 Jun 2023 09:14:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5xZ+gn6nm50dImh6vEtyykNMPfCg5MonOSFShMz/9eUHC44hrzPvwHpcoaYc9AUQqJ//sl X-Received: by 2002:a17:90b:2292:b0:24c:5e6:7035 with SMTP id kx18-20020a17090b229200b0024c05e67035mr7130306pjb.30.1687277660596; Tue, 20 Jun 2023 09:14:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687277660; cv=none; d=google.com; s=arc-20160816; b=B8OWL6C+DYL9WD2+NlIPmR3LxzCRhiCpK+gJ2/D1WUqi1Y6RA/a6TIfTcDsdYlRa/A kgHN+Eh6KCdfFGMQjIfEG1Geh9UmPmbsuhz+jrrmjM6T2bVJwnocgGrh4eF0A/SGP2sc 833rKPcsrJu8AiFrvwAeW6pkC7kwQyeTrghC8yFIHXYDHt/9e7uknmIOZS+l0c84Bm8N qnvn0buksVbW5y7QRT4QeLjrFiUNueZIZRvVP4yVtnb+/B8NtQU8uMSljQwDxz95c3mO kcL+zDc1K0fWPVpUEk5rBsplzNWzU1U4JeF7z7JJUx5cqIbQmmZSP4e0Fdb34V0Z0flK RnkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=5iaDb2cpMh/0RtVCRuQYreoSbU6OZicu0YIG8ivG2M4=; b=CAbI9TKgH/mGLFBgtk0bSzkNTalyGclSz9yxzyHAUwvNf166MU6U9Z2ZtJX0DLWjPj MdeoXiqxk230bs1t5HKaFNJg+0ri8TV1qApXpsqPAwE/MXjrvjSeSNb1Ju/M8cgmuKxp u7Wu9Rfksf/ZEvnoGO5xc51ov0EiRDYgGrhdlk6rmK2ef82ahYCq1bt7tprjW8gqCVcT ht3JWy5S2cnxtcWKsYhY5Dzc2dyILLUNj1gS7QvWv8vzf9ycOl7AWDxRuNZn5uvv8CQR xisLtkfCVKItdN9ElMEHVU/f6S/7gXJE3WbRofEDsV7Bg2EUqvufN1vtdqwSCh7fghG/ yYAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=djMU42Jl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t15-20020a17090a3e4f00b0025be6419478si2211721pjm.92.2023.06.20.09.14.04; Tue, 20 Jun 2023 09:14:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=djMU42Jl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231968AbjFTPpB (ORCPT + 99 others); Tue, 20 Jun 2023 11:45:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233165AbjFTPoy (ORCPT ); Tue, 20 Jun 2023 11:44:54 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95D3E10C2; Tue, 20 Jun 2023 08:44:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687275892; x=1718811892; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=1bkJ3ipFHamETkUDcBjYCsABo3+BsqpoidFMtVCS97c=; b=djMU42Jl/grQDGt0KTgHNm0TlNCTc103kV5AwiR9nV7+Ttr1KgH9GndS h8k1bU3ZHIMqUH6vZO0e1P/UgAhsYMQUYec2yySprCN5wInlVULT6Z25J kdiw0+PoN4fl/0xEksWzlKxDvr+9YJo0KdbPMLozih0bxQH+5E72fQdlW sBKj2457vwUlrXgROVBECf1TLkB/VgYcGWN0mAcX+OQMfWRqECfAuBTdw 2muLsqxXQR1Du8g84/xY3Ud9RoSJbZXt85wMMx+t5yh+aQmjqeHtt2RIm Rd/Hk/BMsQaI3nDFzee5jPLQVH503boKGKf3/sgRZelommdkob8+iJcpV Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10747"; a="423559114" X-IronPort-AV: E=Sophos;i="6.00,257,1681196400"; d="scan'208";a="423559114" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2023 08:44:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10747"; a="960823238" X-IronPort-AV: E=Sophos;i="6.00,257,1681196400"; d="scan'208";a="960823238" Received: from rashmigh-mobl.amr.corp.intel.com (HELO [10.255.228.28]) ([10.255.228.28]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2023 08:44:49 -0700 Message-ID: Date: Tue, 20 Jun 2023 08:44:48 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v11 04/20] x86/cpu: Detect TDX partial write machine check erratum Content-Language: en-US To: "Huang, Kai" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Cc: "Luck, Tony" , "david@redhat.com" , "bagasdotme@gmail.com" , "ak@linux.intel.com" , "Wysocki, Rafael J" , "kirill.shutemov@linux.intel.com" , "Chatre, Reinette" , "Christopherson,, Sean" , "pbonzini@redhat.com" , "tglx@linutronix.de" , "Yamahata, Isaku" , "linux-mm@kvack.org" , "Shahar, Sagi" , "peterz@infradead.org" , "imammedo@redhat.com" , "Gao, Chao" , "Brown, Len" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Huang, Ying" , "Williams, Dan J" References: <86f2a8814240f4bbe850f6a09fc9d0b934979d1b.1685887183.git.kai.huang@intel.com> <9cb242a0f5a6638770753b24ebd09e09ca047766.camel@intel.com> <15a06a50557335e0bbdb5edf228de6f8acb13513.camel@intel.com> From: Dave Hansen In-Reply-To: <15a06a50557335e0bbdb5edf228de6f8acb13513.camel@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/19/23 04:37, Huang, Kai wrote: > Please let me know for any comments? Can you please go look at where most of the X86_BUG_* bits are set? Can you set yours near one of the existing sites instead of plopping a new one into the code?