From owner-freebsd-current@freebsd.org Wed Mar 28 19:23:26 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 397B1F70D4B for ; Wed, 28 Mar 2018 19:23:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA0FC7EC9D for ; Wed, 28 Mar 2018 19:23:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x232.google.com with SMTP id d7so4822908ioc.11 for ; Wed, 28 Mar 2018 12:23:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=StDL28XsFMYr8/J8x0CnRa3zvpR9HoGorqG5hwrOLoU=; b=dZE/vSQbmNYa8L82+0S0bY8a1UKXty9HnLKs7ffp5Yrrc1ntKJAo3I0gNopZ/w83GM zaCvo2N+mqwCm9gEirwRDoStoPRzpDVwGdVedLlY/p11VtEH/Uy6yTUwOIB0IbXWKJR6 mZa+7eeVFtojarXL0VENyMz9xhXgNDH5XUJcD21hPtek8iEXiBJPU7iLvz+98jO45BPb RPPTN625Mz8eMJEE+OKMZLsmXNM6ND4/r2rfhxcM0y4inZem1R171O4L8SnNYs4kNVjA kXa2kQNBQMo2dHqLu0tYqIneM8NH6uh/3eSyyFB3oCZYRBEFLD8oJThSetQW4lNgy2Wv STGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=StDL28XsFMYr8/J8x0CnRa3zvpR9HoGorqG5hwrOLoU=; b=kflsf+dHT4uLdlNJ9y+M5gO0mnh2cy1igIim6e/aNrGTs+aftTkt0bF5rEdMo5X3um nBKzeA1xckbsxFIcJxVAgk3i/NGSuWIDtXtxA/wbizAbXlTatwz7RJuwNI8Cm/gZQRJy gnHok05LMvQfI9N4qmLoVDc6+V6NKbg01EYVMOlo80HLWAqOS9W8+VIv20GuZ2Q4sdfs zWDfgQW6tfM+yyoxM/WtEq6mLz/MmZ5AtOeWsC3kvw6x5f7QlIEZ3CXzbrZfIpGUongx XM46T/dFJF9jimVuk83CS38wiWCSuh3SC6MS+h7Uufsm5KOcR9GKJFG/ZwLZxUzgZP7S n+Bg== X-Gm-Message-State: AElRT7EBhtgoUwwymzByHaTPYzL5ZT8uTL/CCMNUDZ6XkhCxbOdaXN+f g8inGCwpsUWp1L8EVid7BjzB8y7YWm/wmikI8zJt4A== X-Google-Smtp-Source: AG47ELvOdBYs/G3zW1zCN/lbNXivMgpRrSglo1vZVNobAiDENG+JRXFDwKeqRe8dXMkN0e+WgpkGM5Pc9xHU/vPkGmk= X-Received: by 10.107.162.146 with SMTP id l140mr44315112ioe.39.1522265004488; Wed, 28 Mar 2018 12:23:24 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.203.196 with HTTP; Wed, 28 Mar 2018 12:23:23 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:811:70b8:3eb8:9dfe] Received: by 10.79.203.196 with HTTP; Wed, 28 Mar 2018 12:23:23 -0700 (PDT) In-Reply-To: References: <0e75a2ba-9a59-8301-a678-68a822025bd6@metricspace.net> <9df63df2-9d61-4106-f360-347411869b41@metricspace.net> From: Warner Losh Date: Wed, 28 Mar 2018 12:23:23 -0700 X-Google-Sender-Auth: m2boyXrSxNiQ4ZFUUtzZMNwQKQM Message-ID: Subject: Re: GELI with UEFI supporting Boot Environments goes to HEAD when? To: Tommi Pernila Cc: Eric McCorkle , "[ScaleEngine] Allan Jude" , freebsd-current , imp@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2018 19:23:26 -0000 It's on my list for nexr, finally. I have an alternate patch for loader.efi from ESP, but i don't think it will affect the GELI stuff. I have some time slotted for integration issues though. I am quite mindful of the freeze dates.... I have some uefi boot loader protocol changes that I need to get in. Warner On Feb 21, 2018 11:18 PM, "Tommi Pernila" wrote: > Awesome, thanks for the update and the work that you have done! > > Now we just need some more reviewers eyes on the code :) > > Br, > > Tommi > > On Thu, 22 Feb 2018 at 2.03, Eric McCorkle wrote: > >> FYI, I just IFC'ed everything, and the current patches are still fine. >> >> Also, the full GELI + standalone loader has been deployed on one of my >> laptops for some time now. >> >> On 02/21/2018 18:15, Eric McCorkle wrote: >> > The GELI work could be merged at this point, though it won't be usable >> > without an additional patch to enable loader-only operation. The >> > patches are currently up for review: >> > >> > This is the order in which they'd need to be merged: >> > >> > >> > https://reviews.freebsd.org/D12732 >> > >> > This one changes the efipart device. Toomas Soome identified some >> > problems, which I have addressed. He has not re-reviewed it, however. >> > >> > >> > https://reviews.freebsd.org/D12692 >> > >> > This adds some crypto code needed for GELI. It simply adds new code, >> > and doesn't conflict with anything. >> > >> > >> > https://reviews.freebsd.org/D12698 >> > >> > This adds the EFI KMS interface code, and has the EFI loader pass keys >> > into the keybuf interface. >> > >> > >> > I can't post the main GELI driver until those get merged, as it depends >> > on them. It can be found on the geli branch on my github freebsd >> > repository, however. >> > >> > >> > Additionally, you need this patch, which allows loader.efi to function >> > when installed directly to the ESP: >> > >> > https://reviews.freebsd.org/D13497 >> > >> > On 02/20/2018 22:56, Tommi Pernila wrote: >> >> Hi Eric, >> >> >> >> could you provide a brief update how the work is going? >> >> >> >> >> >> Br, >> >> >> >> Tommi >> >> >> >> >> >> On Nov 16, 2017 04:29, "Eric McCorkle" > >> > wrote: >> >> >> >> Right, so basically, the remaining GELI patches are against >> loader, and >> >> most of them can go in independently of the work on removing boot1. >> >> There's a unanimous consensus on getting rid of boot1 which >> includes its >> >> original author, so that's going to happen. >> >> >> >> >> >> For GELI, we have the following (not necessarily in order): >> >> >> >> a) Adding the KMS interfaces, pseudo-device, and kernel keybuf >> >> interactions >> >> b) Modifications to the efipart driver >> >> c) boot crypto >> >> d) GELI partition types (not strictly necessary) >> >> >> >> Then there's the GELI driver itself. (a) and (c) are good to >> land, (b) >> >> needs some more work after Toomas Soome pointed out a legitimate >> >> problem, and (d) actually needs a good bit more code (but again, >> it's >> >> more cosmetic). Additionally, the GELI driver will need further >> mods to >> >> efipart to be written (nothing too big). But we could go ahead >> with (a) >> >> and (c), as they've already been proven to work. >> >> >> >> I'd wanted to have this stuff shaped up sooner, but I'm >> preoccupied with >> >> the 7th RISC-V workshop at the end of the month. >> >> >> >> Once this stuff is all in, loader should handle any GELI volumes it >> >> finds, and it should Just Work once boot1 is gone. >> >> >> >> >> > _______________________________________________ >> > freebsd-current@freebsd.org mailing list >> > https://lists.freebsd.org/mailman/listinfo/freebsd-current >> > To unsubscribe, send any mail to "freebsd-current-unsubscribe@ >> freebsd.org" >> > >> >