All of lore.kernel.org
 help / color / mirror / Atom feed
From: liuj97@gmail.com (Jiang Liu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 1/7] arm64: introduce basic aarch64 instruction decoding helpers
Date: Thu, 17 Oct 2013 23:14:42 +0800	[thread overview]
Message-ID: <525FFEE2.6070106@gmail.com> (raw)
In-Reply-To: <20131017104737.GI18765@mudshark.cambridge.arm.com>

Hi Will,
	Thanks for review and will make those small changes.
Gerry

On 10/17/2013 06:47 PM, Will Deacon wrote:
> On Thu, Oct 17, 2013 at 07:19:34AM +0100, Jiang Liu wrote:
>> From: Jiang Liu <jiang.liu@huawei.com>
>>
>> Introduce basic aarch64 instruction decoding helper
>> aarch64_get_insn_class() and aarch64_insn_hotpatch_safe().
>>
>> Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
>> Cc: Jiang Liu <liuj97@gmail.com>
>> ---
>>  arch/arm64/include/asm/insn.h | 67 ++++++++++++++++++++++++++++++++++++++++
>>  arch/arm64/kernel/Makefile    |  2 +-
>>  arch/arm64/kernel/insn.c      | 72 +++++++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 140 insertions(+), 1 deletion(-)
>>  create mode 100644 arch/arm64/include/asm/insn.h
>>  create mode 100644 arch/arm64/kernel/insn.c
>>
>> diff --git a/arch/arm64/include/asm/insn.h b/arch/arm64/include/asm/insn.h
>> new file mode 100644
>> index 0000000..6190016
>> --- /dev/null
>> +++ b/arch/arm64/include/asm/insn.h
>> @@ -0,0 +1,67 @@
>> +/*
>> + * Copyright (C) 2013 Huawei Ltd.
>> + * Author: Jiang Liu <jiang.liu@huawei.com>
>> + *
>> + * This program is free software; you can redistribute it and/or modify
>> + * it under the terms of the GNU General Public License version 2 as
>> + * published by the Free Software Foundation.
>> + *
>> + * This program is distributed in the hope that it will be useful,
>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> + * GNU General Public License for more details.
>> + *
>> + * You should have received a copy of the GNU General Public License
>> + * along with this program.  If not, see <http://www.gnu.org/licenses/>.
>> + */
>> +#ifndef	_ASM_ARM64_INSN_H
>> +#define	_ASM_ARM64_INSN_H
> 
> We've tried to be consistent using __ASM_<name>_H here.
> 
>> +#include <linux/types.h>
>> +
>> +/*
>> + * ARM Architecture Reference Manual ARMv8, Section C3.1
>> + * AArch64 main encoding table
>> + *  Bit position
>> + *   28 27 26 25	Encoding Group
>> + *   0  0  -  -		Unallocated
>> + *   1  0  0  -		Data processing, immediate
>> + *   1  0  1  -		Branch, exception generation and system instructions
>> + *   -  1  -  0		Loads and stores
>> + *   -  1  0  1		Data processing - register
>> + *   0  1  1  1		Data processing - SIMD and floating point
>> + *   1  1  1  1		Data processing - SIMD and floating point
>> + * "-" means "don't care"
>> + */
>> +enum aarch64_insn_encoding_class {
>> +	AARCH64_INSN_CLS_UNKNOWN,	/* UNALLOCATED */
>> +	AARCH64_INSN_CLS_DP_IMM,	/* Data processing - immediate */
>> +	AARCH64_INSN_CLS_DP_REG,	/* Data processing - register */
>> +	AARCH64_INSN_CLS_DP_FPSIMD,	/* Data processing - SIMD and FP */
>> +	AARCH64_INSN_CLS_LDST,		/* Loads and stores */
>> +	AARCH64_INSN_CLS_BR_SYS,	/* Branch, exception generation and
>> +					 * system instructions */
>> +};
>> +
>> +#define	__AARCH64_INSN_FUNCS(abbr, mask, val)	\
>> +static __always_inline bool aarch64_insn_is_##abbr(u32 code) \
>> +{ return (code & (mask)) == (val); }	\
>> +static __always_inline u32 aarch64_insn_get_##abbr##_mask(void) \
>> +{ return (mask); } \
>> +static __always_inline u32 aarch64_insn_get_##abbr##_value(void) \
>> +{ return (val); }
>> +
>> +__AARCH64_INSN_FUNCS(b,		0xFC000000, 0x14000000)
>> +__AARCH64_INSN_FUNCS(bl,	0xFC000000, 0x94000000)
>> +__AARCH64_INSN_FUNCS(svc,	0xFFE0001F, 0xD4000001)
>> +__AARCH64_INSN_FUNCS(hvc,	0xFFE0001F, 0xD4000002)
>> +__AARCH64_INSN_FUNCS(smc,	0xFFE0001F, 0xD4000003)
>> +__AARCH64_INSN_FUNCS(brk,	0xFFE0001F, 0xD4200000)
>> +__AARCH64_INSN_FUNCS(nop,	0xFFFFFFFF, 0xD503201F)
>> +
>> +#undef	__AARCH64_INSN_FUNCS
>> +
>> +enum aarch64_insn_encoding_class aarch64_get_insn_class(u32 insn);
>> +
>> +bool aarch64_insn_hotpatch_safe(u32 old_insn, u32 new_insn);
>> +
>> +#endif	/* _ASM_ARM64_INSN_H */
>> diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile
>> index 7b4b564..9af6cb3 100644
>> --- a/arch/arm64/kernel/Makefile
>> +++ b/arch/arm64/kernel/Makefile
>> @@ -9,7 +9,7 @@ AFLAGS_head.o		:= -DTEXT_OFFSET=$(TEXT_OFFSET)
>>  arm64-obj-y		:= cputable.o debug-monitors.o entry.o irq.o fpsimd.o	\
>>  			   entry-fpsimd.o process.o ptrace.o setup.o signal.o	\
>>  			   sys.o stacktrace.o time.o traps.o io.o vdso.o	\
>> -			   hyp-stub.o psci.o
>> +			   hyp-stub.o psci.o insn.o
>>  
>>  arm64-obj-$(CONFIG_COMPAT)		+= sys32.o kuser32.o signal32.o 	\
>>  					   sys_compat.o
>> diff --git a/arch/arm64/kernel/insn.c b/arch/arm64/kernel/insn.c
>> new file mode 100644
>> index 0000000..1c501f3
>> --- /dev/null
>> +++ b/arch/arm64/kernel/insn.c
>> @@ -0,0 +1,72 @@
>> +/*
>> + * Copyright (C) 2013 Huawei Ltd.
>> + * Author: Jiang Liu <jiang.liu@huawei.com>
>> + *
>> + * This program is free software; you can redistribute it and/or modify
>> + * it under the terms of the GNU General Public License version 2 as
>> + * published by the Free Software Foundation.
>> + *
>> + * This program is distributed in the hope that it will be useful,
>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> + * GNU General Public License for more details.
>> + *
>> + * You should have received a copy of the GNU General Public License
>> + * along with this program.  If not, see <http://www.gnu.org/licenses/>.
>> + */
>> +#include <linux/compiler.h>
>> +#include <linux/kernel.h>
>> +#include <asm/insn.h>
>> +
>> +static int aarch64_insn_encoding_cls[] = {
>> +	AARCH64_INSN_CLS_UNKNOWN,
>> +	AARCH64_INSN_CLS_UNKNOWN,
>> +	AARCH64_INSN_CLS_UNKNOWN,
>> +	AARCH64_INSN_CLS_UNKNOWN,
>> +	AARCH64_INSN_CLS_LDST,
>> +	AARCH64_INSN_CLS_DP_REG,
>> +	AARCH64_INSN_CLS_LDST,
>> +	AARCH64_INSN_CLS_DP_FPSIMD,
>> +	AARCH64_INSN_CLS_DP_IMM,
>> +	AARCH64_INSN_CLS_DP_IMM,
>> +	AARCH64_INSN_CLS_BR_SYS,
>> +	AARCH64_INSN_CLS_BR_SYS,
>> +	AARCH64_INSN_CLS_LDST,
>> +	AARCH64_INSN_CLS_DP_REG,
>> +	AARCH64_INSN_CLS_LDST,
>> +	AARCH64_INSN_CLS_DP_FPSIMD,
>> +};
>> +
>> +enum aarch64_insn_encoding_class __kprobes aarch64_get_insn_class(u32 insn)
>> +{
>> +	return aarch64_insn_encoding_cls[(insn >> 25) & 0xf];
>> +}
> 
> For some reason, I just read `cls' as `count leading set', so you could just
> use `class' here to help lazy readers like me :)
> 
>> +static bool __kprobes __aarch64_insn_hotpatch_safe(u32 insn)
>> +{
>> +	if (aarch64_get_insn_class(insn) != AARCH64_INSN_CLS_BR_SYS)
>> +		return false;
>> +
>> +	return	aarch64_insn_is_b(insn) ||
>> +		aarch64_insn_is_bl(insn) ||
>> +		aarch64_insn_is_svc(insn) ||
>> +		aarch64_insn_is_hvc(insn) ||
>> +		aarch64_insn_is_smc(insn) ||
>> +		aarch64_insn_is_brk(insn) ||
>> +		aarch64_insn_is_nop(insn);
>> +}
>> +
>> +/*
>> + * ARMv8-A Section B2.6.5:
>> + * Concurrent modification and execution of instructions can lead to the
>> + * resulting instruction performing any behavior that can be achieved by
>> + * executing any sequence of instructions that can be executed from the
>> + * same Exception level, except where the instruction before modification
>> + * and the instruction after modification is a B, BL, NOP, BKPT, SVC, HVC,
>> + * or SMC instruction.
>> + */
>> +bool __kprobes aarch64_insn_hotpatch_safe(u32 old_insn, u32 new_insn)
>> +{
>> +	return __aarch64_insn_hotpatch_safe(old_insn) &&
>> +	       __aarch64_insn_hotpatch_safe(new_insn);
>> +}
> 
> With those cosmetic changes:
> 
>   Reviewed-by: Will Deacon <will.deacon@arm.com>
> 
> Will
> 

WARNING: multiple messages have this Message-ID (diff)
From: Jiang Liu <liuj97@gmail.com>
To: Will Deacon <will.deacon@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
	Catalin Marinas <Catalin.Marinas@arm.com>,
	Sandeepa Prabhu <sandeepa.prabhu@linaro.org>,
	Jiang Liu <jiang.liu@huawei.com>,
	Marc Zyngier <Marc.Zyngier@arm.com>,
	Arnd Bergmann <arnd@arndb.de>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v4 1/7] arm64: introduce basic aarch64 instruction decoding helpers
Date: Thu, 17 Oct 2013 23:14:42 +0800	[thread overview]
Message-ID: <525FFEE2.6070106@gmail.com> (raw)
In-Reply-To: <20131017104737.GI18765@mudshark.cambridge.arm.com>

Hi Will,
	Thanks for review and will make those small changes.
Gerry

On 10/17/2013 06:47 PM, Will Deacon wrote:
> On Thu, Oct 17, 2013 at 07:19:34AM +0100, Jiang Liu wrote:
>> From: Jiang Liu <jiang.liu@huawei.com>
>>
>> Introduce basic aarch64 instruction decoding helper
>> aarch64_get_insn_class() and aarch64_insn_hotpatch_safe().
>>
>> Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
>> Cc: Jiang Liu <liuj97@gmail.com>
>> ---
>>  arch/arm64/include/asm/insn.h | 67 ++++++++++++++++++++++++++++++++++++++++
>>  arch/arm64/kernel/Makefile    |  2 +-
>>  arch/arm64/kernel/insn.c      | 72 +++++++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 140 insertions(+), 1 deletion(-)
>>  create mode 100644 arch/arm64/include/asm/insn.h
>>  create mode 100644 arch/arm64/kernel/insn.c
>>
>> diff --git a/arch/arm64/include/asm/insn.h b/arch/arm64/include/asm/insn.h
>> new file mode 100644
>> index 0000000..6190016
>> --- /dev/null
>> +++ b/arch/arm64/include/asm/insn.h
>> @@ -0,0 +1,67 @@
>> +/*
>> + * Copyright (C) 2013 Huawei Ltd.
>> + * Author: Jiang Liu <jiang.liu@huawei.com>
>> + *
>> + * This program is free software; you can redistribute it and/or modify
>> + * it under the terms of the GNU General Public License version 2 as
>> + * published by the Free Software Foundation.
>> + *
>> + * This program is distributed in the hope that it will be useful,
>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> + * GNU General Public License for more details.
>> + *
>> + * You should have received a copy of the GNU General Public License
>> + * along with this program.  If not, see <http://www.gnu.org/licenses/>.
>> + */
>> +#ifndef	_ASM_ARM64_INSN_H
>> +#define	_ASM_ARM64_INSN_H
> 
> We've tried to be consistent using __ASM_<name>_H here.
> 
>> +#include <linux/types.h>
>> +
>> +/*
>> + * ARM Architecture Reference Manual ARMv8, Section C3.1
>> + * AArch64 main encoding table
>> + *  Bit position
>> + *   28 27 26 25	Encoding Group
>> + *   0  0  -  -		Unallocated
>> + *   1  0  0  -		Data processing, immediate
>> + *   1  0  1  -		Branch, exception generation and system instructions
>> + *   -  1  -  0		Loads and stores
>> + *   -  1  0  1		Data processing - register
>> + *   0  1  1  1		Data processing - SIMD and floating point
>> + *   1  1  1  1		Data processing - SIMD and floating point
>> + * "-" means "don't care"
>> + */
>> +enum aarch64_insn_encoding_class {
>> +	AARCH64_INSN_CLS_UNKNOWN,	/* UNALLOCATED */
>> +	AARCH64_INSN_CLS_DP_IMM,	/* Data processing - immediate */
>> +	AARCH64_INSN_CLS_DP_REG,	/* Data processing - register */
>> +	AARCH64_INSN_CLS_DP_FPSIMD,	/* Data processing - SIMD and FP */
>> +	AARCH64_INSN_CLS_LDST,		/* Loads and stores */
>> +	AARCH64_INSN_CLS_BR_SYS,	/* Branch, exception generation and
>> +					 * system instructions */
>> +};
>> +
>> +#define	__AARCH64_INSN_FUNCS(abbr, mask, val)	\
>> +static __always_inline bool aarch64_insn_is_##abbr(u32 code) \
>> +{ return (code & (mask)) == (val); }	\
>> +static __always_inline u32 aarch64_insn_get_##abbr##_mask(void) \
>> +{ return (mask); } \
>> +static __always_inline u32 aarch64_insn_get_##abbr##_value(void) \
>> +{ return (val); }
>> +
>> +__AARCH64_INSN_FUNCS(b,		0xFC000000, 0x14000000)
>> +__AARCH64_INSN_FUNCS(bl,	0xFC000000, 0x94000000)
>> +__AARCH64_INSN_FUNCS(svc,	0xFFE0001F, 0xD4000001)
>> +__AARCH64_INSN_FUNCS(hvc,	0xFFE0001F, 0xD4000002)
>> +__AARCH64_INSN_FUNCS(smc,	0xFFE0001F, 0xD4000003)
>> +__AARCH64_INSN_FUNCS(brk,	0xFFE0001F, 0xD4200000)
>> +__AARCH64_INSN_FUNCS(nop,	0xFFFFFFFF, 0xD503201F)
>> +
>> +#undef	__AARCH64_INSN_FUNCS
>> +
>> +enum aarch64_insn_encoding_class aarch64_get_insn_class(u32 insn);
>> +
>> +bool aarch64_insn_hotpatch_safe(u32 old_insn, u32 new_insn);
>> +
>> +#endif	/* _ASM_ARM64_INSN_H */
>> diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile
>> index 7b4b564..9af6cb3 100644
>> --- a/arch/arm64/kernel/Makefile
>> +++ b/arch/arm64/kernel/Makefile
>> @@ -9,7 +9,7 @@ AFLAGS_head.o		:= -DTEXT_OFFSET=$(TEXT_OFFSET)
>>  arm64-obj-y		:= cputable.o debug-monitors.o entry.o irq.o fpsimd.o	\
>>  			   entry-fpsimd.o process.o ptrace.o setup.o signal.o	\
>>  			   sys.o stacktrace.o time.o traps.o io.o vdso.o	\
>> -			   hyp-stub.o psci.o
>> +			   hyp-stub.o psci.o insn.o
>>  
>>  arm64-obj-$(CONFIG_COMPAT)		+= sys32.o kuser32.o signal32.o 	\
>>  					   sys_compat.o
>> diff --git a/arch/arm64/kernel/insn.c b/arch/arm64/kernel/insn.c
>> new file mode 100644
>> index 0000000..1c501f3
>> --- /dev/null
>> +++ b/arch/arm64/kernel/insn.c
>> @@ -0,0 +1,72 @@
>> +/*
>> + * Copyright (C) 2013 Huawei Ltd.
>> + * Author: Jiang Liu <jiang.liu@huawei.com>
>> + *
>> + * This program is free software; you can redistribute it and/or modify
>> + * it under the terms of the GNU General Public License version 2 as
>> + * published by the Free Software Foundation.
>> + *
>> + * This program is distributed in the hope that it will be useful,
>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> + * GNU General Public License for more details.
>> + *
>> + * You should have received a copy of the GNU General Public License
>> + * along with this program.  If not, see <http://www.gnu.org/licenses/>.
>> + */
>> +#include <linux/compiler.h>
>> +#include <linux/kernel.h>
>> +#include <asm/insn.h>
>> +
>> +static int aarch64_insn_encoding_cls[] = {
>> +	AARCH64_INSN_CLS_UNKNOWN,
>> +	AARCH64_INSN_CLS_UNKNOWN,
>> +	AARCH64_INSN_CLS_UNKNOWN,
>> +	AARCH64_INSN_CLS_UNKNOWN,
>> +	AARCH64_INSN_CLS_LDST,
>> +	AARCH64_INSN_CLS_DP_REG,
>> +	AARCH64_INSN_CLS_LDST,
>> +	AARCH64_INSN_CLS_DP_FPSIMD,
>> +	AARCH64_INSN_CLS_DP_IMM,
>> +	AARCH64_INSN_CLS_DP_IMM,
>> +	AARCH64_INSN_CLS_BR_SYS,
>> +	AARCH64_INSN_CLS_BR_SYS,
>> +	AARCH64_INSN_CLS_LDST,
>> +	AARCH64_INSN_CLS_DP_REG,
>> +	AARCH64_INSN_CLS_LDST,
>> +	AARCH64_INSN_CLS_DP_FPSIMD,
>> +};
>> +
>> +enum aarch64_insn_encoding_class __kprobes aarch64_get_insn_class(u32 insn)
>> +{
>> +	return aarch64_insn_encoding_cls[(insn >> 25) & 0xf];
>> +}
> 
> For some reason, I just read `cls' as `count leading set', so you could just
> use `class' here to help lazy readers like me :)
> 
>> +static bool __kprobes __aarch64_insn_hotpatch_safe(u32 insn)
>> +{
>> +	if (aarch64_get_insn_class(insn) != AARCH64_INSN_CLS_BR_SYS)
>> +		return false;
>> +
>> +	return	aarch64_insn_is_b(insn) ||
>> +		aarch64_insn_is_bl(insn) ||
>> +		aarch64_insn_is_svc(insn) ||
>> +		aarch64_insn_is_hvc(insn) ||
>> +		aarch64_insn_is_smc(insn) ||
>> +		aarch64_insn_is_brk(insn) ||
>> +		aarch64_insn_is_nop(insn);
>> +}
>> +
>> +/*
>> + * ARMv8-A Section B2.6.5:
>> + * Concurrent modification and execution of instructions can lead to the
>> + * resulting instruction performing any behavior that can be achieved by
>> + * executing any sequence of instructions that can be executed from the
>> + * same Exception level, except where the instruction before modification
>> + * and the instruction after modification is a B, BL, NOP, BKPT, SVC, HVC,
>> + * or SMC instruction.
>> + */
>> +bool __kprobes aarch64_insn_hotpatch_safe(u32 old_insn, u32 new_insn)
>> +{
>> +	return __aarch64_insn_hotpatch_safe(old_insn) &&
>> +	       __aarch64_insn_hotpatch_safe(new_insn);
>> +}
> 
> With those cosmetic changes:
> 
>   Reviewed-by: Will Deacon <will.deacon@arm.com>
> 
> Will
> 


  reply	other threads:[~2013-10-17 15:14 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17  6:19 [PATCH v4 0/7] Optimize jump label implementation for ARM64 Jiang Liu
2013-10-17  6:19 ` Jiang Liu
2013-10-17  6:19 ` [PATCH v4 1/7] arm64: introduce basic aarch64 instruction decoding helpers Jiang Liu
2013-10-17  6:19   ` Jiang Liu
2013-10-17 10:47   ` Will Deacon
2013-10-17 10:47     ` Will Deacon
2013-10-17 15:14     ` Jiang Liu [this message]
2013-10-17 15:14       ` Jiang Liu
2013-10-17  6:19 ` [PATCH v4 2/7] arm64: introduce interfaces to hotpatch kernel and module code Jiang Liu
2013-10-17  6:19   ` Jiang Liu
2013-10-17 11:38   ` Will Deacon
2013-10-17 11:38     ` Will Deacon
2013-10-17 15:24     ` Jon Medhurst (Tixy)
2013-10-17 15:24       ` Jon Medhurst (Tixy)
2013-10-17 15:59       ` Jiang Liu
2013-10-17 15:59         ` Jiang Liu
2013-10-18  8:56       ` Will Deacon
2013-10-18  8:56         ` Will Deacon
2013-10-18 13:44         ` Jon Medhurst (Tixy)
2013-10-18 13:44           ` Jon Medhurst (Tixy)
2013-10-18 15:08           ` Jiang Liu
2013-10-18 15:08             ` Jiang Liu
2013-10-17 15:38     ` Jiang Liu
2013-10-17 15:38       ` Jiang Liu
2013-10-17  6:19 ` [PATCH v4 3/7] arm64: move encode_insn_immediate() from module.c to insn.c Jiang Liu
2013-10-17  6:19   ` Jiang Liu
2013-10-17 12:11   ` Will Deacon
2013-10-17 12:11     ` Will Deacon
2013-10-17  6:19 ` [PATCH v4 4/7] arm64: introduce aarch64_insn_gen_{nop|branch_imm}() helper functions Jiang Liu
2013-10-17  6:19   ` Jiang Liu
2013-10-17  6:19 ` [PATCH v4 5/7] arm64, jump label: detect %c support for ARM64 Jiang Liu
2013-10-17  6:19   ` Jiang Liu
2013-10-17  6:19 ` [PATCH v4 6/7] arm64, jump label: optimize jump label implementation Jiang Liu
2013-10-17  6:19   ` Jiang Liu
2013-10-17  6:19 ` [PATCH v4 7/7] jump_label: use defined macros instead of hard-coding for better readability Jiang Liu
2013-10-17  6:19   ` Jiang Liu

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=525FFEE2.6070106@gmail.com \
    --to=liuj97@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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 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.