From: Brijesh Singh Subject: Re: [Part1 PATCH v7 13/17] x86/io: Unroll string I/O when SEV is active Date: Sat, 21 Oct 2017 06:26:52 -0500 Message-ID: References: <20171020143059.3291-1-brijesh.singh@amd.com> <20171020143059.3291-14-brijesh.singh@amd.com> <20171020193953.7814f013@alans-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: brijesh.singh@amd.com, x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Borislav Petkov , Tom Lendacky , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Borislav Petkov , Andy Shevchenko , David Laight , Arnd Bergmann To: Alan Cox Return-path: In-Reply-To: <20171020193953.7814f013@alans-desktop> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Hi Alan, On 10/20/17 1:39 PM, Alan Cox wrote: > On Fri, 20 Oct 2017 09:30:55 -0500 > Brijesh Singh wrote: > >> From: Tom Lendacky >> >> Secure Encrypted Virtualization (SEV) does not support string I/O, so >> unroll the string I/O operation into a loop operating on one element at >> a time. > Does this also mean that any firmware running in the virtual machine > (EFI, BIOS, VGA etc) has to be patched and if so shouldn't that be > documented somewhere ? Yes. SEV support has been added to EDK2/OVMF virtual machine bios and we have similar patch [1]. [1] https://github.com/tianocore/edk2/commit/b6d11d7c467810ea7f2e2eda46ef0bdc57bf1475 -Brijesh