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=-13.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 74984C4707F for ; Thu, 27 May 2021 12:13:10 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 07C3061378 for ; Thu, 27 May 2021 12:13:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 07C3061378 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:37058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmEsv-0001Lb-3P for qemu-devel@archiver.kernel.org; Thu, 27 May 2021 08:13:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmE4M-0006JZ-QI for qemu-devel@nongnu.org; Thu, 27 May 2021 07:20:59 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:48583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmE44-0002FE-CA for qemu-devel@nongnu.org; Thu, 27 May 2021 07:20:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622114429; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wmxSe8v2qPIoeyzzBGhE9ZXkgNTvLmx82gOuIv7gadY=; b=GBcF1SNydKMm7R3misMeDeaP8VCBUXyrsurSd40R0OU7kKLuFAt2u26aqCEey0VoIOFG8y b3i3/uQcE4Du+K/WgAJibEC8COX1Uvv1vGJ/uOc2k+IiBW/eQ38ZPRDltD+uK5MdSIOv95 /o/OMA/eGWZQHTy7p8ujqUia97D2eB8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-196-kCryELIGMaG2_FJTRSZINg-1; Thu, 27 May 2021 07:20:25 -0400 X-MC-Unique: kCryELIGMaG2_FJTRSZINg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1624A106BB33; Thu, 27 May 2021 11:20:24 +0000 (UTC) Received: from localhost (unknown [10.33.36.9]) by smtp.corp.redhat.com (Postfix) with ESMTP id ABB39687D7; Thu, 27 May 2021 11:20:23 +0000 (UTC) Date: Thu, 27 May 2021 13:20:22 +0200 From: Sergio Lopez To: Alexander Graf Subject: Re: [PATCH v8 16/19] hvf: arm: Implement PSCI handling Message-ID: <20210527112022.iwosfhwemlwsxlre@mhamilton> References: <20210519202253.76782-1-agraf@csgraf.de> <20210519202253.76782-17-agraf@csgraf.de> MIME-Version: 1.0 In-Reply-To: <20210519202253.76782-17-agraf@csgraf.de> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=slp@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qxr7svkp6aqmzl3t" Content-Disposition: inline Received-SPF: pass client-ip=170.10.133.124; envelope-from=slp@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.374, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Eduardo Habkost , Peter Collingbourne , Richard Henderson , QEMU Developers , Cameron Esfahani , Roman Bolshakov , qemu-arm , Frank Yang , Paolo Bonzini , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --qxr7svkp6aqmzl3t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 19, 2021 at 10:22:50PM +0200, Alexander Graf wrote: > We need to handle PSCI calls. Most of the TCG code works for us, > but we can simplify it to only handle aa64 mode and we need to > handle SUSPEND differently. >=20 > This patch takes the TCG code as template and duplicates it in HVF. >=20 > To tell the guest that we support PSCI 0.2 now, update the check in > arm_cpu_initfn() as well. >=20 > Signed-off-by: Alexander Graf >=20 > --- >=20 > v6 -> v7: >=20 > - This patch integrates "arm: Set PSCI to 0.2 for HVF" >=20 > v7 -> v8: >=20 > - Do not advance for HVC, PC is already updated by hvf > - Fix checkpatch error > --- > target/arm/cpu.c | 4 +- > target/arm/hvf/hvf.c | 123 ++++++++++++++++++++++++++++++++++-- > target/arm/hvf/trace-events | 1 + > 3 files changed, 122 insertions(+), 6 deletions(-) Reviewed-by: Sergio Lopez --qxr7svkp6aqmzl3t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEvtX891EthoCRQuii9GknjS8MAjUFAmCvgHUACgkQ9GknjS8M AjXAqQ//bgikQsfVLi0kkAWrkgug7TnpvAlVBXi/LCdIFwhmyiq9o1PIxsFmFjES Tj1ey6uWRs/z2YAMKk/Ben/nmlhSIAYeM0jlIgMSJCd24xhyFlwD0AjdeZTLwobn +QHV0jROv+y2HN59xADZNr6OUSsg7MdMex4JgKZgrUbMKJc6haLCqtZIicHs31Hx Fz/iY2c8rQzWU9HNeaIjOg2v6/q+DTiYhHdFGwRDpsbY4ZSgpWoKTuNXqXNHMBzM NZZPJcWprHqqfOFXRPcDqZ8An7uT0zGVttZSi2Zh2xn9UQ3DYx1ZQRq05l9oOruP 97r0C2MR1UKzQzxhs4IryEakfPMIoNGOLKSgRrJ4Md4g87DM5yrPCS/D3IMt2pPB Li5AN1LxCMh+77gZLgrxWWldPgj9W6ZoGalpRrPIc3IKO2H5sCII2A6RDHHtQof3 VK6EKUGjhfpab3URDX2Ik4goF5rsm3vgR2CO7h6sOWFGKO8cZOErqosuLyd6azoz H4J1BGC4T6WyI8zShZHE+itxefVYufCG1eJcvV19xHltUSftAoaF1LVy8bb3Mzig i6etM8lYJdybGN1VTFDIOW4fNqxXIpE/ZiSGIekbPXdMCLLztEbkd7PgYgDKVXzm 5u8GrpDyiU/RuUS4P3q1cFrqPjQwXeEMAv1G1h/ZBlEVVper+4g= =7AJU -----END PGP SIGNATURE----- --qxr7svkp6aqmzl3t--