x86/sev: Get rid of excessive use of defines
authorBorislav Petkov <bp@suse.de>
Wed, 10 Nov 2021 22:06:51 +0000 (16:06 -0600)
committerBorislav Petkov <bp@suse.de>
Mon, 15 Nov 2021 19:53:40 +0000 (20:53 +0100)
commitdbc4c70e3cdfe204a67dd66bed78709ee3000ec0
tree6677059f07bf216e4532fb96658432639a2e0147
parent18c3933c1983157df9dc06d4f3bfc764f161ed7a
x86/sev: Get rid of excessive use of defines

Remove all the defines of masks and bit positions for the GHCB MSR
protocol and use comments instead which correspond directly to the spec
so that following those can be a lot easier and straightforward with the
spec opened in parallel to the code.

Aligh vertically while at it.

No functional changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211110220731.2396491-6-brijesh.singh@amd.com
arch/x86/include/asm/sev-common.h