From patchwork Wed Jan 18 07:52:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 643676 Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp1618611pvb; Tue, 17 Jan 2023 23:56:51 -0800 (PST) X-Google-Smtp-Source: AMrXdXsk6f2bMDoMW+WPdxUmTll1ZJb02My2M1Ym8n4wVpucuAoiC0+ezYDxV06vMoN8EAoIn3dl X-Received: by 2002:ac8:7602:0:b0:3a9:8c90:dcd6 with SMTP id t2-20020ac87602000000b003a98c90dcd6mr7185536qtq.51.1674028611717; Tue, 17 Jan 2023 23:56:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674028611; cv=none; d=google.com; s=arc-20160816; b=jrXFSHppwXdPd0ePKL9p02KTwBlmdOydZFV5MWVeCcvwTI112Kg9WUb8GSJx1AymFs B+L8DBdtxYUSN2gd7HLQ2PjgwRbmsWm3s9H6VdZFuYV0h2VjNvnXk1k9ex3AOdYZANr4 x1tzfKOj9Y7chj3fJClouMXqh4IR3REm7kGqPT+QKmZ2MqOthd0v5lCjtfIeMAeNwz55 +Hmvo9q5shFcjypghYXi7vbZM2GlQQIdJdgK+yMI0DCevWQb747ML7uyCwHiQNQcfQGN hlH5oPrTji2R/RaxE8UYc+b77uNBw4T/xLoy+HfwXCu4OmsHSTm6w5yXQrZZhw8wouH8 a0IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:ui-outboundreport :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=IkD3KNuDcqGDLaprU6+nxa8Qd6N4dEfqjXhYijjrLg0=; b=OnlaLpIbjjv4JFQeIZXsqfGsJPHnHSK8BQbDYpao3eqz5wijkYmKe8xs8L+vctFFuB 7O9rcP8pQggYKrTE4mSkRGyoV/DCQH0xbvnxZkvjCqPd1n2uXooQ4AB/iV1u5QzzLOUX tHUFy68yExBVFOwSiLDV7bGSEh29CWA7oUj3ujQ1A4ChxrDRCWY5D5lnZxP8dRFGLFT4 UCMyTiuCAV++X0BQi1aEXzwFRx7UF+RwSUX4m1M6K2gQqRvI2BqLHFJBHmcDBtp1Qsxr zVsL98qaW8/J3a6axpUDQqwqUBghzw5hNTlohhhUzKQSHHW/G2Zn6TY1mTfz8uuvD26G nJ1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x21-20020a05620a0b5500b00705cb0f9d6dsi14348180qkg.372.2023.01.17.23.56.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jan 2023 23:56:51 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pI3FX-0001rk-HV; Wed, 18 Jan 2023 02:52:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pI3FV-0001qi-JU; Wed, 18 Jan 2023 02:52:45 -0500 Received: from mout.kundenserver.de ([212.227.17.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pI3FT-00022D-Sb; Wed, 18 Jan 2023 02:52:45 -0500 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MKKhF-1p0nkG14Pv-00LoIK; Wed, 18 Jan 2023 08:52:39 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , Richard Henderson , Laurent Vivier Subject: [PULL 04/15] hw/tpm: Move tpm_ppi.c out of target-specific source set Date: Wed, 18 Jan 2023 08:52:23 +0100 Message-Id: <20230118075234.2322131-5-laurent@vivier.eu> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230118075234.2322131-1-laurent@vivier.eu> References: <20230118075234.2322131-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:4hciKJQLb+ncwQShOYcADmPKZxhXHBFuOhNgSrF34KLiGYmKHOp N9JR62WOcIIl4ay54cQuS/eyQ+zjeIGJvwzM0hTDacc3DOQOMVsu+uweCQEOIm5yOS9ZxQL FWbnZD4FXO1bOEcn14wVUZxX341uCfRegnwHtO6tbqfVwFHtSNy+cwjR/aEJIpyizQSan32 SVrcE+0wg7zefnSVobrsA== UI-OutboundReport: notjunk:1;M01:P0:JH/fIg5DEoo=;lkvQwm69xOxRvNeHStBUrLW0hsl yFUvpOEeJqMYlrdSIYeu8o+Owllla7pU9aE0XbV5n2TVbV7HpTmcYlpg0fCfWo07DBcbhUcBw Rn0XdftaI2vunJ3D92JD+gLP1dtwnJwHKX8kUoWiGyIb9YwHeWI19tjFCxP8JJpM2hbSJ/JpD C0CbWYbKNCC/IhvYYwfxK2mLtCKa0WooqA3oZCpZSyqLmrvPKMLG1Z6Y8bfyx1OJi2dd6sH5G 7ygDVog8bCebTZ+Kyu/I7fpK+K60UIP2g5ACpyCjppqQdWc6SQjhn4JO1yNlX8kYGhn8CUeNa PcK3zMIDDFsT9Cb0TWZYsqx1F0zuF4wjWjtDfN776DSuSRfdHf1wShbwb3v53cUFZzncrsKCV ea/aqQbVsnh7deDtX+UKEuoBgVw6NY6UubyDO/nj5ZL9Ysez5xkKXqWN4q/OyBLWxmg2PC25e BbOoFQt+damhwvNcVxWDUP1IGXj3RBwwVF54PEIycCmSXnrU3qDdiv7HTcMqds6aq3pot2FHB 3S9cn3u3TtNdSwUcf27EY7c2gBLsU122mGbAznZd6QjayXP+AdKlKwT1IXwMHzYCJzxeuFqGV xqPTnqg+/Bi10B4YIiqUqdenid2ZXxIJcYqIe1018rNpo+V5eNlriu/j2nF4r55+c9oas0rYQ bf6LLQ1N/F2X49IsSjGKi1dFDBj9p6wuwhrmN92UCg== Received-SPF: none client-ip=212.227.17.13; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé The TPM Physical Presence Interface is not target specific. Build this file once for all targets. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20221209170042.71169-4-philmd@linaro.org> [thuth: Drop the CONFIG_SOFTMMU statements, they are not needed here] Signed-off-by: Thomas Huth Reviewed-by: Richard Henderson Message-Id: <20230112134928.1026006-4-thuth@redhat.com> Signed-off-by: Laurent Vivier --- hw/tpm/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/tpm/meson.build b/hw/tpm/meson.build index 1c68d81d6ab2..7abc2d794a84 100644 --- a/hw/tpm/meson.build +++ b/hw/tpm/meson.build @@ -2,7 +2,7 @@ softmmu_ss.add(when: 'CONFIG_TPM_TIS', if_true: files('tpm_tis_common.c')) softmmu_ss.add(when: 'CONFIG_TPM_TIS_ISA', if_true: files('tpm_tis_isa.c')) softmmu_ss.add(when: 'CONFIG_TPM_TIS_SYSBUS', if_true: files('tpm_tis_sysbus.c')) softmmu_ss.add(when: 'CONFIG_TPM_CRB', if_true: files('tpm_crb.c')) +softmmu_ss.add(when: 'CONFIG_TPM_TIS', if_true: files('tpm_ppi.c')) +softmmu_ss.add(when: 'CONFIG_TPM_CRB', if_true: files('tpm_ppi.c')) -specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TPM_TIS'], if_true: files('tpm_ppi.c')) -specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TPM_CRB'], if_true: files('tpm_ppi.c')) specific_ss.add(when: 'CONFIG_TPM_SPAPR', if_true: files('tpm_spapr.c'))