From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f68.google.com (mail-ej1-f68.google.com [209.85.218.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08F3114A62B for ; Sat, 17 Jan 2026 12:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.68 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768653014; cv=none; b=jM6O5F46fCRr3OkI4mNn5tZg662Frh5JSbE2Wua2//4HJ7U3TigmbqWamkj8cHVpvt14uKt5+T+02cN/22npIQhd5vD9Dc8l07Jas+ZWwCNVuqZbtsqQS45WErho0Ui9b546t+t7sSENNNetyd3e4sUV/PExax/vyjSkg8QAclM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768653014; c=relaxed/simple; bh=oJpt2EumckLr6/Gf8OW2VuhhcPu/63sI8x26iYUlCK8=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=KzRlkCkg46mO5hOQ6yEVOnw9rkJvoyLVBYuUOgcHIORvBwqQfr9Ixdz5YN1ZWGSwmtSZGckp192G+vriZZ0E/cCpbgMypeHUtUVblrk5yzwKD3+BT/hOMYS++NnhOZztosfQQHZmkPF6v49hHNAu9FkGgF0LLKr6+HzPC25hGYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ot5HU8qm; arc=none smtp.client-ip=209.85.218.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ot5HU8qm" Received: by mail-ej1-f68.google.com with SMTP id a640c23a62f3a-b79f8f7ea43so680039166b.2 for ; Sat, 17 Jan 2026 04:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1768653011; x=1769257811; darn=vger.kernel.org; h=content-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=y4m/7Bfur2xzRjYnG86QrkUmg9v434JD51BbkdRFTRE=; b=ot5HU8qmcqF8GgJCsb9oRWGIHWHg/l1TmnA73IBY+k8y9glg/N4Px/5tvXi+6Qjkjr ovRAbnLJL8/Z+RfNxwNs66qJ6G70G64q7TOZtKdJHWOQ9Fo2131MS1+TFnqkONaLAlEQ 66HC0xzkJr0dwILZjPJyGPNMNbFjMJuQipxtq+5bQli5uBbYZ8TzX/LACaPpfr46kTed gCPkzXQlBMOC0BxXdg9VBQMpOmVOnkKd4m4OnAeJVq0EirFQMHODBegSEC1UAhbaCtvI 2q9ipALV5txiQJQwExreicawTEiflJoSGBPgT8NKW4eCJLSZEWgcTkaVuZE0kMYasm4V 02Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768653011; x=1769257811; h=content-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=y4m/7Bfur2xzRjYnG86QrkUmg9v434JD51BbkdRFTRE=; b=nq0URXY/z68AOOuwcSohy2kFNgYug5iYmhZPaYTxLr0mLUBkPu4XmqGPOF4kvGdO82 vDuXcpcc/XbfPgcBjtQTzoHypIdddwCY25PD+x1ZVh7nxwmuB0vTu180Omrgv9marMNM GMICtorKKe2BtNf7gn9Ip6Uwsp6VSDZsZPN/Z1HqNhKjHVT5LP7AE1l9iCnjeM/hKdjQ +jOFAogGY7qQ9ViQX0k1Q9A4E6hvGmVNbaD3UbwgU7KqeNvpMPVCxqxktZaPCA7EvkHJ 7PAJU+EsRSMVBD/rbQGuaabnnymGZLlFuwUVTXBcdH5HSWAA+YmKZMvcuy+EIFXoDfeq PI/A== X-Gm-Message-State: AOJu0YzG+Synp/MF6k2tcp9QnIFh9M4oPBG3Tk974R2v8snz59rgvb2i WeagTKO5/gvIqfuD5D+4PJserpBbEG+7acp/btPSJFXaLdbvEPoIxOERphIHEujcb8QG7LaQLWB CCh28 X-Gm-Gg: AY/fxX4l75v9yuJFpfNBKMr16RQOJtVmcBw8MLZ2htlYrek6yBGsnT3Do5BQPwwgagY 3LEkLm89shyAilnIQWLwP78Ke2s64+D9DccPf/SK3b4tuEHKBFv4f9w/OyjUObHlE+iaYN2OWnq G7J5xHLJJnnkTTiCfQrQtZqftTsXnctYDXLqXXGMAajdZGnKeacy8Ljzcuf58cbP+H3lRMlK8gS Eid9MOhapdonCTu81gEGdFAd8TE8R82mBz3wRnPvqkCnAf7tM5uWRLwewEH5bnjI4Uj67vIHi75 JRZgKLJ8MwD8UeaiaoTafY+SIrpH7bhX2WTqqx9YmJl5tpsBDKaQtJCbWnOml7yEUexxqwdWcVV FILKKffHBXEAC/KGE6xAp1/VVaSGQrrepGV1ta7hw3H+twEZ4MqdeZIlhbzBgqWqJO1naPsKfru kPMhs0oyY2mQf7xSj5eVfdT/Vhb39AEtYs75TVr+Jppy4A4IlZZbjk5B/CRH3YT/R9SjfVCttIV VTGdOI= X-Received: by 2002:a17:907:948a:b0:b7a:5c1a:85e with SMTP id a640c23a62f3a-b8792e2f94cmr478693066b.23.1768653011270; Sat, 17 Jan 2026 04:30:11 -0800 (PST) Received: from rayden (h-79-136-84-34.A175.priv.bahnhof.se. [79.136.84.34]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b87959c9f98sm553325266b.42.2026.01.17.04.30.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jan 2026 04:30:10 -0800 (PST) Date: Sat, 17 Jan 2026 13:30:08 +0100 From: Jens Wiklander To: arm@kernel.org, soc@kernel.org Cc: linux-kernel@vger.kernel.org, op-tee@lists.trustedfirmware.org Subject: [GIT PULL] TEE bus callbacks for 6.20 Message-ID: <20260117123008.GC255115@rayden> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hello arm-soc maintainers, Please pull these updates adding TEE bus callbacks to let the users of the bus get rid of the struct device_driver callbacks .probe(), .remove() and .shutdown(). The maintainers for the updated drivers using the TEE bus have agreed to take these changes via my tree, with the exception of the maintainer for drivers/firmware/broadcom/tee_bnxt_fw.c, who has remained silent during the review. However, the changes in the drivers are straight forward so it's better to take these patches too rather than excluding them. Further details are in the last patch set: https://lore.kernel.org/op-tee/cover.1765791463.git.u.kleine-koenig@baylibre.com/ Thanks, Jens The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8: Linux 6.19-rc1 (2025-12-14 16:05:07 +1200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/tee-bus-callback-for-6.20 for you to fetch changes up to e82d0477fd80707221c3d110f56d05506de2698c: tpm/tpm_ftpm_tee: Fix kdoc after function renames (2026-01-15 10:28:33 +0100) ---------------------------------------------------------------- TEE bus callback for 6.20 - Move from generic device_driver to TEE bus-specific callbacks - Add module_tee_client_driver() and registration helpers to reduce boilerplate - Convert several client drivers (TPM, KEYS, firmware, EFI, hwrng, and RTC) - Update documentation and fix kernel-doc warnings ---------------------------------------------------------------- Uwe Kleine-König (18): tee: Add some helpers to reduce boilerplate for tee client drivers tee: Add probe, remove and shutdown bus callbacks to tee_client_driver tee: Adapt documentation to cover recent additions rtc: optee: Migrate to use tee specific driver registration function rtc: optee: Make use of tee bus methods hwrng: optee - Make use of module_tee_client_driver() hwrng: optee - Make use of tee bus methods efi: stmm: Make use of module_tee_client_driver() efi: stmm: Make use of tee bus methods firmware: arm_scmi: optee: Make use of module_tee_client_driver() firmware: arm_scmi: Make use of tee bus methods firmware: tee_bnxt: Make use of module_tee_client_driver() firmware: tee_bnxt: Make use of tee bus methods KEYS: trusted: Migrate to use tee specific driver registration function KEYS: trusted: Make use of tee bus methods tpm/tpm_ftpm_tee: Make use of tee specific driver registration tpm/tpm_ftpm_tee: Make use of tee bus methods tpm/tpm_ftpm_tee: Fix kdoc after function renames Documentation/driver-api/tee.rst | 18 +----- drivers/char/hw_random/optee-rng.c | 26 ++------- drivers/char/tpm/tpm_ftpm_tee.c | 35 ++++++++---- drivers/firmware/arm_scmi/transports/optee.c | 32 ++++------- drivers/firmware/broadcom/tee_bnxt_fw.c | 30 +++------- drivers/firmware/efi/stmm/tee_stmm_efi.c | 25 ++------- drivers/rtc/rtc-optee.c | 27 +++------ drivers/tee/tee_core.c | 84 ++++++++++++++++++++++++++++ include/linux/tee_drv.h | 12 ++++ security/keys/trusted-keys/trusted_tee.c | 17 +++--- 10 files changed, 166 insertions(+), 140 deletions(-)