From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 987D2C432BE for ; Thu, 26 Aug 2021 10:37:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C2466108F for ; Thu, 26 Aug 2021 10:37:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241425AbhHZKip (ORCPT ); Thu, 26 Aug 2021 06:38:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:49048 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233929AbhHZKij (ORCPT ); Thu, 26 Aug 2021 06:38:39 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6F0A06108F; Thu, 26 Aug 2021 10:37:52 +0000 (UTC) Received: from sofa.misterjones.org ([185.219.108.64] helo=hot-poop.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mJCla-007KET-3u; Thu, 26 Aug 2021 11:37:50 +0100 From: Marc Zyngier To: Raghavendra Rao Ananta , Alexandru Elisei , Suzuki K Poulose , James Morse Cc: Jing Zhang , Catalin Marinas , Reiji Watanabe , kvmarm@lists.cs.columbia.edu, Peter Shier , Oliver Upton , linux-kernel@vger.kernel.org, Will Deacon , Ricardo Koller , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] KVM: arm64: Trim guest debug exception handling Date: Thu, 26 Aug 2021 11:37:46 +0100 Message-Id: <162997424183.1640651.9657746284386330796.b4-ty@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210823223940.1878930-1-rananta@google.com> References: <20210823223940.1878930-1-rananta@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: rananta@google.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, james.morse@arm.com, jingzhangos@google.com, catalin.marinas@arm.com, reijiw@google.com, kvmarm@lists.cs.columbia.edu, pshier@google.com, oupton@google.com, linux-kernel@vger.kernel.org, will@kernel.org, ricarkol@google.com, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 23 Aug 2021 22:39:40 +0000, Raghavendra Rao Ananta wrote: > The switch-case for handling guest debug exception covers > all the debug exception classes, but functionally, doesn't > do anything with them other than ESR_ELx_EC_WATCHPT_LOW. > Moreover, even though handled well, the 'default' case > could be confusing from a security point of view, stating > that the guests' actions can potentially flood the syslog. > But in reality, the code is unreachable. > > [...] Applied to next, thanks! [1/1] KVM: arm64: Trim guest debug exception handling commit: 8ce8a6fce9bfd3fcabe230ad104e2caf08b2e58d Cheers, M. -- Without deviation from the norm, progress is not possible.