Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'riscv-for-linus-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux

Pull RISC-V fixes from Palmer Dabbelt:

- A fix to properly ensure a single CPU is running during patch_text().

- A defconfig update to include RPMSG_CTRL when RPMSG_CHAR was set,
necessary after a recent refactoring.

* tag 'riscv-for-linus-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
RISC-V: configs: Configs that had RPMSG_CHAR now get RPMSG_CTRL
riscv: patch_text: Fixup last cpu should be master

+3 -1
+1
arch/riscv/configs/defconfig
··· 101 101 CONFIG_VIRTIO_INPUT=y 102 102 CONFIG_VIRTIO_MMIO=y 103 103 CONFIG_RPMSG_CHAR=y 104 + CONFIG_RPMSG_CTRL=y 104 105 CONFIG_RPMSG_VIRTIO=y 105 106 CONFIG_EXT4_FS=y 106 107 CONFIG_EXT4_FS_POSIX_ACL=y
+1
arch/riscv/configs/rv32_defconfig
··· 93 93 CONFIG_VIRTIO_INPUT=y 94 94 CONFIG_VIRTIO_MMIO=y 95 95 CONFIG_RPMSG_CHAR=y 96 + CONFIG_RPMSG_CTRL=y 96 97 CONFIG_RPMSG_VIRTIO=y 97 98 CONFIG_EXT4_FS=y 98 99 CONFIG_EXT4_FS_POSIX_ACL=y
+1 -1
arch/riscv/kernel/patch.c
··· 104 104 struct patch_insn *patch = data; 105 105 int ret = 0; 106 106 107 - if (atomic_inc_return(&patch->cpu_count) == 1) { 107 + if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) { 108 108 ret = 109 109 patch_text_nosync(patch->addr, &patch->insn, 110 110 GET_INSN_LENGTH(patch->insn));