Team for it 19

2018-10-02 Thread Cathy
Do you need photos cutting out or retouching? We are a image edit team and we do editing for the e-commerce photos, portrait photos and others. We can provide testing to check quality. Waiting for your reply and photo work you need to be done. Thanks, Cathy

Team 22

2018-10-02 Thread Cathy
Do you need photos cutting out or retouching? We are a image edit team and we do editing for the e-commerce photos, portrait photos and others. We can provide testing to check quality. Waiting for your reply and photo work you need to be done. Thanks, Cathy

Team for it 23

2018-10-02 Thread Cathy
Do you need photos cutting out or retouching? We are a image edit team and we do editing for the e-commerce photos, portrait photos and others. We can provide testing to check quality. Waiting for your reply and photo work you need to be done. Thanks, Cathy

[PATCH] scsi: storvsc: Allow only one remove lun work item to be issued per lun

2017-10-17 Thread Cathy Avery
eue to serialize work in storvsc_handle_error [Christoph Hellwig] Signed-off-by: Cathy Avery --- drivers/scsi/storvsc_drv.c | 27 ++- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 5e7200f..6febcdb

[PATCH V2] scsi: storvsc: Allow only one remove lun work item to be issued per lun

2017-10-17 Thread Cathy Avery
eue to serialize work in storvsc_handle_error [Christoph Hellwig] Signed-off-by: Cathy Avery --- drivers/scsi/storvsc_drv.c | 27 ++- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 5e7200f..6febcdb

Re: [PATCH V2] scsi: storvsc: Allow only one remove lun work item to be issued per lun

2017-10-31 Thread Cathy Avery
ss guarantee and use WQ_MEM_RECLAIM if so. Cathy? Sorry for the delay. Long was working on a similar problem and we needed to add a couple of extra patches. I was thinking of sending all three in series but I can send the V3 of this now and follow up with the additional patches. Does that make sense?

[PATCH V3] scsi: storvsc: Allow only one remove lun work item to be issued per lun

2017-10-31 Thread Cathy Avery
eue to serialize work in storvsc_handle_error [Christoph Hellwig] Changes since v2: Replaced create_singlethread_workqueue with alloc_ordered_workqueue [Christoph Hellwig] Added reviewed by's. Signed-off-by: Cathy Avery Reviewed-by: Christoph Hellwig Reviewed-by: Long Li --- drivers/scsi/storvsc

Re: [PATCH] storvsc: Avoid excessive host scan on controller change

2017-11-06 Thread Cathy Avery
while running fio and taking hyperV snap shots while luns are being hot added and removed. Tested-by: Cathy Avery

Re: [PATCH v3 2/2] x86/kvm: Expose new features for supported cpuid

2020-08-10 Thread Zhang, Cathy
On 8/10/2020 1:14 AM, Paolo Bonzini wrote: On 09/08/20 09:47, Cathy Zhang wrote: Expose the SERIALIZE and TSX Suspend Load Address Tracking features in KVM CPUID, so when running on processors which support them, KVM could pass this information to guests and they can make use of these features

Re: [PATCH v3 2/2] x86/kvm: Expose new features for supported cpuid

2020-08-10 Thread Zhang, Cathy
On 8/11/2020 7:59 AM, Luck, Tony wrote: As you suggest, I will split the kvm patch into two parts, SERIALIZE and TSXLDTRK, and this series will include three patches then, 2 kvm patches and 1 kernel patch. SERIALIZE could get merged into 5.9, but TSXLDTRK should wait for the next release. I just

[PATCH v3 1/2] x86/cpufeatures: Enumerate TSX suspend load address tracking instructions

2020-08-09 Thread Cathy Zhang
t will appear in the "main" manual (SDM) in the future. Signed-off-by: Kyung Min Park Signed-off-by: Cathy Zhang Reviewed-by: Tony Luck --- Changes since v2: * Shorten documentation names for readability. Links to documentation can be found in the cover letter. (Dave Hansen) --- arch

[PATCH v3 0/2] Expose new features for Intel processor

2020-08-09 Thread Cathy Zhang
/develop/public/us/en/documents/architecture-instruction-set-extensions-programming-reference.pdf Cathy Zhang (1): x86/kvm: Expose new features for supported cpuid Kyung Min Park (1): x86/cpufeatures: Enumerate TSX suspend load address tracking instructions arch/x86/include/asm/cp

[PATCH v3 2/2] x86/kvm: Expose new features for supported cpuid

2020-08-09 Thread Cathy Zhang
dicated as CPUID.(EAX=7,ECX=0):EDX[bit 16]. Those instructions are currently documented in the the latest "extensions" manual (ISE). It will appear in the "main" manual (SDM) in the future. Signed-off-by: Cathy Zhang Reviewed-by: Tony Luck --- Changes since v2: * Merge two pa

[PATCH 0/2] KVM: SVM: Track physical cpu and asid_generation via the vmcb

2021-01-12 Thread Cathy Avery
edora VMs, kvm self tests, and kvm-unit-tests. They have not been tested on SEV. Cathy Avery (2): KVM: nSVM: Track the physical cpu of the vmcb vmrun through the vmcb KVM: nSVM: Track the ASID generation of the vmcb vmrun through the vmcb arch/x86/kvm/svm/s

[PATCH 1/2] KVM: nSVM: Track the physical cpu of the vmcb vmrun through the vmcb

2021-01-12 Thread Cathy Avery
s the processor from using old cached data for a vmcb that may have been updated on a prior run on a different processor. It also moves the physical cpu check from svm_vcpu_load to pre_svm_run as the check only needs to be done at run. Suggested-by: Paolo Bonzini Signed-off-by: Cathy Avery ---

[PATCH 2/2] KVM: nSVM: Track the ASID generation of the vmcb vmrun through the vmcb

2021-01-12 Thread Cathy Avery
This patch moves the asid_generation from the vcpu to the vmcb in order to track the ASID generation that was active the last time the vmcb was run. If sd->asid_generation changes between two runs, the old ASID is invalid and must be changed. Suggested-by: Paolo Bonzini Signed-off-by: Ca

[PATCH v2 1/2] KVM: nSVM: Track the physical cpu of the vmcb vmrun through the vmcb

2021-01-13 Thread Cathy Avery
s the processor from using old cached data for a vmcb that may have been updated on a prior run on a different processor. It also moves the physical cpu check from svm_vcpu_load to pre_svm_run as the check only needs to be done at run. Suggested-by: Paolo Bonzini Signed-off-by: Cathy Avery ---

[PATCH v2 2/2] KVM: nSVM: Track the ASID generation of the vmcb vmrun through the vmcb

2021-01-13 Thread Cathy Avery
This patch moves the asid_generation from the vcpu to the vmcb in order to track the ASID generation that was active the last time the vmcb was run. If sd->asid_generation changes between two runs, the old ASID is invalid and must be changed. Suggested-by: Paolo Bonzini Signed-off-by: Ca

[PATCH v2 0/2] ] KVM: SVM: Track physical cpu and asid_generation via the vmcb

2021-01-13 Thread Cathy Avery
edora VMs, kvm self tests, and kvm-unit-tests. They have not been tested on SEV. Changes v1 -> v2: - Remove outdated comment from svm_switch_vmcb(). Cathy Avery (2): KVM: nSVM: Track the physical cpu of the vmcb vmrun through the vmcb KVM: nSVM: Track the ASID generation of the vmcb vmrun

[PATCH] KVM: nSVM: Additions to optimizing L12 to L2 vmcb.save copies

2021-03-17 Thread Cathy Avery
selftests Fedora L1 L2 Signed-off-by: Cathy Avery --- arch/x86/kvm/svm/nested.c | 9 ++--- arch/x86/kvm/svm/svm.c| 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/svm/nested.c b/arch/x86/kvm/svm/nested.c index 8523f60adb92..6f9a40e002bc 100644 --- a/arch/x86

[PATCH] KVM: nSVM: Optimize L12 to L2 vmcb.save copies

2021-03-01 Thread Cathy Avery
VMRUN. In the case where we have a different vmcb12 from the last L2 VMRUN all vmcb12.save registers must be copied over to L2.save. Tested: kvm-unit-tests kvm selftests Fedora L1 L2 Suggested-by: Paolo Bonzini Signed-off-by: Cathy Avery --- arch/x86/kvm/svm/nested.c

Re: [PATCH] KVM: nSVM: Optimize L12 to L2 vmcb.save copies

2021-03-02 Thread Cathy Avery
On 3/1/21 7:59 PM, Sean Christopherson wrote: On Mon, Mar 01, 2021, Cathy Avery wrote: kvm_set_rflags(&svm->vcpu, vmcb12->save.rflags | X86_EFLAGS_FIXED); svm_set_efer(&svm->vcpu, vmcb12->save.efer); svm_set_cr0(&svm->vcpu, vmcb12->save.

Re: [PATCH 0/2] Enumerate and expose AVX512_FP16 feature

2020-12-14 Thread Zhang, Cathy
velop/download/intel-architecture-instruction-set-extensions-programming-reference.html Cathy Zhang (1):    x86: Expose AVX512_FP16 for supported CPUID Kyung Min Park (1):    Enumerate AVX512 FP16 CPUID feature flag   arch/x86/include/asm/cpufeatures.h | 1 +   arch/x86/kernel/cpu/cpuid-deps.c  

[PATCH 1/1] scsi: storvsc: Filter out storvsc messages CD-ROM medium not present

2016-05-23 Thread Cathy Avery
When a virtual scsi DVD device is present with no image file attached the storvsc driver logs all resulting unnecessary sense errors whenever IO is issued to the device. [storvsc] Sense Key : Not Ready [current] [storvsc] Add. Sense: Medium not present - tray closed Signed-off-by: Cathy Avery

Re: [PATCH v8 net-next 1/1] hv_sock: introduce Hyper-V Sockets

2016-04-26 Thread Cathy Avery
Hi, I will be working with Dexuan to possibly port this functionality into RHEL. Here are my initial comments. Mostly stylistic. They are prefaced by CAA. Thanks, Cathy Avery On 04/07/2016 09:36 PM, Dexuan Cui wrote: Hyper-V Sockets (hv_sock) supplies a byte-stream based communication

Re: [PATCH v2] Drivers: hv: kvp: fix IP Failover

2016-03-30 Thread Cathy Avery
s.h @@ -36,6 +36,11 @@ #define HV_UTIL_TIMEOUT 30 /* + * Timeout for guest-host handshake for services. + */ +#define HV_UTIL_NEGO_TIMEOUT 60 + +/* * The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent * is set by CPUID(HVCPUID_VERSION_FEATURES). */ Acked-by: Cathy Avery

Re: [PATCH v2] Drivers: hv: kvp: fix IP Failover

2016-03-30 Thread Cathy Avery
Sorry acking wrong email. Thanks, Cathy On 03/30/2016 08:21 AM, Cathy Avery wrote: On 03/29/2016 08:30 AM, Vitaly Kuznetsov wrote: Hyper-V VMs can be replicated to another hosts and there is a feature to set different IP for replicas, it is called 'Failover TCP/IP'. When such gu

[PATCH kvm-unit-tests] svm: Fix nmi hlt test to fail test correctly

2020-04-28 Thread Cathy Avery
The last test does not return vmmcall on fail resulting in passing the entire test. Signed-off-by: Cathy Avery --- x86/svm_tests.c | 1 + 1 file changed, 1 insertion(+) diff --git a/x86/svm_tests.c b/x86/svm_tests.c index 2b84e4d..65008ba 100644 --- a/x86/svm_tests.c +++ b/x86/svm_tests.c

[PATCH] [hv] storvsc: Payload buffer incorrectly sized for 32 bit kernels.

2016-11-22 Thread Cathy Avery
On a 32 bit kernel sizeof(void *) is not 64 bits as hv_mpb_array requires. Also the buffer needs to be cleared or the upper bytes could contain junk. Suggested-by: Vitaly Kuznets Signed-off-by: Cathy Avery --- drivers/scsi/storvsc_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[PATCH v2] [hv] storvsc: Payload buffer incorrectly sized for 32 bit kernels.

2016-11-23 Thread Cathy Avery
On a 32 bit kernel sizeof(void *) is not 64 bits as hv_mpb_array requires. Also the buffer needs to be cleared or the upper bytes will contain junk. Suggested-by: Vitaly Kuznetsov Signed-off-by: Cathy Avery ChangeLog: v1) Initial submission v2) Remove memset and replace kmalloc with kzalloc

[PATCH 0/2] scsi: Create a lightweight FC Transport option for Virtual FC Hosts.

2017-01-18 Thread Cathy Avery
. Patch 1: The patch provides a lightweight option to the current FC transport class. The new option is selected by a driver when it indicates it wants the lightweight transport in fc_function_template. Patch 2: storvsc elects using the new lightweight FC host option. Cathy Avery (2): scsi

[PATCH 1/2] scsi: scsi_transport_fc: Provide a lightweight option for Virtual FC Hosts.

2017-01-18 Thread Cathy Avery
The patch provides a means to offer a lightweight option to the current FC transport class. The new option is selected by a driver when it indicates it wants the lightweight transport via fc_function_template. Signed-off-by: Cathy Avery --- drivers/scsi/scsi_transport_fc.c | 125

[PATCH 2/2] scsi: storvsc: Add support for FC lightweight host.

2017-01-18 Thread Cathy Avery
Enable FC lightweight host option so that the luns exposed by the driver may be manually scanned. Signed-off-by: Cathy Avery --- drivers/scsi/storvsc_drv.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index

Re: [PATCH 1/2] scsi: scsi_transport_fc: Provide a lightweight option for Virtual FC Hosts.

2017-01-19 Thread Cathy Avery
On 01/19/2017 10:11 AM, Christoph Hellwig wrote: On Wed, Jan 18, 2017 at 03:28:57PM -0500, Cathy Avery wrote: The patch provides a means to offer a lightweight option to the current FC transport class. The new option is selected by a driver when it indicates it wants the lightweight transport

Re: [PATCH 2/2] scsi: storvsc: Add support for FC lightweight host.

2017-01-23 Thread Cathy Avery
; /sys/class/scsi_host/hostX/scan. Cathy On 01/22/2017 10:13 PM, Fam Zheng wrote: On Wed, 01/18 15:28, Cathy Avery wrote: Enable FC lightweight host option so that the luns exposed by the driver may be manually scanned. Hi Cathy, out of curiosity: how does this relate to issue_lip operatio

[PATCH v2 2/2] scsi: storvsc: Add support for FC lightweight host.

2017-01-26 Thread Cathy Avery
scsi_times_out() scsi_error.c. So the workaround is no longer necessary. Signed-off-by: Cathy Avery --- drivers/scsi/storvsc_drv.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 888e16e..d487e00 100644 --- a

[PATCH v2 0/2] scsi: storvsc: Add support for FC lightweight host.

2017-01-26 Thread Cathy Avery
ed that the word lightweight may not be the best choice of terms when describing the new FC transport option. I can offer a few new ones but I am not particularly imaginative. Virtual FC Mini FC Host only FC Changes from V1: Added more comments and documentation in the code regarding the lightweight

[PATCH v2 1/2] scsi: scsi_transport_fc: Provide a lightweight option for Virtual FC Hosts.

2017-01-26 Thread Cathy Avery
created when the transport driver loads. They are just not populated when running in lightweight mode. Conceptually both lightweight and heavyweight clients could coexist. 4) fc_transport_template->user_scan is now null and the bus can be scanned. Signed-off-by: Cathy Avery --- drivers/s

Re: [PATCH 2/2] scsi: storvsc: Add support for FC lightweight host.

2017-01-19 Thread Cathy Avery
On 01/18/2017 06:15 PM, Dan Carpenter wrote: On Wed, Jan 18, 2017 at 03:28:58PM -0500, Cathy Avery wrote: Enable FC lightweight host option so that the luns exposed by the driver may be manually scanned. Signed-off-by: Cathy Avery --- drivers/scsi/storvsc_drv.c | 6 +- 1 file changed

Re: [PATCH 2/2] scsi: storvsc: Add support for FC lightweight host.

2017-01-22 Thread Cathy Avery
eanup necessitating its own patch. I will break it out in the next go round. Thanks, Cathy On 01/20/2017 04:31 AM, Dan Carpenter wrote: On Thu, Jan 19, 2017 at 12:55:27PM -0500, Cathy Avery wrote: On 01/18/2017 06:15 PM, Dan Carpenter wrote: On Wed, Jan 18, 2017 at 03:28:58PM -0500, Cathy Avery

Re: [PATCH v15 net-next 1/1] hv_sock: introduce Hyper-V Sockets

2016-07-08 Thread Cathy Avery
ceive tests ( host to vm and vm to host ) using apps provided by Dexuan. Reviewed-by: Cathy Avery Tested-by: Cathy Avery On 07/08/2016 03:47 AM, Dexuan Cui wrote: Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It's somewhat lik

[RFC PATCH] scsi: scsi_transport_fc: Create a lightweight option for Virtual FC Hosts.

2017-01-04 Thread Cathy Avery
lightweight transport in fc_function_template. I have included the changes for storvsc_drv.c in this patch as an example of a driver making use of the lightweight transport option. Signed-off-by: Cathy Avery --- drivers/scsi/scsi_transport_fc.c | 125 +-- drivers

[PATCH v2] scsi: storvsc: Add support for FC rport.

2017-03-17 Thread Cathy Avery
"- - -" > /sys/class/scsi_host/hostX/scan now works. Signed-off-by: Cathy Avery --- Changes since v1: - Fix fc_rport_identifiers init [Stephen Hemminger] - Better error checking --- drivers/scsi/storvsc_drv.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-)

Re: [PATCH] scsi: storvsc: Add support for FC rport.

2017-03-13 Thread Cathy Avery
Hi, I haven't received any feedback yet. Should I resend? Thanks, Cathy On 02/28/2017 01:45 PM, Cathy Avery wrote: Included in the current storvsc driver for Hyper-V is the ability to access luns on an FC fabric via a virtualized fiber channel adapter exposed by the Hyper-V host. The d

[PATCH] scsi: storvsc: Add support for FC rport.

2017-03-14 Thread Cathy Avery
"- - -" > /sys/class/scsi_host/hostX/scan now works. Signed-off-by: Cathy Avery --- drivers/scsi/storvsc_drv.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 638e5f4..c6c0316 100644 --- a

Re: [PATCH] scsi: storvsc: Add support for FC rport.

2017-03-14 Thread Cathy Avery
Good catch. Thanks! On 03/14/2017 12:42 PM, Stephen Hemminger wrote: On Tue, 14 Mar 2017 12:01:03 -0400 Cathy Avery wrote: #if IS_ENABLED(CONFIG_SCSI_FC_ATTRS) if (host->transportt == fc_transport_template) { + struct fc_rport_identifiers

[PATCH] scsi: storvsc: Add support for FC rport.

2017-02-28 Thread Cathy Avery
"- - -" > /sys/class/scsi_host/hostX/scan now works. Signed-off-by: Cathy Avery --- drivers/scsi/storvsc_drv.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 585e54f..6d7b932 100644 --- a

[PATCH] PCI: hv: Fix interrupt cleanup path

2016-07-12 Thread Cathy Avery
without freeing int_desc as part of hv_int_desc_free(). Signed-off-by: Cathy Avery --- drivers/pci/host/pci-hyperv.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.c index 7e9b2de..449d053 100644 --- a

Re: [PATCH v2 2/4] x86/cpufeatures: Enumerate TSX suspend load address tracking instructions

2020-07-08 Thread Zhang, Cathy
On 7/7/2020 5:40 PM, Greg KH wrote: On Tue, Jul 07, 2020 at 10:16:21AM +0800, Cathy Zhang wrote: Intel TSX suspend load tracking instructions aim to give a way to choose which memory accesses do not need to be tracked in the TSX read set. Add TSX suspend load tracking CPUID feature flag

Re: [PATCH] KVM: SVM: Use a separate vmcb for the nested L2 guest

2020-10-08 Thread Cathy Avery
just doesn't write IA32_PAT and uses our value which we set in init_vmcb In general I think it's better to be explicit with vmcb01 vs. vmcb02, like Cathy did, but I can see it's a matter of personal preference to some extent. I also think so in general, but in the code that is o

Re: [PATCH] KVM: SVM: Use a separate vmcb for the nested L2 guest

2020-10-08 Thread Cathy Avery
On 10/8/20 9:11 AM, Maxim Levitsky wrote: On Thu, 2020-10-08 at 08:46 -0400, Cathy Avery wrote: On 10/8/20 6:54 AM, Maxim Levitsky wrote: On Thu, 2020-10-08 at 13:39 +0300, Maxim Levitsky wrote: On Thu, 2020-10-08 at 13:23 +0300, Maxim Levitsky wrote: On Thu, 2020-10-08 at 07:52 +0200, Paolo

Re: [PATCH] KVM: SVM: Use a separate vmcb for the nested L2 guest

2020-10-09 Thread Cathy Avery
On 10/8/20 6:23 AM, Maxim Levitsky wrote: diff --git a/arch/x86/kvm/svm/nested.c b/arch/x86/kvm/svm/nested.c index 0a06e62010d8c..7293ba23b3cbc 100644 --- a/arch/x86/kvm/svm/nested.c +++ b/arch/x86/kvm/svm/nested.c @@ -436,6 +436,9 @@ int enter_svm_guest_mode(struct vcpu_svm *svm, u64 vmcb_gpa,

[PATCH v2 1/2] KVM: SVM: Move asid to vcpu_svm

2020-10-11 Thread Cathy Avery
Move asid to svm->asid to allow for vmcb assignment during svm_vcpu_run without regard to which level guest is running. Signed-off-by: Cathy Avery --- arch/x86/kvm/svm/svm.c | 4 +++- arch/x86/kvm/svm/svm.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/

[PATCH v2 0/2] KVM: SVM: Create separate vmcbs for L1 and L2

2020-10-11 Thread Cathy Avery
g vmcb state during L2 enter and exit which fixed the L2 load issue. - Moved asid workaround to a new patch which adds asid to svm. - Init previously uninitialized L2 vmcb save.gpat and save.cr4 Tested: kvm-unit-tests kvm self tests Loaded fedora nested guest on fedora Cathy Avery (2): KV

[PATCH v2 2/2] KVM: SVM: Use a separate vmcb for the nested L2 guest

2020-10-11 Thread Cathy Avery
-by: Cathy Avery --- arch/x86/kvm/svm/nested.c | 117 +- arch/x86/kvm/svm/svm.c| 42 +++--- arch/x86/kvm/svm/svm.h| 49 +--- 3 files changed, 89 insertions(+), 119 deletions(-) diff --git a/arch/x86/kvm/svm/nested.c b/arch/x86/kvm/

[PATCH kvm-unit-tests] svm: Test V_IRQ injection

2020-05-09 Thread Cathy Avery
Test V_IRQ injection from L1 to L2 with V_TPR less than or greater than V_INTR_PRIO. Also test VINTR intercept with differing V_TPR and V_INTR_PRIO. Signed-off-by: Cathy Avery --- x86/svm_tests.c | 150 1 file changed, 150 insertions(+) diff

[PATCH kvm-unit-tests 2/2] svm: INIT intercept test

2020-06-08 Thread Cathy Avery
INIT vcpu 2 and intercept the INIT. This test will leave the vcpu in an unusable state. Signed-off-by: Cathy Avery --- x86/svm_tests.c | 40 1 file changed, 40 insertions(+) diff --git a/x86/svm_tests.c b/x86/svm_tests.c index c1abd55..a4dbe91 100644

[PATCH kvm-unit-tests 1/2] svm: Add ability to execute test via test_run on a vcpu other than vcpu 0

2020-06-08 Thread Cathy Avery
registers used to populate the vmcb is carried forward to the other vcpus. Signed-off-by: Cathy Avery --- x86/svm.c | 49 - x86/svm.h | 13 + 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/x86/svm.c b/x86/svm.c index 41685bf

[PATCH kvm-unit-tests 0/2] svm: INIT test and test_run on selected vcpu

2020-06-08 Thread Cathy Avery
INIT intercept test and the ability to execute test_run on a selected vcpu. Cathy Avery (2): svm: Add ability to execute test via test_run on a vcpu other than vcpu 0 svm: INIT intercept test x86/svm.c | 49 - x86/svm.h | 13

[PATCH v4 0/2] Expose new feature for Intel processor

2020-08-24 Thread Cathy Zhang
ange definition from TSX_LDTRK to TSXLDTRK for TSX new feature. * Change kernel patches Author to the owner. * Remove SERIALIZE enumeration patch. Reference: [1]. https://software.intel.com/content/dam/develop/public/us/en/documents/architecture-instruction-set-extensions-programming-reference.p

[PATCH v4 2/2] x86/kvm: Expose TSX Suspend Load Tracking feature

2020-08-24 Thread Cathy Zhang
cking feature in KVM CPUID, so KVM could pass this information to guests and they can make use of this feature accordingly. Signed-off-by: Cathy Zhang Reviewed-by: Tony Luck --- Changes since v3: * Remove SERIALIZE part and refactor commit message.. Changes since v2: * Merge two patches i

[PATCH v4 1/2] x86/cpufeatures: Enumerate TSX suspend load address tracking instructions

2020-08-24 Thread Cathy Zhang
t will appear in the "main" manual (SDM) in the future. Signed-off-by: Kyung Min Park Signed-off-by: Cathy Zhang Reviewed-by: Tony Luck --- Changes since v3: * N/A Changes since v2: * Shorten documentation names for readability. Links to documentation can be found in the cover lette

[PATCH v3 1/2] KVM: SVM: Track asid from vcpu_svm

2020-10-26 Thread Cathy Avery
Track asid from svm->asid to allow for vmcb assignment without regard to which level guest is running. Suggested-by: Paolo Bonzini Signed-off-by: Cathy Avery --- arch/x86/kvm/svm/svm.c | 16 ++-- arch/x86/kvm/svm/svm.h | 2 ++ 2 files changed, 16 insertions(+), 2 deleti

[PATCH v3 2/2] KVM: SVM: Use a separate vmcb for the nested L2 guest

2020-10-26 Thread Cathy Avery
-by: Cathy Avery --- arch/x86/kvm/svm/nested.c | 125 ++ arch/x86/kvm/svm/svm.c| 42 +++-- arch/x86/kvm/svm/svm.h| 49 --- 3 files changed, 94 insertions(+), 122 deletions(-) diff --git a/arch/x86/kvm/svm/nested.c b/arch/x86/kvm/

[PATCH v3 0/2] KVM: SVM: Create separate vmcbs for L1 and L2

2020-10-26 Thread Cathy Avery
te during L2 enter and exit which fixed the L2 load issue. - Moved asid workaround to a new patch which adds asid to svm. - Init previously uninitialized L2 vmcb save.gpat and save.cr4 Tested: kvm-unit-tests kvm self tests Loaded fedora nested guest on fedora Cathy Avery (2): KVM: SVM: Tra

Re: [PATCH v3 0/2] KVM: SVM: Create separate vmcbs for L1 and L2

2020-11-12 Thread Cathy Avery
That would be the master branch of git://git.kernel.org/pub/scm/virt/kvm/kvm.git where the last commit was 969df928fee43b4219646a57c7beaf2c0635 I was originally working off of the queue branch but there were issues with the prior commits passing the various tests. Cathy On 11/11/20 4

Re: [PATCH v2 3/4] x86: Expose SERIALIZE for supported cpuid

2020-07-14 Thread Zhang, Cathy
On 7/14/2020 11:00 AM, Sean Christopherson wrote: On Tue, Jul 07, 2020 at 10:16:22AM +0800, Cathy Zhang wrote: SERIALIZE instruction is supported by intel processors, like Sapphire Rapids. Expose it in KVM supported cpuid. Providing at least a rough overview of the instruction, e.g. its

Re: [PATCH v2 3/4] x86: Expose SERIALIZE for supported cpuid

2020-07-14 Thread Zhang, Cathy
On 7/15/2020 7:05 AM, h...@zytor.com wrote: On July 14, 2020 3:42:08 PM PDT, "Zhang, Cathy" wrote: On 7/14/2020 11:00 AM, Sean Christopherson wrote: On Tue, Jul 07, 2020 at 10:16:22AM +0800, Cathy Zhang wrote: SERIALIZE instruction is supported by intel processors, like Sapph

[PATCH 1/2] x86: Expose SERIALIZE for supported cpuid

2020-07-05 Thread Cathy Zhang
SERIALIZE instruction is supported by intel processors, like Sapphire Rapids. Expose it in KVM supported cpuid. The SERIALIZE enumeration kernel patch link is as follows: https://lore.kernel.org/patchwork/patch/1254757/ Signed-off-by: Cathy Zhang --- arch/x86/kvm/cpuid.c | 3 ++- 1 file

[PATCH 2/2] x86: Expose TSX Suspend Load Address Tracking

2020-07-05 Thread Cathy Zhang
TSX Suspend Load Address Tracking is supported by intel processors, like Sapphire Rapids. Expose it in KVM supported cpuid. The associated kernel enumeration patches link is as follows: https://lore.kernel.org/patchwork/patch/1254756/ Signed-off-by: Cathy Zhang --- arch/x86/kvm/cpuid.c | 2

[PATCH 0/2] Expose new features for intel processor

2020-07-05 Thread Cathy Zhang
choose which memory accesses do not need to be tracked in the TSX read set. Cathy Zhang (2): x86: Expose SERIALIZE for supported cpuid x86: Expose TSX Suspend Load Address Tracking arch/x86/kvm/cpuid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 1.8.3.1

[PATCH v2 0/4] Expose new features for intel processor

2020-07-06 Thread Cathy Zhang
choose which memory accesses do not need to be tracked in the TSX read set. Changelog: v2 Add kernel feature enumeration patch to fix build error Cathy Zhang (2): x86: Expose SERIALIZE for supported cpuid x86: Expose TSX Suspend Load Address Tracking Ricardo Neri (1): x86/cpufeatures

[PATCH v2 1/4] x86/cpufeatures: Add enumeration for SERIALIZE instruction

2020-07-06 Thread Cathy Zhang
ctions and CPUID feature flag SERIALIZE can be found in the latest Intel Architecture Instruction Set Extensions and Future Features Programming Reference and Intel 64 and IA-32 Architectures Software Developer's Manual. Signed-off-by: Ricardo Neri Signed-off-by: Cathy Zhang --- arch/

[PATCH v2 2/4] x86/cpufeatures: Enumerate TSX suspend load address tracking instructions

2020-07-06 Thread Cathy Zhang
uction Set Extensions and Future Features Programming Reference and Intel 64 and IA-32 Architectures Software Developer's Manual. Signed-off-by: Kyung Min Park Signed-off-by: Cathy Zhang --- arch/x86/include/asm/cpufeatures.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/

[PATCH v2 3/4] x86: Expose SERIALIZE for supported cpuid

2020-07-06 Thread Cathy Zhang
SERIALIZE instruction is supported by intel processors, like Sapphire Rapids. Expose it in KVM supported cpuid. Signed-off-by: Cathy Zhang --- arch/x86/kvm/cpuid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 8a294f9

[PATCH v2 4/4] x86: Expose TSX Suspend Load Address Tracking

2020-07-06 Thread Cathy Zhang
TSX Suspend Load Address Tracking is supported by intel processors, like Sapphire Rapids. Expose it in KVM supported cpuid. Signed-off-by: Cathy Zhang --- arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index

[PATCH kvm-unit-tests v2 3/3] svm: INIT intercept test

2020-07-17 Thread Cathy Avery
INIT vcpu 2 and intercept the INIT. This test will leave the vcpu in an unusable state. Signed-off-by: Cathy Avery --- x86/svm_tests.c | 40 1 file changed, 40 insertions(+) diff --git a/x86/svm_tests.c b/x86/svm_tests.c index 698eb20..b43c19f 100644

[PATCH kvm-unit-tests v2 1/3] svm: Add ability to execute test via test_run on a vcpu other than vcpu 0

2020-07-17 Thread Cathy Avery
registers used to populate the vmcb is carried forward to the other vcpus. Signed-off-by: Cathy Avery --- lib/x86/vm.c | 18 ++ lib/x86/vm.h | 7 +++ x86/svm.c| 24 +++- x86/svm.h| 2 ++ 4 files changed, 50 insertions(+), 1 deletion(-) diff --git a/lib

[PATCH kvm-unit-tests v2 2/3] svm: INIT and STARTUP ipi test

2020-07-17 Thread Cathy Avery
Init the vcpu and issue the STARTUP ipi to indicate the vcpu should execute its startup routine. Signed-off-by: Cathy Avery --- x86/cstart64.S | 1 + x86/svm_tests.c | 57 + 2 files changed, 58 insertions(+) diff --git a/x86/cstart64.S b/x86

[PATCH kvm-unit-tests v2 0/3] svm: INIT test and test_run on selected vcpu

2020-07-17 Thread Cathy Avery
- The on_cpu to set cr0/cr3/cr4 should be in setup_vm. 2) Execute tests on selected vcpu using on_cpu_async so the tests may use the on_cpu functions without causing an ipi_lock deadlock. 3) Added additional test svm_init_startup_test which inits the vcpu and restarts with sipi. Cathy Avery (3

Re: [PATCH] KVM: SVM: Use a separate vmcb for the nested L2 guest

2020-09-21 Thread Cathy Avery
On 9/18/20 5:11 PM, Wei Huang wrote: On 09/17 03:23, Cathy Avery wrote: svm->vmcb will now point to either a separate vmcb L1 ( not nested ) or L2 vmcb ( nested ). Issues: 1) There is some wholesale copying of vmcb.save and vmcb.contol areas which will need to be refined. 2) There i

Re: [PATCH] KVM: SVM: Use a separate vmcb for the nested L2 guest

2020-09-18 Thread Cathy Avery
On 9/18/20 11:16 AM, Babu Moger wrote: Cathy, Thanks for the patches. It cleans up the code nicely. But there are some issues with the patch. I was able to bring the L1 guest with your patch. But when I tried to load L2 guest it crashed. I am thinking It is mostly due to save/restore part of

[PATCH] KVM: SVM: Use a separate vmcb for the nested L2 guest

2020-09-17 Thread Cathy Avery
r the current vmcb which is now vmcb02 as we are in nested mode subsequently vmcb01.control.asid is never set as it should be. Tested: kvm-unit-tests kvm self tests Signed-off-by: Cathy Avery --- arch/x86/kvm/svm/nested.c | 116 ++ arch/x86/kvm/svm/svm.c

[PATCH] scsi: storvsc: Allow only one remove lun work item to be issued per lun

2017-04-15 Thread Cathy Avery
as scsi_remove_device also tries to take host->scan_mutex. This results in dragging the VM down and sometimes completely. This patch only allows one remove lun to be issued to a particular lun while it is an instantiated member of the scsi stack. Signed-off-by: Cathy Avery --- driver

[PATCH v3 1/2] scsi: scsi_transport_fc: Add dummy initiator role to rport

2017-04-17 Thread Cathy Avery
ort's role in fc_rport_identifiers. This insures that a valid scsi_target_id is assigned to the newly created rport and it can meet the requirements of fc_user_scan_tgt calling scsi_scan_target. Signed-off-by: Cathy Avery --- drivers/scsi/scsi_transport_fc.c | 10 ++ include/scsi/s

[PATCH v3 0/2] scsi: storvsc: Add support for FC rport

2017-04-17 Thread Cathy Avery
. Changes since v2: - Additional patch adding FC_PORT_ROLE_FCP_DUMMY_INITIATOR role to fc_transport - Changed storvsc rport role to FC_PORT_ROLE_FCP_DUMMY_INITIATOR Changes since v1: - Fix fc_rport_identifiers init [Stephen Hemminger] - Better error checking Cathy Avery (2): scsi

[PATCH v3 2/2] scsi: storvsc: Add support for FC rport.

2017-04-17 Thread Cathy Avery
scan the scsi stack via echo "- - -" > /sys/class/scsi_host/hostX/scan. Signed-off-by: Cathy Avery --- drivers/scsi/storvsc_drv.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c

Re: [PATCH] scsi: storvsc: Allow only one remove lun work item to be issued per lun

2017-04-17 Thread Cathy Avery
ingle threaded queue would have to allow for only a queue of one and no more. Either that or each work item for a particular lun must have the same memory address so it gets rejected if it you try to queue a remove to the same lun twice. Maybe I am not understanding your suggestion correctly. Thanks, Cathy

[PATCH v2] scsi: storvsc: Add support for FC rport.

2017-04-03 Thread Cathy Avery
"- - -" > /sys/class/scsi_host/hostX/scan now works. Signed-off-by: Cathy Avery --- Changes since v1: - Fix fc_rport_identifiers init [Stephen Hemminger] - Better error checking --- drivers/scsi/storvsc_drv.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-)

Re: [PATCH v2] scsi: storvsc: Add support for FC rport.

2017-04-03 Thread Cathy Avery
order to implement the work around so that the scsi scan works indicating FC_PORT_ROLE_FCP_TARGET as a role was necessary due to its test in fc_scsi_scan_rport. The idea here is to avoid making any changes to the fc_transport driver which was of some concern. Thanks, Cathy

[PATCH v3 0/2] scsi: storvsc: Add support for FC rport

2017-04-05 Thread Cathy Avery
. Changes since v2: - Additional patch adding FC_PORT_ROLE_FCP_DUMMY_INITIATOR role to fc_transport - Changed storvsc rport role to FC_PORT_ROLE_FCP_DUMMY_INITIATOR Changes since v1: - Fix fc_rport_identifiers init [Stephen Hemminger] - Better error checking Cathy Avery (2): scsi

[PATCH v3 2/2] scsi: storvsc: Add support for FC rport.

2017-04-05 Thread Cathy Avery
scan the scsi stack via echo "- - -" > /sys/class/scsi_host/hostX/scan. Signed-off-by: Cathy Avery --- drivers/scsi/storvsc_drv.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c

[PATCH v3 1/2] scsi: scsi_transport_fc: Add dummy initiator role to rport

2017-04-05 Thread Cathy Avery
ort's role in fc_rport_identifiers. This insures that a valid scsi_target_id is assigned to the newly created rport and it can meet the requirements of fc_user_scan_tgt calling scsi_scan_target. Signed-off-by: Cathy Avery --- drivers/scsi/scsi_transport_fc.c | 10 ++ include/scsi/s

[PATCH] scsi: storvsc: Fix scsi_cmd error assignments in storvsc_handle_error

2017-12-19 Thread Cathy Avery
/O to complete while holding scsi_sd_probe_domain. Also returning the default error of DID_TARGET_FAILURE causes multipath to not retry the I/O resulting in applications receiving I/O errors before a failover can occur. Signed-off-by: Cathy Avery Signed-off-by: Long Li --- drivers/scsi

[tip: x86/cpu] x86/kvm: Expose TSX Suspend Load Tracking feature

2020-08-30 Thread tip-bot2 for Cathy Zhang
The following commit has been merged into the x86/cpu branch of tip: Commit-ID: 61aa9a0a5eae2100c171698bffabde8d5e9f694d Gitweb: https://git.kernel.org/tip/61aa9a0a5eae2100c171698bffabde8d5e9f694d Author:Cathy Zhang AuthorDate:Tue, 25 Aug 2020 08:47:58 +08:00 Committer