Re: [tip: irq/urgent] irqchip/gic-v3-its: Fix potential race condition in its_vlpi_prop_update()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip: irq/urgent] irqchip/gic-v3-its: Fix potential race condition in its_vlpi_prop_update()
- From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
- Date: Mon, 03 Jun 2024 18:20:42 +0200
- Cc: linux-tip-commits@xxxxxxxxxxxxxxx, Hagar Hemdan <hagarhem@xxxxxxxxxx>, stable@xxxxxxxxxxxxxxx, x86@xxxxxxxxxx
- In-reply-to: <86h6eakoc9.wl-maz@kernel.org>
- References: <20240531162144.28650-1-hagarhem@amazon.com> <171741750653.10875.4371546608500601999.tip-bot2@tip-bot2> <86h6eakoc9.wl-maz@kernel.org>
On Mon, Jun 03 2024 at 17:01, Marc Zyngier wrote:
> On Mon, 03 Jun 2024 13:25:06 +0100,
>> @@ -1992,6 +1970,8 @@ static int its_irq_set_vcpu_affinity(struct irq_data *d, void *vcpu_info)
>> if (!is_v4(its_dev->its))
>> return -EINVAL;
>>
>> + guard(raw_spinlock_irq, &its_dev->event_map.vlpi_lock);
>> +
>
> I don't think this compiles as is, due to the funky syntax required.
Stupid me. I obviously compiled the wrong config to validate...
Fixed now.
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]