Received: by 10.223.185.116 with SMTP id b49csp3689972wrg; Tue, 6 Mar 2018 03:25:20 -0800 (PST) X-Google-Smtp-Source: AG47ELtrtpIRwbDPuzvxdx9IKmz7gz8PMF9kOu6kgvmUSbBdtUUanOQranpZTu8bcTzRlLD1lKaz X-Received: by 10.99.171.10 with SMTP id p10mr14753118pgf.176.1520335520485; Tue, 06 Mar 2018 03:25:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520335520; cv=none; d=google.com; s=arc-20160816; b=Z+/WL/JLoULz0a/Y1LUI6ZOz71yLl62KAX5ITsdzfqA9P6yPm90m3CmA5Etro5okbc IDMznYYoe44Y9PTSnaBnABtNafG9XCezTscbBbTrey+UN3lzmCmxFt1ziVuRCWAJrZbP NK0k6VQxruxqhhmhqGko5WKgEovQbEkYIIGN3wh+aJIDKitGN+QYjRRIVAC7+Qyfa83a EDRq/7Jxt2zYshRbb7WFiwOvzeP5LERQL1Q4dY60hggNmmSO2/z/PVbuUoIYKDob05wv Q2KEFSDrfcfpG+trnkm4nYSa1XQ6/4bxfzXD4my22wI2bSabYEMtk74iarGmEQaJjWX4 yy7Q== 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:cc:to:subject :message-id:date:from:mime-version:dkim-signature :arc-authentication-results; bh=zNbOnLPTku6sxMzFL2W7xSef0wXaUycI+HDw22axWOU=; b=BizQETKufTSowpUi0w48X0fEpchcUpQT0NWqhO3vT15Y3RKptw/ML4aWXczgIHY79t BUXhuyHCvA6lzy+75bbWquZOCGtYaS1mXmSVwMgvfiRJVZDGj4VRKVgqLKRkZsLhahgd VoJEyg9v5vIz5/l3ghONdqUVMA1+9+hk419SS1Ud6MJB6glRZL9THGthBsfS8LdDAndO 0gArNyr6iNvEyEn2Yd0zOZ5C1+S0iTR/O8B1bJ8N15UE19l8vSnByxiFhrF+jxub6kwT 5Okwp5ow0y3zWK7fhHBr51USmlLTNE6F4jRRhI8m5FOeJsFGOYDfA2btAhybEqQW26Sc O6+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SUGg/f+N; 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 u62si9751159pgd.579.2018.03.06.03.25.05; Tue, 06 Mar 2018 03:25:20 -0800 (PST) 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=SUGg/f+N; 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 S1753545AbeCFLW1 (ORCPT + 99 others); Tue, 6 Mar 2018 06:22:27 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:42481 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753184AbeCFLWZ (ORCPT ); Tue, 6 Mar 2018 06:22:25 -0500 Received: by mail-wr0-f196.google.com with SMTP id k9so20499934wre.9 for ; Tue, 06 Mar 2018 03:22:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=zNbOnLPTku6sxMzFL2W7xSef0wXaUycI+HDw22axWOU=; b=SUGg/f+NfQ2Ii1ogW2Gs8y8juPZz2lYn4nk8qcuvKVJHUIAff8DyU3wwgzB28klFa3 7PJ/N2Gk1YocEBeNTRn1dAyHBTICyNpBIBEANKRnKE4kMGbGo57FOlNVAkJpCIhZLnLQ Dcoa1Q0wz4qGZIOmQ/8asxglAtMa564w84kIc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=zNbOnLPTku6sxMzFL2W7xSef0wXaUycI+HDw22axWOU=; b=oG/u4puJF74GcbWRXMv6jeL5ddOBgzeqsKFk5x9Z7lZC9ssEFtU396d4UxepIBjIpO oXOI7JHBT7YCLMKudJC2XU9xgcWaXKwKvyIq67lj3LUMERUTYFxsMFIWaVzYqp6zEJp0 gCiENyE54UbZfaWrc03VTABoxII6fOsiaiISvdEIdWNO3TWiGn6gwcq7wogM6lBACZl2 H7bvBIxvT30i2bAr5FvQc/uut+ZB8zS8vZXvc/5dHq3mIBVJj/dKOuHH+ImBy5CUvvIK Tt5v4vZQ/i0gdr5RclpU/hHHP6rtGqlJKEvf+yTd4Fp2u4mFE3VrloWvIzZx9PYHdpJZ a9qQ== X-Gm-Message-State: APf1xPB5zrz12Lcdsvz31t9gsyNcMOsHNFIjU5iIltG2VkwKWS5JyDiM TB524d1MTrqUG4lU8Ffzip3I/DTNf7x6hE/XanH+dw== X-Received: by 10.223.170.153 with SMTP id h25mr15180904wrc.236.1520335344748; Tue, 06 Mar 2018 03:22:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.150.198 with HTTP; Tue, 6 Mar 2018 03:22:24 -0800 (PST) From: Jens Wiklander Date: Tue, 6 Mar 2018 12:22:24 +0100 Message-ID: Subject: [GIT PULL] tee driver misc for v4.17 To: arm-soc Cc: Linux Kernel Mailing List , Linux ARM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello arm-soc maintainers, Please pull these tee driver changes. This fixes a a problem with determining the max device id value for the privileged device. This is only a problem if there's more than 16 tee devices registered. There's also added support to report OP-TEE revision information. The bugfix isn't urgent so I'm aiming for the next merge window. Thanks, Jens The following changes since commit 661e50bc853209e41a5c14a290ca4decc43cbfd1= : Linux 4.16-rc4 (2018-03-04 14:54:11 -0800) are available in the git repository at: https://git.linaro.org:/people/jens.wiklander/linux-tee.git tags/tee-drv-misc-for-v4.17 for you to fetch changes up to 5c5f80307ab27c53b56569245a0b12f4e3b577de: tee: optee: report OP-TEE revision information (2018-03-06 11:03:55 +0100= ) ---------------------------------------------------------------- Small fix and report OP-TEE revision information * Adds one small fix correct max value of privileged device id allocation, this is only needed if there's more than TEE_NUM_DEVICES / 2 (16) tee drivers registered. One or two is a normal value. * Reports OP-TEE revision information (major, minro version and build id if available) ---------------------------------------------------------------- J=C3=A9r=C3=B4me Forissier (2): tee: optee: GET_OS_REVISION: document a2 as a build identifier tee: optee: report OP-TEE revision information Peng Fan (1): tee: correct max value for id allocation drivers/tee/optee/core.c | 23 +++++++++++++++++++++++ drivers/tee/optee/optee_smc.h | 10 +++++++++- drivers/tee/tee_core.c | 14 +++++++++----- 3 files changed, 41 insertions(+), 6 deletions(-)