[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] xen/evtchn: Change irq_info lock to raw_spinlock_t
- To: Luca Fancellu <luca.fancellu@xxxxxxx>, sstabellini@xxxxxxxxxx, jgross@xxxxxxxx, jgrall@xxxxxxxxxx
- From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
- Date: Wed, 7 Apr 2021 17:43:55 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZZ+rXfjgDEQcFGGboBe359cL++lrH7SACD7Zoxz1DrY=; b=UW4Gb4rQoXaf8U5JTNJ0SBNlP/M11Iy4YYOwC0kNHPt1JZRu+MYL8ES/Vg/apUVsARoBY+QEWiTTCM1pvHCR/6WldTrtw49By00ZcltxjQ3tnXFpFUwQJCjOp/HN0LB+WqZ+lYroyWtoQ8i0dLhMmT6ISZw+jiISwGQdS1WIcowRU8K+UyJ8XU0dhK+HtS9osE0BWbUOw+MvD4oNPk7PbVDK7B81DyH2NYty9x2peiy+0nnR/F6DVPBJlaMaUJebOZ0HHyecAIoufjJoqr8K8mvitbd2MsFY2eC9jQL6iVawl94sWGtJxkv8aAUqRArDLW/p4A0BlUYhKRQUMWJhOg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iNGMaiOKcu0FAaUYAhXojfD1qBi8A1crpvHXZofLpG9G3ZXSsYPXkX0XBH4pFP7b0raBcP6wQxzf876lLcU21SC34EWvy2zBsr+HhxcwWu2rFU005014zqdpF81dY5/tTjuhM2K6/9V7G007FmGTgOa0w9E3AhEY2ggeD2MTx/ZGCh1zkg1oVccz39uUS3AAmIgahv8sbC2S0osMHuoyGktsPIIlUdLdKR9xIHlgim3fsdwrpSySmDH0mbtKM5HZAm6HKWE5DzLtLHh72ByaGd5wBNAI8UfyVkWLq0UfoEmmIkcFQQYDLSrwgPqdOXBeTCCIayx1sV+9k6fXhXAB0Q==
- Authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=oracle.com;
- Cc: tglx@xxxxxxxxxxxxx, wei.liu@xxxxxxxxxx, jbeulich@xxxxxxxx, yyankovskyi@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, stable@xxxxxxxxxxxxxxx, bertrand.marquis@xxxxxxx
- Delivery-date: Wed, 07 Apr 2021 21:44:29 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 4/6/21 6:51 AM, Luca Fancellu wrote:
> Unmask operation must be called with interrupt disabled,
> on preempt_rt spin_lock_irqsave/spin_unlock_irqrestore
> don't disable/enable interrupts, so use raw_* implementation
> and change lock variable in struct irq_info from spinlock_t
> to raw_spinlock_t
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 25da4618af24 ("xen/events: don't unmask an event channel
> when an eoi is pending")
>
> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
Applied to for-linus-5.12b
-boris
|