Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752695AbdLEReM (ORCPT ); Tue, 5 Dec 2017 12:34:12 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:37009 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752260AbdLEReL (ORCPT ); Tue, 5 Dec 2017 12:34:11 -0500 Date: Tue, 5 Dec 2017 18:34:08 +0100 From: Pavel Machek To: Sean Paul , David Airlie , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org, Daniel Vetter , linux-arm-kernel@lists.infradead.org Subject: Re: [RFC PATCH 1/6] drm: Add Content Protection property Message-ID: <20171205173408.GA18425@amd> References: <20171130030907.26848-1-seanpaul@chromium.org> <20171130030907.26848-2-seanpaul@chromium.org> <20171205102840.GB12982@amd> <20171205104538.b4fxdjad3c46koas@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <20171205104538.b4fxdjad3c46koas@phenom.ffwll.local> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3352 Lines: 87 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2017-12-05 11:45:38, Daniel Vetter wrote: > On Tue, Dec 05, 2017 at 11:28:40AM +0100, Pavel Machek wrote: > > On Wed 2017-11-29 22:08:56, Sean Paul wrote: > > > This patch adds a new optional connector property to allow userspace = to enable > > > protection over the content it is displaying. This will typically be = implemented > > > by the driver using HDCP. > > >=20 > > > The property is a tri-state with the following values: > > > - OFF: Self explanatory, no content protection > > > - DESIRED: Userspace requests that the driver enable protection > > > - ENABLED: Once the driver has authenticated the link, it sets this v= alue > > >=20 > > > The driver is responsible for downgrading ENABLED to DESIRED if the l= ink becomes > > > unprotected. The driver should also maintain the desiredness of prote= ction > > > across hotplug/dpms/suspend. > >=20 > > Why would user of the machine want this to be something else than > > 'OFF'? > >=20 > > If kernel implements this, will it mean hardware vendors will have to > > prevent user from updating kernel on machines they own? > >=20 > > If this is merged, does it open kernel developers to DMCA threats if > > they try to change it? >=20 > Because this just implements one part of the content protection scheme. > This only gives you an option to enable HDCP (aka encryption, it's really > nothing else) on the cable. Just because it has Content Protection in the > name does _not_ mean it is (stand-alone) an effective nor complete content > protection scheme. It's simply encrypting data, that's all. Yep. So my first question was: why would user of the machine ever want encryption "ENABLED" or "DESIRED"? Could you answer it? > If you want to actually lock down a machine to implement content > protection, then you need secure boot without unlockable boot-loader and a > pile more bits in userspace. If you do all that, only then do you have > full content protection. And yes, then you don't really own the machine > fully, and I think users who are concerned with being able to update > their Yes, so... This patch makes it more likely to see machines with locked down kernels, preventing developers from working with systems their own, running hardware. That is evil, and direct threat to Free software movement. Users compiling their own kernels get no benefit from it. Actually it looks like this only benefits Intel and Disney. We don't want that. > kernels and be able to exercise their software freedoms already know to > avoid such locked down systems. >=20 > So yeah it would be better to call this the "HDMI/DP cable encryption > support", but well, it's not what it's called really. Well, it does not belong in kernel, no matter what is the name. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --J/dobhs11T7y2rNN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlom2JAACgkQMOfwapXb+vJ+2wCgiz49231c4gvT55SQNQp4yPum +rwAn0TURpxXzFqV3S4N+Ml4xmGM4PFf =MpZJ -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--