Received: from eggs.gnu.org ([2001:4830:134:3::10]:43637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8O3y-0002XZ-GG for qemu-devel@nongnu.org; Tue, 17 Apr 2018 06:42:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8O3u-0003x6-IA for qemu-devel@nongnu.org; Tue, 17 Apr 2018 06:42:14 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:42552 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f8O3u-0003rL-Be for qemu-devel@nongnu.org; Tue, 17 Apr 2018 06:42:10 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3HAfxNS053073 for ; Tue, 17 Apr 2018 06:42:09 -0400 Received: from e38.co.us.ibm.com (e38.co.us.ibm.com [32.97.110.159]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hdekvabnf-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 17 Apr 2018 06:42:05 -0400 Received: from localhost by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 17 Apr 2018 04:41:44 -0600 References: <1523900897-6630-1-git-send-email-stefanb@linux.vnet.ibm.com> From: Stefan Berger Date: Tue, 17 Apr 2018 06:41:40 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] tests: request access to locality 0 before sending command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= Cc: Peter Maydell , QEMU On 04/17/2018 05:08 AM, Marc-Andr=C3=A9 Lureau wrote: > Hi > > On Mon, Apr 16, 2018 at 7:48 PM, Stefan Berger > wrote: >> Recent changes to the CRB code now require that access to locality 0 >> be requested before the locality can be used for sending a command. >> This patch adds the request to access the locality. >> >> Signed-off-by: Stefan Berger >> --- >> tests/tpm-util.c | 2 ++ > The patch fails to apply, tpm-util is added with your upcoming "tpm: > Add test cases that use the external swtpm with CRB interface" patch, > I guess it could be squashed there (I confirm it fixes the test) > > > tpm-crb-test.c isn't affected, because you changed it in "tests: Tests > more flags of the CRB interface" already Right, wrong branch. Everything is good on 'git tip'.