From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id B2A9BD8118F for ; Thu, 1 Aug 2024 15:43:16 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=XwVDHaJ9tmJ+BG/NVixDIFOnHDk1DWQuvJdMhIs/T0w=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1722526996; v=1; b=hpKnYZhJc9q0ZjpQRY5MJcGjrA5G6rwz8u0WWEBbkKhR9D7NYialt2tAbCitRhYO8pBZg3ge UQGecn23suA8zH/ByorN+HY5HDXGe5UZ/qdzVSANbD7ssWgAy3oQPet1MKWlDGKRJ3kF9T9WyA7 OCcN1IGMR5bzpJ6/Ke9+1Sauz0/jqC6fClxV+8QBr8bvo6c3R4+u9NBi0tjKD8jMkdW6yUcuxUP 7Dg2GEIDIOgZ7IUFjMrmqZCpEjRJg88feuteu/fDSI1FKRm5Rsh8qBaAY2rU/IwWVFKBmMPMSOi kutoIvfp6p7OmgiHz78bCFXXclk67cARuZbgM3suGzJ9g== X-Received: by 127.0.0.2 with SMTP id 9V0pYY7687511xCiWTcyT9x6; Thu, 01 Aug 2024 08:43:15 -0700 X-Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.71753.1722526994603863694 for ; Thu, 01 Aug 2024 08:43:14 -0700 X-Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D16E9627D8 for ; Thu, 1 Aug 2024 15:43:13 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85143C4AF0D for ; Thu, 1 Aug 2024 15:43:13 +0000 (UTC) X-Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-52efc89dbedso8992789e87.3 for ; Thu, 01 Aug 2024 08:43:13 -0700 (PDT) X-Gm-Message-State: YVQbvTnjlCf7niu1ONst97mZx7686176AA= X-Google-Smtp-Source: AGHT+IEGnPhd9hpNhtN2+Q5iD86qNSYh+/Ap2Uxgty9DwjZnzkRA4ciWkHNzM+V7FwgXD2JKbE2K6qCL23H34ubvC8U= X-Received: by 2002:a05:6512:1588:b0:52f:154:661b with SMTP id 2adb3069b0e04-530bb36b7c1mr196627e87.11.1722526991880; Thu, 01 Aug 2024 08:43:11 -0700 (PDT) MIME-Version: 1.0 References: <20240731163334.6979-1-ardb@kernel.org> <841a1869-2cd4-4ba4-aea0-12b2f1b90d86@arm.com> <42ab5584-3887-45e4-b08e-d82c8cc822e0@arm.com> In-Reply-To: <42ab5584-3887-45e4-b08e-d82c8cc822e0@arm.com> From: "Ard Biesheuvel" Date: Thu, 1 Aug 2024 17:43:00 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [PATCH edk2-platforms 0/2] Switch all platforms to [Peiless]Sec To: devel@edk2.groups.io, jeremy.linton@arm.com Cc: Leif Lindholm , Abdul Lateef Attar , Abner Chang , Chuong Tran , Graeme Gregory , Marcin Juszkiewicz , Marcin Wojtas , Meenakshi Aggarwal , Narinder Dhillon , Nhi Pham , Paul Grimes , Rebecca Cran , Sami Mujawar , Thomas Abraham , Wenyi Xie , Ling Jia , Peng Xie , Yiqi Shu Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 01 Aug 2024 08:43:14 -0700 Resent-From: ardb@kernel.org Reply-To: devel@edk2.groups.io,ardb@kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=hpKnYZhJ; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=kernel.org (policy=none) On Thu, 1 Aug 2024 at 17:19, Jeremy Linton wrote: > > Hi, > > > On 8/1/24 09:44, Ard Biesheuvel wrote: > > On Thu, 1 Aug 2024 at 16:11, Ard Biesheuvel wrote: > >> > >> On Thu, 1 Aug 2024 at 15:49, Jeremy Linton wrote: > >>> > >>> Hi, > >>> > >>> On 7/31/24 11:33, Ard Biesheuvel wrote: > >>>> Switch all ARM platforms that use the SEC drivers in edk2/ArmPlatformPkg > >>>> to the new versions called Sec or PeilessSec - these have been cleaned > >>>> up and stripped of obsolete functionality related to multicore boot, > >>>> which is not something UEFI should concern itself with. > >>>> > >>>> This series can be merged once Tianocore/edk2 PR #5997 is merged first. > >>>> After that, ArmPlatformStackLib and the old PrePi / PrePeiCore drivers > >>>> can be retired. > >>> > >>> > >>> Hi, > >>> > >>> Thanks for cleaning this up, but the rpi4 fails with: > >>> > >>> Decompress GetInfo Failed - Invalid Parameter > >>> > >>> ASSERT_EFI_ERROR (Status = Not Found) > >>> ASSERT [PeilessSec] > >>> /home/jlinton/rpi2/edk2/ArmPlatformPkg/PeilessSec/PeilessSec.c(158): > >>> !(((INTN)(RETURN_STATUS)(Status)) < 0) > >>> > >> > >> Weird. I actually tried RPi4 myself. Maybe I should have tried a clean rebuild. > >> > >> I'll look into it. > > > > The below should fix it - I'll update all DSCs with this if it works > > for you as well. > > That fixes the problem above. Thanks! > > > > I just spent an hour hunting a sd stall heisenbug I've never seen before > too, which initially I thought might be related to the set from earlier > this week, but it seems doubtful since the controller stalled far to > late in the firmware boot for it to be related. Looks like it just > glitched out and stopped responding to commands, and I either got > impatient and power cycled it to soon, or the reset/recovery logic isn't > right, but I don't know since I killed it to quickly and now can't > reproduce it. > Haven't noticed this one myself. The only issue I hit once in a while (but only with DEBUG builds as far as I am aware) is an ASSERT() on some XhciDxe control register read (or perhaps a timeout?) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120188): https://edk2.groups.io/g/devel/message/120188 Mute This Topic: https://groups.io/mt/107649429/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-