From nobody Sun Feb 8 10:33:55 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linux.ibm.com ARC-Seal: i=1; a=rsa-sha256; t=1570691348; cv=none; d=zoho.com; s=zohoarc; b=j+kejzO4a5/WlMtHj/IYzY+nmLMtI3WNl9zNqKVUH8CMbYMpF5EXbjEcxbS67pg61fosO/GIZ1HOjaZdne1vkJgtiRbr1Zl8ve3Shjim1u24MMwru6a/tdjtpW1HXt+xbLAoBhe2mAcLM9rW+2g2+7tqp1E4MrmuAO6wpSicXas= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570691348; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=8EZ2tMQozgGIxs1OLq4Pj6XL0kEgaZEEg3ZPHu58sU0=; b=GorNkWf69ptrBVqfjrJbefBECGJ4PzwtSl9L4tpb9+SVBRIbWFTgXEBVYVehrsDivcWBs4QrZuMNEh9vL7/qzaoe4Oxl5IYA3HP5fYOsZgd4zkwcISvkkOBJ1sHozCPTn6BHCW/gSLjjyrsEq/6l67LG2DA4eMedCxW24O2sf8g= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 157069134894596.81543265657433; Thu, 10 Oct 2019 00:09:08 -0700 (PDT) Received: from localhost ([::1]:34536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iISZP-0001LS-JH for importer@patchew.org; Thu, 10 Oct 2019 03:09:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48181) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iISRX-0003RJ-AT for qemu-devel@nongnu.org; Thu, 10 Oct 2019 03:01:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iISRW-0008UQ-8i for qemu-devel@nongnu.org; Thu, 10 Oct 2019 03:00:59 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60160 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iISRW-0008UG-4t for qemu-devel@nongnu.org; Thu, 10 Oct 2019 03:00:58 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x9A6v84g001026 for ; Thu, 10 Oct 2019 03:00:57 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 2vhyfj0qsy-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 10 Oct 2019 03:00:56 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 10 Oct 2019 08:00:55 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 10 Oct 2019 08:00:52 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x9A70ppP58065046 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 10 Oct 2019 07:00:51 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1E69911C066; Thu, 10 Oct 2019 07:00:51 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A563C11C05E; Thu, 10 Oct 2019 07:00:49 +0000 (GMT) Received: from localhost.in.ibm.com (unknown [9.124.35.97]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 10 Oct 2019 07:00:49 +0000 (GMT) From: Ganesh Goudar To: aik@ozlabs.ru, qemu-ppc@nongnu.org, qemu-devel@nongnu.org, david@gibson.dropbear.id.au Subject: [PATCH v16 7/7] ppc: spapr: Activate the FWNMI functionality Date: Thu, 10 Oct 2019 12:29:50 +0530 X-Mailer: git-send-email 2.17.2 In-Reply-To: <20191010065950.23169-1-ganeshgr@linux.ibm.com> References: <20191010065950.23169-1-ganeshgr@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19101007-0020-0000-0000-00000377C05B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19101007-0021-0000-0000-000021CDCAC8 Message-Id: <20191010065950.23169-8-ganeshgr@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-10-10_03:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=824 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910100064 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 148.163.158.5 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: paulus@ozlabs.org, arawinda.p@gmail.com, groug@kaod.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aravinda Prasad This patch sets the default value of SPAPR_CAP_FWNMI_MCE to SPAPR_CAP_ON for machine type 4.2. Signed-off-by: Aravinda Prasad --- hw/ppc/spapr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index eac3123d83..d27c1f1cf0 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -4490,7 +4490,7 @@ static void spapr_machine_class_init(ObjectClass *oc,= void *data) smc->default_caps.caps[SPAPR_CAP_NESTED_KVM_HV] =3D SPAPR_CAP_OFF; smc->default_caps.caps[SPAPR_CAP_LARGE_DECREMENTER] =3D SPAPR_CAP_ON; smc->default_caps.caps[SPAPR_CAP_CCF_ASSIST] =3D SPAPR_CAP_OFF; - smc->default_caps.caps[SPAPR_CAP_FWNMI_MCE] =3D SPAPR_CAP_OFF; + smc->default_caps.caps[SPAPR_CAP_FWNMI_MCE] =3D SPAPR_CAP_ON; spapr_caps_add_properties(smc, &error_abort); smc->irq =3D &spapr_irq_dual; smc->dr_phb_enabled =3D true; @@ -4564,6 +4564,7 @@ static void spapr_machine_4_1_class_options(MachineCl= ass *mc) smc->linux_pci_probe =3D false; compat_props_add(mc->compat_props, hw_compat_4_1, hw_compat_4_1_len); compat_props_add(mc->compat_props, compat, G_N_ELEMENTS(compat)); + smc->default_caps.caps[SPAPR_CAP_FWNMI_MCE] =3D SPAPR_CAP_OFF; } =20 DEFINE_SPAPR_MACHINE(4_1, "4.1", false); --=20 2.17.2