From patchwork Fri Feb 3 22:40:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 93320 Delivered-To: patches@linaro.org Received: by 10.140.20.99 with SMTP id 90csp804996qgi; Fri, 3 Feb 2017 14:41:01 -0800 (PST) X-Received: by 10.99.231.5 with SMTP id b5mr21046973pgi.80.1486161661546; Fri, 03 Feb 2017 14:41:01 -0800 (PST) Return-Path: Received: from mail-pf0-x235.google.com (mail-pf0-x235.google.com. [2607:f8b0:400e:c00::235]) by mx.google.com with ESMTPS id f7si26689166pln.297.2017.02.03.14.41.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Feb 2017 14:41:01 -0800 (PST) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c00::235 as permitted sender) client-ip=2607:f8b0:400e:c00::235; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c00::235 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-pf0-x235.google.com with SMTP id f144so8813726pfa.2 for ; Fri, 03 Feb 2017 14:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=huvD5YgDQYn1k7DGzOZu7c3+3XMWb6kBOjdiXgApe6k=; b=AaoK4ChJUksDSc4pHd7xYUyevVFXlp04HRsNwrtEe4NU/sf1ZBgDO9Q2IM0PO32pI+ 1furtEY/3+yWs3OaNqCZIR9dibksqlVA34z/9yzMXLC3GKlkfxCMIi/sCKS+FvEHCX/P NcqPAYNyQmKVrsKmL2RooX7Y+YP/aZGw6MkwA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=huvD5YgDQYn1k7DGzOZu7c3+3XMWb6kBOjdiXgApe6k=; b=GLAIifTG5T+hcujLi2U69UNH2se8V74sUy0eEsF9PhVb29eUT+Wih2ft+/1ZBzn70J V2PUnMFd801DhXrCdDse4AlT82P0R283XM8XfwBb1YHL9m3PjXkMEDFb42NxdTazP4n9 5f0u2tngvVvmShIv5qNenqj7jbs1PAZS0BT5MZUB6LY4JP8DIy4Bo4hjgb1H/6nw3RaA je3qj/4nfDXBTBoIkYbguJ6xOqUWsWDEGP6WXFSjWbdw+Y86Tb5f9T3b1EqQFSWiDLO0 KjzIFBiVbi2lDBHEZPoLkHSgH/PHPydQ++Txg7U5rwiRNAI46L7hwCjJG1cuWfP6aK7H dnoA== X-Gm-Message-State: AIkVDXL1G+F0DDlTv4Z/MW4+dYfNA4dFh2wFHXlVxh7LlGLRWSWiYOGv0foNqapZwoz85ruAbD8= X-Received: by 10.84.129.67 with SMTP id 61mr24590261plb.103.1486161661147; Fri, 03 Feb 2017 14:41:01 -0800 (PST) Return-Path: Received: from localhost.localdomain ([2601:1c2:1002:83f0:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id p26sm70102163pgn.39.2017.02.03.14.40.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Feb 2017 14:41:00 -0800 (PST) From: John Stultz To: lkml Cc: John Stultz , Greg Kroah-Hartman , Martijn Coenen , =?utf-8?q?Arve_Hj=C3=B8nnev=C3=A5g?= , Amit Pundir , Serban Constantinescu , Dmitry Shmidt , Rom Lemarchand , Android Kernel Team Subject: [PATCH 0/8] Sync upstream binder code with android-4.9 tree Date: Fri, 3 Feb 2017 14:40:44 -0800 Message-Id: <1486161652-2612-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Hey All, With the android-4.9 tree being shared recently, I noticed there were some new binder changes that hadn't yet made it upstream (though an earlier version of the patchset was submitted a bit back). Anyway, I wanted to spur some review on the current patchset and try to get upstream back in sync with the android tree, as AOSP userspace is already making use of the multiple contexts feature (hwbinder) here which can cause problems if its missing. I've made only a few small tweaks to the patches, to address checkpatch errors and to fold in a patch fix from Amit that was also in the android-4.9 tree. Please let me know if there is any objections or feedback here. thanks -john Cc: Greg Kroah-Hartman Cc: Martijn Coenen Cc: Arve Hjønnevåg Cc: Amit Pundir Cc: Serban Constantinescu Cc: Dmitry Shmidt Cc: Rom Lemarchand Cc: Android Kernel Team Martijn Coenen (8): binder: Split flat_binder_object binder: Support multiple context managers binder: Deal with contexts in debugfs binder: Support multiple /dev instances binder: Refactor binder_transact() binder: Add extra size to allocator binder: Add support for scatter-gather binder: Add support for file-descriptor arrays drivers/android/Kconfig | 12 + drivers/android/binder.c | 1001 +++++++++++++++++++++++++++-------- include/uapi/linux/android/binder.h | 104 +++- 3 files changed, 890 insertions(+), 227 deletions(-) -- 2.7.4