Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3655480pxj; Tue, 1 Jun 2021 10:06:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIvZrLajne3OkfPMwGnY3Doa9pQJRa2qxNNlQpkU8WjJeqkCn7x2wKrL+l/V4ltUcH8N70 X-Received: by 2002:a05:6402:2786:: with SMTP id b6mr34548038ede.20.1622567166812; Tue, 01 Jun 2021 10:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622567166; cv=none; d=google.com; s=arc-20160816; b=N0fSL1v45IZfHEXBkueQs4rVgC65DebnzYr6sWAH/ZXOys+1AKylm8b0pryaBe5pKV 05r3NzCjyWiIy2aEyWmsbY6F6fSAjKJrt8MVyPPR8SBdqLJl4gPbj7ULenkpWG2aHu79 zOzL8hfzprR6kP/qOQ4jI86z9lEqauSlqemyPAyHtkJkjZvBiEGm8uADxM9WoVOxZHgt /HxQbqRD1pgSPHoZvE6CYOrLsglsGUBnaJT651zF1+rksiUGV+rS7jlYfGLp6MIx8+XM jix7lFp2ONiAD0HcileqRXVZz6wrCVK7AGWueSGamoGhJ/yzvJV85iuwBd8siE3HhYAV 2wLw== 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=dIdCWzqgU6kcRDTdTE0n9okx57SCKfxWQpZpdqAC19k=; b=vdDCrKY487BIOX2jaG4enjFrjh+2HTgwfGTiPvdkS8Pz9krtIfQgzK87OiXN2FEnkN kGr1/iLToc5I+B/6ujMV+cvIr6RJ1yUVz+2wPUXtMPED5KsbFGOfmJggLHSDT7EGnJWK x6cNoUtFYavEUNxO54q4+NOofHQzRSLaXQuhuPYRENeFYFdTjhqZEF+42LfkxFnQk5Vn /HBe3NcIEiz+mCSGPEv3TjBJ2E6Q6rskpE9vw2pNGuqRNLfBlRXMfwWxyqeTc3XY91oV 9OvEEgPkvypdxLy20zJwdfGfuILzFRtU0mRcnnCmbqyqKK8+sdajd77qpmKmKmRjf3uu jDmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=avCcUpsS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y9si8882192eds.105.2021.06.01.10.05.43; Tue, 01 Jun 2021 10:06:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=avCcUpsS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234397AbhFAREk (ORCPT + 99 others); Tue, 1 Jun 2021 13:04:40 -0400 Received: from mail.skyhub.de ([5.9.137.197]:41618 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234388AbhFAREh (ORCPT ); Tue, 1 Jun 2021 13:04:37 -0400 Received: from zn.tnic (p200300ec2f111d00a3e97a9775243981.dip0.t-ipconnect.de [IPv6:2003:ec:2f11:1d00:a3e9:7a97:7524:3981]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 364261EC0288; Tue, 1 Jun 2021 19:02:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1622566974; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=dIdCWzqgU6kcRDTdTE0n9okx57SCKfxWQpZpdqAC19k=; b=avCcUpsSY5P7Qted1BZrbeOJlTsVvz32We/YD4oBuQ8ERSItO2tXwJwanqayk+jETqUJn9 hQ/ATfINA0OUit10cikpLQ8GycTkq3AerqwJsoAD8f1UXy2wdu0xWDMtXlVJqe/VmHUapM rm27ZU4Zh//kt6LoTKRW3dcA2INPkG8= Date: Tue, 1 Jun 2021 19:02:53 +0200 From: Borislav Petkov To: Tom Lendacky Cc: Varad Gautam , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, x86@kernel.org, Joerg Roedel Subject: Re: [PATCH v2] x86: Add a test for AMD SEV-ES #VC handling Message-ID: References: <20210531125035.21105-1-varad.gautam@suse.com> <20210531172707.7909-1-varad.gautam@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 01, 2021 at 11:41:31AM -0500, Tom Lendacky wrote: > > +ifdef CONFIG_AMD_MEM_ENCRYPT_TEST_VC > > +CFLAGS_sev.o += -fno-ipa-sra > > +endif > > Maybe add something in the commit message as to why this is needed. Or even better - in a comment above it. Commit messages are harder to find when time passes and other commits touch this line and you have to go and do git archeology just to figure out why this was done... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette