Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F0655C54EBE for ; Tue, 10 Jan 2023 08:43:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:From:References:Cc:To: Subject:Date:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=PrUjewZuZW/JcfcVWC2xOeJ3hU/z6+ZcyrdS+pQaAhE=; b=LW58MpeHKZsmuRj4K03eGEKX1r 5wybxw6Jx3nZ2hH1Dg5EG/UJMvsNLphynfQUNqiLL6KHt3te2mGP6O2JfBXkW0MNr+MCftjyuzo5C mg247Z8xI57FcemgjKf7P7K6MZnPwkpihGvsKnX0mKl/fKStu64zOUshJXFPVrQt+qW6qm5Fxq/FE ZnlqbKzLttQam0VyYWoAtv0FfOlMO6qrsq529GNpZyN/xDnAzQE8n0rbfc58gLEpPU5IS0w4dzGIf 2ih/wwFwDhJnF8KFlU48mQqkK8+hPHr+sWSBC9gqNc7++aZJTVxIbj7k9P5IfgAXASLkmzxH/TQa5 /OA41bYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFACw-005rXH-5A; Tue, 10 Jan 2023 08:42:10 +0000 Received: from mail-bn8nam04on2134.outbound.protection.outlook.com ([40.107.100.134] helo=NAM04-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFACs-005rUw-EM for linux-arm-kernel@lists.infradead.org; Tue, 10 Jan 2023 08:42:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YZT6sViLryM7P3/ypQLH0jxNT8Uw8Sg3Kaetl/iI/CzjoRqz9+JeHg9x3AVgjgaAGYyPtcHQB8o0tZq7hgQaYpzZwumrySbkkSLAKBoZn02DwG0XueVxrql9km7XhuoRc0FOHwhEXK6rzo77SsdUyPl+1PuWVkky5p6E6nzf1dkAWSJpyAlInz6q5jDsCarH0E+1eYE/jH3M+bH2qL5orbQoqnkCwgN8rMrTcY6nrxZeWtWURZ2J3CazbPfBxetED9yinr9J26ZEuJvS8oLW9nMwRzIOmpQ/0DeNckZZBlvHeO/mgY4jZ+ywKC2tRrfsYBZYq174HK7A2lf3qWDi+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KJjH83iEa3FH018gwlzfrqr9CmeyrAAQ643oEjWmuWY=; b=WweHv2mIkfZRvHcvHxfD6S45MqLDjhOa6YBt6oy5fcLhw9GmwOOoTjDNdM+uLoAhNfurprYq+UFwfndw3DvQHernaNJdU+ndrX85k3D+lzRYO4WuDszt8jN+Y78E+fmHUjkNc7BLFO27lzI0uIzaozVKuQpj1BZDpG2WHOBQucnA4MylaZu2+djVCbgubHPafgTs3r84VxsB559xzaiNWtXh8g7geTxOBacfILiXXLgNta7CM58XZ3MYOd3SjRr/aNX63buxoCKwkUetDqyKg/QTP4hgKa/WW1OlSmMnx8xl+H+2l6Kvk+wKfucaizS7pasQt69Bqcw8txoTH/BcGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KJjH83iEa3FH018gwlzfrqr9CmeyrAAQ643oEjWmuWY=; b=f2CJmYbnyuOTkh21zDNdqAQhj1glw6SA6YJqdzXS8rvWTvPYyVBgxhuUn/SKa8NzYflHK0n0DELjyxvDSK2/de16mpitHb71FHnNGSl9FvtN1+SeSyxRvLJV5br94i0Y/Sl+aDnoJ6oQ4q33pAH4r2W3UfT/Sxw9jbyO29HLoIw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DM8PR01MB6824.prod.exchangelabs.com (2603:10b6:8:23::24) by MW2PR0102MB3340.prod.exchangelabs.com (2603:10b6:302:c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Tue, 10 Jan 2023 08:41:59 +0000 Received: from DM8PR01MB6824.prod.exchangelabs.com ([fe80::6b5b:1242:818c:e70d]) by DM8PR01MB6824.prod.exchangelabs.com ([fe80::6b5b:1242:818c:e70d%6]) with mapi id 15.20.5986.018; Tue, 10 Jan 2023 08:41:59 +0000 Message-ID: <31e49612-443b-888a-9730-f4e017251130@os.amperecomputing.com> Date: Tue, 10 Jan 2023 14:11:44 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 2/3] KVM: arm64: nv: Emulate ISTATUS when emulated timers are fired. Content-Language: en-US To: Marc Zyngier Cc: catalin.marinas@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, scott@os.amperecomputing.com, keyur@os.amperecomputing.com References: <20220824060304.21128-1-gankulkarni@os.amperecomputing.com> <20220824060304.21128-3-gankulkarni@os.amperecomputing.com> <87y1qqe2pg.wl-maz@kernel.org> <867cy5b1mq.wl-maz@kernel.org> From: Ganapatrao Kulkarni In-Reply-To: <867cy5b1mq.wl-maz@kernel.org> X-ClientProxiedBy: SG2PR06CA0201.apcprd06.prod.outlook.com (2603:1096:4:1::33) To DM8PR01MB6824.prod.exchangelabs.com (2603:10b6:8:23::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM8PR01MB6824:EE_|MW2PR0102MB3340:EE_ X-MS-Office365-Filtering-Correlation-Id: 4d710224-0a1b-45ad-25c7-08daf2e6899a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PVZrRXVBzdEwDTVaLlOSsdJWXgjzoYF8LYpVavwuryGh84zY/ZuTUlTd9BMWhkLwTfC+042bQS4XtCpfu1h7CRkU2x62Yt9mcfaN6OycD8dCJuNmNTRhzioQpBtUQydBU42ZEyMu12ib/ntR5nodzU0mlTUAAyYOn/D+24TaWO079TGFY1j0PT8/2sslTo1c5rEZl1ueCxrtQwKtYppQQVOhkFkX5iYgA5FHp51ZsfNUXMCzvcJobLSyq7ZMj+Y2xVS9tBrR9fD9dFxi26s5S5IXk1Nmh83lIAziHld3leHPLPAn0i+iRtCpZ/IBT1bo/57g6bvsqUqRDByJ+TAEPvq3LmMZ4RGCi2GU9Ta7Ip2EWyesj3JNrloCDJ9zLJjha/1NSccMOsT23dvQj1UAuDukL3G6UtzxnEEGJ7y/Bj0f/PG+uExJ4MPSnQKjUbDg79uoMFt3cV4uWDDvqbk92Q9HwU2ejiib6WpR8EaNGGbMtLIN0hDAVSCNoM5s4TrmMqoudlk4c/c/tPsFYeRAnuslmplBGIr4oQc/G/2wKmnIlelzgZdkcK1d/FPKBWizGlg94R7wVvEBveJZ1e6Dr8Y1gXA6BhKpZ1SR0XVZlVau48d9uL76fOTMfYKUkZRmbUtdZSrOpxJV4K2WG6t3GdZgdQU2k7wgXAitra2vp3GGDaIX/lv5LXXWLUg7OFHx X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM8PR01MB6824.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(396003)(39850400004)(136003)(346002)(376002)(451199015)(478600001)(53546011)(2906002)(6506007)(6512007)(26005)(6666004)(107886003)(31686004)(6486002)(186003)(41300700001)(2616005)(316002)(66556008)(66476007)(6916009)(66946007)(8676002)(4326008)(38100700002)(5660300002)(83380400001)(8936002)(86362001)(31696002)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aHM1Zm5EaGZITjk2SFdIMzhIN0MrWmwyNmkvYmtqdkhQa2ZWRlM3OXNpcFkr?= =?utf-8?B?VnhTSGxGQzdxYWRsa2NHSzc3cTYySjB6ZTFEUG9mUkdvbHBaUVZ6Z25NVEZL?= =?utf-8?B?bENyWXI1d3BWTUVESDdhOFpOc3BWeUdaMGZDc2k0ZDc5VXZoUmxqQU9MaEU2?= =?utf-8?B?UGZkQ1hDVlp6TEQvdCt1dUNpOURpbzhKcW44SSs1dlNlLytGUlY5TkJRaDV3?= =?utf-8?B?OFJoOUU5bmhIdjVBL3pyZEhPTmxBYkhkdGo2eWtIYk5pNDRVdC8xUXNaSk9r?= =?utf-8?B?NWhqUTU4c0ZCY0dTRUZzaUJhZURlUVNpMTMwZkZ2RlJ6SG05dXV5SnRsay9x?= =?utf-8?B?ZmJtVzdMbzViMkJiblJpNnN6d1ZCZlhpT1dmWVdFNjJQdDJGaUVjYmxaMER6?= =?utf-8?B?UFh1aG82dEtOUnd3TVlMMGRpTGxLUWJGTjBRd1VxZjY1NDhralp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rossTenant-Network-Message-Id: 4d710224-0a1b-45ad-25c7-08daf2e6899a X-MS-Exchange-CrossTenant-AuthSource: DM8PR01MB6824.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2023 08:41:59.5232 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 20OSQOTTM4Z3DCivTbixE98YETgYu8sfRmInPGHkp8bPdBre+UyJ/PeGcN1I9LK24qizgSSOSCeQJHQwG9Nj0h/KkUCChDN1HcrI1CbTtRBtdqNEXDfag+fHiJUpe6j/ X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR0102MB3340 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230110_004206_715650_18F038B3 X-CRM114-Status: GOOD ( 32.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 02-01-2023 05:16 pm, Marc Zyngier wrote: > On Thu, 29 Dec 2022 13:53:15 +0000, > Marc Zyngier wrote: >> >> On Wed, 24 Aug 2022 07:03:03 +0100, >> Ganapatrao Kulkarni wrote: >>> >>> Guest-Hypervisor forwards the timer interrupt to Guest-Guest, if it is >>> enabled, unmasked and ISTATUS bit of register CNTV_CTL_EL0 is set for a >>> loaded timer. >>> >>> For NV2 implementation, the Host-Hypervisor is not emulating the ISTATUS >>> bit while forwarding the Emulated Vtimer Interrupt to Guest-Hypervisor. >>> This results in the drop of interrupt from Guest-Hypervisor, where as >>> Host Hypervisor marked it as an active interrupt and expecting Guest-Guest >>> to consume and acknowledge. Due to this, some of the Guest-Guest vCPUs >>> are stuck in Idle thread and rcu soft lockups are seen. >>> >>> This issue is not seen with NV1 case since the register CNTV_CTL_EL0 read >>> trap handler is emulating the ISTATUS bit. >>> >>> Adding code to set/emulate the ISTATUS when the emulated timers are fired. >>> >>> Signed-off-by: Ganapatrao Kulkarni >>> --- >>> arch/arm64/kvm/arch_timer.c | 5 +++++ >>> 1 file changed, 5 insertions(+) >>> >>> diff --git a/arch/arm64/kvm/arch_timer.c b/arch/arm64/kvm/arch_timer.c >>> index 27a6ec46803a..0b32d943d2d5 100644 >>> --- a/arch/arm64/kvm/arch_timer.c >>> +++ b/arch/arm64/kvm/arch_timer.c >>> @@ -63,6 +63,7 @@ static u64 kvm_arm_timer_read(struct kvm_vcpu *vcpu, >>> struct arch_timer_context *timer, >>> enum kvm_arch_timer_regs treg); >>> static bool kvm_arch_timer_get_input_level(int vintid); >>> +static u64 read_timer_ctl(struct arch_timer_context *timer); >>> >>> static struct irq_ops arch_timer_irq_ops = { >>> .get_input_level = kvm_arch_timer_get_input_level, >>> @@ -356,6 +357,8 @@ static enum hrtimer_restart kvm_hrtimer_expire(struct hrtimer *hrt) >>> return HRTIMER_RESTART; >>> } >>> >>> + /* Timer emulated, emulate ISTATUS also */ >>> + timer_set_ctl(ctx, read_timer_ctl(ctx)); >> >> Why should we do that for non-NV2 configurations? >> >>> kvm_timer_update_irq(vcpu, true, ctx); >>> return HRTIMER_NORESTART; >>> } >>> @@ -458,6 +461,8 @@ static void timer_emulate(struct arch_timer_context *ctx) >>> trace_kvm_timer_emulate(ctx, should_fire); >>> >>> if (should_fire != ctx->irq.level) { >>> + /* Timer emulated, emulate ISTATUS also */ >>> + timer_set_ctl(ctx, read_timer_ctl(ctx)); >>> kvm_timer_update_irq(ctx->vcpu, should_fire, ctx); >>> return; >>> } >> >> I'm not overly keen on this. Yes, we can set the status bit there. But >> conversely, the bit will not get cleared when the guest reprograms the >> timer, and will take a full exit/entry cycle for it to appear. >> >> Ergo, the architecture is buggy as memory (the VNCR page) cannot be >> used to emulate something as dynamic as a timer. >> >> It is only with FEAT_ECV that we can solve this correctly by trapping >> the counter/timer accesses and emulate them for the guest hypervisor. >> I'd rather we add support for that, as I expect all the FEAT_NV2 >> implementations to have it (and hopefully FEAT_FGT as well). > > So I went ahead and implemented some very basic FEAT_ECV support to > correctly emulate the timers (trapping the CTL/CVAL accesses). > > Performance dropped like a rock (~30% extra overhead) for L2 > exit-heavy workloads that are terminated in userspace, such as virtio. > For those workloads, vcpu_{load,put}() in L1 now generate extra traps, > as we save/restore the timer context, and this is enough to make > things visibly slower, even on a pretty fast machine. > > I managed to get *some* performance back by satisfying CTL/CVAL reads > very early on the exit path (a pretty common theme with NV). Which > means we end-up needing something like what you have -- only a bit > more complete. I came up with the following: Yes it is more appropriate, this moves ISTATUS update to single place. > > diff --git a/arch/arm64/kvm/arch_timer.c b/arch/arm64/kvm/arch_timer.c > index 4945c5b96f05..a198a6211e2a 100644 > --- a/arch/arm64/kvm/arch_timer.c > +++ b/arch/arm64/kvm/arch_timer.c > @@ -450,6 +450,25 @@ static void kvm_timer_update_irq(struct kvm_vcpu *vcpu, bool new_level, > { > int ret; > > + /* > + * Paper over NV2 brokenness by publishing the interrupt status > + * bit. This still results in a poor quality of emulation (guest > + * writes will have no effect until the next exit). > + * > + * But hey, it's fast, right? > + */ > + if (vcpu_has_nv2(vcpu) && is_hyp_ctxt(vcpu) && > + (timer_ctx == vcpu_vtimer(vcpu) || timer_ctx == vcpu_ptimer(vcpu))) { > + u32 ctl = timer_get_ctl(timer_ctx); > + > + if (new_level) > + ctl |= ARCH_TIMER_CTRL_IT_STAT; > + else > + ctl &= ~ARCH_TIMER_CTRL_IT_STAT; > + > + timer_set_ctl(timer_ctx, ctl); > + } > + > timer_ctx->irq.level = new_level; > trace_kvm_timer_update_irq(vcpu->vcpu_id, timer_ctx->irq.irq, > timer_ctx->irq.level); > > which reports the interrupt state in all cases. > > Does this work for you? This works. Are you going to pull this diff/patch in to your 6.2-nv tree? or you want me to send an updated patch? > > Thanks, > > M. > Thanks, Ganapat _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel