From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111126 invoked by alias); 12 Oct 2017 17:13:23 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 110447 invoked by uid 89); 12 Oct 2017 17:13:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:558 X-HELO: foss.arm.com Date: Thu, 12 Oct 2017 17:13:00 -0000 From: Catalin Marinas To: Dave Martin Cc: linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, Okamoto Takayuki , libc-alpha@sourceware.org, Ard Biesheuvel , Szabolcs Nagy , Will Deacon , Richard Sandiford , Alex =?iso-8859-1?Q?Benn=E9e?= , kvmarm@lists.cs.columbia.edu Subject: Re: [PATCH v3 23/28] arm64/sve: KVM: Treat guest SVE use as undefined instruction execution Message-ID: <20171012171315.47d3bd5sq76eoqmd@armageddon.cambridge.arm.com> References: <1507660725-7986-1-git-send-email-Dave.Martin@arm.com> <1507660725-7986-24-git-send-email-Dave.Martin@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1507660725-7986-24-git-send-email-Dave.Martin@arm.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SW-Source: 2017-10/txt/msg00553.txt.bz2 On Tue, Oct 10, 2017 at 07:38:40PM +0100, Dave P Martin wrote: > When trapping forbidden attempts by a guest to use SVE, we want the > guest to see a trap consistent with SVE not being implemented. > > This patch injects an undefined instruction exception into the > guest in response to such an exception. > > Signed-off-by: Dave Martin > Reviewed-by: Alex Bennée Acked-by: Catalin Marinas