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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 3B5B3C433E0 for ; Fri, 24 Jul 2020 17:54:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 18E0B2067D for ; Fri, 24 Jul 2020 17:54:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="atxoVVvN" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726893AbgGXRyM (ORCPT ); Fri, 24 Jul 2020 13:54:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726617AbgGXRyL (ORCPT ); Fri, 24 Jul 2020 13:54:11 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8598EC0619D3 for ; Fri, 24 Jul 2020 10:54:11 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id 1so5610187pfn.9 for ; Fri, 24 Jul 2020 10:54:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LlWadNnJdj0hYYYVqCSZw2hjiyDxpJ2Kj8kn/NHt3FY=; b=atxoVVvNQ3oTazgRIDpHxSGrFLt9cvtoIBlvch0KQdY3aDyXvLQIdUzTcezi4vTG7R p3oklZStvCkO8gbZjqGkGxlAitCYYYinGGGKXpTA/1ZkFvIU2Ri3ri/cv2Fi2+1owHn3 aDPZiQhkJ2XnheLh3/Pzmn1G0Q2Js7lTuAUNg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=LlWadNnJdj0hYYYVqCSZw2hjiyDxpJ2Kj8kn/NHt3FY=; b=aGjPBB6OT+11HL4I58Vyu2yQqV3fqJMpQ46NYy9vdi4ZAd9VznUAPmM6GOAPv8IFpB 4HQFZPlG1gJQVYUd0QsiP4NLrQtNiZgsfB5eiyvd9BKuioRq7ljgG8XxFY+tmR/PQ9hA 12nvCu6Do9Wc8YOcF/DQoGiRd5jZNJT9Kr2jbMmlphxCZIUqWq0mhu5HO4H//86ixznb WYY39vCbd375mm3N72vJIvneiTqnIZMIUUg/ZeZW2y4VaZ5PE4WAvWPe6umZ/61ip8ri Yu/fCDdfvw9C5KouYDYvnNtc3PARndOZDNWm4s6e4hcCfuG/Frgcl7rO0jP0tZCA6jRw 7ZOg== X-Gm-Message-State: AOAM530L1e84Takfa/0/qcL9YrR+22nIsZ6eEtRtRdZibKaf3oCS53pz uxPIl9KwxTClkqKuJAZ3hqKa+A== X-Google-Smtp-Source: ABdhPJwAqrIfdoT4BFkrasAiJFdaIdj3r/Ze/FIypWTH8bIiiBhHfRqSOlNvvGH0vC6qTvZaO894kw== X-Received: by 2002:a63:e241:: with SMTP id y1mr9814521pgj.410.1595613251093; Fri, 24 Jul 2020 10:54:11 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id my16sm3221207pjb.43.2020.07.24.10.54.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 10:54:10 -0700 (PDT) Date: Fri, 24 Jul 2020 10:54:08 -0700 From: Kees Cook To: Joerg Roedel Cc: x86@kernel.org, Joerg Roedel , hpa@zytor.com, Andy Lutomirski , Dave Hansen , Peter Zijlstra , Jiri Slaby , Dan Williams , Tom Lendacky , Juergen Gross , David Rientjes , Cfir Cohen , Erdem Aktas , Masami Hiramatsu , Mike Stunes , Sean Christopherson , Martin Radev , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH v5 39/75] x86/sev-es: Print SEV-ES info into kernel log Message-ID: <202007241054.B7E226E8@keescook> References: <20200724160336.5435-1-joro@8bytes.org> <20200724160336.5435-40-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200724160336.5435-40-joro@8bytes.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 24, 2020 at 06:03:00PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > Refactor the message printed to the kernel log which indicates whether > SEV or SME is active to print a list of enabled encryption features. > This will scale better in the future when more memory encryption > features might be added. Also add SEV-ES to the list of features. > > Signed-off-by: Joerg Roedel Reviewed-by: Kees Cook -- Kees Cook