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=-5.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FSL_HELO_FAKE, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 70131C64E7C for ; Wed, 2 Dec 2020 17:50:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 E80EB217A0 for ; Wed, 2 Dec 2020 17:50:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E80EB217A0 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.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:References:Message-ID: Subject: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=D804rOMJNO/ETtVYFbcgAQf5WgoyzpZiC0FEsnj+t0o=; b=nnQARzkEcHSaIIrg7h1OBESOL eNa7Br8rt9cvESW4qlsLPEq/z/YS2J0YUW7pOYiUBtKiLZUNAddC5MCCGsG09xz9AjoGXzrch2lOj 8tr+yC+KzECoVeO9KKakB723lyaOI3NOlet56ou+kEwLRF3l9FBv/2rWXfn/xkBQBB7sZrrfWx6e5 FaV5p2lpGjLe2hdzefv0TVytQvc5qdV1+lR0IcsJDYfEmFfC6BaCR5QDEXKmZV4GfpWtOx23Limne vyMQRU6rn0eFQ1EXOBDhs2VXXtxksCxsYDgzeOMGB4GZF10z+5fhqrhi7PD0yxcuSOV9E2ScMOVf8 adBQedKtw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkWFr-0000dk-St; Wed, 02 Dec 2020 17:49:27 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkWFk-0000af-SM for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2020 17:49:25 +0000 Received: by mail-wr1-x444.google.com with SMTP id r3so4998439wrt.2 for ; Wed, 02 Dec 2020 09:49:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uk3nyFML1nxsvGC9LCY/1s44UaqHe8BVZ1ofT7x457I=; b=XO2vQdH95v1HgdI8fzNXcFmkx63nZT1kR7WW07T3iN8xawOcOSjMcaratXT62R6aol 18Exdx6tN6JQlynTpVUZwWTx5yEfKHqoUXJ8bp5ZP8r4TxRk36V18+/ACCyAmoetPExg ZhwuJ1VUm9FX8Tk3peri9lU3HFX5NozCPQXe8tUQi8I5wnwrKylWAmwqb7jEiKk0/PUt RA+9v3xK6ufqjU325zvSInvuQG7b6fKJz3s3f5OJPhxqbuBGwDkBUf1LXppH3UkSGxER OwcLDErcATCjMiaz7wGjjIGEuop04VGU2IBbBUBqQqdpTuKtFfCYhPUic/OCPb82mYON iQvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uk3nyFML1nxsvGC9LCY/1s44UaqHe8BVZ1ofT7x457I=; b=mQp7aoKjqsFUw3ddYW3zTXodmhy8P/InLgIdDPK06YUBVBxaqMCRXJ0wcXUUHLXaRc F5raoKRBPsPM3goQP11uxQBemwVlB0/6xhUuuCFYYVYtg4epkZFqeSAF/GkavLm1/TN6 1p5bIzSvPn1HmS84dNalV6O73iijv6qPtksYqlhsKS1uIqBnqzKoSDfJ60P8pbjrAswD BNkfotBdNh4lX/ZM/8uPvTNwZsyFdt16EPh3Xd+DQYwquGJZIq+fE14E167lnOXv8MbL /iCkPZe5NOFAuLL60gQeudg43jw2d7Gj2qsWlDdS+B8pdVe9026VtVIBUO8VhcgxA4R6 QWGA== X-Gm-Message-State: AOAM530Jmn7ZdA/44mfaJ+AGd8m5efR75zELFHN0c2yBulk8yeOyWgr2 fT5AO+2Ux1aMpIR9GvXhBw3P9Q== X-Google-Smtp-Source: ABdhPJwzHIaRNBQgiYJ4lBdup+j980orHCD3KEsoa4QfsBkkHpXFXQVpATyCsJ/euy7BQTFO2qp3nA== X-Received: by 2002:a5d:5482:: with SMTP id h2mr4962893wrv.18.1606931359793; Wed, 02 Dec 2020 09:49:19 -0800 (PST) Received: from google.com ([2a01:4b00:8523:2d03:5ddd:b7c5:e3c9:e87a]) by smtp.gmail.com with ESMTPSA id u23sm2973631wmc.32.2020.12.02.09.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 09:49:19 -0800 (PST) Date: Wed, 2 Dec 2020 17:49:17 +0000 From: David Brazdil To: Lorenzo Pieralisi Subject: Re: [PATCH v3 16/23] kvm: arm64: Forward safe PSCI SMCs coming from host Message-ID: <20201202174917.qey4ju2vrzipy4cn@google.com> References: <20201126155421.14901-1-dbrazdil@google.com> <20201126155421.14901-17-dbrazdil@google.com> <20201127101433.GA1061@e121166-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201127101433.GA1061@e121166-lin.cambridge.arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201202_124921_010079_45844D23 X-CRM114-Status: GOOD ( 19.45 ) 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: Mark Rutland , Sudeep Holla , kernel-team@android.com, Jonathan Corbet , Catalin Marinas , Suzuki K Poulose , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, James Morse , linux-arm-kernel@lists.infradead.org, Marc Zyngier , Tejun Heo , Dennis Zhou , Christoph Lameter , Will Deacon , kvmarm@lists.cs.columbia.edu, Julien Thierry 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 Fri, Nov 27, 2020 at 10:14:33AM +0000, Lorenzo Pieralisi wrote: > On Thu, Nov 26, 2020 at 03:54:14PM +0000, David Brazdil wrote: > > Forward the following PSCI SMCs issued by host to EL3 as they do not > > require the hypervisor's intervention. This assumes that EL3 correctly > > implements the PSCI specification. > > > > Only function IDs implemented in Linux are included. > > > > Where both 32-bit and 64-bit variants exist, it is assumed that the host > > will always use the 64-bit variant. > > > > * SMCs that only return information about the system > > * PSCI_VERSION - PSCI version implemented by EL3 > > * PSCI_FEATURES - optional features supported by EL3 > > * AFFINITY_INFO - power state of core/cluster > > * MIGRATE_INFO_TYPE - whether Trusted OS can be migrated > > * MIGRATE_INFO_UP_CPU - resident core of Trusted OS > > * operations which do not affect the hypervisor > > * MIGRATE - migrate Trusted OS to a different core > > * SET_SUSPEND_MODE - toggle OS-initiated mode > > * system shutdown/reset > > * SYSTEM_OFF > > * SYSTEM_RESET > > * SYSTEM_RESET2 > > What about SYSTEM_SUSPEND ? Oops, forgot that one. Will add a handler similar to CPU_SUSPEND. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel