Re: [PATCH v3 0/2] PCI/aer_inject: Adjust locking for PREEMPT_RT

From: Guangbo Cui
Date: Mon Oct 27 2025 - 11:17:38 EST


On Sun, Oct 26, 2025 at 07:16:36PM -0400, Waiman Long wrote:
> On 10/26/25 12:43 AM, Guangbo Cui wrote:
> > This patch series addresses locking issues in the AER injection
> > path under PREEMPT_RT.
> >
> > Signed-off-by: Guangbo Cui <jckeep.cuiguangbo@xxxxxxxxx>
> > ---
> > Changes in v3:
> > - Remove unnecessary lock in aer_inject_exit.
> > - Link to v2: https://lore.kernel.org/all/20251009150651.93618-1-jckeep.cuiguangbo@xxxxxxxxx/
> >
> > ---
> > Guangbo Cui (2):
> > PCI/aer_inject: Convert inject_lock to raw_spinlock_t
> > PCI/aer_inject: Remove unnecessary lock in aer_inject_exit
>
> You should reverse the patch ordering. Patch 2 should come first before the
> patch 1. Otherwise, applying just patch 1 without patch 2 will fail
> compilation.

will fix next version.

Best regards,
Guangbo