Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1168064pxf; Fri, 26 Mar 2021 02:31:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVmh5PshBQedgI0/9OpPXHCWSp8HGlaI7Wi16tVG4VlhuIkrOzPorm1iMoUBnUMuN0uAsS X-Received: by 2002:aa7:d4d6:: with SMTP id t22mr14071027edr.376.1616751065752; Fri, 26 Mar 2021 02:31:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616751065; cv=none; d=google.com; s=arc-20160816; b=yP7pCcGC3T6CD6uFKqkb172rg7pwU4gwCs0n+LkqMB5jr+QmKfNGCtmk3zpJL8nNRT tk6HDYYwuTrQMFjlJulKTSieBPcEH5tMHBCCux6BVLwOWd2JFzwvoLOVRpg3JcJNMCoG tUtDF32gHKP53zCk35Zcu+lQmDvZft/F0INT7RX+1m6lPVF3Y/vu6y0fEH89pCoGP624 RvuQ6HKcedPTFziqSo1NIdfugZOxEuM0ATwZ472aoon3dyhAfk2StI0MeldwYUQQkuJH JUfsoaExgywxbvbQV6T6CmnILIg3aFJSMl05hvfzGb62tYLBqJwZvoOVlh2/Rt76y595 SzyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=LUpKglfdMxygleNICwjem2YgdR+zJD/C19Cs/refgsM=; b=Gjjv8CLbKt0DT2GFpBoa92bAb3mJCdg4SGSkCTyG9oct8iy9aJSZ4FhJr8L71hudhw 4sn4Db+MW4KpVXjEeo4NNMDcD1eIa5mERlWeI62oXlDaUbIkfgfY8sEtmwCZJjJft/ID WN6SlDVBn97F5f6tZ5bBQ+/6vXXo46AMKKqrZZwEvS/3xvGP8V2+f7gn5eoUUSMTrAz/ klykxzkpzwdJEgE963ksdIBpXz5SgHvX+ziyw5ws9nCIGcIyHhtvUQxLyybA+88lG2uH 4NANjjSfq5y4cxFzqlOMm193Hdc+LFxBml0y0hbqBaooMRwNA8AC4HBEHLkQJJPjlzAV MzIw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi21si2021612edb.439.2021.03.26.02.30.42; Fri, 26 Mar 2021 02:31:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229994AbhCZJ3n (ORCPT + 99 others); Fri, 26 Mar 2021 05:29:43 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:35320 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229898AbhCZJ3Y (ORCPT ); Fri, 26 Mar 2021 05:29:24 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1lPimN-0003Rf-Jg; Fri, 26 Mar 2021 20:29:20 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 26 Mar 2021 20:29:19 +1100 Date: Fri, 26 Mar 2021 20:29:19 +1100 From: Herbert Xu To: Rijo Thomas Cc: Tom Lendacky , John Allen , "David S . Miller" , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, Mythri Pandeshwara krishna , Devaraj Rangasamy , Jens Wiklander , Ard Biesheuvel Subject: Re: [PATCH v3 0/2] PSP TEE driver update and bug fixes Message-ID: <20210326092919.GB12658@gondor.apana.org.au> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 15, 2021 at 01:55:27PM +0530, Rijo Thomas wrote: > The first patch helps to improve the response time by reducing the > polling time of the tee command status variable. > > Second patch is a bug fix to handle multi-threaded use-case. > During testing, race condition was seen due to missing synchronisation > in writes to the TEE ring buffer. This patch helps to resolve that. > > v3: > * Fixed checkpatch.pl warning > > v2: > * Updated copyright year as a part of code change > > Rijo Thomas (2): > crypto: ccp - reduce tee command status polling interval from 5ms to > 1ms > crypto: ccp - fix command queuing to TEE ring buffer > > drivers/crypto/ccp/tee-dev.c | 57 ++++++++++++++++++++++++------------ > drivers/crypto/ccp/tee-dev.h | 20 +++++++++++-- > 2 files changed, 57 insertions(+), 20 deletions(-) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt