<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/arch/x86/include/asm/svm.h, branch jd/orphan-parallel</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/arch/x86/include/asm/svm.h?h=jd%2Forphan-parallel</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/arch/x86/include/asm/svm.h?h=jd%2Forphan-parallel'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2020-09-28T11:57:15Z</updated>
<entry>
<title>KVM: SVM: Add new intercept word in vmcb_control_area</title>
<updated>2020-09-28T11:57:15Z</updated>
<author>
<name>Babu Moger</name>
<email>babu.moger@amd.com</email>
</author>
<published>2020-09-11T19:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=4c44e8d6c19330e48a87103184f840ffe5a423cd'/>
<id>urn:sha1:4c44e8d6c19330e48a87103184f840ffe5a423cd</id>
<content type='text'>
The new intercept bits have been added in vmcb control area to support
few more interceptions. Here are the some of them.
 - INTERCEPT_INVLPGB,
 - INTERCEPT_INVLPGB_ILLEGAL,
 - INTERCEPT_INVPCID,
 - INTERCEPT_MCOMMIT,
 - INTERCEPT_TLBSYNC,

Add a new intercept word in vmcb_control_area to support these instructions.
Also update kvm_nested_vmrun trace function to support the new addition.

AMD documentation for these instructions is available at "AMD64
Architecture Programmer’s Manual Volume 2: System Programming, Pub. 24593
Rev. 3.34(or later)"

The documentation can be obtained at the links below:
Link: https://www.amd.com/system/files/TechDocs/24593.pdf
Link: https://bugzilla.kernel.org/show_bug.cgi?id=206537

Signed-off-by: Babu Moger &lt;babu.moger@amd.com&gt;
Reviewed-by: Jim Mattson &lt;jmattson@google.com&gt;
Message-Id: &lt;159985251547.11252.16994139329949066945.stgit@bmoger-ubuntu&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: SVM: Modify 64 bit intercept field to two 32 bit vectors</title>
<updated>2020-09-28T11:57:15Z</updated>
<author>
<name>Babu Moger</name>
<email>babu.moger@amd.com</email>
</author>
<published>2020-09-11T19:28:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=c62e2e94b9d4a221f489cfeacf665c50aa9ab6cf'/>
<id>urn:sha1:c62e2e94b9d4a221f489cfeacf665c50aa9ab6cf</id>
<content type='text'>
Convert all the intercepts to one array of 32 bit vectors in
vmcb_control_area. This makes it easy for future intercept vector
additions. Also update trace functions.

Signed-off-by: Babu Moger &lt;babu.moger@amd.com&gt;
Reviewed-by: Jim Mattson &lt;jmattson@google.com&gt;
Message-Id: &lt;159985250813.11252.5736581193881040525.stgit@bmoger-ubuntu&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: SVM: Modify intercept_exceptions to generic intercepts</title>
<updated>2020-09-28T11:57:14Z</updated>
<author>
<name>Babu Moger</name>
<email>babu.moger@amd.com</email>
</author>
<published>2020-09-11T19:28:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=9780d51dc2af1c02bed9687822ba0d6df955c302'/>
<id>urn:sha1:9780d51dc2af1c02bed9687822ba0d6df955c302</id>
<content type='text'>
Modify intercept_exceptions to generic intercepts in vmcb_control_area. Use
the generic vmcb_set_intercept, vmcb_clr_intercept and vmcb_is_intercept to
set/clear/test the intercept_exceptions bits.

Signed-off-by: Babu Moger &lt;babu.moger@amd.com&gt;
Reviewed-by: Jim Mattson &lt;jmattson@google.com&gt;
Message-Id: &lt;159985250037.11252.1361972528657052410.stgit@bmoger-ubuntu&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: SVM: Change intercept_dr to generic intercepts</title>
<updated>2020-09-28T11:57:14Z</updated>
<author>
<name>Babu Moger</name>
<email>babu.moger@amd.com</email>
</author>
<published>2020-09-11T19:28:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=30abaa88382ce078cfc2ecebb61d9e0540fef24d'/>
<id>urn:sha1:30abaa88382ce078cfc2ecebb61d9e0540fef24d</id>
<content type='text'>
Modify intercept_dr to generic intercepts in vmcb_control_area. Use
the generic vmcb_set_intercept, vmcb_clr_intercept and vmcb_is_intercept
to set/clear/test the intercept_dr bits.

Signed-off-by: Babu Moger &lt;babu.moger@amd.com&gt;
Reviewed-by: Jim Mattson &lt;jmattson@google.com&gt;
Message-Id: &lt;159985249255.11252.10000868032136333355.stgit@bmoger-ubuntu&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: SVM: Change intercept_cr to generic intercepts</title>
<updated>2020-09-28T11:57:13Z</updated>
<author>
<name>Babu Moger</name>
<email>babu.moger@amd.com</email>
</author>
<published>2020-09-11T19:28:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=03bfeeb988a970995479eb6d108c398027ab7525'/>
<id>urn:sha1:03bfeeb988a970995479eb6d108c398027ab7525</id>
<content type='text'>
Change intercept_cr to generic intercepts in vmcb_control_area.
Use the new vmcb_set_intercept, vmcb_clr_intercept and vmcb_is_intercept
where applicable.

Signed-off-by: Babu Moger &lt;babu.moger@amd.com&gt;
Reviewed-by: Jim Mattson &lt;jmattson@google.com&gt;
Message-Id: &lt;159985248506.11252.9081085950784508671.stgit@bmoger-ubuntu&gt;
[Change constant names. - Paolo]
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: SVM: Introduce vmcb_(set_intercept/clr_intercept/_is_intercept)</title>
<updated>2020-09-28T11:57:13Z</updated>
<author>
<name>Babu Moger</name>
<email>babu.moger@amd.com</email>
</author>
<published>2020-09-11T19:27:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=c45ad7229d139ad48e894a271f8df6975e53d12e'/>
<id>urn:sha1:c45ad7229d139ad48e894a271f8df6975e53d12e</id>
<content type='text'>
This is in preparation for the future intercept vector additions.

Add new functions vmcb_set_intercept, vmcb_clr_intercept and vmcb_is_intercept
using kernel APIs __set_bit, __clear_bit and test_bit espectively.

Signed-off-by: Babu Moger &lt;babu.moger@amd.com&gt;
Reviewed-by: Jim Mattson &lt;jmattson@google.com&gt;
Message-Id: &lt;159985247876.11252.16039238014239824460.stgit@bmoger-ubuntu&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: SVM: Use __packed shorthand</title>
<updated>2020-09-07T17:45:24Z</updated>
<author>
<name>Borislav Petkov</name>
<email>bp@alien8.de</email>
</author>
<published>2020-09-07T13:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=976bc5e2aceedef13e0ba1f0e6e372a22164aa0c'/>
<id>urn:sha1:976bc5e2aceedef13e0ba1f0e6e372a22164aa0c</id>
<content type='text'>
Use the shorthand to make it more readable.

No functional changes.

Signed-off-by: Borislav Petkov &lt;bp@alien8.de&gt;
Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lkml.kernel.org/r/20200907131613.12703-5-joro@8bytes.org
</content>
</entry>
<entry>
<title>KVM: SVM: Add GHCB Accessor functions</title>
<updated>2020-09-07T17:45:24Z</updated>
<author>
<name>Joerg Roedel</name>
<email>jroedel@suse.de</email>
</author>
<published>2020-09-07T13:15:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=3702c2f4eed2188440f65ecdfc89165106fe565d'/>
<id>urn:sha1:3702c2f4eed2188440f65ecdfc89165106fe565d</id>
<content type='text'>
Building a correct GHCB for the hypervisor requires setting valid bits
in the GHCB. Simplify that process by providing accessor functions to
set values and to update the valid bitmap and to check the valid bitmap
in KVM.

Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lkml.kernel.org/r/20200907131613.12703-4-joro@8bytes.org
</content>
</entry>
<entry>
<title>KVM: SVM: Add GHCB definitions</title>
<updated>2020-09-07T17:45:24Z</updated>
<author>
<name>Tom Lendacky</name>
<email>thomas.lendacky@amd.com</email>
</author>
<published>2020-09-07T13:15:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=d07f46f9f51afc7fc9f021eae19eba3c2e7870ac'/>
<id>urn:sha1:d07f46f9f51afc7fc9f021eae19eba3c2e7870ac</id>
<content type='text'>
Extend the vmcb_safe_area with SEV-ES fields and add a new
'struct ghcb' which will be used for guest-hypervisor communication.

Signed-off-by: Tom Lendacky &lt;thomas.lendacky@amd.com&gt;
Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
Link: https://lkml.kernel.org/r/20200907131613.12703-3-joro@8bytes.org
</content>
</entry>
<entry>
<title>KVM: nSVM: remove trailing padding for struct vmcb_control_area</title>
<updated>2020-06-01T08:25:59Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2020-05-18T19:24:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=7923ef4f6ec4a25a902bd827446eac860b01fd1c'/>
<id>urn:sha1:7923ef4f6ec4a25a902bd827446eac860b01fd1c</id>
<content type='text'>
Allow placing the VMCB structs on the stack or in other structs without
wasting too much space.  Add BUILD_BUG_ON as a quick safeguard against typos.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
