From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7261955842613706752 X-Received: by 2002:a05:6512:39c5:b0:4fd:d481:ff35 with SMTP id k5-20020a05651239c500b004fdd481ff35mr4055688lfu.42.1690949487550; Tue, 01 Aug 2023 21:11:27 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac2:4db0:0:b0:4fb:a37b:86ac with SMTP id h16-20020ac24db0000000b004fba37b86acls400518lfe.2.-pod-prod-03-eu; Tue, 01 Aug 2023 21:11:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlE+7/OGWXkjzv+vkvpRxwm9bfYXq0FUyGDNe34uT7blBYzLOpwEk471w0eOHNV8RqtWCsIo X-Received: by 2002:a05:6512:29a:b0:4fd:d044:cb5b with SMTP id j26-20020a056512029a00b004fdd044cb5bmr3190115lfp.55.1690949484697; Tue, 01 Aug 2023 21:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690949484; cv=none; d=google.com; s=arc-20160816; b=bIbh+C1mOmvQMaw8ejsdCra+YQeGYqSB+eKPAFokt5RtpRqSl+ZRjZRGvqZBFOwGA2 9tZepTJlZ3LznnqTiDib3h217hMMqWUTelH/LdmoLaV9zpRVGst7yHVK8IgpgrNHaCyC TBRWQ09YITCWbGqeLKxGoNLXeZqBwFJDB/v1gLll6rgdltIsLxt8cFhNPT7tJ+EgXK1F 4TteAUjap5xo469TISj8oBw7uM0UVnofsqYWMx3mxUhFUhtAXqdPnObNMWK7f0I1Zvaa swavpNfPswHn5N1u01W/8GbCDBU+dGbXyTOYzCEW6etuHDbD5GkgVFr5ZVzRCVIrtpsZ 7H/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=8My8e9JpkQrnDZ2XwvIiJsNziOEPfPkjs4h72RtHgT4=; fh=OQZtUrmaTy0FYJf38vZoAGttjWaHQNVfuniDPeQuYsA=; b=jDJBWtY1naFgK3ma21CxAokyhwLaGtWx/HwmpE3WPiR2YQoxHb8jEl9x9QoutBpyMC 0hcL+5wblrXfMkYgz73g7NXPiJV2i0+b50o1jX+5wpCTtLMIkWpJaFSdthLscX57jQRT S5tgDlWs51sh9596Q21cpO+PKWP1wB/XTp7gQ6+MFsCEcAcmfZ3s3qQQjDl8H5wwjXZH WqBIltO0ChWCnOoCGLhzhhf0L9EyeNiqyZmVQdxHedgT5sJxfGS89+C8pEc18A8Kezak HOBzK+zf7R3pahKDj41H6RKX4xFhQBOAWhL11ltP2yH6n+rUYX014y1U/BE6ukWKMzc2 XYQg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id q5-20020a056512210500b004fbdf1f6dcasi830424lfr.4.2023.08.01.21.11.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Aug 2023 21:11:24 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from [IPv6:::1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 3724BMiD024510 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 2 Aug 2023 06:11:23 +0200 Message-ID: Subject: Re: [PATCH v4 00/11] Fixes, cleanups and updates for OP-TEE and TAs From: Uladzimir Bely To: isar-users@googlegroups.com, Jan Kiszka Date: Wed, 02 Aug 2023 07:11:24 +0300 In-Reply-To: <20230731121729.16972-1-ubely@ilbers.de> References: <20230731121729.16972-1-ubely@ilbers.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: Hnl8QbtOj1D5 On Mon, 2023-07-31 at 14:17 +0200, Uladzimir Bely wrote: > This summarizes and partially updates previously sent patches to fix > and > improve the recently merged OP-TEE changes. Labeling starts with v3 > as > some patches were already sent out in v2. >=20 > Improvements over the individual patches: > =C2=A0- update for WolfSSL in fTPM recipe > =C2=A0- better unbinding of fTPM on tee-supplicant shutdown >=20 > Patch 11 might still have no effect and needs confirmation via larger > CI > builds. >=20 > Jan >=20 > Changes since v3: > - Rework patch 4 in order to prevent conflicting parallel build of > linux-mainline for stm32mp15x and non-stm32mp15x machines for the > same distro and architecture. > - Replaced patch 11 with new one that guarantees `tpm` and `wolf` > symlinks creating before compilation source files. By default TA > devkit > runs them in parallel and it sometimes results in race condition and > build error. >=20 > Jan Kiszka (11): > =C2=A0 optee-client: Add missing runtime dependency > =C2=A0 optee-client: Unbind ftpm, rather than remove its driver > =C2=A0 optee-examples-stm32mp15x: Fix parsing error for non-stm32mp15x > =C2=A0=C2=A0=C2=A0 machines > =C2=A0 linux-mainline: Add fTPM support > =C2=A0 initramfs-tee-{ftpm,supplicant}-hook: Move sync loop to ftpm-hook > =C2=A0 initramfs-tee-supplicant-hook: Account for modular optee > =C2=A0 initramfs-tee-ftpm-hook: Lift timeout to 30 s > =C2=A0 Drop stm32mp15x-initramfs in favor of image enabling > =C2=A0 optee-ftpm-stm32mp15x: Recipe cleanups > =C2=A0 optee-ftpm-stm32mp15x: Update WolfSSL to 5.6.3 > =C2=A0 optee-ftpm-stm32mp15x: Add patch to fix parallel build issues >=20 > =C2=A0meta-isar/conf/machine/stm32mp15x.conf=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 |=C2=A0 2 + > =C2=A0.../optee-examples-stm32mp15x_3.21.0.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 |=C2=A0 2 +- > =C2=A0.../0001-Fix-parallel-build-of-optee_ta.patch | 59 > +++++++++++++++++++ > =C2=A0.../optee-ftpm-stm32mp15x_0~230316+git.bb=C2=A0=C2=A0=C2=A0=C2=A0 |= 11 ++-- > =C2=A0.../images/stm32mp15x-initramfs.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 15 ----- > =C2=A0.../linux/files/ftpm-module.cfg=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 3 + > =C2=A0.../linux/linux-mainline_5.4.203.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 1 + > =C2=A0.../optee-client/files/debian/control.tmpl=C2=A0=C2=A0=C2=A0 |=C2= =A0 2 +- > =C2=A0.../files/debian/tee-supplicant.service=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 |=C2=A0 2 +- > =C2=A0.../files/tee-ftpm.script=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 |=C2=A0 9 +++ > =C2=A0.../files/tee-supplicant.script=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 9 +-- > =C2=A0testsuite/citest.py=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 1 - > =C2=A012 files changed, 82 insertions(+), 34 deletions(-) > =C2=A0create mode 100644 meta-isar/recipes-bsp/optee-ftpm/files/0001-Fix- > parallel-build-of-optee_ta.patch > =C2=A0delete mode 100644 meta-isar/recipes-initramfs/images/stm32mp15x- > initramfs.bb > =C2=A0create mode 100644 meta-isar/recipes-kernel/linux/files/ftpm- > module.cfg >=20 > --=20 > 2.20.1 >=20 Applied to next, thanks.