Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp815851rwe; Wed, 31 Aug 2022 11:29:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR40t4P4aAxIohDFv+nH8YH/jb07lOhTZ5FfRUmWE36WCG5AIgIYdPbd6jdJsOCwCSx5vnwp X-Received: by 2002:a17:907:8a0a:b0:730:a118:75de with SMTP id sc10-20020a1709078a0a00b00730a11875demr22435553ejc.189.1661970593936; Wed, 31 Aug 2022 11:29:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661970593; cv=none; d=google.com; s=arc-20160816; b=txSTxyKB9oVtnBJ9jlaAWRC6wXzvw5ITPfjeTWg2E4QwL0b86k1Q/1iS1d/qZ5ecOd J2+8WuywlO1TKtiM9MngZb7eq48TM79Uqnxh9Ki06h2mlnaFJOvMg9KthY10Rs94zXeC 0HvrJ/On7+B6WT+jxS6zZeLbdL3pAIfQ69fma39PGS8syodlKsOYf3p+d8OcY06nwBB5 VIKTS1p2EvO6F+sGzlxWDcNiEHVYtle9+QgSt6sbRFmY2JppLUq68nqztv7skeOH6GGy hwjZgBUkAYgnMokijlxqykE67zOSjsR4Zm1uH0dt5qlDdjdDz9Z778k70FJt2sf4fojI 7Cyg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TlLVX1R8EhU/LG596HhGtOBw4JTGkJ9GJErf/i/HGME=; b=rT7PaG1yKB0UL9hik1l2eajT2torFH6zoJE4AZFFKIvvN0BumlFMVNfAB4mbezpgBk IqTEkkMD1evFVTBP+FDoySyyjUh1dwIpUE4hoMq6puF/vcShG+TrZHL3rR4cDStKAXbZ jkLkZIKL/wx50X7lU8IY23kwomFcQuXNrCBOV/SJDgJosNU1Hr/egidpLKOxfvuAMNsQ vIQWgZ2NZvBXfUyaVrgUugZenGeI5ybdFj1M2hqVpPNHJrApj6coGZVzdtSXkUmkIiCn dAB2mC1JGwvmN1IoQvJlvTN2FwuX2EMDegS6E6gqPKDvI0F2SNaReP76qtrCk9Dw5IcJ gyrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kjEWyJtW; 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 y6-20020a056402358600b00448c7f788d0si5385303edc.481.2022.08.31.11.29.25; Wed, 31 Aug 2022 11:29:53 -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=kjEWyJtW; 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 S232387AbiHaSJm (ORCPT + 99 others); Wed, 31 Aug 2022 14:09:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232481AbiHaSIq (ORCPT ); Wed, 31 Aug 2022 14:08:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8567E3983; Wed, 31 Aug 2022 11:08:44 -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 5460661C19; Wed, 31 Aug 2022 18:08:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65BF0C433D7; Wed, 31 Aug 2022 18:08:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661969323; bh=RRltkuwJX7LP5kK/3k3rhHeIM5Hot3r7Dzu5sm7vQRo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kjEWyJtWNJyqF1sWOIQ+uxemOhBF9KufKpx8qD5bN+fkZAdqi4a7jrAo/HlErp4DX 4JrXURA91d8hkInkWBE1es3vrtKJEag1lSCmaRnzz/itVcR4MM49ZWA6Sbm0vfsvkl LOHM5808le50a4zKPFn3IrO63brm4V6tnNWJi2O6bhA0pc5h0MhAMnuebmuyonXou+ EVydrw1bfEdiLIKpA4cWmrqlj1kMnVUEf1psTVIEu7NzLvcHfSjXgazSbSDtAH45c1 A0YVzkG7josdrwFMYuKygXDRDEu9f0kfHCgrnCQ2M2/cymSWDY1wcmJYpoREFT34mN xw6vWRBUCvd3A== From: Jisheng Zhang To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Anup Patel , Atish Patra , Sebastian Andrzej Siewior , Thomas Gleixner , Steven Rostedt Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org Subject: [PATCH v2 3/5] riscv: select HAVE_POSIX_CPU_TIMERS_TASK_WORK Date: Thu, 1 Sep 2022 01:59:18 +0800 Message-Id: <20220831175920.2806-4-jszhang@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220831175920.2806-1-jszhang@kernel.org> References: <20220831175920.2806-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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,T_SCC_BODY_TEXT_LINE 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 Move POSIX CPU timer expiry and signal delivery into task context to allow PREEMPT_RT setups to coexist with KVM. Signed-off-by: Jisheng Zhang --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 79e52441e18b..7a8134fd7ec9 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -104,6 +104,7 @@ config RISCV select HAVE_PERF_EVENTS select HAVE_PERF_REGS select HAVE_PERF_USER_STACK_DUMP + select HAVE_POSIX_CPU_TIMERS_TASK_WORK select HAVE_REGS_AND_STACK_ACCESS_API select HAVE_FUNCTION_ARG_ACCESS_API select HAVE_STACKPROTECTOR -- 2.34.1