From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bedivere.hansenpartnership.com (bedivere.hansenpartnership.com [96.44.175.130]) by mx.groups.io with SMTP id smtpd.web09.892.1649797203165318180 for ; Tue, 12 Apr 2022 14:00:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=e5T3pYyp; spf=pass (domain: hansenpartnership.com, ip: 96.44.175.130, mailfrom: james.bottomley@hansenpartnership.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1649797202; bh=Wus6BA65+u4JZiRUtdjJH4Udtm36V0RGrGsiDZ6oZoQ=; h=Message-ID:Subject:From:To:Date:From; b=e5T3pYypW8cfG3ImPnH7+JzeI2H4yP/a0P8hRHi3JgMLlwp4PY/pj6YBXfaUZ4zDX ZvFoMMnAlFkvRnu5Dkub+AXP53CgnHrm81SjS9dmh5J7eXPEQNB39D4EcLgr+MmXL4 8PR7uuCLagUZklLEFFW97YW0o84c0ORUO6R80dNc= Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 1513D1288BC2; Tue, 12 Apr 2022 17:00:02 -0400 (EDT) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fgj-Kj-qpSJu; Tue, 12 Apr 2022 17:00:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1649797201; bh=Wus6BA65+u4JZiRUtdjJH4Udtm36V0RGrGsiDZ6oZoQ=; h=Message-ID:Subject:From:To:Date:From; b=iIi5fMt1YOqYicOrlm0XP/Yn1HvH3N3n85WhsJIitVkbKqw18YUBP2sRJlolz5Peb f2GBzqSMQ/PWhbhTqnWkGvwoe+Di9XH2r0dsx5EGOKDYJkdqmaM8uEHRMdfLUi0pK0 CRbIkXil4f+pTXpVy1ruacOitgxbI8DBv7fDfAsw= Received: from lingrow.int.hansenpartnership.com (unknown [IPv6:2601:5c4:4300:c551::c14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 7F2771288BB2; Tue, 12 Apr 2022 17:00:01 -0400 (EDT) Message-ID: <4773afb1ecb4d3d893b1c0e38de2f4c19694089c.camel@HansenPartnership.com> Subject: TDX patches have broken edk2 bisectability in OVMF From: "James Bottomley" To: Min Xu , Jiewen Yao Cc: Gerd Hoffmann , devel@edk2.groups.io Date: Tue, 12 Apr 2022 17:00:00 -0400 User-Agent: Evolution 3.34.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit I've identified a serious performance regression in recent edk2, so I've been trying to identify it by bisection, but it seems that the TDX patches have broken bisection in edk2. You can see this by trying to checkout b6b2de884864 and build it. It will give you Active Platform = /home/jejb/git/edk2/OvmfPkg/OvmfPkgX64.dsc . build.py... /home/jejb/git/edk2/OvmfPkg/OvmfPkgX64.dsc(...): error 4000: Instance of library class [TdxLib] is not found in [/home/jejb/git/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf] [X64] consumed by module [/home/jejb/git/edk2/OvmfPkg/Sec/SecMain.inf] I think I can work around this, but it makes bisection extremely painful, please don't do it again ... James