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 lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (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 653B4C982D0 for ; Thu, 17 Sep 2026 20:02:57 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x7IJJ-0002IA-56; Thu, 17 Sep 2026 16:02:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x7IJ8-0002Hi-7y; Thu, 17 Sep 2026 16:02:10 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x7IJ4-0007oC-PX; Thu, 17 Sep 2026 16:02:08 -0400 Received: from pps.filterd (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68HHVUVn1271890; Thu, 17 Sep 2026 20:02:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=HspcvV C0yc84+N/oCcKikDgEU4B/Uhi0PPQzb+sBiq8=; b=XA2gHJUPmvByijeBblEFOO XeQp0FQvsAXFjIsp4r8y3Zta7OiZGaiB/nIV6sVB7lvzOKbVdztNLnpaiiNGeEdJ dqeXFaRRS7s8iJVErc/UEALIHsb0Z3IfqrGQX7JTcZu+EuqLyCJo5FXLHrIiN++V UnVEzbCOpzynE3yjc49Z8Pw8gwKsJoakynAamMbjbpSNNP+7MhaQTI4SQKFd7E1B HjTD8UX3QuG0k4ms6s/MzMifRgXnnV+GUXGnDhrmUXp14iipelILcpSIMyEnc+/Q amMSx3a/R9kU4ahQ81KwJuk5E/HzcDZ2xHvsQFviD4x7316Ah//Pp55VsPrxlGKA == Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4gmxdqmhhs-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 17 Sep 2026 20:02:03 +0000 (GMT) Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 68HH91GH3546859; Thu, 17 Sep 2026 20:02:03 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 4gr5ffc4uf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Sep 2026 20:02:03 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 68HK1v7u45482436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 Sep 2026 20:01:57 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7BA982004E; Thu, 17 Sep 2026 20:01:57 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EE52D20043; Thu, 17 Sep 2026 20:01:53 +0000 (GMT) Received: from [9.43.44.15] (unknown [9.43.44.15]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTP; Thu, 17 Sep 2026 20:01:53 +0000 (GMT) Message-ID: <8fe89a76-5278-433d-8380-d44e6be22421@linux.ibm.com> Date: Fri, 18 Sep 2026 01:33:21 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 4/6] ppc/spapr: Advertise RTAS error injection call support via FDT property To: Narayana Murty N , qemu-devel@nongnu.org, qemu-ppc@nongnu.org, mahesh@linux.ibm.com, sbhat@linux.ibm.com, anushree.mathur@linux.vnet.ibm.com, clg@redhat.com, sourabhjain@linux.ibm.com, adityag@linux.ibm.com Cc: pierrick.bouvier@oss.qualcomm.com, rathc@linux.ibm.com, npiggin@gmail.com, harshpb@linux.ibm.com, amachhiw@linux.ibm.com, hbathini@linux.ibm.com, shivangu@linux.ibm.com References: <20260901174110.45356-1-nnmlinux@linux.ibm.com> <20260901174110.45356-5-nnmlinux@linux.ibm.com> Content-Language: en-US From: Nikhil Kumar Singh In-Reply-To: <20260901174110.45356-5-nnmlinux@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE3MDI4NyBTYWx0ZWRfX1jN0yYV2KQkh lXtV5l6FI9J3g3oBHhh+bGXnhbLnzTVyOgVfTQckHPJRfOVymyskPME6C6qn4RBem+Ec7JwxIKK f5muin3N+BVWIN8nIS+J2SU6iLICTE2OKBfMwOzOx0Aa7OThOudA0p92OZ+bdykDxaRBqnpuX3i 8SAmF6NLLB2qL5JncqrHeD2VVo6J2VlTRU1dzgdsZZN8EKOypkJJCh/KZQhcMLeYMU0ThtexuFH LiKA/XZ8il1Uic0ET+v/CsbI8UUT3IKMm0psmAiPYkJ4krQbQZrSykNwwxHaJAmROKAcPT6A9iI wJgK5RxW6z4+y5K0vqP2MrYBi25MmspVaDjMJ/vU6vld4EarXe/xcfu5umCz4nhbV7D5xBj+AbK h8JH7rc+60YZ8Jnkw+P2EKAmb/5VXnPc+WyqAqJ+rPAsVzo+Dq9XOdHTgLpgEjTOMRi1VKniroU LJVk/dU/wDBKP6FoCeA== X-Proofpoint-GUID: S4tMDIGbnx_rUIZPAp3MMlXpjWZDeCri X-Authority-Analysis: v=2.4 cv=DobDa2/+ c=1 sm=1 tr=0 ts=6aac473c cx=c_pps a=bLidbwmWQ0KltjZqbj+ezA==:117 a=bLidbwmWQ0KltjZqbj+ezA==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=uAbxVGIbfxUO_5tXvNgY:22 a=VnNF1IyMAAAA:8 a=le7Wafm_nr2o8STmhPwA:9 a=QEXdDO2ut3YA:10 X-Proofpoint-ORIG-GUID: 9mOOkeUhDmCj6zd0qMLLd0SH2ve7obqh X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE3MDI4NyBTYWx0ZWRfXx7TsCReDEFpn dA8N//GEBLP5C7UvIJFdvJ2b4+5IUGfRVq19pnmUz3VCgdh/EiopTGNXhjYZsSBI6/krm9R8CEX IHwXhrpTA1uAbbI/s60A3PHD0Sc8flw= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-17_04,2026-09-16_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 malwarescore=0 priorityscore=1501 suspectscore=0 impostorscore=0 spamscore=0 clxscore=1015 adultscore=0 bulkscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609170287 Received-SPF: pass client-ip=148.163.156.1; envelope-from=nikhilks@linux.ibm.com; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 01/09/26 23:11, Narayana Murty N wrote: > + _FDT(fdt_setprop_string(fdt, rtas, "ibm,open-errinjct", > + "ibm,open-errinjct")); > + _FDT(fdt_setprop_string(fdt, rtas, "ibm,close-errinjct", > + "ibm,close-errinjct")); As these 2 calls are already registered via spapr_rtas_register() in Patch 3, QEMU's generic loop will automatically populate their 32-bit integer tokens. By using fdt_setprop_string() here, aren't you overwriting those valid integers with ASCII strings, causing the guest OS to read a garbage token and fail? Can you please clarify on this and drop these two lines? The rest of the patch looks ok to me. Once this concern is addressed, you can add my tag: Reviewed-by: Nikhil Kumar Singh Thanks & Regards ~ Nikhil