Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1173916ybl; Tue, 13 Aug 2019 08:29:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqw40hVFi5xYxkPEIAZ2OBROALruAAaur2V9mAgCD/hZErZMkRE8C4TS4i+PyE0JBVLPAEqy X-Received: by 2002:a17:902:654f:: with SMTP id d15mr35642237pln.253.1565710140261; Tue, 13 Aug 2019 08:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565710140; cv=none; d=google.com; s=arc-20160816; b=g3NHivfgBvrN54s5AA0bFNv3dM66qP94vq/b/Cx1Ianif4vgcKLne8ICBOlxhpQNOp KGfU7iUev97ytfUlqTOmjsgdVm5HmNjZM3GVuA1x/hCaUgpkNTkdBiW4LU4HlldCnMGE Nk26v9bFMVXdayPkkUGCaHmLJZy/oJLMvgKCRL9d3pQaVaqDi9ydFs9NGEzGdrdR3w4b Y4AOwys/AIpqL4cg5p3Cjomf/58mGUDvsqKMR6H/AVZIke3cxgQMzB1KzfGxIFdumt37 JxyGkd9glukkz129VVC/WeuYswUdf5uVlXR14vEhqC87WaSbFebdDSL8FOzuP6SWbgv0 LVXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=dPePM4b7Ly9h58EwlKTM619AD4xFQbyhPDiSia2EM2U=; b=ZYcIKFZILOAbrzPczW2fkMsNCpBUsQu9nx0r6FewO32KPCU4G3PCwXEcVkATzKAweH uxEHWO9EpCMZO0m63PvntWhqFzay9f65JeTxi8sBhvfmAaOSwL7ggSHV7GMuqW76V7/1 u69mai2fiQ6rS82D7IE+JzwoU0oeBLeQKPJFM/ewDfNxZ15DKfmBDXwYq/nMWOVIL8le UN/Fe2gNAV+hLsfHSDoinl3MYwOYOAo+Ih/16MNCqUZpVqaxFPuKC4s5+0xECC/FEot7 z5yjZIh8k3xpQvM5A7oR4HsC2/d4rNfCd04X3GQB7ZFLaxcaXVWBcOofpN4MZ9BCmhZO Vvkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rWi6khMG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w21si67345937pgh.316.2019.08.13.08.28.44; Tue, 13 Aug 2019 08:29:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rWi6khMG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728906AbfHMNGf (ORCPT + 99 others); Tue, 13 Aug 2019 09:06:35 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:44540 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727311AbfHMNGf (ORCPT ); Tue, 13 Aug 2019 09:06:35 -0400 Received: by mail-qk1-f194.google.com with SMTP id d79so79456110qke.11; Tue, 13 Aug 2019 06:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=dPePM4b7Ly9h58EwlKTM619AD4xFQbyhPDiSia2EM2U=; b=rWi6khMGtrbzvWBFMuKOaneDwVBFkNzEA+bV4ShPlu9hL6T+L7nBa8gQDqbg7wmj9l A3KIk979T6sWVsHhW4Fm/VaENm/Pi3YN9D3TaMbA39C3bNT0UdMZbtzfgFwX8I773l/c 3RsG9coxViRKwz3yQGebHYpzOEt6b6aR6vvSzsRAH3RbtDY1HDGaMX6ehk0FlP7sff7C ekZDrrVWdki+9s23mAN9i+bmtgZqgXojixJSkXBwq8Efoir2sZDaba3uPvCZhlRSyqIY CrG+1B1yVaV4pE4euqUVZufBvyCGY3HP9VT9vlaNLTbPJwVsmhEc0FPeovlP8bvtYcsV nWyw== 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:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=dPePM4b7Ly9h58EwlKTM619AD4xFQbyhPDiSia2EM2U=; b=sjVgoJtOQC6LV+GCYC11N4l2aclNgYcrqCvAdkhufO6a3AYQ1uExjDwGrn6jT4f6AG FhjL+r3DalA2bOG7t70aVNbk0COJhCAZTMBo1ysA1w0AFxsOQfl87IY7JKcfR8LNyE6X VvEDQMWmnDKFyI0i2jZewY1+l1Q0kzub5Rs7ivKjSVehI2O1eiAMZIceA2ipfh9vB0C1 yd9yI+eb9Pu/g7Lq3Yz2m46LvToLNLK+xbjvif36FqlFnwJBB4TzZhYTVpdAiaYjMU33 It0UdwWmUPCICUASMh4pbuFo12z3dlCZHbPD/xnJCuV6FzBrEfe4c7xgElPufyiOM5bH k4LA== X-Gm-Message-State: APjAAAUnKz4nQU3KhT1fFj92bBKR7HHzUHnUKz+4qHyEieXd2SI+zxVp zmwxbg0GQSKw7fhFOJ0NBmU= X-Received: by 2002:ae9:c00c:: with SMTP id u12mr23656206qkk.75.1565701594164; Tue, 13 Aug 2019 06:06:34 -0700 (PDT) Received: from localhost (tripoint.kitware.com. [66.194.253.20]) by smtp.gmail.com with ESMTPSA id z5sm45834363qti.80.2019.08.13.06.06.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2019 06:06:33 -0700 (PDT) Date: Tue, 13 Aug 2019 09:06:33 -0400 From: Ben Boeckel To: Alison Schofield Cc: "Kirill A. Shutemov" , Andrew Morton , x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Borislav Petkov , Peter Zijlstra , Andy Lutomirski , David Howells , Kees Cook , Dave Hansen , Kai Huang , Jacob Pan , linux-mm@kvack.org, kvm@vger.kernel.org, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, "Kirill A . Shutemov" Subject: Re: [PATCHv2 25/59] keys/mktme: Preparse the MKTME key payload Message-ID: <20190813130633.GB9079@rotor.kitware.com> Reply-To: mathstuf@gmail.com References: <20190731150813.26289-1-kirill.shutemov@linux.intel.com> <20190731150813.26289-26-kirill.shutemov@linux.intel.com> <20190805115819.GA31656@rotor> <20190805203102.GA7592@alison-desk.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190805203102.GA7592@alison-desk.jf.intel.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 05, 2019 at 13:31:02 -0700, Alison Schofield wrote: > It's not currently checked, but should be. > I'll add it as shown above. > Thanks for the review, Thanks. Seeing how this works elsewhere now, feel free to add my review with the proposed check to the new patch. Reviewed-by: Ben Boeckel --Ben