From patchwork Fri Aug 24 11:55:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 10575483 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7E98E921 for ; Fri, 24 Aug 2018 15:22:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67EC52C99A for ; Fri, 24 Aug 2018 15:22:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 59FF12CA25; Fri, 24 Aug 2018 15:22:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C72012C99A for ; Fri, 24 Aug 2018 15:22:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=AFsyKkkJzgsZ5VGaAg+OQEwbT9HVKW9WJT3tQoUQ1YM=; b=h73IwzIRyxRRaD EBISts2tO1Sku6WeXztlt/OAcc9IRjSvCtTHS8v0tTAKDJ48AAnVqwD3XG7ncm6+QNHdsz4+tS8H+ 0qJh2Vw6U5nWYI2RfY+iNJfIbxMQYmXIrUN/jGG0V3efToedwiVJubW8rPmR7SpEcdT7jFI8uCBkJ +o2qkyHCAkTgTBO+13/D8Lm6ucsEIgAI9TJP2ea/vVAJm8xtWpduamxjDDSYfP5+TNfx1DOvlaeqM IbKR+mmhrhuJOYJeE24ndA5hP5NnpD/LAzn90iyZcoJZYej8JZUTaEAq7CH3ZKYJLOBWSpoEVMU2w 3Txc6P7sLipkNvKOVBKA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ftDur-00015N-1p; Fri, 24 Aug 2018 15:22:25 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ftDpg-0004pK-Rx for linux-arm-kernel@bombadil.infradead.org; Fri, 24 Aug 2018 15:17:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6EFBjIvyxcvEDtwCniygFOB4sr/UwhemARyGz9r3LW4=; b=CUZhY549xSII38ihzEayeDSFJe 1bgOcxWtLATxfyX4qN1SobkkYEQj32mJY+CsWVd0WbIbffCEn6fkiyYLFIv7YSf+kPICyqgyX8PQh XNwnI80flogjXRDlIADPkraK47pqocrAZ7riMlDGdTL3WgyK33tMEKRZ1DRy7arHPK3Bi5XFh0EKq xDQAwBAcyJkoy2resgqDj3LXRyETQ36KTj87Q88BZW+vbC5FPg8RpTvJx4pQ8+oPsB9iYOGdk9TYe i8tCHOZngp0hv46BVNOCuOCXlDJ31oYZaurcBfUuF8ZybZuldZRwN6aG5g9Nw8QFtu9ZjA1WQ428+ 1faPJZpg==; Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ftDg4-0002OL-G5 for linux-arm-kernel@lists.infradead.org; Fri, 24 Aug 2018 15:07:10 +0000 Received: by mail-lj1-x231.google.com with SMTP id s12-v6so7144791ljj.0 for ; Fri, 24 Aug 2018 08:06:57 -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 :user-agent; bh=6EFBjIvyxcvEDtwCniygFOB4sr/UwhemARyGz9r3LW4=; b=eGJGxMD3h5ihlqAkMzUAxk3w6l+Kp4QmmR+2IxW5/Ackph7j/9g8+li/MgVO0za50e YcW142i28xtP111aGQ+OKLybjPnhsbOIuiGkB8e+rAXqiB0aO3yv66gToQlJmzmOK1EX gPxriVM2kOi3vONu8/DHTLhDYZ9D5nFKbWDH0= 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:user-agent; bh=6EFBjIvyxcvEDtwCniygFOB4sr/UwhemARyGz9r3LW4=; b=BWo85WmZVDNeNgsn8dWdTNoKjQS9glw5ADDhuJVCTURKS9Hgzn5tx0W/qTzOstspyK teOWtuGYgCwW6YNCnTlZ0SChm+0HJLzIa2u4ns/rlmwXk+b73KP5w3ePfmEN0KtkAcJf D8APQNvi/XBqm74FwMTmoEVKKgdxRhW6NXtDjTy2JH0CI/Roeq2kq9L42SvmXoojgRYk K7YItePPKK+vLuL/XlsZ/GUbxvBwXdpRawplvXITC3+iuI7PbS9t/1cMESt0lB5aD7cX YEE/gdtS6hE/gEvqBePeUVgpy5OnipJ49+6iikHtun8piwpvQJHqHlZ0/Q0tv1FyinRy mbAA== X-Gm-Message-State: APzg51CSb7PA4WWYamr6vyZyjRGKwLYkmtaprspRxt79sdEF8bFS9Wko 7oY9PUdCHf95ldxmlE3WnMtHTvlJKgw= X-Google-Smtp-Source: ANB0VdbDUYOr1V86+f6FDzvIIp+wSxZk9FB7aYnOJeXYB2PIed/ucEvvnVt0ki7zQ8J8h8dMre3gDA== X-Received: by 2002:a2e:8257:: with SMTP id j23-v6mr1164878ljh.49.1535111747989; Fri, 24 Aug 2018 04:55:47 -0700 (PDT) Received: from jax.lan (81-236-179-152-no272.tbcn.telia.com. [81.236.179.152]) by smtp.gmail.com with ESMTPSA id w15-v6sm1301374lfc.62.2018.08.24.04.55.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Aug 2018 04:55:47 -0700 (PDT) Date: Fri, 24 Aug 2018 13:55:45 +0200 From: Jens Wiklander To: arm-soc Subject: [GIT PULL] tee subsystem for v4.20 Message-ID: <20180824115545.GA4989@jax.lan> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180824_160708_590885_DB9CBAD9 X-CRM114-Status: GOOD ( 14.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux Kernel Mailing List , Linux ARM Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hello arm-soc maintainers, Please pull these tee driver enhancements. There's one small fix for the OP-TEE driver to take DT status into account. There's also a patch providing a kernel only tee client interface that can be used by other drivers etc. Currently there's no users of this interface in the kernel but there seems to be some work in the pipe as some has tested it with out of tree patches. Thanks, Jens The following changes since commit 94710cac0ef4ee177a63b5227664b38c95bbf703: Linux 4.18 (2018-08-12 13:41:04 -0700) are available in the Git repository at: git://git.linaro.org/people/jens.wiklander/linux-tee.git tags/tee-drv-for-4.20 for you to fetch changes up to 25559c22cef879c5cf7119540bfe21fb379d29f3: tee: add kernel internal client interface (2018-08-24 11:57:37 +0200) ---------------------------------------------------------------- Misc enhancement for tee driver subsystem * Adds a kernel internal tee client interface allowing other drivers etc to access a TEE * OP-TEE driver takes DT status property into account ---------------------------------------------------------------- Ard Biesheuvel (1): tee: optee: take DT status property into account Jens Wiklander (1): tee: add kernel internal client interface drivers/tee/optee/core.c | 2 +- drivers/tee/tee_core.c | 113 ++++++++++++++++++++++++++++++++++++++++++++--- include/linux/tee_drv.h | 73 ++++++++++++++++++++++++++++++ 3 files changed, 180 insertions(+), 8 deletions(-)