Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2519394imm; Mon, 10 Sep 2018 02:22:52 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZtGFh2LB9k43EhvAEdQTVC9DhdCGfyenCR5D1o7o/PLjnKCi4v7aSksaLcH/89CfG7GSC1 X-Received: by 2002:a17:902:2f84:: with SMTP id t4-v6mr21030528plb.87.1536571372348; Mon, 10 Sep 2018 02:22:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536571372; cv=none; d=google.com; s=arc-20160816; b=dfKRZxRpcIiI/6+3IRl54JMtIXaP8iYBfSsPB2C5i43t3wipsxYhqghMvOGFyowCMK 27j1H7jugWQjXxdsFG7WQE8UK/O63tJZa3K1U/G+qiKHYB1T3z+86BEHzlOMKs11bUWF 96TZZgOwRp9kBnyjc6Rc0Qzrknev1ENZjzadJnEy1P5bm9vPKxacc0/m4vZldcyBV2CR vhVePwEz5qOqQNG449x3mQ1WUdaCYhBGvJQ/UqxtilX8sq6dbEgKduyPmEdTbJkRPtGy 0Qnlx9z+iQK2OSGPRfaXrCuBE7gTi5Z6KF0LYqs60w3cSuZIIgUvXlU9bKeRCLy5mWL0 nASA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QT0hWnBSCRfYfVbtB7L1bFvADDtsDgQtjakRjEQjcBE=; b=FhAUEGIL2+Wkn7LP8QYqKi/J0gF1JtwZOn9FgBihrv/SSc0+wtbTlC66DJrY/KR8dF U3yoTrjoCU/0IJJnWD5w3/WCPEQYs6i8QL0SaHE521N9W6KxaLqmo9WRqeHEfipLGsLW tIxYPTvYarjCbvpetg7SjZI8/qABYz8vz+bh7oLAcNosOemKTllIT28Cs6XNEEhVNezl JVMHadFHyU9oCXVYyipjujqEiovB1trB37M6RyhDO+zHNy0nuX1kBvCVl6yGYw/jfuwN 29Awup/abrkGcECua0ZX6o+0CvutbF7zPXtvZJ69bJNhNqUmSH+umYu1OAkglK7GXIW4 88ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j1No+XZp; 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 f73-v6si17496716pfk.97.2018.09.10.02.22.36; Mon, 10 Sep 2018 02:22:52 -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=j1No+XZp; 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 S1728050AbeIJONT (ORCPT + 99 others); Mon, 10 Sep 2018 10:13:19 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35373 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727861AbeIJONS (ORCPT ); Mon, 10 Sep 2018 10:13:18 -0400 Received: by mail-wm0-f67.google.com with SMTP id o18-v6so20674040wmc.0 for ; Mon, 10 Sep 2018 02:20:12 -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:references:mime-version :content-disposition:in-reply-to:user-agent; bh=QT0hWnBSCRfYfVbtB7L1bFvADDtsDgQtjakRjEQjcBE=; b=j1No+XZpudUDrA/OczB50CV3YvK1Cim/0xn0lhiWsQcd/47jISI2evR18/ZJ18onI3 XmlK0ScOjS2m1pQBoxqjcb3PqV6kqPu7qIkYp5VPD4QjoVXoevkV/Xfh4neGAY8/Knll jXvLcqHfRkLfRpCkpykvXXV8wbHVGF7Z/2d5k= 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QT0hWnBSCRfYfVbtB7L1bFvADDtsDgQtjakRjEQjcBE=; b=D6Xf/+qN26pNxlmTZlO4bjDVGkr1CEsln40Ufbkheu5cUI0kYfwY+yqzTJUGQwRs1t NWVfjxRRPTcGiB+FMTmhQ+QN2zyIW2YHuWigLDNFoMsCBmA744pH/gXaC7aJn/mYR8a7 mLmgEx3+TlG1wBoR3OhgbJWcVxzyIKZM0n6TUQrAkBaYfMwe5uiKTpf9J08XTx1L002e S5jMLLNmIGK6419DdBcB8WIpL35TbVCYhgVCiptWQpZMErhnXebUleSwaRPepUG4T7Zh C43RFPJ12UWPXV7xUTGzkPDCJ3cYDII2KqZpXXUT1YyMvlx+Bjpek7TraD8CQUrWz9GH 6bIQ== X-Gm-Message-State: APzg51CjT8g8NQWBTV8VSvFg7CRGJ7UdfJVn0bM/8/EjiGy+4dYaF0Ou faxQOlF+EMeytB5kCLZf+tP88w== X-Received: by 2002:a1c:1182:: with SMTP id 124-v6mr41526wmr.75.1536571212100; Mon, 10 Sep 2018 02:20:12 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id q135-v6sm25809676wmd.4.2018.09.10.02.20.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Sep 2018 02:20:11 -0700 (PDT) Date: Mon, 10 Sep 2018 10:20:09 +0100 From: Daniel Thompson To: Victor Chong Cc: Jens Wiklander , tee-dev@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: Fwd: [PATCH] tee: optee: log message if dynamic shm is enabled Message-ID: <20180910092009.y2p5n5owozaz6etw@holly.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 10, 2018 at 05:57:28PM +0900, Victor Chong wrote: This (empty) patch description seems unusually terse! Surely there should be some clues in the description about why this messages deserves user/dev/admin attention... > Suggested-by: Jerome Forissier > Signed-off-by: Victor Chong > Reviewed-by: Jerome Forissier > --- > drivers/tee/optee/core.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c > index e1aafe842d66..cca5c091e55a 100644 > --- a/drivers/tee/optee/core.c > +++ b/drivers/tee/optee/core.c > @@ -631,6 +631,9 @@ static struct optee *optee_probe(struct device_node *np) > > optee_enable_shm_cache(optee); > > + if (optee->sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM) > + pr_info("dynamic shared memory is enabled\n"); > + > pr_info("initialized driver\n"); > return optee; > err: > -- > 2.17.1