Message ID | 1598017415-39059-14-git-send-email-clabbe@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=QQOt=B7=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 653D2739 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 21 Aug 2020 13:47:57 +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 E50B82078D for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 21 Aug 2020 13:47:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="K4YylW5P"; 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="qzhMfMz2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E50B82078D 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=5C8qTo6i3dKSn8vGsQ2mGFdr5/NMmA9byrke0Jomp44=; b=K4YylW5P0QvKIvoa0l3iOF0Zpk 4OpDFwaiAsSlDsamsMhABNWFDA2moZNPiiMsv/8kZZDWaojWSySxHh4bFEDVHQCz7gvJ/QXk/61kD 7/dOdegOyg0e60cU4efw3Rg11mD1dNHJ3MYftfXxbCm1T3/sX7Lj4W/ZURNBqYnA62RYjsyTkuPie 79Qxg5dlMOY0lgqDyGPmCBECJfRwmpcDzp04yGrG0qRbwBjjalaf+C7hgQV1mWazjmqfmr+SeH7Zf p56k5K6Ko0pZ5PoCnM4Xy8+u5uI3fISpkiAHZlLWzRdl37Bw5fQYiC4IWwNGDtPkvJkjuZw/CxZLG MsddQDBA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k97MQ-00084P-Jd; Fri, 21 Aug 2020 13:45:38 +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 1k97Kn-0007J2-Mj for linux-arm-kernel@lists.infradead.org; Fri, 21 Aug 2020 13:44:00 +0000 Received: by mail-wm1-x344.google.com with SMTP id x5so1920047wmi.2 for <linux-arm-kernel@lists.infradead.org>; Fri, 21 Aug 2020 06:43:57 -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=B84TBgeETkt4nO+wKVIpW+Ds3pJrpx/FZNcZ1KM26KI=; b=qzhMfMz2pYo3dfCmE2jcOiTQ7QRc8eVbVvW8h/IQFjSwZms5FsJn+SElHNWJKDCuN6 jGVWaJnbEK84vGImJkA+0rfJmhQ60sxlZQyeDfUCOkc0DQkIbIPqwRXYaKn4wXO0Jki/ itGtJ2j0/7clFZeN1H9t9Fl2WrmlC2oALvGqiTuo8lzkGLSzF6VydprwtvOrvppUsuwL d0QmRQ436m/9f357AWW0/Cj3eMK5td/LSyz7rapUwPvVOgiWeRZUoOByR7MROFUJQqHr VL9r+LIlweL4MTHW7nHbgJwryAXi57ITFVAxEXW36H8XMGlizGYQ1MuLkgwLBoEkMDIJ fwqg== 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=B84TBgeETkt4nO+wKVIpW+Ds3pJrpx/FZNcZ1KM26KI=; b=N5ovMBViGtNP/NikvQf5bkl7RRO8gGj/pQ2KELE0mBV9pyNh790OHZft2HNxNMKC8o lLn2II7zZG2hq2WjNVsZ5hh0pFhQz2zTLhBcCjBONwUWR4Mobf+cJWVUJiwbm1bck+kQ RKG3XBb47Dtys2fg+6CjgAioXKBSAiOQDlSxpN3CkIiREfLr6X6vuI+jxfH0JW3yeci1 AAWynnSRQqXfbd/SCwJkCCXZg+arp2U4LBXMV1y5uLZZs4YL5eE4+t46XTaRzji4Yqx/ V/7TQcoSNpHFyeFQRBVWaAYuKycI9cMkQFpH0aA+SlpjPRkwS2FdjDT7MzXIPdgI/RB+ 3/nA== X-Gm-Message-State: AOAM531gkosi5lFhl4rblehC1xsjQ+yVFy/JsMN8kLzFLTsXLSectjZV vn2dlH2GIId8MVyv7n6X7U9NMg== X-Google-Smtp-Source: ABdhPJzREPM8AZSbvPI16D0PfUUSdv2MuGQx5rglejeds4xHN524lCmTUCCQJyNMjOoHOavRs3rPvw== X-Received: by 2002:a7b:c015:: with SMTP id c21mr3272411wmb.87.1598017436851; Fri, 21 Aug 2020 06:43:56 -0700 (PDT) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id 202sm5971179wmb.10.2020.08.21.06.43.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Aug 2020 06:43:56 -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 v5 13/18] crypto: sun8i-ce: Add stat_bytes debugfs Date: Fri, 21 Aug 2020 13:43:30 +0000 Message-Id: <1598017415-39059-14-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1598017415-39059-1-git-send-email-clabbe@baylibre.com> References: <1598017415-39059-1-git-send-email-clabbe@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200821_094358_739125_2C7D4E1C X-CRM114-Status: GOOD ( 14.86 ) 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_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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-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 6bbafdf9d40c..910b510d7bb2 100644 --- a/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h +++ b/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h @@ -276,6 +276,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; @@ -289,6 +290,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(+)