Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp950706iog; Wed, 15 Jun 2022 16:32:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1smSLZnPsfVHler3NEwotLionp6rwdFM+vchyShZLFFzm8iTWqQOCXk25fwjZZYSbEbJcGG X-Received: by 2002:a17:902:a9c9:b0:161:5b73:5ac9 with SMTP id b9-20020a170902a9c900b001615b735ac9mr2031765plr.14.1655335926508; Wed, 15 Jun 2022 16:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655335926; cv=none; d=google.com; s=arc-20160816; b=cp3M/p5sMi0M3usotPXhYZd/LaJnx75BYkZbblMch+9OY+mr/nFm7wXLMxPFvdnaNE ocrk/3layltTl3dnKrmdsD9RFMrN8J1lDzRwPhU5j+hgvX68X6Mepkx5AMMs/cd2CPsn R5dTB2lw9C4QWtlPNyQSaordpYavrdY1Nymp6vhElCZgjl9P0BPjyazME6doyeAxOegH EBVtM/qSww+VltcGGdXZk2k24cTZPVUOsI6ztlXwA5x3ACZVioLUNpmtgHsk+aCe97Hl YdmIrSy5qzgSjlUHT9aQq+aQb1YkvDRoO1URta59MUgifYTHHiA9oatbGuJWD6ZhznSU wAvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SLJ/H8e/N6+DvWGX0MpLi7LTjq1Gws1vK1flx9qZxuA=; b=AHqnnjJQyubJpez4nTU7xvrASuMCHHkhkLiu1XJ69Wx3se5ytMIZ+zt+wUkgJgBvdE iuZU7ZB9TFOzvATXpZP1YBdiSihL0ucJV6Q6ETibaMAHb8B6V3fzh6TgUL/RAebXEWEk 4Of2AjyoMiijev5DS+5K31gMchSW75t2ce9pI2DnTPVk62842Go6f7NTSxVBDJL/BBdd BM4p9B9jL+UrCYty4RZJ7DsREOt8n7XPYqHpl/LjKOTPTg8xHXEi051P1B9y57BegThD NtgKfpCfnn9yiBPBGAz4UBRHun09ixE251C6Kyt0RiccfNIFR1aalklLcGOouiudBQ7+ ibfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=C0gRpfMK; 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 203-20020a6301d4000000b0040173796e83si343383pgb.824.2022.06.15.16.31.54; Wed, 15 Jun 2022 16:32:06 -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=C0gRpfMK; 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 S1357390AbiFOXRg (ORCPT + 99 others); Wed, 15 Jun 2022 19:17:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355278AbiFOXRH (ORCPT ); Wed, 15 Jun 2022 19:17:07 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93411326E8 for ; Wed, 15 Jun 2022 16:16:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655335006; x=1686871006; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=bY3fKUHAmLFD0yM/TYiwTA6Jp1QNnt24Ewml6eGfPqQ=; b=C0gRpfMK1YbC+49NS7v4qZIppFL0oVp7RTWW/KGckRCcn0RtMbmuJxCc KQIz3Do73A3I+nESMHmF20AqmPiQRaG5OHgTrOUxsmwx8qWwd+fOGzWqd /2M8zjhIqzQStdrIgHcXlh19K3micjOC1877wTSSwOCp9PbNCXIWKLCgx /MCFNNOOco/FHaZ7pnpEgFEqLoBhHF2gkrNywd+ihL8ttg+JaVe4HgDZS WHDaRFozk+vt/fA+r6hW5gIoqihbybIZh2D3Fxf81KEbWuPS9nlGv1XjU S+bBZpAs9qnTY0hMs/D8BnlwQ308i71odUEpucL+iNY8dxVyvHKYqNdtg A==; X-IronPort-AV: E=McAfee;i="6400,9594,10379"; a="277917436" X-IronPort-AV: E=Sophos;i="5.91,302,1647327600"; d="scan'208";a="277917436" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2022 16:16:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,302,1647327600"; d="scan'208";a="674755716" Received: from black.fi.intel.com ([10.237.72.28]) by FMSMGA003.fm.intel.com with ESMTP; 15 Jun 2022 16:16:40 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id 0EC9D109; Thu, 16 Jun 2022 02:16:44 +0300 (EEST) Date: Thu, 16 Jun 2022 02:16:44 +0300 From: "Kirill A. Shutemov" To: Dave Hansen Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, luto@kernel.org, peterz@infradead.org, ak@linux.intel.com, dan.j.williams@intel.com, david@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, sathyanarayanan.kuppuswamy@linux.intel.com, seanjc@google.com, thomas.lendacky@amd.com, x86@kernel.org Subject: Re: [PATCHv4 3/3] x86/tdx: Handle load_unaligned_zeropad() page-cross to a shared page Message-ID: <20220615231644.jpuzotsiuyuqwlgm@black.fi.intel.com> References: <20220614120135.14812-1-kirill.shutemov@linux.intel.com> <20220614120135.14812-4-kirill.shutemov@linux.intel.com> <051fd468-11e6-308b-66c8-4de16ff80deb@intel.com> <20220615171042.oeumb3vs3ttu4rvd@black.fi.intel.com> <1d190555-2bb1-e483-2405-e28ddabead07@intel.com> <20220615224303.el4qtowheu2rgpdn@black.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Wed, Jun 15, 2022 at 03:49:49PM -0700, Dave Hansen wrote: > On 6/15/22 15:43, Kirill A. Shutemov wrote: > > I will reword it like this: > > > > The issue was discovered by analysis after triggering other issue with > > load_unaligned_zeropad(). > > Yeah, that sounds sane. I'm also happy to shove this into the commit > message before I push it out. It is fine as is in your tree. -- Kirill A. Shutemov