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=-2.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 2D69BC432C3 for ; Thu, 14 Nov 2019 15:48:30 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D6DAC20672 for ; Thu, 14 Nov 2019 15:48:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ju21yr8d" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D6DAC20672 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kROJN7QAGsK4rsaiWepegJ9CjoJls8+l0GJQIGf5zfQ=; b=Ju21yr8d8LI2K9 WqmqPINnvL79chOVseZaqOuLFiPAt12rTSMQZLbOPJj/AtjQkiP63PCE7z5dDT2Q2ymln93/IVKTn o7Yf799yjOwHgBZURp6wDRhGVNDImX7um4Owsn61Ked+Ky1lO810hfRUlLpvHT/G/ySvBAbcxtPq7 PAz/+gLo/OA5Nf6Mqlb59kYerQ+U3wCeA3mU89Kat64AOZ9v/SjVS8IZptJiIlDtmhQeTg5M9gMCF +wmXfoGK17z7Kzf8wk47MrsbXg5joakgwlzN/qVexduGRnQtACrGcgirRJ4Zlhgdzab38VNAc5l7W 3h2rozUaLk/L3mMWVa3w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVHMA-0000j5-LM; Thu, 14 Nov 2019 15:48:26 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVHLZ-0000Az-BB for linux-arm-kernel@lists.infradead.org; Thu, 14 Nov 2019 15:47:51 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A3F05328; Thu, 14 Nov 2019 07:47:46 -0800 (PST) Received: from [10.1.196.63] (e123195-lin.cambridge.arm.com [10.1.196.63]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9842A3F52E; Thu, 14 Nov 2019 07:47:45 -0800 (PST) Subject: Re: [kvm-unit-tests PATCH 09/17] arm: gic: Add test for flipping GICD_CTLR.DS To: Peter Maydell References: <20191108144240.204202-1-andre.przywara@arm.com> <20191108144240.204202-10-andre.przywara@arm.com> <2e14ccd4-89f4-aa90-cc58-bebf0e2eeede@arm.com> <7ca57a0c-3934-1778-e3f9-a3eee0658002@arm.com> <20191114141745.32d3b89c@donnerap.cambridge.arm.com> <90cdc695-f761-26bd-d2a7-f8655ce04463@arm.com> <187393bb-a32d-092d-d0ea-44c58a54d1de@arm.com> From: Alexandru Elisei Message-ID: <241e3df3-e3e3-14a0-3fbe-5398a1bf9d00@arm.com> Date: Thu, 14 Nov 2019 15:47:40 +0000 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191114_074749_453150_020274B8 X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vladimir Murzin , kvm-devel , Andre Przywara , Marc Zyngier , Paolo Bonzini , kvmarm@lists.cs.columbia.edu, arm-mail-list Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, On 11/14/19 3:27 PM, Peter Maydell wrote: > On Thu, 14 Nov 2019 at 15:21, Alexandru Elisei wrote: >> TCG emulates a GIC with a single security state for me: >> >> /usr/bin/qemu-system-aarch64 -nodefaults -machine virt,gic-version=3,accel=tcg >> -cpu cortex-a57 -device virtio-serial-device -device virtconsole,chardev=ctd >> -chardev testdev,id=ctd -device pci-testdev -display none -serial stdio -kernel >> arm/gic.flat -append irq > The virt board doesn't do EL3 by default, but if you add -machine secure=true > to your command line then it it should emulate it, including a > trustzone-aware GIC. > > thanks > -- PMM Indeed, and that made the test fail because apparently qemu implements it as RAZ/WI (which is allowed by the architecture). Thank you for the suggestion! Thanks, Alex _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel