From patchwork Thu Jun 23 19:51:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1647344 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=qMyacFaX; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LTW9N0CS9z9sGk for ; Fri, 24 Jun 2022 05:51:49 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 46DC0842DC; Thu, 23 Jun 2022 21:51:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="qMyacFaX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3B49D842F1; Thu, 23 Jun 2022 21:51:37 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (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 E8286842D4 for ; Thu, 23 Jun 2022 21:51:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72f.google.com with SMTP id b133so365035qkc.6 for ; Thu, 23 Jun 2022 12:51:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/KzIwz4O2Sdr1yL7lM8ViLYiXX2rdRalXRWwxxwTGk4=; b=qMyacFaXC+2ES+pFG3bkAasO8mz17f3a0//FFAakx9SwhRsPLgSZmOhR5rJV23RvlI wtWIglzeTJ2CQOC8i69+B4SkqFoXD1MsM5KwlxV4HWBAw3djSc9G3iUfHP9nynuaGu+g y2QSaODZuQEaDRdf3wTSvPJicJxpTTTYnwjf4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/KzIwz4O2Sdr1yL7lM8ViLYiXX2rdRalXRWwxxwTGk4=; b=MGPfzynpHSoKlJROeCTJbHNv/J+0Lp13uUWXjDGTFGa6vCe6sMGbJGMEr37CCIaegE WGqKEUGFt1j7KV1K0gILc/qyxuYddjNX1L3E4QZ5BNBNUFk/4PHeU/Q1fhTSXT9GsaAr 7nXZV7hS08fnfBMePryQ79j3zZOgWYoczsJ7MOfoW2NucO66462LILW3XRWcIWHrJKyd hzZmg3uFz9ozLcsjcy0gVkp0hssbXyCuvt4cbj1xTQ6UUycIZjKkm3VBq44Je1FPWHsU eskCPDH7c1W4ErmGJ2Ux3YwwOYQcyzcatFO/rHlSklI5e8BCHe8wHydb1h+3cN4VUZO9 dGBQ== X-Gm-Message-State: AJIora8XHhQV0n4sX8uqffURp5tPFLLSuG5piJMv7ejPS88giHcZR2BC 0endshXCQ5X/EgW2qR+vyVKWvC6LwGM1fQ== X-Google-Smtp-Source: AGRyM1sY+Zc8Dx3lMEyJB/O2xHxPZ/BNenZ+cN0wqQstzlZBgYQTHNfHMjDX9KJS1UsZbnqP+SeL9A== X-Received: by 2002:a05:620a:2589:b0:6ab:91fd:3f7 with SMTP id x9-20020a05620a258900b006ab91fd03f7mr7836803qko.104.1656013893365; Thu, 23 Jun 2022 12:51:33 -0700 (PDT) Received: from bill-the-cat.lan (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id cj20-20020a05622a259400b002f936bae288sm110399qtb.87.2022.06.23.12.51.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 12:51:32 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Loic Poulain , Tuomas Tynkkynen Subject: [PATCH] qemu_arm64: Enable CONFIG_ARMV8_CRYPTO support Date: Thu, 23 Jun 2022 15:51:31 -0400 Message-Id: <20220623195131.2815596-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <1654107991-598-6-git-send-email-loic.poulain@linaro.org> References: <1654107991-598-6-git-send-email-loic.poulain@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean Now that we can make use of CPU features for sha1/sha256, enable in QEMU so that we get some test coverage. Cc: Loic Poulain Cc: Tuomas Tynkkynen Signed-off-by: Tom Rini --- configs/qemu_arm64_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig index 87acf00f30e3..f7c93ba2af54 100644 --- a/configs/qemu_arm64_defconfig +++ b/configs/qemu_arm64_defconfig @@ -8,6 +8,7 @@ CONFIG_ENV_SECT_SIZE=0x40000 CONFIG_DEFAULT_DEVICE_TREE="qemu-arm64" CONFIG_DEBUG_UART_BASE=0x9000000 CONFIG_DEBUG_UART_CLOCK=0 +CONFIG_ARMV8_CRYPTO=y CONFIG_SYS_LOAD_ADDR=0x40200000 CONFIG_ENV_ADDR=0x4000000 CONFIG_DEBUG_UART=y