Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3660136rwb; Sun, 25 Sep 2022 10:14:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ovs8+YJj2rWwRcU55cYVouYbtngySgFckVRBAiuZyQFEgDF3sis86kv9sdF9Qz/ihQMJy X-Received: by 2002:a17:906:4fca:b0:782:2484:6d72 with SMTP id i10-20020a1709064fca00b0078224846d72mr15586460ejw.150.1664126045529; Sun, 25 Sep 2022 10:14:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664126045; cv=none; d=google.com; s=arc-20160816; b=D3Z2F/Bmi6P6pfqbv6YrdvJuLp3NfJPB1JME1E38qPERp5GKmFfKtg9PyerOKe8ghB wlO1XX4kSh95MmcRDuAMc27NNK+Uxb9YybmDYqEBKlVIbdgUr4tpeDDEEloKaoHP6Ydz +SUUFfcrEAdk9azZnMhqFIySnyCPdjnS3qKMnK1qzYh9/qQUkU7X0DXBuRv+2gvZLtc5 FXiEnQk1GSAtWJ69wy3AEV/XSN7thJ+v0YtSyGWLEDLddZOcRuvoGAKbhVBfOpt6iGxJ 3WSpVwArhLKyCRJXfpcSVA+5EFZ+AeZhrgMPVHu6aB9iP4mnfQ499JKVOxbozjmDnM+J pa9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=x+ZP1UBURDrqe51ag5/DTrPvDTheBQ7pMJFne97oquo=; b=L3fyNJmGP1DimXKyDdyZTZOSUXjEdE8Z/OWdDQbl7W0/J8nJ9tAW+UXG3BgK15ig6a ijP/vzliypln5cMMTvR6AtEVfTVA1X+U40wgxvdstcWlSH+Ef44hK66QorlFrwMEXH4n 57RC4kt67jWQ9uZOVBuk7+FCdXCz2nQqv+5XRsZqkQgYFdIXBfQULxQsZogeBGwQ084Z 3Mp9xIzLEnsp9zAuRnA4h+1fN2Y5kYKykNQ1NgC4xKRgjzMaifCy7lZkwluyLA9VFZIG bDMxw/wQn98U2wA/iV4GwldkZbhJXXcr8hq2Kc65b9+U9J7kJqQsrHfnhoaembZB6kq0 r7eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="MO/OH7th"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk39-20020a1709077fa700b0073318653cb0si13158854ejc.759.2022.09.25.10.13.40; Sun, 25 Sep 2022 10:14:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="MO/OH7th"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232871AbiIYQdc (ORCPT + 99 others); Sun, 25 Sep 2022 12:33:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230128AbiIYQda (ORCPT ); Sun, 25 Sep 2022 12:33:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AD0329C82; Sun, 25 Sep 2022 09:33:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C847C60FCC; Sun, 25 Sep 2022 16:33:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38668C433C1; Sun, 25 Sep 2022 16:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664123608; bh=Jc7NPPQi/AxLruVk6vIStJKeePhKZzkV23avx60HytI=; h=From:To:Cc:Subject:Date:From; b=MO/OH7thtlmoZzoXvFWnzueTijLa4tB4Dl1sB9aLNM65BHkOzNXon7zmEX2wxs0DK Vbojfu9mOpMD5yTgyf5ecrYkNHsE/7GFWIwVmwbWZSiTB1sUqgwuRqpvGy43632pt1 mdSvwC6GH6iQGqGPLQXoemUmHLbZs7Ytaz7Mqd6gjT+QOVjN/zDzjawBnwg61a/I2N TXtz07CaMlPrj1PjrAjevHhtDClAaIP8TIhvg+qbx2xCE9E+R2E5HOUijxTGaaIm8c yMzdgJeCHJmhOAaBNMupCTsXcPLCCMvTVjzBWlfM1G5ToMUPeGLnWQF84ZBB7PUqVp 3U6YKRgoQtb/w== From: Jisheng Zhang To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Anup Patel , Atish Patra Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org Subject: [PATCH v3 0/3] riscv: kvm: use generic entry for TIF_NOTIFY_RESUME and misc Date: Mon, 26 Sep 2022 00:23:57 +0800 Message-Id: <20220925162400.1606-1-jszhang@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series is a preparation series to add PREEMPT_RT support to riscv: patch1 adds the missing number of signal exits in vCPU stat patch2 switches to the generic guest entry infrastructure patch3 select HAVE_POSIX_CPU_TIMERS_TASK_WORK which is a requirement for RT After these three patches merged, the left RT patches are similar as other arch. Since v2: - splict the series into two separate ones, one for next another for RT. Since v1: - send to related maillist, I press ENTER too quickly when sending v1 - remove the signal_pending() handling because that's covered by generic guest entry infrastructure Jisheng Zhang (3): RISC-V: KVM: Record number of signal exits as a vCPU stat RISC-V: KVM: Use generic guest entry infrastructure riscv: select HAVE_POSIX_CPU_TIMERS_TASK_WORK arch/riscv/Kconfig | 1 + arch/riscv/include/asm/kvm_host.h | 1 + arch/riscv/kvm/Kconfig | 1 + arch/riscv/kvm/vcpu.c | 18 +++++++----------- 4 files changed, 10 insertions(+), 11 deletions(-) -- 2.34.1