From patchwork Thu Aug 29 09:29:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 172546 Delivered-To: patch@linaro.org Received: by 2002:ac9:5c4b:0:0:0:0:0 with SMTP id r11csp2071940ocp; Thu, 29 Aug 2019 02:29:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8KFT+y2LvD0xznrgfDh5oNZA+Gyq+M0UlWx+jKjEEtA9OphCjU5pfPn6U4eDfofIKFv+0 X-Received: by 2002:a17:902:12d:: with SMTP id 42mr8418469plb.187.1567070978527; Thu, 29 Aug 2019 02:29:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567070978; cv=none; d=google.com; s=arc-20160816; b=nK9oKBGJvc+fBdHOCmmLUZJSnx31rdY5IEKdusLfg6HMYAPQSnd2SJcb3CvOkz1b6V 196Yttz1qgfWiHfrs0nvw9zC9/J471lGVC5fFSvj3DZXQ1kFEBsLEAbwtzXENI0jhR5h nZqNTht5FAnKthduiQASYwqIycm2m32b1Ez94skmotjhMV0ejWtfE/qti8N93EIXgSM1 mUqR/B+NP4ULT8VHYkPgJKi505R1gfW/4SbmAuU6pTQqqtdzMTwA/Ra6lQNrkZElO2Q1 nYHRvrB+xyUSkufi9goLQiX7EIieUlJ414cJi1HdogEAoKZUz3wsv/4E1n3lgNtFi3fd 2QZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=qWSruavJBjctqtbTw7cZ481dDATOlMFYVx3PLqKt1xM=; b=y5Jju/kkd+Pvi0JOLGrcP0XfoI6pYteTuLWhimMh6sHyEvb+RyqZ0tLrdkBIenwOAV K+cgevPGsa8dNFQfdM7jUCm/8kmuuFKYdXR8MZIfu8BGtp5T43pP6nkkt7FqiQmET0vI O162E37sDZGzwDR4nzlZSWPthPz/xaY/3BcPv5rJtoKqus3JwM0WUK6f0NnUFsD6Bs+5 K6Kp+oncvXuVK+DiBr4zJw/i4c5eb8s6qhX1ye6OkmJG7aa30mRIv3GE+Oo5y1WlbXAf cGcjbR4dErFxunPwo5m1RVJdTEtUmvEIiJZs5LjXPw61/IEupuRf90DXg3K2UubJh9iq WLKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WX2rpIUP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m27si2016689pff.186.2019.08.29.02.29.38; Thu, 29 Aug 2019 02:29:38 -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; dkim=pass header.i=@linaro.org header.s=google header.b=WX2rpIUP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727007AbfH2J3h (ORCPT + 28 others); Thu, 29 Aug 2019 05:29:37 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:52695 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725782AbfH2J3g (ORCPT ); Thu, 29 Aug 2019 05:29:36 -0400 Received: by mail-wm1-f66.google.com with SMTP id t17so2945152wmi.2 for ; Thu, 29 Aug 2019 02:29:35 -0700 (PDT) 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=qWSruavJBjctqtbTw7cZ481dDATOlMFYVx3PLqKt1xM=; b=WX2rpIUPb76YhLAsOh6Kt3XYL/PWARYUEhArNTNRjb53eIPadhFEr1MwpKWwJ4mMIv ej7YAxPccq60NUii+YcUtFQUL0q45Kjxou2ZO0Ezj15ePj2dcTEDE25E9cvoUOmbqf73 pBGYD5E2sKnNUALnt6Umtf3dfNIwz1+uptbrwAMBr5uP7flQgd1Wvlfjvfo5muWx0lPq kpvOVH03EARECgwsFEHCwO0gF+n88utpGrLyB62CtRS8vJ4QUfFYKjuFM+kRHvRok1D8 LsAAP3VYMqGDZm8A+yDl04VKbPprXkqpInGtXSGfsg//EPF68WA7fx+qFKlM5Nw99F2d rUQw== 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=qWSruavJBjctqtbTw7cZ481dDATOlMFYVx3PLqKt1xM=; b=NnkR+hpHJVtDFvRc2XC7uuX+dtmqNrbyjFX4BA7h+RbsWA7RsysPeL3APrRgJ4/2bo oNtlaH/onFRn/AYgBDve8TYpKpWYG+PzAJ+zyjLdED4vAA5ydxEKR8JgDMDRuLI+UjnM 0BflIKbS+sIEe2qSD73pLEyNK8/IO3Qye8UeN6RBDL/PcdqfniW1FxDtRdSlETG/i9z3 FcqGrLxE0gCwwH9XTpTBbpr1QhI/YkJ5bSXtAz2UV+4shEn+NTBTefvSjWcQDmMB3Jtc eY6Qh/+IOpy/zf+Y7wKNt2aK1J1KR+kp8iWl6IuijVDs3dWu+3zzQ+GB9WUJJ6B+vgad WgAg== X-Gm-Message-State: APjAAAVYQ3oAoqBmg5VBaZAh2/Qqrb6xJNBj1ZaSdifDUlf3LWJU2tj0 UiZ6zKfnkJLmYB7VsUEidx6SYeLb1MY= X-Received: by 2002:a7b:c952:: with SMTP id i18mr10832609wml.44.1567070974469; Thu, 29 Aug 2019 02:29:34 -0700 (PDT) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id f197sm3609512wme.22.2019.08.29.02.29.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2019 02:29:33 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: arnd@arndb.de, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v2 0/5] misc: fastrpc: few fixes Date: Thu, 29 Aug 2019 10:29:21 +0100 Message-Id: <20190829092926.12037-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, More testing on fastprc revealed few memory leaks in driver and few corner cases. These patches are the fixes for those cases. One patch from Jorge is to remove unsed definition. co-authorship issue on "misc: fastrpc: fix double refcounting on dmabuf" patch has been resolved offline and decided to not change anything. Thanks, srini Changes since v1: - Updated change log to remove TEST tag. - no code changes. Bjorn Andersson (2): misc: fastrpc: Reference count channel context misc: fastrpc: Don't reference rpmsg_device after remove Jorge Ramirez-Ortiz (1): misc: fastrpc: remove unused definition Srinivas Kandagatla (2): misc: fastrpc: fix double refcounting on dmabuf misc: fastrpc: free dma buf scatter list drivers/misc/fastrpc.c | 74 ++++++++++++++++++++++++------------------ 1 file changed, 43 insertions(+), 31 deletions(-) -- 2.21.0