From: Paul Mackerras <paulus@samba.org>
To: Alexander Graf <agraf@suse.de>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org
Subject: [PATCH 19/23] KVM: PPC: Book3S: Select PR vs HV separately for each guest
Date: Tue, 06 Aug 2013 04:26:28 +0000 [thread overview]
Message-ID: <20130806042628.GY19254@iris.ozlabs.ibm.com> (raw)
In-Reply-To: <20130806041259.GF19254@iris.ozlabs.ibm.com>
This makes it possible to have both PR and HV guests running
concurrently on one machine, by deferring the decision about which type
of KVM to use for each guest until it either enables the PAPR capability
or runs a vcpu. (Of course, this is only possible if both
CONFIG_KVM_BOOK3S_PR and CONFIG_KVM_BOOK3S_64_HV are enabled.)
Guests start out essentially as PR guests but with kvm->arch.kvm_mode
set to KVM_MODE_UNKNOWN. If the guest then enables the KVM_CAP_PPC_PAPR
capability, and the machine is capable of running HV guests (i.e. it
has suitable CPUs and has a usable hypervisor mode available), the
guest gets converted to an HV guest at that point. If userspace runs
a vcpu without having enabled the KVM_CAP_PPC_PAPR capability, the
guest is confirmed as a PR guest at that point.
This also moves the preloading of the FPU for PR guests from
kvmppc_set_msr_pr() into kvmppc_handle_exit_pr(), because
kvmppc_set_msr_pr() can be called before any vcpu has been run, and
it may be that the guest will end up as a HV guest, and in this case
the preloading is not appropriate. Instead it is now done after we
have emulated a privileged or illegal instruction, if the guest MSR
now has FP set.
Signed-off-by: Paul Mackerras <paulus@samba.org>
---
arch/powerpc/include/asm/kvm_book3s.h | 3 ++
arch/powerpc/include/asm/kvm_booke.h | 2 +
arch/powerpc/include/asm/kvm_host.h | 1 +
arch/powerpc/kvm/book3s.c | 76 ++++++++++++++++++++++++++++------
arch/powerpc/kvm/book3s_hv.c | 77 +++++++++++++++++++++++++++++++++++
arch/powerpc/kvm/book3s_pr.c | 24 +++++++++--
arch/powerpc/kvm/powerpc.c | 1 +
7 files changed, 167 insertions(+), 17 deletions(-)
diff --git a/arch/powerpc/include/asm/kvm_book3s.h b/arch/powerpc/include/asm/kvm_book3s.h
index f6af43f..e0bc83b 100644
--- a/arch/powerpc/include/asm/kvm_book3s.h
+++ b/arch/powerpc/include/asm/kvm_book3s.h
@@ -189,6 +189,9 @@ extern u32 kvmppc_alignment_dsisr(struct kvm_vcpu *vcpu, unsigned int inst);
extern ulong kvmppc_alignment_dar(struct kvm_vcpu *vcpu, unsigned int inst);
extern int kvmppc_h_pr(struct kvm_vcpu *vcpu, unsigned long cmd);
+extern void kvmppc_core_enable_papr(struct kvm_vcpu *vcpu);
+extern int kvmppc_convert_to_hv(struct kvm *kvm);
+extern void kvmppc_release_vcpu_pr(struct kvm_vcpu *vcpu);
/* Functions that have implementations in both PR and HV KVM */
extern struct kvm_vcpu *kvmppc_core_vcpu_create_pr(struct kvm *kvm,
unsigned int id);
diff --git a/arch/powerpc/include/asm/kvm_booke.h b/arch/powerpc/include/asm/kvm_booke.h
index d3c1eb3..450bd71 100644
--- a/arch/powerpc/include/asm/kvm_booke.h
+++ b/arch/powerpc/include/asm/kvm_booke.h
@@ -23,6 +23,8 @@
#include <linux/types.h>
#include <linux/kvm_host.h>
+static inline void kvmppc_core_enable_papr(struct kvm_vcpu *vcpu) {}
+
/* LPIDs we support with this build -- runtime limit may be lower */
#define KVMPPC_NR_LPIDS 64
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h
index 647e064..138e781 100644
--- a/arch/powerpc/include/asm/kvm_host.h
+++ b/arch/powerpc/include/asm/kvm_host.h
@@ -280,6 +280,7 @@ struct kvm_arch {
};
/* Values for kvm_mode */
+#define KVM_MODE_UNKNOWN 0
#define KVM_MODE_PR 1
#define KVM_MODE_HV 2
diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c
index f22b3af..bddbfaa 100644
--- a/arch/powerpc/kvm/book3s.c
+++ b/arch/powerpc/kvm/book3s.c
@@ -77,9 +77,11 @@ int kvm_is_book3s_hv(struct kvm *kvm)
#ifdef CONFIG_KVM_BOOK3S_PR
#ifdef CONFIG_KVM_BOOK3S_64_HV
-/* Do x if the VM mode is PR */
+/* Do x if the VM mode is known to be PR */
#define DO_IF_PR(kvm, x) if ((kvm)->arch.kvm_mode = KVM_MODE_PR) { x; }
-/* Do x if the VM mode is HV */
+/* Do x if the VM mode is unknown or is known to be PR */
+#define DO_IF_PR_U(kvm, x) if ((kvm)->arch.kvm_mode != KVM_MODE_HV) { x; }
+/* Do x if the VM mode is known to be HV */
#define DO_IF_HV(kvm, x) if ((kvm)->arch.kvm_mode = KVM_MODE_HV) { x; }
/* Do x for PR vcpus */
@@ -89,6 +91,7 @@ int kvm_is_book3s_hv(struct kvm *kvm)
#else
#define DO_IF_PR(kvm, x) x
+#define DO_IF_PR_U(kvm, x) x
#define DO_IF_HV(kvm, x)
#define VCPU_DO_PR(vcpu, x) x
#define VCPU_DO_HV(vcpu, x)
@@ -97,12 +100,14 @@ int kvm_is_book3s_hv(struct kvm *kvm)
#else
#ifdef CONFIG_KVM_BOOK3S_64_HV
#define DO_IF_PR(kvm, x)
+#define DO_IF_PR_U(kvm, x)
#define DO_IF_HV(kvm, x) x
#define VCPU_DO_PR(vcpu, x)
#define VCPU_DO_HV(vcpu, x) x
#else
#define DO_IF_PR(kvm, x)
+#define DO_IF_PR_U(kvm, x)
#define DO_IF_HV(kvm, x)
#define VCPU_DO_PR(vcpu, x)
#define VCPU_DO_HV(vcpu, x)
@@ -712,11 +717,47 @@ void kvmppc_set_msr(struct kvm_vcpu *vcpu, u64 msr)
int kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu)
{
+ struct kvm *kvm = vcpu->kvm;
+
+ /*
+ * If HV mode hasn't been selected by now, make it PR mode
+ * from now on.
+ */
+ if (kvm->arch.kvm_mode = KVM_MODE_UNKNOWN) {
+ mutex_lock(&kvm->lock);
+ if (kvm->arch.kvm_mode = KVM_MODE_UNKNOWN)
+ kvm->arch.kvm_mode = KVM_MODE_PR;
+ mutex_unlock(&kvm->lock);
+ }
+
VCPU_DO_PR(vcpu, return kvmppc_vcpu_run_pr(kvm_run, vcpu));
VCPU_DO_HV(vcpu, return kvmppc_vcpu_run_hv(kvm_run, vcpu));
return -EINVAL;
}
+/*
+ * If we can do either PR or HV, switch to HV if possible.
+ */
+void kvmppc_core_enable_papr(struct kvm_vcpu *vcpu)
+{
+#if defined(CONFIG_KVM_BOOK3S_PR) && defined(CONFIG_KVM_BOOK3S_64_HV)
+ struct kvm *kvm = vcpu->kvm;
+ int err;
+
+ mutex_lock(&kvm->lock);
+ if (kvm->arch.kvm_mode = KVM_MODE_UNKNOWN) {
+ if (kvm_book3s_hv_possible()) {
+ /* should check PVRs */
+ err = kvmppc_convert_to_hv(kvm);
+ if (!err)
+ pr_debug("KVM: Using HV mode for PAPR guest\n");
+ } else
+ kvm->arch.kvm_mode = KVM_MODE_PR;
+ }
+ mutex_unlock(&kvm->lock);
+#endif
+}
+
int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu,
struct kvm_translation *tr)
{
@@ -739,7 +780,7 @@ void kvmppc_decrementer_func(unsigned long data)
struct kvm_vcpu *kvmppc_core_vcpu_create(struct kvm *kvm, unsigned int id)
{
- DO_IF_PR(kvm, return kvmppc_core_vcpu_create_pr(kvm, id));
+ DO_IF_PR_U(kvm, return kvmppc_core_vcpu_create_pr(kvm, id));
DO_IF_HV(kvm, return kvmppc_core_vcpu_create_hv(kvm, id));
return NULL;
}
@@ -758,7 +799,7 @@ int kvmppc_core_check_requests(struct kvm_vcpu *vcpu)
int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, struct kvm_dirty_log *log)
{
- DO_IF_PR(kvm, return kvm_vm_ioctl_get_dirty_log_pr(kvm, log));
+ DO_IF_PR_U(kvm, return kvm_vm_ioctl_get_dirty_log_pr(kvm, log));
DO_IF_HV(kvm, return kvm_vm_ioctl_get_dirty_log_hv(kvm, log));
return -ENOTTY;
}
@@ -902,24 +943,33 @@ int kvmppc_core_init_vm(struct kvm *kvm)
INIT_LIST_HEAD(&kvm->arch.rtas_tokens);
#endif
-#ifdef CONFIG_KVM_BOOK3S_64_HV
- if (hv_ok) {
- err = kvmppc_core_init_vm_hv(kvm);
- kvm->arch.kvm_mode = KVM_MODE_HV;
- return err;
- }
-#endif
+ /*
+ * If both PR and HV are enabled, then new VMs start out as
+ * PR and get converted to HV when userspace enables the
+ * KVM_CAP_PPC_PAPR capability, assuming the system supports
+ * HV-mode KVM (i.e. has suitable CPUs and has hypervisor
+ * mode available).
+ */
#ifdef CONFIG_KVM_BOOK3S_PR
err = kvmppc_core_init_vm_pr(kvm);
+#ifdef CONFIG_KVM_BOOK3S_64_HV
+ kvm->arch.kvm_mode = KVM_MODE_UNKNOWN;
+#else
kvm->arch.kvm_mode = KVM_MODE_PR;
#endif
-
+#else
+#if defined(CONFIG_KVM_BOOK3S_64_HV)
+ err = kvmppc_core_init_vm_hv(kvm);
+ kvm->arch.kvm_mode = KVM_MODE_HV;
+#endif
+#endif
return err;
+
}
void kvmppc_core_destroy_vm(struct kvm *kvm)
{
- DO_IF_PR(kvm, kvmppc_core_destroy_vm_pr(kvm));
+ DO_IF_PR_U(kvm, kvmppc_core_destroy_vm_pr(kvm));
DO_IF_HV(kvm, kvmppc_core_destroy_vm_hv(kvm));
#ifdef CONFIG_PPC64
diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c
index 956318b..fee28e5 100644
--- a/arch/powerpc/kvm/book3s_hv.c
+++ b/arch/powerpc/kvm/book3s_hv.c
@@ -984,6 +984,83 @@ out:
return ERR_PTR(err);
}
+#ifdef CONFIG_KVM_BOOK3S_PR
+/*
+ * Adapt to different storage conventions for registers between PR and HV.
+ */
+static void kvmppc_convert_regs(struct kvm_vcpu *vcpu)
+{
+ int i, j;
+
+ /* Pack SLB entries down to low indexes and add index field */
+ j = 0;
+ for (i = 0; i < vcpu->arch.slb_nr; ++i) {
+ if (vcpu->arch.slb[i].valid) {
+ vcpu->arch.slb[j].orige = vcpu->arch.slb[i].orige | i;
+ vcpu->arch.slb[j].origv = vcpu->arch.slb[i].origv;
+ ++j;
+ }
+ }
+
+ memcpy(&vcpu->arch.shregs, vcpu->arch.shared,
+ sizeof(vcpu->arch.shregs));
+}
+
+/* Caller must hold kvm->lock */
+int kvmppc_convert_to_hv(struct kvm *kvm)
+{
+ int err;
+ long int i;
+ struct kvm_memory_slot *memslot;
+ struct kvm_memslots *slots;
+ struct kvm_vcpu *vcpu;
+
+ /* First do all the necessary memory allocations */
+ err = kvmppc_core_init_vm_hv(kvm);
+ if (err)
+ goto out;
+
+ kvm_for_each_vcpu(i, vcpu, kvm) {
+ err = kvmppc_alloc_vcore(vcpu, vcpu->vcpu_id);
+ if (err)
+ goto free_vm;
+ }
+
+ mutex_lock(&kvm->slots_lock);
+ slots = kvm->memslots;
+ err = 0;
+ kvm_for_each_memslot(memslot, slots) {
+ err = kvmppc_core_prepare_memory_region_hv(kvm, memslot, NULL);
+ if (err)
+ goto free_slots_locked;
+ }
+ mutex_unlock(&kvm->slots_lock);
+
+ /*
+ * Now that memory is allocated, switch the VM over to HV mode.
+ */
+ kvm->arch.kvm_mode = KVM_MODE_HV;
+
+ kvm_for_each_vcpu(i, vcpu, kvm) {
+ kvmppc_convert_regs(vcpu);
+ kvmppc_release_vcpu_pr(vcpu);
+ vcpu->arch.use_hv = true;
+ kvmppc_setup_hv_vcpu(vcpu);
+ }
+
+ return 0;
+
+ free_slots_locked:
+ kvm_for_each_memslot(memslot, slots)
+ kvmppc_core_free_memslot_hv(memslot, NULL);
+ mutex_unlock(&kvm->slots_lock);
+ free_vm:
+ kvmppc_core_destroy_vm_hv(kvm);
+ out:
+ return err;
+}
+#endif /* CONFIG_KVM_BOOK3S_PR */
+
static void unpin_vpa(struct kvm *kvm, struct kvmppc_vpa *vpa)
{
if (vpa->pinned_addr)
diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c
index f583e10..f35425e 100644
--- a/arch/powerpc/kvm/book3s_pr.c
+++ b/arch/powerpc/kvm/book3s_pr.c
@@ -264,10 +264,6 @@ void kvmppc_set_msr_pr(struct kvm_vcpu *vcpu, u64 msr)
kvmppc_mmu_pte_flush(vcpu, (uint32_t)vcpu->arch.magic_page_pa,
~0xFFFUL);
}
-
- /* Preload FPU if it's enabled */
- if (vcpu->arch.shared->msr & MSR_FP)
- kvmppc_handle_ext(vcpu, BOOK3S_INTERRUPT_FP_UNAVAIL, MSR_FP);
}
void kvmppc_set_pvr_pr(struct kvm_vcpu *vcpu, u32 pvr)
@@ -840,6 +836,11 @@ program_interrupt:
switch (er) {
case EMULATE_DONE:
r = RESUME_GUEST_NV;
+ /* Preload FPU if it's enabled */
+ if (vcpu->arch.shared->msr & MSR_FP &
+ ~vcpu->arch.guest_owned_ext)
+ kvmppc_handle_ext(vcpu,
+ BOOK3S_INTERRUPT_FP_UNAVAIL, MSR_FP);
break;
case EMULATE_AGAIN:
r = RESUME_GUEST;
@@ -1184,6 +1185,21 @@ out:
return ERR_PTR(err);
}
+#ifdef CONFIG_KVM_BOOK3S_64_HV
+/*
+ * Release PR-specific resources allocated for this vcpu.
+ */
+void kvmppc_release_vcpu_pr(struct kvm_vcpu *vcpu)
+{
+ kvmppc_mmu_destroy_pr(vcpu);
+ free_page((unsigned long)vcpu->arch.shared & PAGE_MASK);
+ kfree(vcpu->arch.shadow_vcpu);
+ vcpu->arch.shadow_vcpu = NULL;
+ vfree(vcpu->arch.book3s);
+ vcpu->arch.book3s = NULL;
+}
+#endif /* CONFIG_KVM_BOOK3S_64_HV */
+
void kvmppc_core_vcpu_free_pr(struct kvm_vcpu *vcpu)
{
struct kvmppc_vcpu_book3s *vcpu_book3s = to_book3s(vcpu);
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c
index 49bbc9e..a8caeec 100644
--- a/arch/powerpc/kvm/powerpc.c
+++ b/arch/powerpc/kvm/powerpc.c
@@ -800,6 +800,7 @@ static int kvm_vcpu_ioctl_enable_cap(struct kvm_vcpu *vcpu,
case KVM_CAP_PPC_PAPR:
r = 0;
vcpu->arch.papr_enabled = true;
+ kvmppc_core_enable_papr(vcpu);
break;
case KVM_CAP_PPC_EPR:
r = 0;
--
1.8.3.1
next prev parent reply other threads:[~2013-08-06 4:26 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-06 4:12 [PATCH 00/23] Allow PR and HV KVM to coexist in one kernel Paul Mackerras
2013-08-06 4:13 ` [PATCH 01/23] KVM: PPC: Book3S: Fix compile error in XICS emulation Paul Mackerras
2013-08-28 22:51 ` Alexander Graf
2013-08-06 4:14 ` [PATCH 02/23] KVM: PPC: Book3S PR: Don't corrupt guest state when kernel uses VMX Paul Mackerras
2013-08-08 15:49 ` Aneesh Kumar K.V
2013-08-28 22:51 ` Alexander Graf
2013-08-06 4:15 ` [PATCH 03/23] KVM: PPC: Book3S PR: Make instruction fetch fallback work for system calls Paul Mackerras
2013-08-28 22:51 ` Alexander Graf
2013-08-06 4:16 ` [PATCH 04/23] KVM: PPC: Book3S PR: Keep volatile reg values in vcpu rather than shadow_vcpu Paul Mackerras
2013-08-11 11:18 ` Aneesh Kumar K.V
2013-08-28 22:00 ` Alexander Graf
2013-08-29 5:04 ` Paul Mackerras
2013-08-29 12:46 ` Alexander Graf
2013-08-06 4:18 ` [PATCH 05/23] KVM: PPC: Book3S PR: Rework kvmppc_mmu_book3s_64_xlate() Paul Mackerras
2013-08-28 22:51 ` Alexander Graf
2013-08-06 4:18 ` [PATCH 06/23] KVM: PPC: Book3S PR: Allow guest to use 64k pages Paul Mackerras
2013-08-28 22:56 ` Alexander Graf
2013-08-29 5:17 ` Paul Mackerras
2013-08-29 12:48 ` Alexander Graf
2013-08-06 4:19 ` [PATCH 07/23] KVM: PPC: Book3S PR: Use 64k host pages where possible Paul Mackerras
2013-08-28 23:24 ` Alexander Graf
2013-08-29 5:23 ` Paul Mackerras
2013-08-29 12:43 ` Alexander Graf
2013-08-06 4:20 ` [PATCH 08/23] KVM: PPC: Book3S PR: Handle PP0 page-protection bit in guest HPTEs Paul Mackerras
2013-08-06 4:20 ` [PATCH 09/23] KVM: PPC: Book3S PR: Correct errors in H_ENTER implementation Paul Mackerras
2013-08-06 4:21 ` [PATCH 10/23] KVM: PPC: Book3S PR: Make HPT accesses and updates SMP-safe Paul Mackerras
2013-08-06 4:21 ` [PATCH 11/23] KVM: PPC: Book3S PR: Allocate kvm_vcpu structs from kvm_vcpu_cache Paul Mackerras
2013-08-12 10:15 ` Aneesh Kumar K.V
2013-08-06 4:22 ` [PATCH 12/23] KVM: PPC: Book3S HV: Better handling of exceptions that happen in real mode Paul Mackerras
2013-08-06 4:22 ` [PATCH 13/23] KVM: PPC: Book3S: Move skip-interrupt handlers to common code Paul Mackerras
2013-08-06 4:23 ` [PATCH 14/23] KVM: PPC: Book3S PR: Delay disabling relocation-on interrupts Paul Mackerras
2013-08-30 16:30 ` Alexander Graf
2013-08-30 22:55 ` Paul Mackerras
2013-08-30 23:13 ` Alexander Graf
2013-08-31 5:42 ` Paul Mackerras
2013-08-06 4:24 ` [PATCH 15/23] KVM: PPC: Book3S: Rename symbols that exist in both PR and HV KVM Paul Mackerras
2013-08-06 4:24 ` [PATCH 16/23] KVM: PPC: Book3S: Merge implementations of KVM_PPC_GET_SMMU_INFO ioctl Paul Mackerras
2013-08-06 4:25 ` [PATCH 17/23] KVM: PPC: Book3S HV: Factorize kvmppc_core_vcpu_create_hv() Paul Mackerras
2013-08-06 4:25 ` [PATCH 18/23] KVM: PPC: Book3S: Allow both PR and HV KVM to be selected Paul Mackerras
2013-08-06 4:26 ` Paul Mackerras [this message]
2013-09-12 22:56 ` [PATCH 19/23] KVM: PPC: Book3S: Select PR vs HV separately for each guest Alexander Graf
2013-09-13 0:17 ` Paul Mackerras
2013-09-13 1:31 ` Benjamin Herrenschmidt
2013-09-13 4:18 ` Alexander Graf
2013-09-14 18:45 ` Aneesh Kumar K.V
2013-09-14 20:22 ` Alexander Graf
2013-09-15 9:28 ` Aneesh Kumar K.V
2013-09-15 11:55 ` Alexander Graf
2013-09-13 4:17 ` Alexander Graf
2013-09-18 12:05 ` Paul Mackerras
2013-09-19 7:31 ` Alexander Graf
2013-08-06 4:27 ` [PATCH 20/23] KVM: PPC: Book3S PR: Better handling of host-side read-only pages Paul Mackerras
2013-09-12 23:01 ` Alexander Graf
2013-09-13 0:23 ` Paul Mackerras
2013-09-14 5:24 ` Paul Mackerras
2013-09-14 20:23 ` Alexander Graf
2013-09-16 4:12 ` Paul Mackerras
2013-09-16 12:47 ` Alexander Graf
2013-08-06 4:27 ` [PATCH 21/23] KVM: PPC: Book3S PR: Use mmu_notifier_retry() in kvmppc_mmu_map_page() Paul Mackerras
2013-08-07 4:13 ` Bhushan Bharat-R65777
2013-08-07 4:28 ` Paul Mackerras
2013-08-07 5:18 ` Bhushan Bharat-R65777
2013-08-07 5:17 ` Bhushan Bharat-R65777
2013-08-07 8:27 ` Paul Mackerras
2013-08-07 8:31 ` Bhushan Bharat-R65777
2013-08-08 12:06 ` Paul Mackerras
2013-08-06 4:27 ` [PATCH 22/23] KVM: PPC: Book3S PR: Mark pages accessed, and dirty if being written Paul Mackerras
2013-08-06 4:28 ` [PATCH 23/23] KVM: PPC: Book3S PR: Reduce number of shadow PTEs invalidated by MMU notifiers Paul Mackerras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130806042628.GY19254@iris.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=agraf@suse.de \
--cc=benh@kernel.crashing.org \
--cc=kvm-ppc@vger.kernel.org \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox