On Fri, Jun 14, 2019 at 01:35:23PM +0200, Peter Zijlstra wrote:
> On Wed, May 08, 2019 at 05:43:46PM +0300, Kirill A. Shutemov wrote:
>
> > +/* Copy the payload to the HW programming structure and program this KeyID
> > */
> > +static int mktme_program_keyid(int keyid, struct mktme_payload
On Wed, May 08, 2019 at 05:43:46PM +0300, Kirill A. Shutemov wrote:
> +/* Copy the payload to the HW programming structure and program this KeyID */
> +static int mktme_program_keyid(int keyid, struct mktme_payload *payload)
> +{
> + struct mktme_key_program *kprog = NULL;
> + int ret;
>
From: Alison Schofield
In preparation for programming the key into the hardware, move
the key payload into a cache aligned structure. This alignment
is a requirement of the MKTME hardware.
Use the slab allocator to have this structure readily available.
Signed-off-by: Alison Schofield
3 matches
Mail list logo