From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759538AbbFBQBU (ORCPT ); Tue, 2 Jun 2015 12:01:20 -0400 Received: from forward4l.mail.yandex.net ([84.201.143.137]:35710 "EHLO forward4l.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758949AbbFBQBP (ORCPT ); Tue, 2 Jun 2015 12:01:15 -0400 From: Andrew Andrianov To: Greg Kroah-Hartman Cc: Andrew Andrianov , pebolle@tiscali.nl, Arve =?utf-8?B?SGrvv71ubmV277+9Zw==?= , Riley Andrews , Chen Gang , Fabian Frederick , Android Kernel Team , linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] staging: ion: ion-physmem driver Date: Tue, 2 Jun 2015 19:00:38 +0300 Message-Id: <1433260840-16723-1-git-send-email-andrew@ncrmnt.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <20150531001825.GA6872@kroah.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for the review, Greg. I've fixed the things you've noted. I have removed the call to ion_device_destroy() in the ion_physmem_remove() and added a comment about it. We won't unload the driver anyway for now. I admit, integer counting was a dirty hack there, but struct ion_device contents are private to ion.c, so ion drivers can't access them. Unless I'm missing something, settling on only removing heaps is the only right way to do it right now. Correct me if I'm wrong. Thanks, Andrew. Andrew 'Necromant' Andrianov (2): staging: ion: Add generic ion-physmem driver staging: ion: Add ion-physmem documentation Documentation/devicetree/bindings/ion,physmem.txt | 96 +++++++++ drivers/staging/android/ion/Kconfig | 7 + drivers/staging/android/ion/Makefile | 5 +- drivers/staging/android/ion/ion_physmem.c | 229 ++++++++++++++++++++++ include/dt-bindings/ion,physmem.h | 17 ++ 5 files changed, 352 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/ion,physmem.txt create mode 100644 drivers/staging/android/ion/ion_physmem.c create mode 100644 include/dt-bindings/ion,physmem.h -- 2.1.4