Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932459AbbELIqa (ORCPT ); Tue, 12 May 2015 04:46:30 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:34720 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932215AbbELIq2 (ORCPT ); Tue, 12 May 2015 04:46:28 -0400 MIME-Version: 1.0 In-Reply-To: <20150508201843.3447049b@lxorguk.ukuu.org.uk> References: <20150505175405.2787db4b@lxorguk.ukuu.org.uk> <20150506083552.GF30184@phenom.ffwll.local> <20150506091919.GC16325@ulmo.nvidia.com> <20150506131532.GC30184@phenom.ffwll.local> <20150507132218.GA24541@ulmo.nvidia.com> <20150507135212.GD30184@phenom.ffwll.local> <20150507174003.2a5b42e6@lxorguk.ukuu.org.uk> <20150508083735.GB15256@phenom.ffwll.local> <20150508201843.3447049b@lxorguk.ukuu.org.uk> Date: Tue, 12 May 2015 10:46:26 +0200 Message-ID: Subject: Re: [RFC] How implement Secure Data Path ? From: Benjamin Gaignard To: One Thousand Gnomes Cc: Daniel Vetter , Thierry Reding , "linux-media@vger.kernel.org" , Linux Kernel Mailing List , "dri-devel@lists.freedesktop.org" , Hans Verkuil , Laurent Pinchart , Rob Clark , Dave Airlie , Sumit Semwal , Tom Gall Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 879 Lines: 23 I think now I have an answer to my question. I will back come in a couple of weeks with a generic dmabuf allocator. The feature set of this should be: - allow to have per device specificone allocator - ioctl for buffer allocation and exporting dmabuf file descriptor on /dev/foo - generic API to be able to call buffer securing module which is platform specific. - ioctl and kernel API to set/get dmabuf secure status Sumit had already done a draft of this kind of dmabuf allocator with his cenalloc [1] I think I will start from that. Benjamin [1] http://git.linaro.org/people/sumit.semwal/linux-3.x.git on cenalloc_wip branch. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/