Received: by 2002:a19:ee01:0:0:0:0:0 with SMTP id g1csp1285003lfb; Tue, 12 May 2020 09:00:07 -0700 (PDT) X-Google-Smtp-Source: APiQypI6QZm/vZdVmI4n8c2NftyhLgDNewdAdiWQy7l8nwSy1aIxdCgewTezIv/whcDRHbsWkwwp X-Received: by 2002:a05:620a:2ee:: with SMTP id a14mr22986464qko.33.1589299207377; Tue, 12 May 2020 09:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589299207; cv=none; d=google.com; s=arc-20160816; b=iUHzFeQxpM/eW07kqQga+QVgGbLex1DmGxj06/3X0qpBofe/A8iMGuWnZsdFkafnij nY0GNkQkmQi6HGBh/0PQb8n/TJ5a1dvy/3FoItKWsr+/rzFXkzlUG02E6JaM32/mOqjs EUzhESQKBpgdihQJMOY83UtRGkTVXPIQdZZCs3CtZIawl0SQS0qB3lBmxra6ru/mWym1 JJdY5/WSSZ6pOdwfuR79vJCF2Fmb2t+8ZO/8UEi4eE0XxUjhb66aDziUAfFyhNzmof4B iAZ5DGPMsTlORc04kabulP/N4O1NXNV8YuiwTzWlxR3FYO5cp0OPgdkjgx9x+mm6d59H OxhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=wKY3yV0xMXu6/12g0KGd0Wn5A6HzJ5UBaU7Dic9E4wM=; b=AhAq5PxlJChlLOlwdfgdm1IMFuIaK5tRYA9rNUQD7hyfPk/+I/ABN10rHqhBUdYYo0 2Iw5uvFVrC0jhmUUBRCSPKuKj849UId993hz8hmsCB0+P84DsO8xrEPcLMRHpgxLF3Xc CGy2IRALTlzHq0acfLMOaSYH4fIgwpTO/S2MxUBK27KVSp6ZwKNF9RwvaLZsFxdDVccP C52GdyOCPrEwP/ulv8c47fbTstUmJ6mIu58hJ3z5KgdXGZKXnn8somQX3O/ujJUWVNoe OG0uTeM47dLcr+m2FjW2BzIahqKiXqSh7HKjmZqJpQHxmemVKU5iIiLs0FoggW2JiXz3 5ZLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@redhat.com header.s=mimecast20190719 header.b=h4QQwRP2; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b18si4629074qkg.368.2020.05.12.09.00.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 May 2020 09:00:07 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@redhat.com header.s=mimecast20190719 header.b=h4QQwRP2; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:52150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYXKA-00006c-Nh for alex.bennee@linaro.org; Tue, 12 May 2020 12:00:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYXJs-000065-Hn for qemu-arm@nongnu.org; Tue, 12 May 2020 11:59:48 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:59955 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jYXJr-0003fQ-JW for qemu-arm@nongnu.org; Tue, 12 May 2020 11:59:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589299186; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wKY3yV0xMXu6/12g0KGd0Wn5A6HzJ5UBaU7Dic9E4wM=; b=h4QQwRP2J4ZnNjRXgeTIw99qjzZJls37EepJteI72O4V8bjkRorxpJf1VokZSmj/vKBskm HlF9TrxQNwPa5OVQKKI6XwYoWHbVDcSWlB+pngtJB+w+Hq/FD+2JgCat21VBHGHpFOHGrM pZdJw6D8PbKQsiLlzLmInaEIohhpCP4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-42-9I5uk8g9MxSeB2RXpclpGA-1; Tue, 12 May 2020 11:59:43 -0400 X-MC-Unique: 9I5uk8g9MxSeB2RXpclpGA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3E45B107ACF3; Tue, 12 May 2020 15:59:42 +0000 (UTC) Received: from [10.36.112.22] (ovpn-112-22.ams2.redhat.com [10.36.112.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0D1A37D94B; Tue, 12 May 2020 15:59:27 +0000 (UTC) Subject: Re: [PATCH v2 1/3] acpi: Move build_tpm2() in the generic part To: Igor Mammedov , "Michael S. Tsirkin" References: <20200505144419.29174-1-eric.auger@redhat.com> <20200505144419.29174-2-eric.auger@redhat.com> <20200506063314.4qvnyfonjixcknuj@kamzik.brq.redhat.com> <20200506055747-mutt-send-email-mst@kernel.org> <20200512161447.07b76de2@redhat.com> From: Auger Eric Message-ID: <3dfdf504-7fc2-40cf-8387-c4abb8133792@redhat.com> Date: Tue, 12 May 2020 17:59:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20200512161447.07b76de2@redhat.com> Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=205.139.110.61; envelope-from=eric.auger@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 02:02:05 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Andrew Jones , gshan@redhat.com, qemu-devel@nongnu.org, shannon.zhaosl@gmail.com, qemu-arm@nongnu.org, marcandre.lureau@redhat.com, eric.auger.pro@gmail.com, lersek@redhat.com, ardb@kernel.org, stefanb@linux.ibm.com Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: RwRBAbgVKJlT Hi Igor, On 5/12/20 4:14 PM, Igor Mammedov wrote: > On Wed, 6 May 2020 05:58:25 -0400 > "Michael S. Tsirkin" wrote: > >> On Wed, May 06, 2020 at 08:33:14AM +0200, Andrew Jones wrote: >>> I realize this function is just getting moved, but maybe it should get >>> converted to the build_append* API while being moved? >> >> I'd rather refactoring was done in a separate patch - >> easier to review. > maybe first convert and then move > > PS: > me wonders if we have test with TPM enabled, if not maybe it's time to add them > i.e. first goes testcase in bios-tables and then refactoring/moving > in that case review is simpler. Do you mean tests checking the ACPI table content when TPM is instantiated? I don't think so otherwise it would have failed I guess. Otherwise we have functional tests with TPM (MMIO access), ie qtest tests tpm-tis-device-test and tpm-tis-device-swtpm-test. Thanks Eric > >