Message ID | 1600413795-39256-14-git-send-email-clabbe@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=p7Vf=C3=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CA454112E for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 18 Sep 2020 07:28:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 5940620795 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 18 Sep 2020 07:28:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rviKw4Up"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="FBjC2lBJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5940620795 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To: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:List-Owner; bh=Np2aOt7JhaZCpmAUNAJ8MTy/7CcwKDGIi9NW8brnLfQ=; b=rviKw4UpAJpDReQvJPvocf5CLy xFsetK8mkvp2OEWZzMVqvbYrDI8el6Ri8ZeEaXxth/NmGCH3f3dh9z19NAR/Z7BnSWNEpP3pl+yJY 26VC2BuMtkPD8/3Jzkq7BC15s+4TvYx4NoEtMnKOS0sZAREwv7JKWqFw1cuIhpYnjsLUS8QTbE2+m di99WDe1ZESjREzxgkjod0ZT1XkxRbRdjc+IYlYaUyDeU8ilcFXaAEed2jKXpiBj7ZleLvE5mANC6 4EXdkFguk69745nRt517v5VLL2L1+bn8As/XgqdsigpAhZ5Vno7lm+ovOJC8L59/6mvDvqqr8pUpc MCPD1iGw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJAme-0001W6-Tm; Fri, 18 Sep 2020 07:26:17 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJAk9-0000aH-3C for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2020 07:23:44 +0000 Received: by mail-wm1-x344.google.com with SMTP id l9so4474563wme.3 for <linux-arm-kernel@lists.infradead.org>; Fri, 18 Sep 2020 00:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=E3NfwmgIkusrIFQh/foQlCaqxL73ivfTwGYpo+owuO8=; b=FBjC2lBJgTf02yY59wYmdUOTO8EzhTzonxlGgL2okMT0KFicBzAtQY0qV8nAQHUCr4 69vUbx01Qz1CZ0mJ0zOJDes8v7oNqLFTtomIpaxRDZWjalbhpbllRnxbl15ZLaPs70WH gkk2Mt95FxliA+8Ogeh4fgvM9H3n6Uy0DcVQk3ocKawBzphUeMuxFBBcOH0LW0KU1zP6 okmqLAEIJY+L1OYLtqrZK0MTEg32yRwxHjcDsbffj+NrVm2XIJwbOVaXA3p5GoSuUVej Z+lgZVlqvxIBojWuiXmr23l3eljiwz1fPKuAhG61JowNzqL0UrCxFEkumljrJqdsriPb WwNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=E3NfwmgIkusrIFQh/foQlCaqxL73ivfTwGYpo+owuO8=; b=s+Ee1RDMjBlGbV4Xq9f9NeQRFTAu7mfojew17DAldyO3V1lg7ANDo5ihtRuNRLGh+M vcVt41GeKrGj33twzGsUFSugGH524igxk6VE6G/reoU7/mtL7SWA+k/4A65XMVO4LnIp 5l3S8CpWgtkwk3Sx//6MemNOXuUBnuRYwDNq7IAVznr4oYePfNkk/1MZmQCDdKodIm2V wPfp80yfnHSC0CspD0UU43a29TkUprrna7GGPUOlSK+I7sqcgWig/bGhhZtr9y23qp/7 4bvsuvDzb1RrJJyqsl121HrLt+MD/HFVhT6/d7pxURC6U6mhlSoQO+WddV86R/ZQO1NS ot8g== X-Gm-Message-State: AOAM531U89/RIgn7dDjncGvitraRGaNIuUIqe1EoyqlK/PMtz9Pc/lK9 hiD5IjBU8c+0gv2WbrJ1lm+U9RU9z7/zeA== X-Google-Smtp-Source: ABdhPJyiEUHG4TOWclIOaejkiufPXE8kBmSlXhj5fEFu4UCDkbLnQ606xYLAMEzyVtWtnzsEJImRPw== X-Received: by 2002:a7b:c958:: with SMTP id i24mr14673116wml.50.1600413819812; Fri, 18 Sep 2020 00:23:39 -0700 (PDT) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id z19sm3349546wmi.3.2020.09.18.00.23.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Sep 2020 00:23:39 -0700 (PDT) From: Corentin Labbe <clabbe@baylibre.com> To: davem@davemloft.net, herbert@gondor.apana.org.au, mripard@kernel.org, wens@csie.org Subject: [PATCH v7 13/17] crypto: sun8i-ce: Add stat_bytes debugfs Date: Fri, 18 Sep 2020 07:23:11 +0000 Message-Id: <1600413795-39256-14-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600413795-39256-1-git-send-email-clabbe@baylibre.com> References: <1600413795-39256-1-git-send-email-clabbe@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200918_032341_189703_20215DE1 X-CRM114-Status: GOOD ( 14.88 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:344 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 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> Cc: Corentin Labbe <clabbe@baylibre.com>, linux-sunxi@googlegroups.com, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
crypto: allwinner: add xRNG and hashes
|
expand
|
diff --git a/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h b/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h index 9311c114947d..c80006853d10 100644 --- a/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h +++ b/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h @@ -280,6 +280,7 @@ struct sun8i_ce_hash_reqctx { * @alg: one of sub struct must be used * @stat_req: number of request done on this template * @stat_fb: number of request which has fallbacked + * @stat_bytes: total data size done by this template */ struct sun8i_ce_alg_template { u32 type; @@ -293,6 +294,7 @@ struct sun8i_ce_alg_template { #ifdef CONFIG_CRYPTO_DEV_SUN8I_CE_DEBUG unsigned long stat_req; unsigned long stat_fb; + unsigned long stat_bytes; #endif };
This patch adds a new stat_bytes counter in the sun8i-ce debugfs. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> --- drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 2 ++ 1 file changed, 2 insertions(+)