Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3854515pxv; Mon, 19 Jul 2021 10:19:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxm9rRX8Y4i2x5o1Y49vshPKMsj04+ewgJAEjesogZ6bz4Mku0mVsYoBHC2FilQsAlOfns9 X-Received: by 2002:a17:906:6d0a:: with SMTP id m10mr28720102ejr.106.1626715151518; Mon, 19 Jul 2021 10:19:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626715151; cv=none; d=google.com; s=arc-20160816; b=xGTvkNEcTJ/p3spa+786w26GcASJr8hZV7iJRVpKXy9Wpz+ZvwswKJy5QllqrEf7zS emRjq5I9IElKxGL1Y/sBQGde7Nm7KVOsM5y7if6i7860i+fmkNs6QXiN9FvN1KgaMpPI 1Ll2Qe9lfbFlHyBqtYK7O2obkSh+6N7/U43ClmtfQfgA+V1+UFkEpahnQWzA2Sr34LpF e0GHLx34EgkIbvkOhMAI2VYXOSZIz8palu5gC4wCDjGgXokSiDI0t+b8fqiboGIecrRI Te3eDtSPXnHrE8WNXbsqvEoWiUT4K7HkQAZZYvfclz4lVxOGCYEGbpnFPmsUm8yzgWo+ L0Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VqaYGD+HN1QaixWp5wEo3GgE6dlZugERX2tUfBBs4EY=; b=lAMkmcpoJbnIurDEs7X57tUz8xzDumG8nHbpakYtXRKiG5IynmL5Gk9uxrxa+VubzM cpv0I5u/dKnC4FUvMfGiXHob4KZgKEVtcOuMcqIhzLe2J6Tga9Ml+SuHW5RTVdjCReBI F0+Lc9T4pKsUXh57YhUpQ8lof2GSYR+I+j7Al9p0wBUG/qdNCjofR6XznQ7cHnPuPHNF eWJhUY9M8GnYQk1nITbK0Ml+AG+w7mZt9rBg2QxfdWsGUc8Mx9ZNy/8NDA3CzLe03Bxn lMmWIrT1ycw3A4oE7q+hWO9t1BIwBzFGMClirloOgHZklckIsa0FaAJFeXKaGVLgG5P9 evNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q5qMG0tn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si18032826ejx.84.2021.07.19.10.18.48; Mon, 19 Jul 2021 10:19:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q5qMG0tn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355339AbhGSQgP (ORCPT + 99 others); Mon, 19 Jul 2021 12:36:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:40020 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348067AbhGSPYd (ORCPT ); Mon, 19 Jul 2021 11:24:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EC63861408; Mon, 19 Jul 2021 16:01:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710473; bh=tZxCDtutOCGv0LQUUftzR3sRL4VvazvHKluusFcmX40=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q5qMG0tn/ZOVBKk+OWhZ+vbC8NW/tKVXRQbzxCS5gSXSv56oOGENrMMqN2hWemCFP QgLeibKAPoAmgJNR0CT/p0GkxAADIKqTsvnotZIV8c7aAAQp8Co5sT16m1BuE80sbM DpwAiDny6Zi/Y4k580pMPjVE7tpdrGJk5Ep8fPWU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= , Andrew Lunn , Gregory CLEMENT , Sasha Levin Subject: [PATCH 5.10 232/243] firmware: turris-mox-rwtm: show message about HWRNG registration Date: Mon, 19 Jul 2021 16:54:21 +0200 Message-Id: <20210719144948.415008690@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144940.904087935@linuxfoundation.org> References: <20210719144940.904087935@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pali Rohár [ Upstream commit fae20160992269431507708fb74c1fd9f3c309c1 ] 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. Fixes: 389711b37493 ("firmware: Add Turris Mox rWTM firmware driver") Signed-off-by: Pali Rohár Reviewed-by: Andrew Lunn Signed-off-by: Gregory CLEMENT Signed-off-by: Sasha Levin --- drivers/firmware/turris-mox-rwtm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/firmware/turris-mox-rwtm.c b/drivers/firmware/turris-mox-rwtm.c index 2b56dd05961f..03f1eac9ad69 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: -- 2.30.2