Max Filippov
34a57be0f9
xtensa: fix xtensa_wsr always writing 0
...
commit a3d0245c58f962ee99d4440ea0eaf45fb7f5a5cc upstream.
The commit cad6fade6e ("xtensa: clean up WSR*/RSR*/get_sr/set_sr")
replaced 'WSR' macro in the function xtensa_wsr with 'xtensa_set_sr',
but variable 'v' in the xtensa_set_sr body shadowed the argument 'v'
passed to it, resulting in wrong value written to debug registers.
Fix that by removing intermediate variable from the xtensa_set_sr
macro body.
Cc: stable@vger.kernel.org
Fixes: cad6fade6e ("xtensa: clean up WSR*/RSR*/get_sr/set_sr")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-15 14:18:03 +02:00
..
alpha
alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
2021-09-30 10:09:26 +02:00
arc
ARC: export clear_user_page() for modules
2021-09-22 12:26:45 +02:00
arm
ARM: dts: exynos: add missing HDMI supplies on SMDK5420
2022-04-15 14:18:02 +02:00
arm64
arm64: fix clang warning about TRAMP_VALIAS
2022-03-23 09:12:07 +01:00
c6x
csky
perf: Protect perf_guest_cbs with RCU
2022-01-20 09:19:18 +01:00
h8300
h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
2021-02-17 10:35:18 +01:00
hexagon
hexagon: export raw I/O routines for modules
2021-11-26 10:47:21 +01:00
ia64
ia64: ensure proper NUMA distance and possible map initialization
2022-03-08 19:07:48 +01:00
m68k
m68k: set a default value for MEMORY_RESERVE
2021-11-17 09:48:46 +01:00
microblaze
mips
DEC: Limit PMAX memory probing to R3k systems
2022-04-15 14:18:03 +02:00
nds32
nds32: fix access_ok() checks in get/put_user
2022-03-28 08:46:48 +02:00
nios2
nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
2021-11-02 19:46:14 +01:00
openrisc
openrisc: don't printk() unconditionally
2021-09-22 12:26:24 +02:00
parisc
parisc/unaligned: Fix ldw() and stw() unalignment handlers
2022-03-02 11:41:01 +01:00
powerpc
powerpc/kvm: Fix kvm_use_magic_page
2022-04-15 14:18:01 +02:00
riscv
riscv: Fix fill_callchain return value
2022-04-15 14:18:00 +02:00
s390
s390/hypfs: include z/VM guests with access control group set
2022-02-01 17:24:33 +01:00
sh
sh: define __BIG_ENDIAN for math-emu
2021-11-26 10:47:17 +01:00
sparc
sparc64: fix pci_iounmap() when CONFIG_PCI is not set
2021-10-09 14:39:49 +02:00
um
um: registers: Rename function names to avoid conflicts and build problems
2022-01-27 09:19:45 +01:00
unicore32
x86
ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board
2022-03-28 08:46:47 +02:00
xtensa
xtensa: fix xtensa_wsr always writing 0
2022-04-15 14:18:03 +02:00
.gitignore
Kconfig
Revert: "ring-buffer: Remove HAVE_64BIT_ALIGNED_ACCESS"
2020-12-30 11:51:47 +01:00