Messages in this thread | | | Date | Fri, 19 Nov 2021 09:36:51 +0100 | From | Joerg Roedel <> | Subject | Re: [PATCH] Fix SEV-ES INS/OUTS instructions for word, dword, and qword. |
| |
Hi Michael,
On Wed, Nov 17, 2021 at 06:13:26PM -0800, Michael Sterritt wrote: > Properly type the operands being passed to __put_user()/__get_user(). > Otherwise, these routines truncate data for dependent instructions > (e.g., INSW) and only read/write one byte. > > Tested: Tested by sending a string with `REP OUTSW` to a port and then > reading it back in with `REP INSW` on the same port. Previous behavior > was to only send and receive the first char of the size. For example, > word operations for "abcd" would only read/write "ac". With change, the > full string is now written and read back.
Thanks for fixing this! When you re-send, please change the subject to
x86/sev-es: Fix SEV-ES INS/OUTS instructions for word, dword, and qword
Regards,
-- Jörg Rödel jroedel@suse.de
SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 Nürnberg Germany
(HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
| |