Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38191572rwd; Wed, 12 Jul 2023 04:32:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlFlS4TTPpU0lZwICjZdf/vLvCxPO3EgJBmqWEcCes56jjeoRjzkmXd72BeawbYWOLyBV5cg X-Received: by 2002:a17:90b:1914:b0:261:110e:30c1 with SMTP id mp20-20020a17090b191400b00261110e30c1mr2422784pjb.4.1689161554146; Wed, 12 Jul 2023 04:32:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689161554; cv=none; d=google.com; s=arc-20160816; b=b8sLGOtmK48p7bvNzhh4Y2HXTIbgayWvZpMalGG9TmcUKfBDfPkljqsqYiF3lPXyTq iYbuG6GfyKP2brDeHaYRtSq1GBuK3DyyACZtLb4iUJ3udPjir1/R2HwhubT2JRAHk4qQ hfGqwrGvEydQ9Xs9NXeqYCazT3CfPXju8/K+Y/cICSiz2aI6KYZCm4uSP5uDdToTT7vH D7XLFRdju4jVTFMraTY8McADB+1/h7o/lz0rtAmdfA5Q1pkIiAH5EBTolF4aI0CjCMBd 6AR67RNrxqHrJcZ7uB6i77LWygfpByfjaYWNUTfQyDEDwLowKVcGsoGVO690HNfrcNTr atoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=JpydECSdgCIWe0flYn4R0NjUTub1XmuNn9OI7UAmShU=; fh=x91oHPUbve+fCRYd5hKt7bRR5pPXKmiBovYhMDGtNa4=; b=1JDjhiJ3EzkLZWgJb5EU3ja9rXBQ7+TIlClsJDX9UKS6ibFh14AcaSIZ/NsqMTHW13 vFsCW7wjtYt2qW3pbiijrn/yPLaVe7wIt8AUV0O6O4RJFifqvls1B4vrxE4CemvwQgwu p9idWcPy8Xeyy6lklpVzgMx4YvUc26TkU/GwzsYJG5roYEUCcN+jlmCCXknK7T5WR08m h8iu4Yd+bEU3l30FVhQDd4lG8kucG0ghILpHamqUVO5jjk/tzagkoisvIQ6mXqKdi767 wS1UwPiPWFGNYRKWbVnRLhR757M/w08Lx2o4uxo0Q4FxlPcXqGz1E9wRlBq/OaN380ND FZvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cI9agDPg; 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 p7-20020a637407000000b0055bda24a17fsi3059140pgc.541.2023.07.12.04.32.20; Wed, 12 Jul 2023 04:32:34 -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=cI9agDPg; 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 S231786AbjGLLBk (ORCPT + 99 others); Wed, 12 Jul 2023 07:01:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbjGLLBi (ORCPT ); Wed, 12 Jul 2023 07:01:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCD4211D for ; Wed, 12 Jul 2023 04:01:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 627C661752 for ; Wed, 12 Jul 2023 11:01:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B80B5C433C9; Wed, 12 Jul 2023 11:01:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689159695; bh=f2/DUWigddziZ0nQwMJ/hnm21GU6VgTheI8MvcATNL8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cI9agDPgu/Ib4QkF3g4tu15WfOWIQC+0PwLPR3mnOPTMKQu4fawdHXg9XSl1ZEsDG yYQktlJbDsRA+aR6PVWdT2vckH+spyYFtRfQ6SILWkGAVjLrmn5iC39Y6oEpJbt5Jz nr10UKAQleQxnnYRRGdzXPNzxBRGF5fwieCv4sTtV+y1c+z4WJg06T0e/a96H4Z/Rz 87qF0uKkyhQDC84PUAqn5+k4UoDTNRI1wVnMVanFkF1HqpY/prZbffCpXqh64VaLMF Uq6BiZW/f5UtS2XI+0bG/IOStq+74reNwEeoidtjopFNaNVDnpAY9+YaTAYu8KegFA 6AVXWuLiQbDFQ== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qJXbB-00CPrm-G9; Wed, 12 Jul 2023 12:01:33 +0100 Date: Wed, 12 Jul 2023 12:01:33 +0100 Message-ID: <861qhdwfzm.wl-maz@kernel.org> From: Marc Zyngier To: Linux regressions mailing list Cc: Sudeep Holla , Mostafa Saleh , oliver.upton@linux.dev, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, tabba@google.com, qperret@google.com, will@kernel.org, catalin.marinas@arm.com, yuzenghui@huawei.com, suzuki.poulose@arm.com, james.morse@arm.com, bgardon@google.com, gshan@redhat.com Subject: Re: [PATCH v3] KVM: arm64: Use BTI for nvhe In-Reply-To: <4da09faa-acb8-7262-b9ae-6cb327cff206@leemhuis.info> References: <20230530150845.2856828-1-smostafa@google.com> <20230704134136.a5znw4jupt5yp5kg@bogus> <55bffc21-5f19-765f-9dbc-1b565c880426@leemhuis.info> <864jm9wgsn.wl-maz@kernel.org> <4da09faa-acb8-7262-b9ae-6cb327cff206@leemhuis.info> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: regressions@lists.linux.dev, sudeep.holla@arm.com, smostafa@google.com, oliver.upton@linux.dev, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, tabba@google.com, qperret@google.com, will@kernel.org, catalin.marinas@arm.com, yuzenghui@huawei.com, suzuki.poulose@arm.com, james.morse@arm.com, bgardon@google.com, gshan@redhat.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 On Wed, 12 Jul 2023 11:52:39 +0100, "Linux regression tracking (Thorsten Leemhuis)" wrote: > > On 12.07.23 12:44, Marc Zyngier wrote: > > On Wed, 12 Jul 2023 11:34:51 +0100, > > "Linux regression tracking (Thorsten Leemhuis)" wrote: > >> > >> [CCing the regression list, as it should be in the loop for regressions: > >> https://docs.kernel.org/admin-guide/reporting-regressions.html] > >> > >> [TLDR: I'm adding this report to the list of tracked Linux kernel > >> regressions; the text you find below is based on a few templates > >> paragraphs you might have encountered already in similar form. > >> See link in footer if these mails annoy you.] > >> > >> On 04.07.23 15:41, Sudeep Holla wrote: > >>> On Tue, May 30, 2023 at 03:08:45PM +0000, Mostafa Saleh wrote: > >>>> CONFIG_ARM64_BTI_KERNEL compiles the kernel to support ARMv8.5-BTI. > >>>> However, the nvhe code doesn't make use of it as it doesn't map any > >>>> pages with Guarded Page(GP) bit. > >>> [...] > >>> I was chasing a bug in linux-next yesterday with protected nVHE(pKVM) and > >>> cpuidle enabled. The system fails to boot. I just bisected the issue to this > >>> patch and also saw this patch landed in the linus tree yesterday/today. > >>> Not sure if this is something to do with the fact that pKVM skips to > >>> __kvm_handle_stub_hvc in __host_hvc. > >>> > >>> Let me know if you want be to try something. > >> > >> Thanks for the report. Seems the fix is slow to progress. > > > > It's not. See [1]. > > > > [1] https://lore.kernel.org/r/20230706152240.685684-1-smostafa@google.com > > I'm aware of that fix, as one of the regzbot commands in the mail your > quoted pointed to that mail. But unless I'm missing something that fix > is now nearly a week old and not yet in -next. That from my point of > view makes it "slow to progress" and trackworthy. Shoving stuff in -next early is not a guarantee of the fix being correct. Oddly enough, some of us value taking the time it takes to make sure the fix is correct and addresses the *full* issue, not only the reported corner case. I know, this is not trendy. Too bad. On top of that, we don't push fixes to -next either, so good luck tracking that. M. -- Without deviation from the norm, progress is not possible.