Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1199040pxy; Thu, 29 Apr 2021 01:40:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNZoydDn2TuR4sjWG5nsZi4guUzM6xGR0ETuSdNSiQCFOnDRZACQfhjmMioTrux2H/gm03 X-Received: by 2002:a17:906:eda3:: with SMTP id sa3mr12907017ejb.415.1619685614963; Thu, 29 Apr 2021 01:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619685614; cv=none; d=google.com; s=arc-20160816; b=i14ZHTaZsKqLQMqcIm0BXHAwVuf8h1k3u+UEmi+kZR/QM8sA8QhPc6bCmsXYfmOAb5 u9AAnp10AxTf9KkSsX+Fs/XI8nKgFAbOgNbpNwsl6p65cr2DA5aowIWaC2nF7lqc8xBl zP57zJK/KlUIxl+li+e+yqJzOQ4i1WBvX6oXp5pVvYigRdBTIN/BNktTbyS0YHd9uedR DCP8H9NcR2lK9KdH34jp99N8922b6yx574Q0gznLThaASmRG89gXLfgkVX1ueeAWcGPU DEDJUDchC2RibPg+l0KzH4upeVA5e66QxO964pPj+wdlCRe8ynjy8HE6tDvNMTnicCHH lPXQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8NZnA7V+z/EHW9keu1iVSVZG84qryZ9Vb6MgLmI5Xdk=; b=vyFraxxoN2kfb9sInE+A2gGJNXYLIs6RQWXR0OixGc5EUu6i9N4vLQLSeZdCbVhsCr Ha93naST3CVv3NkPnVjJ6j7T+AKpxTW61Oby1zpL16jBnDIF0EWhYDH/NEQ5ger8/cl9 5XIXfQSMUXwkutfEyQf9l/vdAbZvHvt1rwWH+kZhuOcNn8wb9GL+JboQH2g8+JJpEEck vnG5PYmxElhU2WyRt5Y1iezZDFzs3G8E4dKR7R3hEU/vz7G2PtXyV3IRlHca179VGD9c PJHdCEwt2sbDYEzOdNfjj0+l0NC8Qcnacp61QyVpjkvXeukeuSA5yKytJkxcpv+S4ylW 11Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YNhuNvCO; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gx23si2592211ejb.463.2021.04.29.01.39.51; Thu, 29 Apr 2021 01:40:14 -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=@kernel.org header.s=k20201202 header.b=YNhuNvCO; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239950AbhD2Ihk (ORCPT + 99 others); Thu, 29 Apr 2021 04:37:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:47828 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239901AbhD2Ihh (ORCPT ); Thu, 29 Apr 2021 04:37:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C084261186; Thu, 29 Apr 2021 08:36:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619685410; bh=+OylOm4Xj8hBbMUtVil2h9pLATRR6MkYlmUTGrTyvwk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YNhuNvCOvWoT5QiNHqzkYjm4/oZfCG9xk1G8IbaSStbr0eaedpPsbdCOdspR/6hjW rJ664iDKPkaiLOy+d7Uxu/rKH5XOj4Hs6W/FMJR8XknFuAzTsmzW4q+UtIdv3uuP5e JYrfjDUtHQLYYUswY2BvUtLpW65G6r+H8X2OxTmzaBsyw7VaGNh3/Q1WY8BzKVNUTy scz3TXBpWQSjHPlawqd6od+MKB9qzK7BsxSc7uwnbl570ITBlbLtAj+d1oTwHEygnl kuOsRf5WlCMg2PXmsmVaOD5DZftBbkkaEBoTvE74ac3NsA/C1BihITZliIjEAr2jM3 gu1bx+d8AsHEQ== Received: by pali.im (Postfix) id 79FB37DF; Thu, 29 Apr 2021 10:36:50 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Gregory CLEMENT , Andrew Lunn Cc: =?UTF-8?q?Marek=20Beh=C3=BAn?= , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 mvebu + mvebu/dt64 4/6] firmware: turris-mox-rwtm: show message about HWRNG registration Date: Thu, 29 Apr 2021 10:36:34 +0200 Message-Id: <20210429083636.22560-4-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210429083636.22560-1-pali@kernel.org> References: <20210308153703.23097-1-kabel@kernel.org> <20210429083636.22560-1-pali@kernel.org> 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 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 Fixes: 389711b37493 ("firmware: Add Turris Mox rWTM firmware driver") --- 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 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: -- 2.20.1