]> 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)
commit0395bb42a32b59e682bd67174c9fc17a576cce40
tree6de2533639ccaaa60ae72d1fc9e74659d76fa42d
parent23b28d0b3492ff5ba4ed96b3a52239e7d208ce6c
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