Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3027376pxb; Sun, 8 Nov 2020 23:51:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCeguAEOiffFcYxTEWQCxDt+rAizpKsQjQ758jihdAyJCRNA6wl/4cf9IeDzxEcinuBeX4 X-Received: by 2002:a17:906:40cb:: with SMTP id a11mr14579689ejk.217.1604908312675; Sun, 08 Nov 2020 23:51:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604908312; cv=none; d=google.com; s=arc-20160816; b=dt/5KvFWxeI/HxbflmfQ+m0Mnx6VLflEE02QbB83+K27nt5gr8nS75mvbUvuDU+X8n brJAvHdiOmgC85xqJTjN6YwZwvRV12KUVKQxdsBDvAaU8u2MdRvEqeOvEzQrTJU54GFe gOTQtdNvS3ourvj4gLnR+g3eSlujdWvlq+rSJI+ucA9UMM+YGPBE4tdJ7Dklf2eEKxgQ p9hMq7NrHNhiWuPUk0SI/vOWlDTj3IYHMwh+1Y9KQbLHR99NeszAvUbQBFLloNyHMRMJ truTPp5IsNcIkxkqzPn6mCw1U8cCUkHmNc9TqzF3MSdgnG2wIybZrHLXnuvTZa1pQj8g 2YGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=n13PinZTPhP6AdpzFjlFN14w77t83uFOC/qxFyrGcZw=; b=t354vo8yjcsHGS57JG6QXruVKagyrjru/xttZRLUWo/DBbPINxaxe4mQwGANCWStB3 lTlZIliuonoWVSgIokY2yO7g3AMIdbamsm2hbbZSXcFibKNzGosgSXmJEcdPk4vMRtxe 4Cx6siB2hk9ENd4piIoq8qQfVqWFLEUq7iHbgN1VTz4Ny6InFQ+HzDIB9WldIXgi6cJT AOP4SePXzDf+8BLjtL3kGkTIDlOA3gNtSBhbBkIYFKdfE0/GKU9hu2mfRzwzaSdxMf5b 8CouOgl4wrX1d5qkgRjDnYwe9oOx+9nZ7Zsg0QQq0uRYBcYgYS+uw8WAwu5aPt0Goptj +KzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="QjcRLv/Q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id w10si7615632ejv.268.2020.11.08.23.51.29; Sun, 08 Nov 2020 23:51:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="QjcRLv/Q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729614AbgKIHrq (ORCPT + 99 others); Mon, 9 Nov 2020 02:47:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728904AbgKIHrq (ORCPT ); Mon, 9 Nov 2020 02:47:46 -0500 Received: from mail-oi1-x241.google.com (mail-oi1-x241.google.com [IPv6:2607:f8b0:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E016C0613CF for ; Sun, 8 Nov 2020 23:47:46 -0800 (PST) Received: by mail-oi1-x241.google.com with SMTP id d9so9328273oib.3 for ; Sun, 08 Nov 2020 23:47:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n13PinZTPhP6AdpzFjlFN14w77t83uFOC/qxFyrGcZw=; b=QjcRLv/QQoPd/OIoKU7yh0Cx+7J2BnZM25Y0imBCpOM596FC1y0akyMt6pVqC0+sYF ip5ifFDPgSOms/ItK7coaqDb1iVCqmVCWS1kJOVe80qjNRweDi8EyFMzdPWZJ2BrOIaT pI0HTLybv0yuWoK6RWo/acSn6LCyXC9tMVimckDYvLmftpE4dFf7EGoxBFcSq9/CciIW SWvk004eHjY4XMxt+EoFcnvE9xlA+WRoOoEVSXCdXoJmv4E6TdgKyidZPvmbty8dBkyR LPoX/qHkOjen452LcWdU3ECgmwQXGwnwaVvalUHI8YOKYpafkI43x5rOL+gDwiOxR8Of SKXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n13PinZTPhP6AdpzFjlFN14w77t83uFOC/qxFyrGcZw=; b=nBKt7QkhMYuq5ctYwCIQ1LAU9/d+/PL9WdFFlug9B9F/6SCh4VgvW6cJAi4+hVtw+W lN1Lb0wT/bj9cVV+n5KjJ22waxCmnLg50skl3NTVn2LJB8YvMFjSRBWD/g2cYt/pupd6 Y9mISwvNNWqTro/fGitnfJx8V2aOpO2MHKm4jhdLbRmsclfK4p3eA9/ZodhLhFZxit7l l6dp0w056PBkAIMNCZE0QkDmsf3Uav4JpQmlSozOBcB6/T7ahZ7N3Zm3oxrxoZUWyrK9 vJwqnZSFVxMpSDFNDSymNQJN4zW2oiYXLK+Ds4WVNnN0jUXmajpKJqPz+4s2TplOhXrP YqKQ== X-Gm-Message-State: AOAM532rwvq4IMmN/IbW1WAvy/ReRV92QZMOMGX8abHBzDFVO9p3ktDh 7v5xtvwV6Ku6+GsCa9Uvi6sQvzTNMzc47e02rczsog== X-Received: by 2002:aca:d987:: with SMTP id q129mr8629267oig.5.1604908065604; Sun, 08 Nov 2020 23:47:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jens Wiklander Date: Mon, 9 Nov 2020 08:47:34 +0100 Message-ID: Subject: Re: [PATCH 0/2] AMD-TEE driver bug fixes To: Rijo Thomas Cc: Devaraj Rangasamy , op-tee@lists.trustedfirmware.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rijo, On Wed, Nov 4, 2020 at 7:26 AM Rijo Thomas wrote: > > AMD-TEE driver keeps track of shared memory buffers and their > corresponding buffer id's in a global linked list. These buffers are > used to share data between x86 and AMD Secure Processor. This patchset > fixes issues related to maintaining mapped buffers in a shared linked > list. > > Rijo Thomas (2): > tee: amdtee: fix memory leak due to reset of global shm list > tee: amdtee: synchronize access to shm list > > drivers/tee/amdtee/amdtee_private.h | 8 ++++---- > drivers/tee/amdtee/core.c | 26 +++++++++++++++++++------- > 2 files changed, 23 insertions(+), 11 deletions(-) This series looks good. I'll pick it up. Thanks, Jens