Re: [Xen-devel] [PATCH v2 2/2] x86/mmcfg/drhd: Move acpi_mmcfg_init() call before calling acpi_parse_dmar()

2018-08-17 Thread zhenzhong.duan
Ok, that make sense for me. Thanks for your detailed explanation, I will rewrite the patch next week. Sent from mobile 2018年8月17日 20:28于 Jan Beulich 写道: > > >>> On 17.08.18 at 09:01, wrote: > > pci_conf_read8() needs pci mmcfg mapping to work on multiple pci segments > > system such as HPE Su

[Xen-devel] 回复: Re: [PATCH] Choose retpoline only when it is safe to use

2018-02-06 Thread zhenzhong.duan
2018年2月6日 17:20于 Andrew Cooper 写道: > > On 06/02/2018 09:13, Zhenzhong Duan wrote: > > 在 2018/2/6 16:59, Andrew Cooper 写道: > >> On 06/02/2018 08:43, Zhenzhong Duan wrote: > >>> When ( ibrs && thunk == THUNK_DEFAULT && !retpoline_safe() ) is true, > >>> thunk is set to THUNK_JMP rather than THUN

[Xen-devel] 回复: [PATCH] x86/spec_ctrl: Fix several bugs in SPEC_CTRL_ENTRY_FROM_INTR_IST

2018-02-14 Thread zhenzhong.duan
2018年2月14日 19:10于 Andrew Cooper 写道: > > DO_OVERWRITE_RSB clobbers %rax, meaning in practice that that the > bti_ist_info > field gets zeroed.  Older versions of this code had the DO_OVERWRITE_RSB > register selectable, so reintroduce this ability and use it to cause the > INTR_IST path to use

[Xen-devel] 回复: Re: 回复: [PATCH] x86/spec_ctrl: Fix several bugs in SPEC_CTRL_ENTRY_FROM_INTR_IST

2018-02-14 Thread zhenzhong.duan
2018年2月14日 20:21于 Andrew Cooper 写道: > > On 14/02/18 12:08, zhenzhong.duan wrote: > > > > > @@ -286,13 +286,13 @@ > > > setz %dl > > > and %dl, STACK_CPUINFO_FIELD(use_shadow_spec_ctrl)(%r14) > > Is it safe to remove the 'xor