Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7169555ybi; Wed, 5 Jun 2019 12:27:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTtT6fTe38y6lfAqZRQHTzmLFDoqP9NIQro42SnG0dhgDU1fmeyBhvzrwiiV3omG493G6O X-Received: by 2002:a17:902:26c:: with SMTP id 99mr47232761plc.215.1559762841551; Wed, 05 Jun 2019 12:27:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559762841; cv=none; d=google.com; s=arc-20160816; b=QuHBxZj1zBmNk8wuskT9c39YpgMbzh18jrLr4a2Y+ON+odD4NeZExNBnLeOJSG+llC kw/w1x03Iab+4Mwwe+scK8nFXLrDJ/DOu/nz1/29RR5YOQv6QDxrDKLnZ7jRw0oNRoBd rN0+PzUoiQlOc5uvGP0zF6CJvx5XCYupK1dlAfgIQOJj3ErZUc+uAVfyPvLFbySEKXQ4 1PbpZoWYdz8qMg1qUm1/SbxnFdXSr4x/g6DLvZi5Yqajf5b2ObaQjPaRUuXJEu1p7a21 F+y1XLjIkiMHgKo7i7C2TLlJkBEB3YjJhpcZ3Ec8Rc05mILi7EhZOTx6dZRKFp4XGclU EiXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tZ9ZadoCz7DSrgUvJ5eeUOdNPpiiRhukmDh9GBYfjTo=; b=duvZ+rCZ2AUgjk7aOF98bhny+5UVoKXfB+nD57v7G13rbUGGsFfBf5MRqv2Yf2A6Ks cz4V8L3MguwXYHmlWgV8NFQeZiBJ3ODxv/qiGGvhtJ2ZpssI8JHNZ8Y08vGTp/gD0q16 rPJN+X9QKaFO9VyBz/ZPG4HQgpxAEjoIZ79WqzLQTQ0Fgb9p1wKgdKvRei+lwtVKECMC iiGcNbW35SWTyhb4R42be+QtxRAJ7NmgeuZtx4kz2nP1CED+UrYSYSrZJbyL35RAnI5v Xya9QrAmsEKa4Oo/bWiAsabykT5Nj8dc1LemVdSDX4hl0p+X36Di4ExcpeNC3KyBMr+U E6jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=QoJj07bK; 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 h9si28243105pjk.47.2019.06.05.12.27.02; Wed, 05 Jun 2019 12:27:21 -0700 (PDT) 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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=QoJj07bK; 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 S1726532AbfFETXV (ORCPT + 99 others); Wed, 5 Jun 2019 15:23:21 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37962 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726280AbfFETXV (ORCPT ); Wed, 5 Jun 2019 15:23:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tZ9ZadoCz7DSrgUvJ5eeUOdNPpiiRhukmDh9GBYfjTo=; b=QoJj07bKgs+DMmAwe+jfZH52X /vWJH+TpDgOVKYxITKHSVtgzOCm1QVOiTfEBFqLlcMyWyYNNvAF5vg1FkSWnmQ1JuhZlfBp3KbOfG yz6lxEA73PgiXdIH/4Sw1ZFl/AGe/Woyz5uRPU84eig90+KlHywG8y0iJnj3Ta4PWbP9AGsc4GkMB gAqyD4pd8P3W+0VL7rgCNvV0Q4hm9MByQ29UDN86poGQj+T1nZB+G6SDxVDKuedB9WNuO80+MSPki AJGIhAK64clKbKlrAiiG3bdQrzL1TR/RCrHlEuJCvgOZjQGzjPkz4kOiT1Orog1xkFO5rXKxbHiTZ hIPaRrMKA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYbVI-0004jg-Qu; Wed, 05 Jun 2019 19:23:20 +0000 Date: Wed, 5 Jun 2019 12:23:20 -0700 From: Christoph Hellwig To: "Enrico Weigelt, metux IT consult" Cc: linux-kernel@vger.kernel.org, axboe@kernel.dk, linux-ide@vger.kernel.org Subject: Re: libata: sysctl knob for enabling tpm/opal at runtime Message-ID: <20190605192320.GA16831@infradead.org> References: <1559734587-32596-1-git-send-email-info@metux.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1559734587-32596-1-git-send-email-info@metux.net> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 05, 2019 at 01:36:25PM +0200, Enrico Weigelt, metux IT consult wrote: > Hello folks, > > > here's a patchset that allows enabling libata's tpm features (opal) > at runtime. Until now we need to boot with special kernel parameter, > in order to use OPAL - this patch also adds a sysctl knob for that. Or you can use the block/sed-opal.c code which doesn't require the tweak, and really is the proper way forward to use OPAL. > The first patch just introduces a systcl subdir for libata, the > second one adds the actual knob. I had already sent these patches, > few weeks ago, along with some general build fixes. The latter > meanwhile went mainline, but haven't received any comments on > the two opal related ones yet. Independent of that new sysctls are deprecated.