summaryrefslogtreecommitdiff
path: root/Documentation/security/vboot
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-07-14 11:38:20 -0600
committerRaul Rangel <rrangel@chromium.org>2021-07-18 15:14:00 +0000
commita98d302fe9dcce13a1c60b4bdfaf2e713fd11b51 (patch)
tree88354526393b35f6e3a598ba61c90b9a7521d01e /Documentation/security/vboot
parent9ba36abdc542b881df7e0f0c5883a9dab1b9bc50 (diff)
x86/smp/spinlock: Disable thread coop when taking spinlock
Switching threads while holding a spinlock can lead to a deadlock. This happens if you have two thread trying to print to the serial console because the uart code uses udelay. BUG=b:179699789 TEST=Boot guybrush and no longer see a deadlock when printing to console from a second thread. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I1b929070b7f175965d4f37be693462fef26be052 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56320 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'Documentation/security/vboot')
0 files changed, 0 insertions, 0 deletions