parisc: Fix Invalid wait context warning in firmware wrapper

Use raw_spinlock functions to avoid this warning:

 =============================
 [ BUG: Invalid wait context ]
 6.7.0-rc3-64bit+ #1032 Tainted: G        W
 -----------------------------
 swapper/0/0 is trying to lock:
 0000000041c1b250 (pdc_lock){....}-{3:3}, at: pdc_iodc_print+0x64/0x180
 other info that might help us debug this:
 context-{2:2}
 3 locks held by swapper/0/0:
  #0: 0000000041c22060 (console_lock){....}-{0:0}, at: vprintk_emit+0x1ac/0x4a8
  #1: 0000000041c22098 (console_srcu){....}-{0:0}, at: rcu_lock_acquire+0x0/0x68
  #2: 0000000041c21ea8 (console_owner){-...}-{0:0}, at: console_flush_all+0x304/0x638
 stack backtrace:
 CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W          6.7.0-rc3-64bit+ #1032
 Hardware name: 9000/785/C3700
 Backtrace:
  [<000000004030b544>] show_stack+0x8c/0xa8
  [<00000000412cb768>] dump_stack_lvl+0x148/0x1c8
  [<00000000412cb81c>] dump_stack+0x34/0x48
  [<00000000403d4324>] __lock_acquire+0x674/0x1cf8
  [<00000000403d68d4>] lock_acquire+0x36c/0x3a8
  [<00000000412cfba0>] _raw_spin_lock_irqsave+0xa0/0xe8
  [<000000004031121c>] pdc_iodc_print+0x64/0x180
  [<000000004031d0d8>] pdc_console_write+0x60/0x98
  [<00000000403e76c4>] console_flush_all+0x414/0x638
  [<00000000403e79e4>] console_unlock+0xfc/0x2a8
  [<00000000403e95a8>] vprintk_emit+0x490/0x4a8
  [<00000000403e95fc>] vprintk_default+0x3c/0x50
  [<00000000403e9c74>] vprintk+0x94/0xb8
  [<0000000041296cd0>] _printk+0x58/0x70
  [<000000004125a624>] report_bug+0x1f4/0x2b8
  [<000000004030bcac>] handle_interruption+0x3c4/0xbd8
  [<000000004030307c>] intr_check_sig+0x0/0x3c

Signed-off-by: Helge Deller <deller@gmx.de>
1 file changed