Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp303950pxb; Thu, 26 Aug 2021 03:39:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDCrP8cbQBw5+aSL7fXJ5NF7ealouOWBHK1OJAQgGft6MTUgrPtoyiBtKOGMF4vyITqo0W X-Received: by 2002:a17:906:16d5:: with SMTP id t21mr3602913ejd.110.1629974383217; Thu, 26 Aug 2021 03:39:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629974383; cv=none; d=google.com; s=arc-20160816; b=HCoz8TTJG9IfY/5+JTp56/kMhHijs1i/ojjEM7v9M9XGvPeuIcuoOQN+EeGjlMY24V YQudrlB6/RI+QuUyq2EgsnnZrpe1g3EAVcSfqQb41C5YKB8zqAeUdu8Ni8te1vCNPa9e xD5Tnixc7ydyOP/whXeJx3GAEjw/QlOXWh9xM5POpuOGLUCObix9Iofjxfgx+OIptsdw oFVEfW0L4pDwFEMt1h0KOkThUBVl0zTn2qYHnp31h/o2mmbFgZQRkTkqBiei5GvxVSMx EMmd3jKw5p0Ll8T9/7ZbcZEjkbMHcLBp4HG5YKQ5LvDZNyrnY+pTlQNXfiWoAwYw2Z9z Wyhg== 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; bh=04rYlvPCu8WMP3KEwUG9SbfHP4prJ1me4v1KVHAncAw=; b=l4FV4rGFgvd+WeP7xgRyBEKL9MhmecKCJqwgjvnpWztQw8vitZ+n71yjvvvKlBZsVP AJ8IKp6wC/yPigvsc5McHjt5hRCNiF1T4fCXxjrs6N5hD0XGO/I9i7pDbZ+wkb6tCC9o h67GLTjr1aKLLCtyK/6y2Zytn9Lwq4WUt3kM39tu0+rsT00kJ/R8aNL89XXNhkvD/0JR 6gRk6Sr4nojyLU+9P7rx+KVnaS8ho0aYXigsxxCgtkvrmF4GYGoyFvcTGa+oCfNHmSwe E6n4fWl33tcv7GMW6q4DngfVKFGqfGU2XUhYCekD2kyy/a79UdPERRErypzALhBy4Sri u+6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o2si2761691eds.325.2021.08.26.03.39.17; Thu, 26 Aug 2021 03:39:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S241461AbhHZKio (ORCPT + 99 others); Thu, 26 Aug 2021 06:38:44 -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.