From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7257586578133876736 X-Received: by 2002:a5d:5141:0:b0:314:1f0:5846 with SMTP id u1-20020a5d5141000000b0031401f05846mr3749021wrt.19.1690360322236; Wed, 26 Jul 2023 01:32:02 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6000:1092:b0:312:831e:b4c2 with SMTP id y18-20020a056000109200b00312831eb4c2ls1702556wrw.2.-pod-prod-03-eu; Wed, 26 Jul 2023 01:32:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlFZM1O40+4Rx0svt8vBz8gFKNK+30B4DiYJPUgBTPxMRntNSReHKn6Tkr6NF6mt6mGvBMxm X-Received: by 2002:a5d:6407:0:b0:317:74bb:82ff with SMTP id z7-20020a5d6407000000b0031774bb82ffmr900853wru.7.1690360319914; Wed, 26 Jul 2023 01:31:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690360319; cv=none; d=google.com; s=arc-20160816; b=OsgZgnKzIt4X1mmT8F3rrjKj4WD36c8JnSibFpxqRW34JAQFJoiC8pVDhSp2Ckgc3R GzS0NF2bp/thj8u0D3PdFzXV3qE7jf6CnlFbYjOuZGxki+CmLIzycsbfSDRUUKugOoDg Vz/67/zYpEb7BPqiO+783udmCqovCaodrKe0gIokBcOJC4zsPCyicjoxxcFr0Ge+hpkH xjWhf4ySO+m7rQmPkVjn632nQffTAAuSRbBPaQrXHUBHCm4pqc8do3CtMqdLjpn8I92X rKcoRykjzu6Jstdri1F5Y+a5BsMNCzS0uGT+T+1ovngMybXIL6FeaBSvCTnLutAuw8ql XGSA== 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=sQgPxtLca8IIhlf7sESNrcqRlkI/6MKwvJccswU4b4o=; fh=2bTUopgBKmEw36QWN2Tr4nystpnda9lxuoNiIayCmr4=; b=OEn3kkcmORyPHzMaQVrAHvHjAFRh8Ma86I37Z707mhGNIjz1iSfwqR3vdzBCq7m3vw 5i/dJAzT8fgccT0cykAS24FcBG9Jkltn+Eivz9Ui/AuujNVOaRDAB4dnDajzqh7whP9S W9d1LkrjxT8AMxznrUIoKQquHDR76uYN1hihVeFpL6iTwwBzy8lbAEI3auSy/cToMN9M sPTzDZ8Ox0ZL93oA5jrDFulu/++YC78v+ldDHqHsb1xsxp+4NsY2qd5kEsImDY/aQUuo fVAC0hA8Uf7XlQOnq9/T2lp6JDhvtm9Sx+Upj2gWVTCT0A9x2a9dm4lE/NmFanILY0xj MfIw== 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 ba24-20020a0560001c1800b003175f1db19bsi443755wrb.6.2023.07.26.01.31.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Jul 2023 01:31:59 -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 36Q8Vvsu021674 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Jul 2023 10:31:58 +0200 Message-ID: <5ae9c7e257fce7443ee786d68f6ea51e570a61a4.camel@ilbers.de> Subject: Re: [PATCH v3 04/11] linux-mainline: Add fTPM support From: Uladzimir Bely To: Jan Kiszka , isar-users Date: Wed, 26 Jul 2023 11:31:58 +0300 In-Reply-To: References: <241b689507a6e8933d2d92046f5cbda6d125b3ec.1689872892.git.jan.kiszka@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.3 (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: CxrCfJzvRi/Q On Tue, 2023-07-25 at 16:43 +0300, Uladzimir Bely wrote: > On Thu, 2023-07-20 at 19:08 +0200, 'Jan Kiszka' via isar-users wrote: > > From: Jan Kiszka > >=20 > > Needed for the stm32mp15x demo of fTPM. > >=20 > > Signed-off-by: Jan Kiszka > > --- > > =C2=A0meta-isar/recipes-kernel/linux/files/ftpm-module.cfg=C2=A0=C2=A0= =C2=A0=C2=A0 | 3 +++ > > =C2=A0meta-isar/recipes-kernel/linux/linux-mainline_5.4.203.bb | 2 ++ > > =C2=A02 files changed, 5 insertions(+) > > =C2=A0create mode 100644 meta-isar/recipes-kernel/linux/files/ftpm- > > module.cfg > >=20 > > diff --git a/meta-isar/recipes-kernel/linux/files/ftpm-module.cfg > > b/meta-isar/recipes-kernel/linux/files/ftpm-module.cfg > > new file mode 100644 > > index 00000000..f47620bc > > --- /dev/null > > +++ b/meta-isar/recipes-kernel/linux/files/ftpm-module.cfg > > @@ -0,0 +1,3 @@ > > +CONFIG_TEE=3Dm > > +CONFIG_OPTEE=3Dm > > +CONFIG_TCG_FTPM_TEE=3Dm > > diff --git a/meta-isar/recipes-kernel/linux/linux- > > mainline_5.4.203.bb > > b/meta-isar/recipes-kernel/linux/linux-mainline_5.4.203.bb > > index 76f73f02..27ebf131 100644 > > --- a/meta-isar/recipes-kernel/linux/linux-mainline_5.4.203.bb > > +++ b/meta-isar/recipes-kernel/linux/linux-mainline_5.4.203.bb > > @@ -14,6 +14,8 @@ SRC_URI +=3D " \ > > =C2=A0=C2=A0=C2=A0=C2=A0 file://x86_64_defconfig=C2=A0\ > > =C2=A0=C2=A0=C2=A0=C2=A0 file://no-ubifs-fs.cfg=C2=A0\ > > =C2=A0=C2=A0=C2=A0=C2=A0 file://no-root-nfs.cfg;apply=3Dno" > > +SRC_URI:append:stm32mp15x =3D " \ > > +=C2=A0=C2=A0=C2=A0 file://ftpm-module.cfg" > > =C2=A0 > > =C2=A0SRC_URI[sha256sum] =3D > > "fc933f5b13066cfa54aacb5e86747a167bad1d8d23972e4a03ab5ee36c29798a" > > =C2=A0 > > --=20 > > 2.35.3 > >=20 >=20 > This patch seems to make CI fail at "CrossTest.test_cross" build. >=20 > In this test we build in parallel two "armhf" targets that both use > "mainline" kernel - stm32mp15x-bullseye and de0-nano-soc-bullseye. >=20 > Due to the same distro/kernel/arch they are both build in parallel in > the same workdir (build/tmp/work/debian-bullseye-armhf/linux- > mainline/5.4.203-r0) but due to "append:stm32mp15x" they should use > different kernel config. This causes two parallel confliction builds > and results in some weird error: >=20 > ``` > cat: /workspace/build/isar_ub_devel_fast/469/build/tmp/work/debian- > bullseye-armhf/linux-mainline/5.4.203-r0/rootfs/dpkg_partial.log: No > such file or directory > ``` >=20 > By the way, NoCrossTest.test_nocross doesn't fail since it doesn't > build another bullseye/armhf linux-mainline in parallel with one for > stm32mp15x. >=20 There are two possible ways to fix the issue: 1. use "ftpm-module" config fragment not only for stm32mp15x (either globally, either only for armhf targets) 2. split "linux-mainline" build We would actually prefer way [1] since it doesn't increase build time in CI. Some additional modules should not be a problem even if they are not really used/required. I'm going to make a local fix (e.g., use ftpm fragment for all targets) and to check if it works.