Message ID | 20210506090802.14268-4-pali@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=qdH4=KB=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> 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=-17.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 C9289C433ED for <linux-arm-kernel@archiver.kernel.org>; Thu, 6 May 2021 09:12:07 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 80957610C8 for <linux-arm-kernel@archiver.kernel.org>; Thu, 6 May 2021 09:12:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 80957610C8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QUq2MzDeDQXJt73c+eDPu1rNSOy9/yXfg/LrzWYrRYY=; b=RGIS22Tq7xN2u6ZlgrrfDyZz+ eRm2OHxYWn8Abn0DrYLXJjoZK17dAZctjMfs5AWi1D7TY2I8wT6KHd5qMEM+Kb1cAYWiddq4ULmKt 5/yw+9WJDxWOIHoilhN8XK8A/jU1jIV9/qf4EwR24TEcUvBlFswV0gIqGYTFGMlnqtOV9GxE1e63u aEDvlk26UWV6GRhRpK11QQOQx5AcuEPq/0GyxQbgjo7l8ifURr165ylqChGuKKr0O2oqKfPufnlhb DYCAbK/hecKM1QLorGbX4zP0poO5KuVqoi+uAxBf+CP4rditINL/EvnqqN9SQ2I2xeX265ohdhYG8 MruUgHE5Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lea0U-003kuN-R9; Thu, 06 May 2021 09:09:18 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1leZzj-003koY-Qe for linux-arm-kernel@desiato.infradead.org; Thu, 06 May 2021 09:08:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=8NZnA7V+z/EHW9keu1iVSVZG84qryZ9Vb6MgLmI5Xdk=; b=BYulTgcHn/BT6RT7hEXxFoFaVR Sr6ZaylPxJW492+z35YN20jN5gM4n2NcEMwMh8b32ZbKgNM+qwtFO5eoR1uKbQPHUJM1YC0g9PDpE R3T700SqY0K6BEBEC40noIZUdopKZA8uQa85fAiOPRANecKQLpa4QrcZrnBOTbp/P3Un7SXRN4vmS mB5trUX3WK8UbtKuqVyBs9DxmhSBypm6Jg5orWKOSEpdM9wMJZ2Dd2RwTY2d98vkVc8GDryCp7nsr xVvPNhvcK8s7rUbMUWLA6evD9a61OqkMsI85QtBGr9C8ythhM/h7ntdIS0w7edoaUUOCDkALWsdyZ DCpX/Iqw==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1leZzg-005tR4-VG for linux-arm-kernel@lists.infradead.org; Thu, 06 May 2021 09:08:30 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 68F6861378; Thu, 6 May 2021 09:08:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620292108; bh=+OylOm4Xj8hBbMUtVil2h9pLATRR6MkYlmUTGrTyvwk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OSwtFYhbtp+nn8QhfWN1UuMceplu/ZIR5t0I4DQrzHlefkT/sHW68U/gBo+r/TceQ gYDl3BaOMu3yWm/TWqILzc6sMBEGXjyho4ek4PPPUSYxphsLO7J7PIfjVr/gmg5EDj wvB00Xh8vQHKuu4tjoGAGX2dA5Ur/dwIusYex2OW5jliXVh1LzGhZ3eH5u93sTYS60 fBKdkGQXvU4n/UCOQvKo1qva1bMaT1d/BOzrxQsnzfJg9M+6WNzNozvp2raj7z2/HI OFr3V+dGJUqhqtuyJ08ngRPiySudMGEvJ2++YkP5f23J8RJTDu7zD54odtPB6hJlWc ftB1HF7mWVT4w== Received: by pali.im (Postfix) id 27D88732; Thu, 6 May 2021 11:08:28 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org> To: Gregory CLEMENT <gregory.clement@bootlin.com>, Andrew Lunn <andrew@lunn.ch> Cc: =?utf-8?q?Marek_Beh=C3=BAn?= <kabel@kernel.org>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 mvebu + mvebu/dt64 4/6] firmware: turris-mox-rwtm: show message about HWRNG registration Date: Thu, 6 May 2021 11:08:00 +0200 Message-Id: <20210506090802.14268-4-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210506090802.14268-1-pali@kernel.org> References: <20210308153703.23097-1-kabel@kernel.org> <20210506090802.14268-1-pali@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210506_020829_050551_17EF0A08 X-CRM114-Status: UNSURE ( 9.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
[v3,mvebu,+,mvebu/dt64,1/6] firmware: turris-mox-rwtm: fix reply status decoding function
|
expand
|
diff --git a/drivers/firmware/turris-mox-rwtm.c b/drivers/firmware/turris-mox-rwtm.c index 3ef9687dddca..1cf4f1087492 100644 --- a/drivers/firmware/turris-mox-rwtm.c +++ b/drivers/firmware/turris-mox-rwtm.c @@ -542,6 +542,8 @@ static int turris_mox_rwtm_probe(struct platform_device *pdev) goto free_channel; } + dev_info(dev, "HWRNG successfully registered\n"); + return 0; free_channel:
Currently it is hard to determinate if on Armada 3720 device is HWRNG by running kernel accessible or not. So print information message into dmesg when HWRNG is available and registration was successful. Signed-off-by: Pali Rohár <pali@kernel.org> Fixes: 389711b37493 ("firmware: Add Turris Mox rWTM firmware driver") --- drivers/firmware/turris-mox-rwtm.c | 2 ++ 1 file changed, 2 insertions(+)