From patchwork Wed Jul 13 05:47:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 1655785 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=cBkfhhpi; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=brainfault-org.20210112.gappssmtp.com header.i=@brainfault-org.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=ij9ylmOi; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LjRWF1ZXdz9s07 for ; Wed, 13 Jul 2022 15:48:41 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=0QsYKEJT1kpRz22YLBIJeEi0eIlp3AaJ17TRej4Ax9s=; b=cBkfhhpi8g+9Xv ryIPCl8K8Q1x7KrmRzSKyJvPC18TefoUcWleqK20VljpuSSSbkauMxDhkjxLgOcgk3fdoQwW9YiZW 4ZBUNwghQ6V518UayzqJmqr/cxRfOFpxSzB+HF/HOFXGlyZOW35iCPSCaiAuvGIpFszs+qG5+YqMp ojB5CDx9etRODpmdeuzYtL3jB+HLzlgi6ERp7JMija/G8HFwJYwp2fbBZGhr+wymsqHp1sbiYRdMo BM1q2zahNhkrP3hVibGvHBrUQSiQ9+ZsNSBZGY1Q0HdWaShFMZOHWM8HJz8ABK/6wvGzV927Hkha+ NO3gJjPgLKQ5rVuZBXkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBVEj-000KwG-Uf; Wed, 13 Jul 2022 05:48:37 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBVEf-000KrL-L5 for kvm-riscv@lists.infradead.org; Wed, 13 Jul 2022 05:48:35 +0000 Received: by mail-wr1-x434.google.com with SMTP id b26so13959311wrc.2 for ; Tue, 12 Jul 2022 22:48:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=a7Jq6CNl2s/wsfuy5DRMvbAZURyt/0nHWoFVyeWRnG8=; b=ij9ylmOiMr6PNwHJF7dTc2/1Ag8iFSebIsCAGIwpIZvb8rUZium6cfRyZmuyO7YPSA zCfn8ChLLcGJDNXYjzr6v58aWDrRg7+rz7z7YXKMNLyklIrD1wmFoliRXt2BMc3PI+yq Cz5+NA6Agb1n0LRZ/fYEcFynKyAmay+FkWtBQ61YhDtG+FrOf8rmUe4QZ7HbxEgL2ZjY A+TAo6vaeGxK4RML1Nw3EM8o1XXVLtFImc7nzPK5i4qfXQ3n8J0mifNEodyAurloab9S XYRMYyFd/uJDJUAtcayGr/n9GaEmPtBnuQplgrqESw8ePCo34wRiwQ79DXC8/c1nn2Vb uDQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=a7Jq6CNl2s/wsfuy5DRMvbAZURyt/0nHWoFVyeWRnG8=; b=yMv9C/0RCyPZ4oWoLT95yTLZkFcdn+cUtkcXBjR7Y883Pup2ZOP4RVGoWlJ03ciUfF URVb/KVnds4W+ghyxK1xRljR6Rt4uiDrUNBbhoZXSNbeHLCDYM0gJDqkMKpPh2Woup6E AdCS2xXgsuxqYPbo1tprP6nI/42RZC/HqfTmxf6S1Na3M26nzYg7VpSQyPzoTYKuVhh5 jeHHWYYo1BLY/h3TPzo3OllzvLsrHM0kZlKuEbP3fu5/S1YPQyWh/kVVr1aF5NBpmqXt ZASTCtNACG6aXm2h3uDLF7O1nrRalXm9Rnf0b3KdDGbk7nTjj61XgEzlnBoxcWQfzlAK 8JWA== X-Gm-Message-State: AJIora9fWwmGMVmbwpxj9NCw8cPk4HQp5L7UP+5DdREiaEpc5201fPmI HAZfJDUPU01ze2XI4MPOs6+bTBm8I6QicXoAA5qHmQ== X-Google-Smtp-Source: AGRyM1sqkc4Ob6zlaKqcQ56jcIYT4y+cTXdT478VuRnF0kpbKo2bWa1a73J8Q25v81LPyt/PWSacxa+pf5n4C1oXGR0= X-Received: by 2002:a5d:64ac:0:b0:21d:7832:ecf9 with SMTP id m12-20020a5d64ac000000b0021d7832ecf9mr1416098wrp.86.1657691306384; Tue, 12 Jul 2022 22:48:26 -0700 (PDT) MIME-Version: 1.0 From: Anup Patel Date: Wed, 13 Jul 2022 11:17:17 +0530 Message-ID: Subject: [GIT PULL] KVM/riscv fixes for 5.19, take #2 To: Paolo Bonzini Cc: Palmer Dabbelt , Atish Patra , KVM General , "open list:KERNEL VIRTUAL MACHINE FOR RISC-V (KVM/riscv)" , linux-riscv X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220712_224833_712917_46FDFA12 X-CRM114-Status: UNSURE ( 6.44 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Paolo, We have two more fixes for 5.19 which were discovered recently: 1) Fix missing PAGE_PFN_MASK 2) Fix SRCU deadlock caused by kvm_riscv_check_vcpu_requests() Please pull. Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:434 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: kvm-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "kvm-riscv" Errors-To: kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hi Paolo, We have two more fixes for 5.19 which were discovered recently: 1) Fix missing PAGE_PFN_MASK 2) Fix SRCU deadlock caused by kvm_riscv_check_vcpu_requests() Please pull. Regards, Anup The following changes since commit 32346491ddf24599decca06190ebca03ff9de7f8: Linux 5.19-rc6 (2022-07-10 14:40:51 -0700) are available in the Git repository at: https://github.com/kvm-riscv/linux.git tags/kvm-riscv-fixes-5.19-2 for you to fetch changes up to be82abe6a76ba8e76f25312566182b0f13c4fbf9: RISC-V: KVM: Fix SRCU deadlock caused by kvm_riscv_check_vcpu_requests() (2022-07-11 09:36:32 +0530) ---------------------------------------------------------------- KVM/riscv fixes for 5.19, take #2 - Fix missing PAGE_PFN_MASK - Fix SRCU deadlock caused by kvm_riscv_check_vcpu_requests() ---------------------------------------------------------------- Alexandre Ghiti (1): riscv: Fix missing PAGE_PFN_MASK Anup Patel (1): RISC-V: KVM: Fix SRCU deadlock caused by kvm_riscv_check_vcpu_requests() arch/riscv/include/asm/pgtable-64.h | 12 ++++++------ arch/riscv/include/asm/pgtable.h | 6 +++--- arch/riscv/kvm/mmu.c | 2 +- arch/riscv/kvm/vcpu.c | 2 ++ 4 files changed, 12 insertions(+), 10 deletions(-)