diff for duplicates of <55FF9A9E.6070205@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 19f4b42..add7b25 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -32,7 +32,8 @@ On 21/09/2015 03:37, David Gibson wrote: >> if (!is_power_of_2(size) || (size > sizeof(buf))) return >> H_TOO_HARD; >> ->> + srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); ret >> kvm_io_bus_read(vcpu, KVM_MMIO_BUS, addr, size, &buf); + +>> + srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); ret = +>> kvm_io_bus_read(vcpu, KVM_MMIO_BUS, addr, size, &buf); + >> srcu_read_unlock(&vcpu->kvm->srcu, srcu_idx); if (ret != 0) >> return H_TOO_HARD; >> @@ -45,7 +46,8 @@ On 21/09/2015 03:37, David Gibson wrote: >> kvmppc_h_logical_ci_store(struct kvm_vcpu *vcpu) return >> H_TOO_HARD; } >> ->> + srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); ret >> kvm_io_bus_write(vcpu, KVM_MMIO_BUS, addr, size, &buf); + +>> + srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); ret = +>> kvm_io_bus_write(vcpu, KVM_MMIO_BUS, addr, size, &buf); + >> srcu_read_unlock(&vcpu->kvm->srcu, srcu_idx); if (ret != 0) >> return H_TOO_HARD; >> diff --git a/a/content_digest b/N1/content_digest index 0ead4c3..a8febe9 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020150921013708.GF20331@voom.fritz.box\0" "From\0Paolo Bonzini <pbonzini@redhat.com>\0" "Subject\0Re: [PATCH] KVM: PPC: Take the kvm->srcu lock in kvmppc_h_logical_ci_load/store()\0" - "Date\0Mon, 21 Sep 2015 05:50:22 +0000\0" + "Date\0Mon, 21 Sep 2015 07:50:22 +0200\0" "To\0David Gibson <david@gibson.dropbear.id.au>" " Thomas Huth <thuth@redhat.com>\0" "Cc\0kvm-ppc@vger.kernel.org" @@ -45,7 +45,8 @@ ">> if (!is_power_of_2(size) || (size > sizeof(buf))) return\n" ">> H_TOO_HARD;\n" ">> \n" - ">> +\tsrcu_idx = srcu_read_lock(&vcpu->kvm->srcu); ret >> kvm_io_bus_read(vcpu, KVM_MMIO_BUS, addr, size, &buf); +\n" + ">> +\tsrcu_idx = srcu_read_lock(&vcpu->kvm->srcu); ret =\n" + ">> kvm_io_bus_read(vcpu, KVM_MMIO_BUS, addr, size, &buf); +\n" ">> srcu_read_unlock(&vcpu->kvm->srcu, srcu_idx); if (ret != 0) \n" ">> return H_TOO_HARD;\n" ">> \n" @@ -58,7 +59,8 @@ ">> kvmppc_h_logical_ci_store(struct kvm_vcpu *vcpu) return\n" ">> H_TOO_HARD; }\n" ">> \n" - ">> +\tsrcu_idx = srcu_read_lock(&vcpu->kvm->srcu); ret >> kvm_io_bus_write(vcpu, KVM_MMIO_BUS, addr, size, &buf); +\n" + ">> +\tsrcu_idx = srcu_read_lock(&vcpu->kvm->srcu); ret =\n" + ">> kvm_io_bus_write(vcpu, KVM_MMIO_BUS, addr, size, &buf); +\n" ">> srcu_read_unlock(&vcpu->kvm->srcu, srcu_idx); if (ret != 0) \n" ">> return H_TOO_HARD;\n" ">> \n" @@ -70,4 +72,4 @@ "\n" Paolo -f79f6ec90d8bdaf81d7c118035971c37516bb3fb97818e5c01fd541bb3516340 +f096c93b0ad7cd627495ac3c3fa0d049c1a8454b6c497b4b102822c3a084d940
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.