Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6663746ybi; Wed, 5 Jun 2019 04:39:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkwDk/3+zvWST0Ob053If1CkIifY55dDRhAnxbvY3e++nzFp3xP1/7rKc60PA2GpYG51G8 X-Received: by 2002:a17:902:2a28:: with SMTP id i37mr41840874plb.52.1559734745595; Wed, 05 Jun 2019 04:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559734745; cv=none; d=google.com; s=arc-20160816; b=A8rWWvnRTyx0Ea5Djs65WsPFf2OsfV1Fwebc3jyGHbbtRjUwssa2IFjjbhPhzPc2AZ ZU1TsM/ls8CxgZsyTPhkbvFcBlGznbXyRpTpOr7cE0jC2gyvY7tXMJUUq2w4vm0Nf4EX FV/Thf2WSo6cFpP6Qb8Dw5r8HGzZvXOPED78GXCGVn3yEUbkB+V3vOplsca/JviN1EIR OBBT1/Y5o7gqNUJkKTmWaQj/EdHzH94Pnf7wV6fJbCAOXTPgg+tisJxZc55BF/wi351e /zC0355QlqoLbDVntwEwfvLz4aFtatNYCajky7QobiSxsgrq4lEbBdH8hSyarlbQ83JM qyxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=h7OgslJgbPpXtYt8A9cq4JilW25m2ycwt5VJio+/kP0=; b=bmfDU0Vv3GDCCsJewjvl/Ogs6L46iuINSqm9ulTCd06T+zv2LwLQiFN4UoJb/m0iKG Pr4fnOoynEYISHtTQs5024xYbnxWe2QtgWXHX3MVXGEoap5xykH2XHZaTUnMY92/5U3v QLJcL1hHu5F0kNwoiN2z+hJd0pFYjFBGt/L5232sMPiwWU/yVemHN0vi546j93l/Xtt6 t0Jwn/+pFSJV81V2R8ngmi6kMPH+yVZf+zvgYwmkmeloX6LEHvD4PYzdukXrNkQ1cVfO gg97FncnMllOy334xIaPk+zC1hZQH1xYQXK7MP6CLienK93OKDhmNaYTdGfBKNyVj0lY HsMQ== 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 r11si26550688pgp.232.2019.06.05.04.38.48; Wed, 05 Jun 2019 04:39:05 -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; 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 S1727498AbfFELgd (ORCPT + 99 others); Wed, 5 Jun 2019 07:36:33 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:43193 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726240AbfFELgd (ORCPT ); Wed, 5 Jun 2019 07:36:33 -0400 Received: from orion.localdomain ([77.2.1.21]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M5fUy-1hVkO50tkQ-007E7G; Wed, 05 Jun 2019 13:36:31 +0200 From: "Enrico Weigelt, metux IT consult" To: linux-kernel@vger.kernel.org Cc: axboe@kernel.dk, linux-ide@vger.kernel.org Subject: libata: sysctl knob for enabling tpm/opal at runtime Date: Wed, 5 Jun 2019 13:36:25 +0200 Message-Id: <1559734587-32596-1-git-send-email-info@metux.net> X-Mailer: git-send-email 1.9.1 X-Provags-ID: V03:K1:7l/7tU0oDKofwSJ0uC7B/rDVpD8uitWVNS3x/ROwPlktyTzjyeC 2jR6R6HBplxSUkNi+/6aTP2e33QyJm41FtDIqNy4tbDBbnkazuroT3/lVHUTMDMvjWMMTxE aQ8PRTs3VJpJsMYxFPdmqz01LUrdV2AI93ccOKlXBuJfmXZ1wVYwFokw35nxgmvtVf8tl0g jItR/HGtZljSzFm2M37iw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ioRq9iBXQ40=:gu6171N8ZufAc59/v81t3O aCj8YnKjc1Ab0r/1EcC7/sq2PthhtkLHwOltxE59R4GwfYKUir8DGoSW+oBVbQutP7h8eLJGW RfxQzEFC9leD3K/NDjnDrpmVrV6W8QLE7oAcAubScMEcMwURoja+/18iFPpNKoFkm+UUzipOY J/IAa8sP1vk9wSY4fZ6S/J3iNDMzbi0xb2OAlIORv+q3fUSWKMfQs99LLSd26j/EvPF7QbFK1 MdG26GhcNQWYuXDwUUU5qyokI8XA4iHya+lOln3QQUNfi4KiM3OApovujDDza4XToxrHpJyjN LfCZKLww4cq86T67EwWrlITv2Zc9XWneG+DApOAcXY8HzoRs1Anj1u0741wroEyTFnxUua8vh dt+D0EP0nqedBzyMlQuFzOncx1otusIg5ExR4EocJ9mhKDQUooAsGuEBYyVuGvVmcyHlSJZGa zLG2bYqRgaAxUrvRDTj/gdqYF+F/YRuo/R84Z9vssYsdUgSuKQstUmOkvEijx9lYn9Rfl7EGm O8OfJnzDTntz5jd8R9wvKODLmg+Clj+brnhk1Jn8YMlbJZ2PGFJBRko6Mky3Zi6XQUdO//43I 38MP87UsrUg16oAMRiJIX+QYny869yFa3jVFNt9OgTG4crZJibtNiC3Jdg+xSiHsyWcrxrVOO PlN403NqvlQ/xPSxHGov6sFMPqBQSSRSbWUIrm2vC/smt83nFfcrwuvcB4P8LZbf8CNPLm26K KHbI1NAOBx4UPUOk51MddSCvZP9Nu8suPV4leg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. It seems such a knob already had existed once (perhaps just in an wip patchset), as sed-util expects it. 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. Please let me know, whether there's anything wrong w/ it. have fun, --mtx