From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A2271FC5 for ; Fri, 3 Mar 2023 09:46:19 +0000 (UTC) Received: by mail-wm1-f42.google.com with SMTP id c18so1183260wmr.3 for ; Fri, 03 Mar 2023 01:46:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677836777; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Rlu8PtRZf5UJyL60KngpFOw4CS6fsjOoK7SRwFml2s4=; b=jLYJo7rXTiA42dbXtWsh8mOHcTggzfeyvoDhCfgisV8SCVTzw0rsOo/pCSkhghPFOH lWanw1LuX5ivAGsVHi7WWYYAJrRIOH/ZJIvYfOGVHEnTLcfE0HYWIyJtlzrlbTQC5FZL tqs1hWKCwMnJqVEgL68ihFtOLSuJg+0fv18dFG4sM6kCgeBVWdLp9pIrXsVySgTLiDPc AmCHQjQCn0kuweiW6dp1gmKh705jsKpfy1ZaEEIdjuUX97igkfh1ozASaD90+knpMrYf h+6lTlXPr9XE6zrNtkQyBFt1z2ERNMVlJ/UsQ/zbDc54QxU+xRzrBt+SRniNSmp5eeXV svrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677836777; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Rlu8PtRZf5UJyL60KngpFOw4CS6fsjOoK7SRwFml2s4=; b=0qIHQkCOXUyBEaUA+Oz7itLQafxnDKgVkN1+hY41ZA1/QxDx/5Cw6Im23TeE3fHInc abi6kEcc/c/rc87UBsVJ7NxZO2KkQ2nWkT7VMpTvE8I6UkdmRJrgmVIpKZjZ/R7h1pm/ eKaYOTBl/Yn7zbVK8/dyMzOtCDSvASdVG+xzfm+/qmhSBthViuzHh91f4NbFEHnuZrAn 0k9TfSYbfd1S3xyEwbR33K634Q4VXRMAm8FytYFzljYPvszMC/vVkWxm3DDT0zJDphRz zLRlmsOc/XmOQ4uonjoWspJ4SDkfqLZXpdRXJriYW23847jisDEWyjlqNqiuZY514o08 ojNw== X-Gm-Message-State: AO0yUKWit/FxfwG5gV9Ai8XCc5twJUu5EUrMOZXw9jYa3Q7skHsxxW23 PjB8bZle1apY/Bn0i7B3rMhK0A== X-Google-Smtp-Source: AK7set/cpnwjuX7fSaoNvFw6A/hbtKjeIM5Ymf/9/ZQ+x+h+WhBRCjZlZUxPJkws3AKcfOSMvtL2AA== X-Received: by 2002:a05:600c:3506:b0:3dc:405b:99bf with SMTP id h6-20020a05600c350600b003dc405b99bfmr1095246wmq.15.1677836777678; Fri, 03 Mar 2023 01:46:17 -0800 (PST) Received: from myrica (054592b0.skybroadband.com. [5.69.146.176]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c425400b003dc47d458cdsm1921298wmm.15.2023.03.03.01.46.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 01:46:17 -0800 (PST) Date: Fri, 3 Mar 2023 09:46:18 +0000 From: Jean-Philippe Brucker To: Itaru Kitayama Cc: Suzuki K Poulose , linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Alexandru Elisei , Andrew Jones , Catalin Marinas , Chao Peng , Christoffer Dall , Fuad Tabba , James Morse , Joey Gouly , Marc Zyngier , Mark Rutland , Oliver Upton , Paolo Bonzini , Quentin Perret , Sean Christopherson , Steven Price , Thomas Huth , Will Deacon , Zenghui Yu , kvmarm@lists.cs.columbia.edu Subject: Re: [RFC] Support for Arm CCA VMs on Linux Message-ID: <20230303094618.GC361458@myrica> References: <20230127112248.136810-1-suzuki.poulose@arm.com> Precedence: bulk X-Mailing-List: linux-coco@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Mar 02, 2023 at 07:12:24AM +0900, Itaru Kitayama wrote: > > > I've tried your series in Real on CCA Host, but the KVM arch init > > > emits an Invalid argument error and terminates. This was the KVM_SET_ONE_REG for the SVE vector size. During my tests I didn't enable SVE in the host but shrinkwrap enables more options. Until we figure out support for SVE, disable it on the QEMU command-line (similarly to '--disable-sve' needed for kvmtool boot): -cpu host,sve=off Thanks, Jean 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 867A2C64EC4 for ; Fri, 3 Mar 2023 09:47:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ygh/HilOmNLZgPU7HD3s67haLP0f1+c9QdFswOJAB/I=; b=vT8F6W3UtT2VFr uEx+cXOBPoKe4MdnxQlzm4Nn61PdeoLTV7uvOKMqGyBeNNr42NmBE+kbCaehzwiS5iFC5szsKLt7a /Mndjy4hs8fzZivYd9KJkbZiBu6HfZOu99RWNvcp8pzdUEiLbUSaeX4OoT7u0Pq6MXwX4pc0TtbuI dIr9npmJvdeI/TY6+oUtfDmKN1Hzn1qgjMCDbjIA1scNokS3DyqMTqOfa2d4qdHHNb8skqxbmlmVm pzsFlwTXBDuNfKRo3DZBED1LnOQsHtn9HoFkPjndYyghxlfHO82Y8Q1uA6FVlo/qHOcZ2NhmKZPx7 iE/6Y5NUhWaoDlBgIQWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pY1zk-005rhW-MP; Fri, 03 Mar 2023 09:46:33 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pY1zX-005rZ8-S1 for linux-arm-kernel@lists.infradead.org; Fri, 03 Mar 2023 09:46:21 +0000 Received: by mail-wm1-x333.google.com with SMTP id k37so1223780wms.0 for ; Fri, 03 Mar 2023 01:46:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677836777; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Rlu8PtRZf5UJyL60KngpFOw4CS6fsjOoK7SRwFml2s4=; b=jLYJo7rXTiA42dbXtWsh8mOHcTggzfeyvoDhCfgisV8SCVTzw0rsOo/pCSkhghPFOH lWanw1LuX5ivAGsVHi7WWYYAJrRIOH/ZJIvYfOGVHEnTLcfE0HYWIyJtlzrlbTQC5FZL tqs1hWKCwMnJqVEgL68ihFtOLSuJg+0fv18dFG4sM6kCgeBVWdLp9pIrXsVySgTLiDPc AmCHQjQCn0kuweiW6dp1gmKh705jsKpfy1ZaEEIdjuUX97igkfh1ozASaD90+knpMrYf h+6lTlXPr9XE6zrNtkQyBFt1z2ERNMVlJ/UsQ/zbDc54QxU+xRzrBt+SRniNSmp5eeXV svrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677836777; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Rlu8PtRZf5UJyL60KngpFOw4CS6fsjOoK7SRwFml2s4=; b=cIxA5MnCF3Hz0ouMmMlnG4R7RyZ/I1tapHReHa+MDyWu3WQ1vxOnYW9q/sB2xXwY/A Me6rvQIw3G+lmARlbOWm7F+M84cECrm7x8AKib8cuRzOQgT8CyivoM38S6piwBqtd6yb DbMDbSVwyaU6dMosra0ZzGU4aWenycp0JeUfTgaxD/WStHn5ckY8J2EibiFUfJU2qBse 4+lmYU4eXj5Fnyt9P19BWUGMuQTchEYIkqHvrcghvRQKWur9kh7ieA8rF7X2j5xgsXp5 NhCl7N93/TmhbyOybM5gHy8fg4JgMukd2KRb8SwphHb9wEb+DynE/73AISFAaXeVPYKJ 8H3Q== X-Gm-Message-State: AO0yUKWvb8OyD6SgMFnrHgFjNjHsNS/msx14k6qwLbLXQrHhLO2NMBiw O3UAhk6mYyugGktP9sfxXlxD6A== X-Google-Smtp-Source: AK7set/cpnwjuX7fSaoNvFw6A/hbtKjeIM5Ymf/9/ZQ+x+h+WhBRCjZlZUxPJkws3AKcfOSMvtL2AA== X-Received: by 2002:a05:600c:3506:b0:3dc:405b:99bf with SMTP id h6-20020a05600c350600b003dc405b99bfmr1095246wmq.15.1677836777678; Fri, 03 Mar 2023 01:46:17 -0800 (PST) Received: from myrica (054592b0.skybroadband.com. [5.69.146.176]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c425400b003dc47d458cdsm1921298wmm.15.2023.03.03.01.46.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 01:46:17 -0800 (PST) Date: Fri, 3 Mar 2023 09:46:18 +0000 From: Jean-Philippe Brucker To: Itaru Kitayama Cc: Suzuki K Poulose , linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Alexandru Elisei , Andrew Jones , Catalin Marinas , Chao Peng , Christoffer Dall , Fuad Tabba , James Morse , Joey Gouly , Marc Zyngier , Mark Rutland , Oliver Upton , Paolo Bonzini , Quentin Perret , Sean Christopherson , Steven Price , Thomas Huth , Will Deacon , Zenghui Yu , kvmarm@lists.cs.columbia.edu Subject: Re: [RFC] Support for Arm CCA VMs on Linux Message-ID: <20230303094618.GC361458@myrica> References: <20230127112248.136810-1-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230303_014619_944111_E25EACBD X-CRM114-Status: GOOD ( 10.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Mar 02, 2023 at 07:12:24AM +0900, Itaru Kitayama wrote: > > > I've tried your series in Real on CCA Host, but the KVM arch init > > > emits an Invalid argument error and terminates. This was the KVM_SET_ONE_REG for the SVE vector size. During my tests I didn't enable SVE in the host but shrinkwrap enables more options. Until we figure out support for SVE, disable it on the QEMU command-line (similarly to '--disable-sve' needed for kvmtool boot): -cpu host,sve=off Thanks, Jean _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel