Received: by 2002:ac2:4841:0:0:0:0:0 with SMTP id 1csp2642974lfy; Thu, 30 Jul 2020 08:05:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLHEEzjQG6y6k/98JO6IgWNPAnDc6JdP3ue4SM/ooVDlnxW1v83ujoDQ7Iz3dAy7No2YOC X-Received: by 2002:a25:640e:: with SMTP id y14mr4819078ybb.340.1596121509062; Thu, 30 Jul 2020 08:05:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596121509; cv=none; d=google.com; s=arc-20160816; b=xKQjrVvjyjkkFO6VCspQ2C5F0mMWJu95mgsmpgNbEqeI1Ooeea9J+gkkQgKOKSQ+p1 MkijgKepyXhIpqpvc5crEC6jfFruIZnDXf4AIZo7LPvMVMMQdLlvkaJHoKAtrQcICZqV 8nHpjw4rCGlGl5sMeGYxqlZ3lD7uR2lVyT9ozAHgirZh2xOKBNSAj84WNH5rS6F6U3F7 Gj4N5Ulgcgdh6h2FfMCP0fn3cPpWeYLOiTrGeG0aLIcEwwDHw22rcw5UhG6/1qz/jQO0 HNYzHjfs/GGm5Xzpjba6fYSb+uEfskemSWqJzvliORjrem0ruo0/CzePvRuOWdWP2dzn zxiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:in-reply-to:subject:to:from:user-agent :references; bh=SekrzyCglnED7FAdWBSJJBPem1chpI1rBTpqFzTkYUU=; b=e780i2sfmXUJUZ3O4P649jpmIeqRanye5nB9HX+wzifeFTFIGMIBgQEQYDutR9SZR7 ECNyTyixnqvC1ajR29AolwumcgBidGJxaMM5u2S11xmskOrCfsaalRBIuSSSJbo/IPcY pdP/chTJvVNvgtwUij5BsPIn1HEbP9GGc8sT/Z+HhXAJrzs2tvkifZzKzN5gxrUVbG4P 2DqlIFpXbMODFpyoArDzTNqnAkhrKJG2YdqT4/3ZYVmuSmy4Jj91wmbNUmUniObFrBxZ PTEKaJ0kPioMP7ZUnjA2Jwij9mhpbJRH7fqlgQ3+8ukfsMB6JBTCacc1i9MtTDrt+Kdm Xqcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v65si5298953ybe.413.2020.07.30.08.05.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Jul 2020 08:05:09 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from localhost ([::1]:52160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1A7I-0007tO-Fy for alex.bennee@linaro.org; Thu, 30 Jul 2020 11:05:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1A7A-0007t3-IF; Thu, 30 Jul 2020 11:05:00 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:20366 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1A77-00047O-RJ; Thu, 30 Jul 2020 11:05:00 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06UF2GTG135205; Thu, 30 Jul 2020 11:04:35 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 32kt4kw16w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Jul 2020 11:04:34 -0400 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 06UF2Lqo135522; Thu, 30 Jul 2020 11:04:34 -0400 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0b-001b2d01.pphosted.com with ESMTP id 32kt4kw16a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Jul 2020 11:04:34 -0400 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 06UEoibD031444; Thu, 30 Jul 2020 15:04:33 GMT Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by ppma03dal.us.ibm.com with ESMTP id 32gcy7p3kp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Jul 2020 15:04:33 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 06UF4TOI11927894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 30 Jul 2020 15:04:29 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A52EC78066; Thu, 30 Jul 2020 15:04:31 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A73D27805C; Thu, 30 Jul 2020 15:04:27 +0000 (GMT) Received: from morokweng.localdomain (unknown [9.163.87.47]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTPS; Thu, 30 Jul 2020 15:04:27 +0000 (GMT) References: <20200723025657.644724-1-bauerman@linux.ibm.com> <878sf3uojf.fsf@morokweng.localdomain> <20200730005947.GO84173@umbus.fritz.box> User-agent: mu4e 1.2.0; emacs 26.3 From: Thiago Jung Bauermann To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Subject: Re: [PATCH v3 0/8] Generalize start-powered-off property from ARM In-reply-to: Date: Thu, 30 Jul 2020 12:04:24 -0300 Message-ID: <87a6zh3uyv.fsf@morokweng.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-07-30_11:2020-07-30, 2020-07-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1011 mlxlogscore=836 spamscore=0 bulkscore=0 mlxscore=0 suspectscore=0 malwarescore=0 adultscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007300107 Received-SPF: pass client-ip=148.163.158.5; envelope-from=bauerman@linux.ibm.com; helo=mx0a-001b2d01.pphosted.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/30 11:04:54 X-ACL-Warn: Detected OS = Linux 3.x [generic] X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@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 , Thomas Huth , Eduardo Habkost , David Hildenbrand , Cornelia Huck , Aleksandar Rikalo , Jiaxun Yang , qemu-devel@nongnu.org, Aleksandar Markovic , qemu-s390x@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org, Artyom Tarasenko , Marcel Apfelbaum , Paolo Bonzini , Greg Kurz , Richard Henderson , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Aurelien Jarno , David Gibson Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: DJxFMu5VqxYt Philippe Mathieu-Daud=C3=A9 writes: > Le jeu. 30 juil. 2020 03:00, David Gibson a > =C3=A9crit : > >> On Tue, Jul 28, 2020 at 09:56:36PM -0300, Thiago Jung Bauermann wrote: >> > >> > Thiago Jung Bauermann writes: >> > >> > > The ARM code has a start-powered-off property in ARMCPU, which is a >> > > subclass of CPUState. This property causes arm_cpu_reset() to set >> > > CPUState::halted to 1, signalling that the CPU should start in a hal= ted >> > > state. Other architectures also have code which aim to achieve the s= ame >> > > effect, but without using a property. >> > > >> > > The ppc/spapr version has a bug where QEMU does a KVM_RUN on the vcpu >> > > before cs->halted is set to 1, causing the vcpu to run while it's >> still in >> > > an unitialized state (more details in patch 3). >> > >> > Since this series fixes a bug is it eligible for 5.1, at least the >> > patches that were already approved by the appropriate maintainers? >> >> Ok by me. >> > > Maybe just the arm generalization and ppc fix for 5.1, delaying all not > bugfix to 5.2? That would be great. --=20 Thiago Jung Bauermann IBM Linux Technology Center