[RFC Part1 PATCH v3 13/17] x86/io: Unroll string I/O when SEV is active
David Laight
David.Laight at ACULAB.COM
Thu Jul 27 17:45:25 AEST 2017
From: Brijesh Singh
> Sent: 26 July 2017 21:07
...
> I am not sure if I understand your concern.
>
> Are you commenting on amount of code duplication ? If so, I can certainly improve
> and use the similar macro used into header file to generate the functions body.
If you are careful the real functions could expand the inline functions
that get used when SEV is compiled out.
Oh, if you are looking at this, can you fix memcpy_to_io()
so that it is never 'rep movsb'?
David
More information about the Linuxppc-dev
mailing list