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=-1.9 required=3.0 tests=DKIM_ADSP_ALL,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_DKIMWL_WL_HIGH,URIBL_BLOCKED,USER_AGENT_GIT 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 A6A12C28CC3 for ; Tue, 4 Jun 2019 20:31:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 809AB208CB for ; Tue, 4 Jun 2019 20:31:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Mg6UOLvN"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="RnAdWs9X" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 809AB208CB Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:Date:Subject:To :From: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=eZUaCFkpFNOtDDpcq0Wd6lxjUn+MiS0cZBUeFRnJfMk=; b=Mg6UOLvNChU4rc s0aMNuPAj9ccrY6Ymm0xGgv8wO8U0zl90HKXHNMcoBVJExpHwu344Zm3nzr/DKYctkeFiImAXreos C696qB+IKebXM5/Iwr7ARx0Ymkxrm0ehuocUdpn5DVWSCXMeCpg9deLXv+r/ZdlnOUW3fywGPZo46 Je58PJtO33BkNJRbBT1pdSK0EPYmSiA5DQobWIzL9TkUwl54JwK6797554MlmJVfA65oekoGVc59u uyD/9KgA9W85I3ji6J1JbnuacSoFjcVyZcn9nuX5kIAAHGglMn9ycl/BCmBuJgiWZJdreQipd1TCr k6M66eQc+xiOl5x1xCtQ==; 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 1hYG5t-0004oh-NF; Tue, 04 Jun 2019 20:31:41 +0000 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYG5l-0004gJ-GP for linux-arm-kernel@lists.infradead.org; Tue, 04 Jun 2019 20:31:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1559680293; x=1591216293; h=from:to:cc:subject:date:message-id:mime-version; bh=Qvgi9EebcCKTkJL3XH6n75abRSmA+1KjL0uPQ7HHAeo=; b=RnAdWs9XFTiBvPZ5E4kMCVf7Cm1fW4F+rjVfJoNKY8tFKoXXeMNcGNGB 6buq9dclTDfzlHT1c2e2rrUKAYydc7JFhHc4vOVkDSqtka/956Jp3ejkm 9DT7CY4DjJtpK8UojGkbkpTI7FNb93EbZhDjPHIvwqmoFQKAwJX8ArtJY M=; X-IronPort-AV: E=Sophos;i="5.60,550,1549929600"; d="scan'208";a="399352827" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2a-e7be2041.us-west-2.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 04 Jun 2019 20:31:30 +0000 Received: from EX13MTAUEB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-2a-e7be2041.us-west-2.amazon.com (Postfix) with ESMTPS id 4FA1CA21DD; Tue, 4 Jun 2019 20:31:29 +0000 (UTC) Received: from EX13D08UEB001.ant.amazon.com (10.43.60.245) by EX13MTAUEB001.ant.amazon.com (10.43.60.96) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 4 Jun 2019 20:31:28 +0000 Received: from EX13MTAUEB001.ant.amazon.com (10.43.60.96) by EX13D08UEB001.ant.amazon.com (10.43.60.245) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 4 Jun 2019 20:31:28 +0000 Received: from dev-dsk-alisaidi-i31e-4ac69482.us-east-1.amazon.com (10.200.136.151) by mail-relay.amazon.com (10.43.60.129) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 4 Jun 2019 20:31:28 +0000 Received: by dev-dsk-alisaidi-i31e-4ac69482.us-east-1.amazon.com (Postfix, from userid 5131138) id 9A8BA47DE4; Tue, 4 Jun 2019 20:31:28 +0000 (UTC) From: Ali Saidi To: , , Subject: [PATCH 0/3] Add support for Graviton TRNG Date: Tue, 4 Jun 2019 20:30:57 +0000 Message-ID: <20190604203100.15050-1-alisaidi@amazon.com> X-Mailer: git-send-email 2.15.3.AMZN MIME-Version: 1.0 Precedence: Bulk X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190604_133133_683438_2680EA45 X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Benjamin Herrenschmidt , Herbert Xu , Arnd Bergmann , Catalin Marinas , Matt Mackall , Will Deacon , Ron Rindjunsky , David Woodhouse , Greg Kroah-Hartman , Ali Saidi Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org AWS Graviton based systems provide an Arm SMC call in the vendor defined hypervisor region to read random numbers from a HW TRNG and return them to the guest. We've observed slower guest boot and especially reboot times due to lack of entropy and providing access to a TRNG is meant to address this. Ali Saidi (3): arm/arm64: Add smccc hypervisor service identifiers arm64: export acpi_psci_use_hvc hwrng: Add support for AWS Graviton TRNG MAINTAINERS | 6 ++ arch/arm64/kernel/acpi.c | 1 + drivers/char/hw_random/Kconfig | 13 ++++ drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/graviton-rng.c | 123 ++++++++++++++++++++++++++++++++++ include/linux/arm-smccc.h | 2 + 6 files changed, 146 insertions(+) create mode 100644 drivers/char/hw_random/graviton-rng.c -- 2.15.3.AMZN _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel