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=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham 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 26DE4C282C3 for ; Tue, 22 Jan 2019 12:02:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 005B020855 for ; Tue, 22 Jan 2019 12:02:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728264AbfAVMCC (ORCPT ); Tue, 22 Jan 2019 07:02:02 -0500 Received: from mga18.intel.com ([134.134.136.126]:19029 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728254AbfAVMCC (ORCPT ); Tue, 22 Jan 2019 07:02:02 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jan 2019 04:02:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,506,1539673200"; d="scan'208";a="140280105" Received: from jsakkine-mobl1.tm.intel.com (HELO localhost) ([10.237.50.115]) by fmsmga001.fm.intel.com with ESMTP; 22 Jan 2019 04:02:00 -0800 Date: Tue, 22 Jan 2019 14:01:59 +0200 From: Jarkko Sakkinen To: Stefan Berger Cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 5/5] tpm: ppi: Enable submission of optional command parameter for PPI 1.3 Message-ID: <20190122120159.GC7514@linux.intel.com> References: <20190117174135.2117937-1-stefanb@linux.ibm.com> <20190117174135.2117937-6-stefanb@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190117174135.2117937-6-stefanb@linux.ibm.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On Thu, Jan 17, 2019 at 12:41:35PM -0500, Stefan Berger wrote: > This patch enables a user to specify the additional optional command > parameter by writing it into the request file: > > # echo "23 16" > request > # cat request > 23 16 > > For backwards compatibility: > > If only 1 parameter is given then we assume this is the operation request > number. > > # echo "5" > request > # cat request > 5 > > Signed-off-by: Stefan Berger > Tested-by: David Safford Reviewed-by: Jarkko Sakkinen /Jarkko