Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3634026rwb; Sun, 25 Sep 2022 09:49:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM452TsjdNeJm3T1fE19fwCgwEdd/l6/conMnXVaJO+xh7RqtQOHQTIavEMj3mQSOWX/4nUX X-Received: by 2002:a05:6402:1d86:b0:457:e84:f0e with SMTP id dk6-20020a0564021d8600b004570e840f0emr6625521edb.241.1664124553356; Sun, 25 Sep 2022 09:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664124553; cv=none; d=google.com; s=arc-20160816; b=SEGe+WAoWgr9KKFdiv3KTeThXwhuY2Ui7trmyolDFOiDyj3JhtH6bGQNZT2g2ZOcWY P2EeyoPn9tPwH7FysdxNKPo9ar334geeFWuY6fSNSnolbf0ILx7QrKqZ4EbiEpEQHRAW em6z4J+SZQ0NwhBAkSQGoTof414YkCr73hqlD9/+3Kqnxs1An1NeJlzmkDHBTqERygfe TdQQq7E0TV2ABNfH2TbOnVyX4RXqgypLS1PEzC3bAmBRxnY+rpixTFq2rG8ItpnvtJm7 v4P2KUtR0c4nfgOVRMLNcNgxtrVe1Bt8cRkfx8Boe4a28fOPQ6Q7LcNwdKue9KkPKlLv tZyg== 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=lfMUNswyvvscmqv2V+r6EbuyRGNzRbOd+p5FODLyTMAiRP1B/6SvTBZnNAGNdNP3J3 wEFUDFAep4Sk6/XTEziAX37ZrTGD4yfCGEayjhoqo6cfJXvZ8ldA7ndwVLnQBpYKY3+r A0EI/WiEFvV5uzfiDy9oFLpk9vU3iIqJmN//E4uOYB4G2VMJLIRGHShfH++4eLCYpfbe D6RAOnZomuHd+/71WO0UgZmHlkteo1QnMtHDh/gVKMPkKmNTs0Tl1RpzI2GY50Ta+GwL 8WsKBXFtFw885jR5ZKFUAOHEgP2Nhi3YcT6CAWx20pOcAO3QgXXo5UwN8X9rXB3TJrNM Z4vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sjlJCcJV; 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 d14-20020a50fe8e000000b0044f00017470si12096695edt.634.2022.09.25.09.48.47; Sun, 25 Sep 2022 09:49:13 -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=sjlJCcJV; 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 S232940AbiIYQdr (ORCPT + 99 others); Sun, 25 Sep 2022 12:33:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232925AbiIYQdk (ORCPT ); Sun, 25 Sep 2022 12:33:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E223B2CDDC; Sun, 25 Sep 2022 09:33:38 -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 ams.source.kernel.org (Postfix) with ESMTPS id C6E86B8075E; Sun, 25 Sep 2022 16:33:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 837F4C433D6; Sun, 25 Sep 2022 16:33:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664123615; bh=RRltkuwJX7LP5kK/3k3rhHeIM5Hot3r7Dzu5sm7vQRo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sjlJCcJV0QLRS/2I5WmZcRYy+Fq+ZGX664xoh7M7CFkrLCN2vCY45z/EooBFQ0YHV u3Q29Vpvh/y/bGaGHTl3lEjVDZHm9SM9um6UV9VFdQX+M+x+7a2pWsRcHVcGmX2NWZ tAQKB71huoS7KtZZGo55h0YFq0jgkE4fSbCL65Ult0LCuQUsBdWQnuxqmY6FBTlQ60 vyqHgyrCjH+LFlBCESK/PdDWZGw8TdMaJNx3WdCYjdglkV0dFYnQbjjeLnRRHwr812 5R1Fn1oGFDtim8kl0vRLzsK/bcwb1GxaVZ5dZRF9YlLR3jKZq4Y7tjt7O0lBMVAoDm IDpCNxrnrIBEg== 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 3/3] riscv: select HAVE_POSIX_CPU_TIMERS_TASK_WORK Date: Mon, 26 Sep 2022 00:24:00 +0800 Message-Id: <20220925162400.1606-4-jszhang@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220925162400.1606-1-jszhang@kernel.org> References: <20220925162400.1606-1-jszhang@kernel.org> 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 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