Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2770556lqt; Tue, 23 Apr 2024 00:29:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJvMeveGB52tyYUXGW6HuNjrQ0ayggcvL0bErPsQIjT8S2qY8i9juSQGYXZbvxTykNislrRmtvTQfhG3t+emZwKafH8ZaYgFgT8GToiQ== X-Google-Smtp-Source: AGHT+IFie2X3xoaMZD6QOZEGEDD1yOpb/XWT+zLMw+bNW2uEG2STznRof3+MjbDEMJEJXmq+j22w X-Received: by 2002:a17:902:d491:b0:1e3:1542:91e2 with SMTP id c17-20020a170902d49100b001e3154291e2mr18159929plg.46.1713857362195; Tue, 23 Apr 2024 00:29:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713857362; cv=pass; d=google.com; s=arc-20160816; b=TJGcAjVUJDJvhjujzBj7kHdNkfXitre2IgA41YPIMrrUT1Cyb5oGx7MKK8ItdVDVTc VOQ17rTjU40rVUTkfI510wCXzdNi4B8gZRlqzYG5P0YZ2x8YbFh8qvhwt/1EU2xC9MOR CvdGI97vdcXl89z6ytYbAjTyfD2xuhsoUafMpMqXK/4GL4DfOsLCdIo/rkss0Gl7jNGg pFALDOwShwo5CSiIkAAbzzfFd5Iw+rw7MCLbUkny0RtiYYqCvKbWYlICw415bz9ou16m PowX/WLAfxi62iZp9FyYCEn+q6AC0w1+VleIs12fsk3ZNm6XP4W7yVUOSLULuz3f6fOX 9FFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=8J9g8lnEZxWWfzBBFOCzCi6lqmw+2v5kQ0AaUn49+uo=; fh=acWG3W+7NsG5fxERhTDM8i/IIo68imrXzDj4VuoEB4o=; b=MKBF07kiLofXmXj1WOig7ktNewD6+wzud7/p/mOK6zW4AojrKW8rlihlwWQCNL+hUw hVlM8ruzMYhpXus3haUyQD5IvnhrNBN4hE6ja6UOh6VO8tsLCIdLJAIUtGJFSGgYzaIp hnUOLf52vUaE5zQQUfc/6We8/lFgIIcLVP5yAtqGjYCbPrfp4DMvZOI/o22bQrRp/cQY zdQqfnPm02yEeI8tPTpmRLhR0Vrqx5z0xV5uZhH/Fs7cIlMvqOu3514m1PlGk/+KdDPR MDvO+GZ781TmPMyvNxH8B+POyf3DokmU4VN9Cs5diZdlMPMPPLsLfBHtkMfdqKLdbwrT 8JYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FUz2DoXo; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-154605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i16-20020a17090332d000b001e4779c8002si9055932plr.122.2024.04.23.00.29.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 00:29:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FUz2DoXo; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-154605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C933D282EDF for ; Tue, 23 Apr 2024 07:29:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BB1C46B91; Tue, 23 Apr 2024 07:29:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FUz2DoXo" Received: from mail-oo1-f49.google.com (mail-oo1-f49.google.com [209.85.161.49]) (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 DF94228689 for ; Tue, 23 Apr 2024 07:29:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713857354; cv=none; b=czXBV2zuoo1brfHB056gjMdY7wz1M4yMHh/nADdnDe3os90r8pA5/YbLlYlxf6JNsJhA1omy9+ZmcHHpIT+ULedCtLPrKC2QIOYa1ti3RBDsp/IDHpa/MTNlF0w8iSkRTqrHV9CvIQz0SIfH7/BDMbGr8ObHK4kSyNzuAF2ziFw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713857354; c=relaxed/simple; bh=8J9g8lnEZxWWfzBBFOCzCi6lqmw+2v5kQ0AaUn49+uo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Mmv0TjizUZ8kqJHBBVelok4go3aJQ82KPVo/tKo1mLzlvY26N14n3LKYKVbC5WkN7oHaPI8Z6OEWyd0gcEMfG3Q76dJVr2m8lrdnM7km4BzRQVZ4IRk7SpmxqrjAHi3wEuBWx4vmdzZH1JZE5C/E/taX4fkkjwViNynIeFOTlfk= 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=FUz2DoXo; arc=none smtp.client-ip=209.85.161.49 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 Received: by mail-oo1-f49.google.com with SMTP id 006d021491bc7-5a9ec68784cso2963777eaf.2 for ; Tue, 23 Apr 2024 00:29:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713857352; x=1714462152; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=8J9g8lnEZxWWfzBBFOCzCi6lqmw+2v5kQ0AaUn49+uo=; b=FUz2DoXoag7u3+egnkPVb61u5dTRmTG59Eh5ULYoABTNEvgm8spBYQgjOYi6ofgkjg z7Y15aMtiMY0CQMdv0KfjerjjDKVdNFm1BK6k3nIS8iAF8zEl79JnL2sFj0oYkaxo5o3 mdFRpOHo7tHhT1oEApnrx9ShsLhFwrkFxIlxT4R/iW7yYBRrLIX/AIgqwC0ntDDd++AF Im08HgmH3rcaCoR9Sb8GtE+R7JpBjO1NwHWz4gtdjSWEAA14kbHFN4U0UjZYlloAQe9G SXg1+qWt9ym40M10289wxzkMzeqV1bzGgOUtFubyC5Q4nIUorv6iw9fEKsvh0gNXz9VX yXPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713857352; x=1714462152; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8J9g8lnEZxWWfzBBFOCzCi6lqmw+2v5kQ0AaUn49+uo=; b=vk38I+deHkzbn6ixgZjs8nGhWseW2Jg9DbGCjvlKHmLUkuiE2MXFxIo+mK/MWBNcYM qQLF4ywIPZq1hY43y5YIWO9cNpqjy66TPcAlxFoCqichtefU4PoACzWWU6PI7k8Myb44 2nbIk79SAH/roWIjSvXdufUXNBxkXh1RM5LTiDgN1F2kKBBRNRDQFvZ5f398Mqw2CkuF sziDAg9fdfTRnPiUa1SxgSvJRSZOj3MbzEkXLZhLUojKlMNCNTvFn3/2lO8LwKbPsDZ0 TkRkL2jjw6YPRplb/VMmziPdVzV+I3E2QHOQ5EsKXMC0K2DHuKrYi6v5gcIoaeEujzwE DQuA== X-Gm-Message-State: AOJu0YzR3Z3c2oFiCqlQ/INc8V/oMhtoMJ9Y+bSBzx0XISVOMP2eFt9x UtjHCJpGf5xlSPu6A6nIE/3jrn1rEjibW+xjUHc9ZJM3Pk3GkcEzFoKpBruZhfHQOp0tWIb4Emh sFofzM+93MyjMCLecwjtaONG33CgZ1b4oTYsKxA== X-Received: by 2002:a4a:5406:0:b0:5aa:5252:6efc with SMTP id t6-20020a4a5406000000b005aa52526efcmr14273463ooa.9.1713857351936; Tue, 23 Apr 2024 00:29:11 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240422091936.3714381-1-jens.wiklander@linaro.org> In-Reply-To: From: Jens Wiklander Date: Tue, 23 Apr 2024 09:29:00 +0200 Message-ID: Subject: Re: [PATCH v5 0/3] Replay Protected Memory Block (RPMB) subsystem To: Avri Altman Cc: "linux-kernel@vger.kernel.org" , "linux-mmc@vger.kernel.org" , "op-tee@lists.trustedfirmware.org" , Shyam Saini , Ulf Hansson , Linus Walleij , Jerome Forissier , Sumit Garg , Ilias Apalodimas , Bart Van Assche , Randy Dunlap , Ard Biesheuvel , Arnd Bergmann , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 23, 2024 at 8:42=E2=80=AFAM Avri Altman w= rote: > > > The OP-TEE driver finds the correct RPMB device to interact with by > > iterating over available devices until one is found with a programmed > > authentication matching the one OP-TEE is using. This enables coexistin= g > > users of other RPMBs since the owner can be determined by who knows the > > authentication key. > Devices in plural? > I am unaware of any board with multi eMMC devices soldered. > Can you refer me to such a platform? I'm testing with a Hikey960 (HiSilicon Kirin 620) https://www.96boards.org/product/hikey It has one soldered eMMC and one removable eMMC. Cheers, Jens