Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp398048pxy; Wed, 5 May 2021 05:06:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpdasO2FAqK6HcR6mOmMsIUkxPrPrznOFcSREEH0LXvltsjaRY6eyoN54DnRj4GYMUzPRY X-Received: by 2002:a63:da0a:: with SMTP id c10mr28267280pgh.255.1620216367605; Wed, 05 May 2021 05:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620216367; cv=none; d=google.com; s=arc-20160816; b=OmzIe2EvayTcvDCFOeYag3uAsePcgav96rtdEisNxNRFOMTbs51oRwQenGxdRbCjPK 4ztDJqNNUPZXDfinH6QAj2LxrGOkG+5mm740oSXsAz7QoQsirx89a4WJ1Cadfw9Evu7W 07c2VklTac9ayCszLaBGnmBIKaNPnhnJOm3dE62YNmeZAQJICCtVD0RhXZwNg2/h1WFA xIW4JvOjX7v6kq9GL0RWJHm+AO0/ZoTPX9XJFf9nvR5ofe51Z2vYE9SDQQahcpOjGDo9 S1egYKM4RkVFfcVFA/aUiOHQOJdiFjOukaU5Lru1Ft4H+5570YaG5gG8H981v+vRXO49 xdrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=G5vc6WFcuA4Ved0s3f7uwaDCkdixE7ycKFQEB/WCSC4=; b=mCVlqZ0Imw7Woic3QvbEj0BPZ8lBCv96h/qVxVqnJjcKSd5uzREN/Dx+d+RfN3znV3 3gT500tIWhRHzwF4guMHV/SNA4GNP86vOkyrOR1wMhc8oz6YSFW5/nEu3EZMVUHWqw+G na6sQTo84DXjQAbF5Skf+E3vFiAF2swbNrB/wYYdv63o/CIMD8dp6lKcA9kkC3qwiHw4 U6QC1O/C6Mqx1CabqYcEfroqJMjHoW4XZYfrCsCoDrkdZkvBLSGiu6TnDkMsWWWgrcjD 1hxcPsxqz0Z8lBn46idj6P5KphkLrPTjWtggSIEUqMZfrMFclF87FxXOD5N6ClXgEVQm 9m7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cci3Sa0V; 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 w91si7604433pjw.173.2021.05.05.05.05.48; Wed, 05 May 2021 05:06:07 -0700 (PDT) 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=Cci3Sa0V; 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 S232504AbhEELJv (ORCPT + 99 others); Wed, 5 May 2021 07:09:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232517AbhEELJt (ORCPT ); Wed, 5 May 2021 07:09:49 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66E53C06174A for ; Wed, 5 May 2021 04:08:53 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id x20so1990464lfu.6 for ; Wed, 05 May 2021 04:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=G5vc6WFcuA4Ved0s3f7uwaDCkdixE7ycKFQEB/WCSC4=; b=Cci3Sa0VqW6/hPfN1FJvFUfq7mP3GN3WqAc313s02iQLWFHDceYE83Mgo/6wGm/MAR 8alY6SlTFMrJHrzHXUbvNtrHZY4Xn2787DMlWsypRItb4sBZG9I0TQkS7WBOiEBaAMtn Bp4MmV1sXTm8crDATtE6zXTPi42mIwFFzfdetBUDc+7917zwsvPv/xwrcxYhpWTScO3l 5DlaZJSaMjo2gxmVYulYa8Xi7r4W0E3zBi9KWK/5rKCnKplZEwW0nCA/mML4x5XhloSY GEyiCi3O2iK4lajuim4tKVm+silaKKRo9Os6wpjHegw6yV5L4FThxps+Bb1Owlsb6zII 6I6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=G5vc6WFcuA4Ved0s3f7uwaDCkdixE7ycKFQEB/WCSC4=; b=aBYPj10WEOeYtot1i7bXlfmrvQrmFmlDvtbf9+4Q27bAydza+dOEGmDAQ11hKiJZyN 71VHbfM9P+hiIk0/A2QTZ5yUySj+GVpJ60uHyjeOGCkiHDlq9z5FWBU2/tFMKrTxtI7m DTUisffd01Pmj6Wx87rBJxJHfCrKwLiA/xnC4HcCPOT2+MqDXM1EJREjWYX3yhs39hNI A2EYlVrLP3N+jIL4WaSUNguHL0URAuhzwvIAGQxdG9BJ+E3p/J44akY6vcY0UcTpG4b2 IlyXQFvcPad3ZTsIuSEDF0cDpythlobWUfcJU7AF4UttjjXc73L0VVbZoMzbZDpxnh9L 5nQw== X-Gm-Message-State: AOAM533pgjugFU3V/SMGxLk3cyV4pOro70muiaJxNj0iN1l5tAY3RSaO KGvuiE1XxmmeBp8Rq5IvJZPDYA== X-Received: by 2002:a19:c17:: with SMTP id 23mr20632058lfm.602.1620212931893; Wed, 05 May 2021 04:08:51 -0700 (PDT) Received: from jade (h-85-3.A175.priv.bahnhof.se. [79.136.85.3]) by smtp.gmail.com with ESMTPSA id a20sm1973943ljd.105.2021.05.05.04.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 04:08:51 -0700 (PDT) Date: Wed, 5 May 2021 13:08:50 +0200 From: Jens Wiklander To: arm@kernel.org, soc@kernel.org Cc: op-tee@lists.trustedfirmware.org, Linux Kernel Mailing List , Rijo Thomas Subject: [GIT PULL] AMD-TEE fix for v5.13 Message-ID: <20210505110850.GA3434209@jade> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello arm-soc maintainers, Please pull this AMDTEE driver fix which adds reference counting to loaded TAs which is needed for proper life cycle management of TAs. Note that this isn't a usual Arm driver update. This targets AMD instead, but is part of the TEE subsystem. Thanks, Jens The following changes since commit 9f4ad9e425a1d3b6a34617b8ea226d56a119a717: Linux 5.12 (2021-04-25 13:49:08 -0700) are available in the Git repository at: git://git.linaro.org/people/jens.wiklander/linux-tee.git tags/amdtee-fixes-for-v5.13 for you to fetch changes up to 9f015b3765bf593b3ed5d3b588e409dc0ffa9f85: tee: amdtee: unload TA only when its refcount becomes 0 (2021-05-05 13:00:11 +0200) ---------------------------------------------------------------- AMD-TEE reference count loaded TAs ---------------------------------------------------------------- Rijo Thomas (1): tee: amdtee: unload TA only when its refcount becomes 0 drivers/tee/amdtee/amdtee_private.h | 13 +++++ drivers/tee/amdtee/call.c | 94 +++++++++++++++++++++++++++++++++---- drivers/tee/amdtee/core.c | 15 +++--- 3 files changed, 106 insertions(+), 16 deletions(-)