lp:~canonical-kernel/ubuntu/+source/linux-riscv/+git/jammy

Owned by Canonical Kernel
Get this repository:
git clone https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-riscv/+git/jammy
Members of Canonical Kernel can upload to this repository. Log in for directions.

Branches

Name Last Modified Last Commit
allwinner-5.17-next 2022-07-29 13:51:13 UTC
RISC-V: KVM: Fix SRCU deadlock caused by kvm_riscv_check_vcpu_requests()

Author: Anup Patel
Author Date: 2022-07-29 09:16:00 UTC

RISC-V: KVM: Fix SRCU deadlock caused by kvm_riscv_check_vcpu_requests()

BugLink: https://bugs.launchpad.net/bugs/1980594

The kvm_riscv_check_vcpu_requests() is called with SRCU read lock held
and for KVM_REQ_SLEEP request it will block the VCPU without releasing
SRCU read lock. This causes KVM ioctls (such as KVM_IOEVENTFD) from
other VCPUs of the same Guest/VM to hang/deadlock if there is any
synchronize_srcu() or synchronize_srcu_expedited() in the path.

To fix the above in kvm_riscv_check_vcpu_requests(), we should do SRCU
read unlock before blocking the VCPU and do SRCU read lock after VCPU
wakeup.

Fixes: cce69aff689e ("RISC-V: KVM: Implement VCPU interrupts and requests handling")
Reported-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
(backported from commit be82abe6a76ba8e76f25312566182b0f13c4fbf9)
[esmil: open code the srcu lock/unlock that now has static inline wrappers]
Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>

starfive-5.17-next 2022-07-29 13:02:57 UTC
UBUNTU: Ubuntu-starfive-5.17-5.17.0-1005.6

Author: Emil Renner Berthing
Author Date: 2022-07-29 13:02:57 UTC

UBUNTU: Ubuntu-starfive-5.17-5.17.0-1005.6

Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>

starfive-5.17 2022-07-29 13:02:57 UTC
UBUNTU: Ubuntu-starfive-5.17-5.17.0-1005.6

Author: Emil Renner Berthing
Author Date: 2022-07-29 13:02:57 UTC

UBUNTU: Ubuntu-starfive-5.17-5.17.0-1005.6

Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>

master 2022-07-22 10:13:47 UTC
UBUNTU: Ubuntu-riscv-5.15.0-1016.18

Author: Emil Renner Berthing
Author Date: 2022-07-22 10:13:47 UTC

UBUNTU: Ubuntu-riscv-5.15.0-1016.18

Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>

allwinner-5.17 2022-07-15 14:05:51 UTC
UBUNTU: Ubuntu-allwinner-5.17-5.17.0-1003.3

Author: Dimitri John Ledkov
Author Date: 2022-07-15 14:05:51 UTC

UBUNTU: Ubuntu-allwinner-5.17-5.17.0-1003.3

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>

nezha-5.17-next 2022-06-10 13:26:57 UTC
UBUNTU: Ubuntu-nezha-5.17-5.17.0-1001.1

Author: Dimitri John Ledkov
Author Date: 2022-06-10 13:26:57 UTC

UBUNTU: Ubuntu-nezha-5.17-5.17.0-1001.1

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>

master-prep 2022-05-18 20:27:59 UTC
UBUNTU: Ubuntu-riscv-5.15.0-1011.12

Author: Luke Nowakowski-Krijger
Author Date: 2022-05-18 20:27:59 UTC

UBUNTU: Ubuntu-riscv-5.15.0-1011.12

Signed-off-by: Luke Nowakowski-Krijger <luke.nowakowskikrijger@canonical.com>

17 of 7 results
This repository contains Public information 
Everyone can see this information.