Received: from eggs.gnu.org ([2001:4830:134:3::10]:51020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2ZYI-0003CL-MN for qemu-devel@nongnu.org; Thu, 03 Jul 2014 01:27:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2ZYB-0001r7-Tc for qemu-devel@nongnu.org; Thu, 03 Jul 2014 01:27:22 -0400 Received: from e28smtp08.in.ibm.com ([122.248.162.8]:35151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2ZYB-0001oF-B8 for qemu-devel@nongnu.org; Thu, 03 Jul 2014 01:27:15 -0400 Received: from /spool/local by e28smtp08.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 3 Jul 2014 10:57:12 +0530 From: Nikunj A Dadhania In-Reply-To: <53B4D0E8.5070600@ozlabs.ru> References: <1404117329-7899-1-git-send-email-nikunj@linux.vnet.ibm.com> <53B4D0E8.5070600@ozlabs.ru> Date: Thu, 03 Jul 2014 10:57:07 +0530 Message-ID: <87wqbvnhas.fsf@abhimanyu.in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v5] ppc: spapr-rtas - implement os-term rtas call List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy , qemu-devel@nongnu.org Cc: Tyrel Datwyler , Benjamin Herrenschmidt , qemu-ppc@nongnu.org, Anton Blanchard , Alexander Graf Alexey Kardashevskiy writes: > On 06/30/2014 06:35 PM, Nikunj A Dadhania wrote: >> PAPR compliant guest calls this in absence of kdump. This finally >> reaches the guest and can be handled according to the policies set by >> higher level tools(like taking dump) for further analysis by tools like >> crash. >> >> Linux kernel calls ibm,os-term when extended property of os-term is set. >> This makes sure that a return to the linux kernel is gauranteed. >> >> CC: Benjamin Herrenschmidt >> CC: Anton Blanchard >> CC: Alexander Graf >> CC: Tyrel Datwyler >> Signed-off-by: Nikunj A Dadhania >> diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h >> index bbba51a..4e96381 100644 >> --- a/include/hw/ppc/spapr.h >> +++ b/include/hw/ppc/spapr.h >> @@ -382,7 +382,6 @@ int spapr_allocate_irq_block(int num, bool lsi, bool msi); >> #define RTAS_GET_SENSOR_STATE (RTAS_TOKEN_BASE + 0x1D) >> #define RTAS_IBM_CONFIGURE_CONNECTOR (RTAS_TOKEN_BASE + 0x1E) >> #define RTAS_IBM_OS_TERM (RTAS_TOKEN_BASE + 0x1F) >> -#define RTAS_IBM_EXTENDED_OS_TERM (RTAS_TOKEN_BASE + 0x20) > > > So we never ever going to implement this RTAS call? Yeah, as its an RTAS property an not a call. > I'd keep the number. Regards Nikunj