Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2799719imu; Sun, 27 Jan 2019 13:30:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN7BJGwmf/zGhY+Ny/uUdNRNULcj19wWUrEOR3SKAuEQTVro8B/FBKbvkH6tqM2iaPe0DeYD X-Received: by 2002:a63:e5c:: with SMTP id 28mr16333527pgo.369.1548624618423; Sun, 27 Jan 2019 13:30:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548624618; cv=none; d=google.com; s=arc-20160816; b=YxjPWGmR2ucSYk6e9nRj2/X0IexeaYiVbND58FqhUuTD6otPNJeBm9NW06EVSkW+Pu r9N+Y+qWyVCWGvXdaN8SASV4pUGNojr5n+r0fPgh0aXedU8kmd6tnRjEzTD0oyhJaX5j M6M/AinFIsIHrR8OBNNMvwe3tC03wFlKILvRMnLhrwFshQxFwbIMeGj5qP76GGhEcT6P F1Eg5PCyGlx3aNMlk5NTXJptTWamTdVQZgsTPKdJFto79lEX0PZI8MfXPudAhhMX5zqO GHRcVBDWn9LwhaCYNELSWpnVv1jWHz40cGJWyP6hUEGRhEXvCujBjJLCphwJjRPiZKi2 Iiyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:cc:to:from :date; bh=SSaL1nOQruqfIg0tjyfWukbEzFAuYWROSuq4TidusT8=; b=CiYIp3ko0M7/SK8YKAM1eBBTo0o231yFiLMQLq5ieZweHINCveDuvQXDb2V273VRQ9 11bJ/16fK++jlu1U2fQMWWFmrzUesRdEEx309cXplwd71kJ7d9XMQjxuqf4rCBwz79/6 I4fAj07Bi3lYNYc442B8HbrRGQw4bJpmIEPgPgOu6qh2S19cNKA8GYFNPGrV8j2uvkM+ 3zJKEna5BSEXAgqNm/MjRmilu/61Y5w1Q3svw8RZQYSlZ3KU7X68Ibrb7oXl3Rd9zTVk jO1UbOB8ZECaAFJYxS96aj5P2Pa0F70dzi8GWecMcYqfvBX4YGz0z91o60wwBR/Pzk0A 9yYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 90si32106605plb.17.2019.01.27.13.29.52; Sun, 27 Jan 2019 13:30:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727318AbfA0VPA (ORCPT + 99 others); Sun, 27 Jan 2019 16:15:00 -0500 Received: from bout01.mta.xmission.com ([166.70.11.15]:40669 "EHLO bout01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726302AbfA0VPA (ORCPT ); Sun, 27 Jan 2019 16:15:00 -0500 Received: from mx04.mta.xmission.com ([166.70.13.214]) by bout01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1gnrla-00028C-Ho; Sun, 27 Jan 2019 14:14:58 -0700 Received: from plesk14-shared.xmission.com ([166.70.198.161] helo=plesk14.xmission.com) by mx04.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1gnrla-0004vP-00; Sun, 27 Jan 2019 14:14:58 -0700 Received: from hacktheplanet (c-68-50-23-202.hsd1.in.comcast.net [68.50.23.202]) by plesk14.xmission.com (Postfix) with ESMTPSA id 2CC24217FD9; Sun, 27 Jan 2019 21:14:57 +0000 (UTC) Date: Sun, 27 Jan 2019 16:14:49 -0500 From: Scott Bauer To: David Kozub Cc: Jens Axboe , Jonathan Derrick , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Jonas Rabenstein Message-ID: <20190127211449.GP21149@hacktheplanet> References: <1548196307-12987-1-git-send-email-zub@linux.fjfi.cvut.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1548196307-12987-1-git-send-email-zub@linux.fjfi.cvut.cz> User-Agent: Mutt/1.9.4 (2018-02-28) X-XM-SPF: eid=1gnrla-0004vP-00;;;mid=<20190127211449.GP21149@hacktheplanet>;;;hst=mx04.mta.xmission.com;;;ip=166.70.198.161;;;frm=sbauer@plzdonthack.me;;;spf=none X-SA-Exim-Connect-IP: 166.70.198.161 X-SA-Exim-Mail-From: sbauer@plzdonthack.me X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa04.xmission.com X-Spam-Level: * X-Spam-Status: No, score=1.0 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,T_TM2_M_HEADER_IN_MSG,T_TooManySym_01,XMSubLong, XM_UncommonTLD01 autolearn=disabled version=3.4.2 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4514] * 0.7 XMSubLong Long Subject * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa04 1397; Body=1 Fuz1=1 Fuz2=1] * 0.5 XM_UncommonTLD01 Less-common TLD * 0.0 T_TooManySym_01 4+ unique symbols in subject X-Spam-DCC: XMission; sa04 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: *;David Kozub X-Spam-Relay-Country: X-Spam-Timing: total 314 ms - load_scoreonly_sql: 0.06 (0.0%), signal_user_changed: 3.9 (1.2%), b_tie_ro: 2.7 (0.9%), parse: 1.45 (0.5%), extract_message_metadata: 6 (2.0%), get_uri_detail_list: 2.2 (0.7%), tests_pri_-1000: 5.0 (1.6%), tests_pri_-950: 2.2 (0.7%), tests_pri_-900: 1.80 (0.6%), tests_pri_-90: 29 (9.1%), check_bayes: 26 (8.3%), b_tokenize: 10 (3.2%), b_tok_get_all: 7 (2.3%), b_comp_prob: 3.4 (1.1%), b_tok_touch_all: 2.9 (0.9%), b_finish: 0.80 (0.3%), tests_pri_0: 245 (78.1%), check_dkim_signature: 0.66 (0.2%), check_dkim_adsp: 8 (2.7%), poll_dns_idle: 0.79 (0.3%), tests_pri_10: 4.5 (1.4%), tests_pri_500: 11 (3.6%), rewrite_mail: 0.00 (0.0%) Subject: Re: [PATCH v3 00/16] block: sed-opal: support shadow MBR done flag and write X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on mx04.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 22, 2019 at 11:31:31PM +0100, David Kozub wrote: > This patch series extends OPAL support: it adds IOCTL for setting the shadow > MBR done flag which can be useful for unlocking an OPAL disk on boot and it adds > IOCTL for writing to the shadow MBR. Also included are some minor fixes and > improvements. > > This series is based on the original work done by Jonas Rabenstein which was > submitted in March 2018.[1] I tried to apply suggestions made in review on the > list and do some further improvements. > > The most contentious issue in the original series was the IOCTL for shadow MBR > write but I think no better approach was found[2] so this was not changed. I'm > open to suggestions. > > There is a fork of sed-opal-temp that can use these new IOCTLs.[3] I tested > these on Samsung 840 EVO and 850 EVO drives, on x86-64 and arm64 systems. > > The series applies on v5.0-rc3. > > Changes from v2 to v3: > * review suggestions from Scott Bauer > > As Scott suggested I tried to do a more thorough testing, esp. with things like > wrong passwords/invalid values. I did not observe any crash or unexpected > behavior. > > David Kozub (8): > block: sed-opal: fix typos and formatting > block: sed-opal: close parameter list in cmd_finalize > block: sed-opal: unify cmd start > block: sed-opal: unify error handling of responses > block: sed-opal: reuse response_get_token to decrease code duplication > block: sed-opal: pass steps via argument rather than via opal_dev > block: sed-opal: don't repeat opal_discovery0 in each steps array > block: sed-opal: rename next to execute_steps > You forgot to send 16/16 again in v3. I pulled and tested off your github page. If you send a v4 or just resend that patch you can add my reviewed-by, as I reviewed it on my tree/from your github.