Message ID | 1560245893-46998-1-git-send-email-julien.thierry@arm.com (mailing list archive) |
---|---|
Headers | show |
Series | arm64: IRQ priority masking and Pseudo-NMI fixes | expand |
Hi Julien, On 11/06/2019 10:38, Julien Thierry wrote: > Hi, > > Version one[1] of this series attempted to fix the issue reported by > Zenghui[2] when using the function_graph tracer with IRQ priority > masking. > > Since then, I realized that priority masking and the use of Pseudo-NMIs > was more broken than I thought. > > * Patch 1-2 are just some cleanup > * Patch 3 fixes a potential issue with not clobbering condition flags > in irqflags operations > * Patch 4 fixes an issue where calling C code in Pseudo-NMI before > entering NMI enter could lead to potential races > * Patch 5 fixes the function_graph issue when using priority masking > * Patch 6 introduces some debug to hopefully avoid breaking things in > the future > * Patch 7 is a rebased version of the patch sent by Wei Li[3] fixing > an error that can happen during on some platform using the priority > masking feature > * Patch 8 re-enables the Pseudo-NMI selection > > Changes since V3 [4]: > - Rebase on v5.2-rc4 > - Fix comments/typos/missed updates > - Use single condition evalution for nmi_enter and nmi_exit Thanks for following up on this. For the whole series: Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> M.
On Tue, Jun 11, 2019 at 10:38:05AM +0100, Julien Thierry wrote: > Julien Thierry (7): > arm64: Do not enable IRQs for ct_user_exit > arm64: irqflags: Pass flags as readonly operand to restore instruction > arm64: irqflags: Add condition flags to inline asm clobber list > arm64: Fix interrupt tracing in the presence of NMIs > arm64: Fix incorrect irqflag restore for priority masking > arm64: irqflags: Introduce explicit debugging for IRQ priorities > arm64: Allow selecting Pseudo-NMI again > > Wei Li (1): > arm64: fix kernel stack overflow in kdump capture kernel I queued these patches for 5.3 (and should appear in next soon). Thanks.