Messages in this thread | | | Date | Tue, 31 Oct 2017 11:39:28 +0100 | From | Borislav Petkov <> | Subject | Re: [Part2 PATCH v6.1 16/38] crypto: ccp: Add Secure Encrypted Virtualization (SEV) command support |
| |
On Mon, Oct 30, 2017 at 08:29:25PM -0500, Brijesh Singh wrote: > Okay, Just tried static global with CONFIG_VMAP_STACK=y and I am getting > wrong physical address with __pa. PSP command fails with error code > "INVALID_ADDRESS". The same thing works fine with kmalloc() buffer.
Ah, right, module space is vmalloc-ed.
> To avoid repeated k*alloc calls, I could devm_kzalloc() these variable > during sev_init() and reuse them when needed.
Yap, something like that.
Thx.
-- Regards/Gruss, Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
| |