Sorry for late answer, somewhat missed mail.

dmesg last lines that where added

[  325.691756] ccp 0000:0a:00.2: enabling device (0000 -> 0002)
[  325.692217] ccp 0000:0a:00.2: ccp enabled
[  325.702401] ccp 0000:0a:00.2: tee enabled
[  325.702405] ccp 0000:0a:00.2: psp enabled

 /sys/kernel/debug/ccp/ccp-1/stats
Total Interrupts Handled: 0
        Total Operations: 1
                     AES: 0
                 XTS AES: 0
                     SHA: 0
                     SHA: 0
                     RSA: 0
               Pass-Thru: 1
                     ECC: 0

interrupts output attached.

Domen

------ Original Message ------
From: "John Allen" <john.al...@amd.com>
To: "Domen Stangar" <domen.stan...@gmail.com>
Cc: "Tom Lendacky" <thomas.lenda...@amd.com>; "linux-crypto@vger.kernel.org" <linux-crypto@vger.kernel.org>
Sent: 07/01/2021 17:10:50
Subject: Re: problem with ccp-crypto module on apu

On Mon, Jan 04, 2021 at 04:10:26PM +0000, Domen Stangar wrote:
 Device name: ccp-1
    RNG name: ccp-1-rng
    # Queues: 3
      # Cmds: 0
     Version: 5
     Engines: AES 3DES SHA RSA ECC ZDE TRNG
      Queues: 5
 LSB Entries: 128

 Let me know if you need anything else.

Hi Domen,

Looks like we may have a lead on this problem.

Could you provide the following when you're loading the module?

dmesg
/proc/interrupts
/sys/kernel/debug/ccp/ccp-1/stats

Thanks,
John

 Domen

 > Domen, do you have the debugfs support enabled? Could you supply the output 
from /sys/kernel/debug/ccp/ccp-X/info (where X is replaced with each of the 
present ccp ordinal values)?
 >
 > Thanks,
 > Tom
 >

Attachment: interrupts
Description: Binary data

Reply via email to