From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mx.groups.io with SMTP id smtpd.web10.1153.1647983684474529656 for ; Tue, 22 Mar 2022 14:14:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=n8lwT3IU; spf=pass (domain: gmail.com, ip: 209.85.208.177, mailfrom: benjamin.doron00@gmail.com) Received: by mail-lj1-f177.google.com with SMTP id h11so25709723ljb.2 for ; Tue, 22 Mar 2022 14:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=hrbdF4o8ReZCzmmmDGTvxTGFhRYThc6jSkbsiHX5g98=; b=n8lwT3IUCHm9KaybWOKZF+3a74fQpvIMBbTOYH15irXHCE3Ex4Z1G7FjwDKvr79AEk uI8ufATVAhB+07iQ5w/e0AVWECZ1J8TuPuGpRIccZ9DOI19/5LwqRyJYTIWewUxp2m3T khZa7cREDDF4/14CI2o85iMyxigcB7Jz8WdBXpxPHutItVhkwoiJYZGsuoFs/dzem82O K3ZX0k4V+mxgSKhljZVE8yH9TxfxKQSZGYqNNOVjwkI0SmMQetJtoNA3QhnKi6NlKlwc 4VzT4zn0ibWIZt7H2U32y0DfJxs6hjmdKwI1CKVNluPn50gezEyCyY8zqCD96t90TJP4 PBng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=hrbdF4o8ReZCzmmmDGTvxTGFhRYThc6jSkbsiHX5g98=; b=0bsDmn7d3p73nGO+lcdf4fePOM+z8MEujfiw6qNrh+hZZdmYk1lSsHzfA8eV7RvbCT LlWKuM7evVTRhL+bevWqYXUbAH7kgUD38oFmgdfICxpfb5KZg4Svtt9E2IPi3xzcB069 HT9CupSytGaMSvA2QWxsL5/mvXGdwwgcZmTy9+PtKoGej/rpVpThHbVEj1FbMzNskEe4 QzUZDV99lali+6LNUS8Uiwd/CXIZllzc+pWTtpasKQy/B6JqBElOGo199HyS44kM9QN4 rZtTYvO1cIgojzcLqgTJ7SzPfKF43puxEzoixvmdVU3SB80sQ746VRIGbFWinX4JaEiq rfGw== X-Gm-Message-State: AOAM5333CmEHNprtllm0gbcP/KiZpPmOfkhGkq0qgZOTXoAMQhrdBLAj wpiI9sg3R8AwnKJroI6mqr2rcbyIyPhZh75PCz8MCt010i0= X-Google-Smtp-Source: ABdhPJwdos2hTPxGFYjmSaw8VUzogm7OeMPUUmtkvNciJIMukJr9VUx1E7+NKq+Pj9dRh3kKuKT8ooRoHF45qQBZH1M= X-Received: by 2002:a2e:83d0:0:b0:249:7c9c:ae39 with SMTP id s16-20020a2e83d0000000b002497c9cae39mr11976083ljh.323.1647983682186; Tue, 22 Mar 2022 14:14:42 -0700 (PDT) MIME-Version: 1.0 From: "Benjamin Doron" Date: Tue, 22 Mar 2022 17:14:31 -0400 Message-ID: Subject: GSoC 2022: Add S3 resume support to MinPlatform To: devel@edk2.groups.io Cc: "Desimone, Nathaniel L" , Michael Kubacki Content-Type: multipart/alternative; boundary="000000000000f8f0fa05dad519b8" --000000000000f8f0fa05dad519b8 Content-Type: text/plain; charset="UTF-8" Hi all, I'm Benjamin Doron. Last year, I worked on a board port to MinPlatform. This year, I hope to pick up where I left off and help improve MinPlatform by adding support for S3 resume (time permitting and if my skills are sufficient, etc). Previously, I worked a little on coreboot (mainly a board port), and a fork with some improvements for UefiPayloadPkg. I'm a little apprehensive reading the task proposal, but I really don't think that I would have to design the S3 architecture; the easiest part is adding the module stack. It's some of the deviations from the regular boot-flow in related areas like memory and CPU init (complicated by preparing the data structures and the adjacent FSP) that I have to worry about, as I understand (which I began looking at last year and discussed with Nate and Michael). Before, code analysis gave me some hints and I found issues to address, but I want to consider actual possibilities for debugging. I've looked at the S3 boot-flow and from early PEI to the S3Resume2 PPI, the boot script and SMM, there are a lot of things to verify. Analysing code at each step to resolve issues might take a while. Some ideas I had: - Realistically, the SPI flash console or an accessible serial port. - Simics, or other simulator/emulator: Would be helpful, if the architecture of SimicsOpenBoardPkg weren't so different from MinPlatform. - System debug with DCI: Would be great, but my laptop has disconnected CPU<->PCH JTAG pins. Fixing this would presumably be very risky. (I now also have a Tigerlake system, where DCI might work, but I haven't tried and I don't have a port yet.) I should mention that I'll almost certainly be taking at least one course, but no more than two. Looking forward to working with you all! Best regards, Benjamin --000000000000f8f0fa05dad519b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,
I'm Benjamin Doron. Last year, = I worked on a board port to MinPlatform. This year, I hope to pick up where= I left off and help improve MinPlatform by adding support for S3 resume (t= ime permitting and if my skills are sufficient, etc). Previously, I worked = a little on coreboot (mainly a board port), and a fork with some improvemen= ts for UefiPayloadPkg.

I'm a little appreh= ensive reading the task proposal, but I really don't think that I would= have to design the S3 architecture; the easiest part is adding the module = stack. It's some of the deviations from the regular boot-flow in relate= d areas like memory and CPU init (complicated by preparing the data structu= res and the adjacent FSP) that I have to worry about, as I understand (whic= h I began looking at last year and discussed with Nate and Michael).
<= div>
Before, code analysis gave me some hints and I found iss= ues to address, but I want to consider actual possibilities for debugging. = I've looked at the S3 boot-flow and from early PEI to the S3Resume2 PPI= , the boot script and SMM, there are a lot of things to verify. Analysing c= ode at each step to resolve issues might take a while. Some ideas I had:
  • Realistically, the SPI flash console or an accessible seria= l port.
  • Simics, or other simulator/emulator: Would be helpful, = if the architecture of SimicsOpenBoardPkg weren't so different from Min= Platform.
  • System debug with DCI: Would be great, but my laptop has = disconnected CPU<->PCH JTAG pins. Fixing this would presumably be ver= y risky. (I now also have a Tigerlake system, where DCI might work, but I h= aven't tried and I don't have a port yet.)
I sh= ould mention that I'll almost certainly be taking at least one course, = but no more than two.

Looking forward to work= ing with you all!

Best regards,
Benjamin
--000000000000f8f0fa05dad519b8--