Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1732945

Re: [RFC Part1 PATCH v3 13/17] x86/io: Unroll string I/O when SEV is active

From Borislav Petkov <bp@suse.de>
Newsgroups linux.kernel
Subject Re: [RFC Part1 PATCH v3 13/17] x86/io: Unroll string I/O when SEV is active
Date 2017-09-15 18:30 +0200
Message-ID <uq1F8-5pk-13@gated-at.bofh.it> (permalink)
References (5 earlier) <uhkH0-53a-17@gated-at.bofh.it> <upXUS-2J1-17@gated-at.bofh.it> <uq06m-4g8-25@gated-at.bofh.it> <uq06m-4g8-23@gated-at.bofh.it> <uq1F8-5pk-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 15, 2017 at 09:48:53AM -0500, Brijesh Singh wrote:
> I see the similar issue with non SEV guest with my simple patch below.
> Guest will reboot as soon as it tries to enable the key.

Can't do it there as the pagetable is not setup yet and you're probably
getting a #PF on any of the derefs down the static_key_enable() path.

I guess one possible place to enable the static key would be in
mem_encrypt_init() where everything should be set up already.

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [RFC Part1 PATCH v3 13/17] x86/io: Unroll string I/O when SEV is  active Borislav Petkov <bp@suse.de> - 2017-09-15 14:30 +0200
  Re: [RFC Part1 PATCH v3 13/17] x86/io: Unroll string I/O when SEV is  active Borislav Petkov <bp@suse.de> - 2017-09-15 16:50 +0200
    Re: [RFC Part1 PATCH v3 13/17] x86/io: Unroll string I/O when SEV is  active Borislav Petkov <bp@suse.de> - 2017-09-15 18:30 +0200

csiph-web