From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3456C4338F for ; Sat, 24 Jul 2021 21:13:28 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 35E7460E8C for ; Sat, 24 Jul 2021 21:13:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 35E7460E8C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 86D9083211; Sat, 24 Jul 2021 23:13:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="bkj4L6ta"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3B63E831D3; Sat, 24 Jul 2021 23:12:17 +0200 (CEST) Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A5647831AF for ; Sat, 24 Jul 2021 23:12:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-wr1-x441.google.com with SMTP id r2so6282821wrl.1 for ; Sat, 24 Jul 2021 14:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:in-reply-to:references:date:message-id :subject:to:cc; bh=JHlTK736zLNoe80HCOdrdx117v9FTNNkaA0I+DMTJBA=; b=bkj4L6ta/My/SKf2pDRbUXW/wyd4eI0eusn0A/DlUW/YW0kj4qvc0n/OhLuaUYiLD5 2I9aA9joicVaRrO7ZH0BglBgdwO18fJ5oXQ4Wv9jMGvaD0OThsEYnb7i+bdf5dayLhzQ POeqiWAUSTiMjfpJu/VcacW9o1HZinh1lIv40= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:in-reply-to:references :date:message-id:subject:to:cc; bh=JHlTK736zLNoe80HCOdrdx117v9FTNNkaA0I+DMTJBA=; b=sb9AXngML2UyYAMehCdAQsQNvgRufDvsTmavs0hqGFFhQCkO5kCDvwCeDh9f4KIGCN Fi0B0jk5jGYs5wtMvIKRoFZ5NaFfFnq5i5o8PrCQoL5wytC0kjLMpOj2J+4vSUHZRves /9OI6rnUmvKFUJL6oy4jkAxVsfXEBMatQ2pQoP9MY6xkgALI9H8/1fy3d7FzQ0SBS6lN 6Yfah39rIFHRjVhUfaf7f3TY03Eutis9WpUX+ZAI026lQj55W9oxmxYwmnQjXfD2QFVc fn6w+IFZVOQX5knsXK28CmvriWuxc214k1wkoTyVWZMohmvMEtWVuVSpLPbLphpEUH76 pgtw== X-Gm-Message-State: AOAM5328jz4ZuKwdhJHoqNWDYCOzU9mu5hAr4+yS+Td5WGpuDAnHJyfW AmiBLs3UPGLlvDaCoR06AnJZssF8aZSWS7Xv5ZyI7Q== X-Google-Smtp-Source: ABdhPJzpqu0IOxKzOEnuoScHi8D2xEM20hkzP/bclz63+FtXhGQSWV0s/jLpo4neolW7ly9m4NuOQfoAqBLsTzMij1o= X-Received: by 2002:a5d:4522:: with SMTP id j2mr11029204wra.43.1627161130910; Sat, 24 Jul 2021 14:12:10 -0700 (PDT) Received: from 480794996271 named unknown by gmailapi.google.com with HTTPREST; Sat, 24 Jul 2021 14:12:08 -0700 MIME-Version: 1.0 From: Simon Glass In-Reply-To: <20210718201806.761202-4-sjg@chromium.org> References: <20210718201806.761202-4-sjg@chromium.org> <20210718201806.761202-1-sjg@chromium.org> Date: Sat, 24 Jul 2021 14:12:08 -0700 X-Google-Sender-Auth: xyBd_le2CyD_Kx-825WXHjGh8Yk Message-ID: Subject: Re: [PATCH v2 03/10] sandbox: tpm: Support the define-space command To: Simon Glass Cc: Ilias Apalodimas , Thirupathaiah Annapureddy , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Add support for this command, moving away from the previous approach of hard-coding the initial data in the driver, now that the kernel-space data has to be set up by the higher-level vboot code. Signed-off-by: Simon Glass --- (no changes since v1) drivers/tpm/sandbox_common.c | 11 +++++++++++ drivers/tpm/sandbox_common.h | 12 ++++++++++++ drivers/tpm/tpm_tis_sandbox.c | 11 +++++++++++ 3 files changed, 34 insertions(+) Applied to u-boot-dm, thanks!