Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7800656rwd; Tue, 6 Jun 2023 17:02:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6gqlVTawVmIedpLXFykoTWV9jW8vKes6N9yvFybXFLcsiKvfZI4lcw9HB6gjUTnrHXQsF4 X-Received: by 2002:a17:902:d4c7:b0:1ad:7bc5:b9ea with SMTP id o7-20020a170902d4c700b001ad7bc5b9eamr2030890plg.60.1686096169521; Tue, 06 Jun 2023 17:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686096169; cv=none; d=google.com; s=arc-20160816; b=ksT0SWggF0x7JBBi8jt3aT4O+xdB5U3rbdcmZ2zVd6PLC9s3qTDJ76+Boq8zb9o61O lDyruz24xZPFIsJKVM0FU1s1YsQ4RBBb5B9qE3ZuW+lQzP49dQGMER+gF9hEUhQ8sxRq osjOujGBtM7zbh8vWiwa+/+PdqDaVgq1AweF86WjHCZSIJa9HGPJh/yPuuZu3qs+IAIv sp7JKuP1SN+EalhVoFVo7KHU6AZ1SgAwEPE/ZOFAoTpJ3nOScRWfqBzMOzv6nHmwHaTN MYyaU7AOR/IeihBWb0hkfGNptVr9W/KP1mwSxP4vZeJf2s5BPS7Gok8iiyW7kKamD7LN xh+Q== 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=+x7YaPC0YgwDrK3lnytafNjf1MefVqk35taMDH1ZLfE=; b=EVyMlXiYAgKU1QtQgbs3kksufoL8snAD8bEVk+WL6d8U/g4zpMzibIjoIxjonuiM7u KxgDaliK+fcR2sdW4Oz4wEP6nxFmVE/2FRVeQr++1LTAabr2I0VvqSw+AupX/KqZhZtr 3wFx3+1togB4OYrRfcOs48QQqfPybkeUM+zKqTvPZw1QFcTIN1mQ7k6ztewuNAds5i0d p3jSCVqQp1R5fS3B10uS8uP0jfw6BbonR/uwHoY2AdlROnq5HSNBqKSrHEBB8LAZ470U sS1avT6RM5eT9NKBBsnF4mATQmGqKiBYbutQJTK0OLzAisbEm38fRDfiU8cMnYBo3iWM QFTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZGW4wmBw; 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 c11-20020a170902d48b00b001ac4c2f8e05si8174961plg.46.2023.06.06.17.02.34; Tue, 06 Jun 2023 17:02:49 -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=ZGW4wmBw; 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 S239900AbjFFX3V (ORCPT + 99 others); Tue, 6 Jun 2023 19:29:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234447AbjFFX3S (ORCPT ); Tue, 6 Jun 2023 19:29:18 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A7931706 for ; Tue, 6 Jun 2023 16:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686094157; x=1717630157; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=2m5Acays/axVHKkZnzGatekU7tm/LDNxL0c803mI3GM=; b=ZGW4wmBwTZGJ7VOconGWQifP02wkgXsJnOLGRBUKhMGi2UAas1CEF516 HvYQPcYjRQ/v2xBlPwkg88hwM1qy+0zqH1NsNajn8h5HGAKjUEZRANGI0 80FrDqHvYj/aUZeeDYz8KDgpFQf+2dY0HOO6sO3AVdUjuqsNrIg+dUNZX nfq7gAdbVb0qGhv/kyUhZesDbXnmXX40FQCFIp25cu65chEQg9HW2lQ5l e83MRf8k7sg9Lqqr9amt/uWDFUtvi1xU0oewLxZAiQwitssTlHzZ18hGE 0fcN0MrocTDyslW37+hxxoC8e+42JuHiim+3lAC9+favgqGoMkqEvMjVY Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10733"; a="336450138" X-IronPort-AV: E=Sophos;i="6.00,222,1681196400"; d="scan'208";a="336450138" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 16:29:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10733"; a="821860733" X-IronPort-AV: E=Sophos;i="6.00,222,1681196400"; d="scan'208";a="821860733" Received: from hganapat-mobl1.amr.corp.intel.com (HELO [10.212.191.102]) ([10.212.191.102]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 16:29:16 -0700 Message-ID: <1eaf32e1-f808-320d-2643-387682cf7ea0@intel.com> Date: Tue, 6 Jun 2023 16:29:15 -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: [PATCHv3 2/3] x86/tdx: Fix race between set_memory_encrypted() and load_unaligned_zeropad() Content-Language: en-US To: "Kirill A. Shutemov" Cc: "Kirill A. Shutemov" , tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, decui@microsoft.com, rick.p.edgecombe@intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, seanjc@google.com, thomas.lendacky@amd.com, x86@kernel.org, linux-kernel@vger.kernel.org References: <20230606095622.1939-1-kirill.shutemov@linux.intel.com> <20230606095622.1939-3-kirill.shutemov@linux.intel.com> <20230606183718.i3iqwbk7gdomiq5s@box.shutemov.name> From: Dave Hansen In-Reply-To: <20230606183718.i3iqwbk7gdomiq5s@box.shutemov.name> 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_PASS,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/6/23 11:37, Kirill A. Shutemov wrote: >> Heh, that must be really important info to have it in the changelog twice! >> >> I'll fix it up when I apply it. > Ouch. Please fix the comment in the code too. I couldn't help myself and rewrote the changelog and comment. Please let me know if it looks OK: > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=x86/tdx