]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: arm_scmi: Simplify spinlocks in virtio transport
authorCristian Marussi <cristian.marussi@arm.com>
Thu, 16 Sep 2021 10:33:35 +0000 (11:33 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 6 Oct 2021 10:12:44 +0000 (11:12 +0100)
commita14a14595dcade4bf31e50909a6958ed2566c058
tree6de2533639ccaaa60ae72d1fc9e74659d76fa42d
parent1cd73200dad2d53d839b3323596dbf8a2b949d86
firmware: arm_scmi: Simplify spinlocks in virtio transport

Remove unneeded nested irqsave/irqrestore spinlocks.
Add also a few descriptive comments to explain better the system behaviour
at shutdown time.

Link: https://lore.kernel.org/r/20210916103336.7243-2-cristian.marussi@arm.com
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/virtio.c