From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3y7nBh5BlHzDqhg for ; Fri, 6 Oct 2017 22:16:12 +1100 (AEDT) Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v96BEADZ109758 for ; Fri, 6 Oct 2017 07:16:09 -0400 Received: from e11.ny.us.ibm.com (e11.ny.us.ibm.com [129.33.205.201]) by mx0a-001b2d01.pphosted.com with ESMTP id 2de8as9d2f-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 06 Oct 2017 07:16:09 -0400 Received: from localhost by e11.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 6 Oct 2017 07:16:07 -0400 Subject: Re: [PATCH 3/3] powerpc/tm: P9 disable transactionally suspended sigcontexts To: Cyril Bur References: <20171006074643.25269-1-cyrilbur@gmail.com> <20171006074643.25269-3-cyrilbur@gmail.com> Cc: linuxppc-dev@lists.ozlabs.org, mikey@neuling.org From: Gustavo Romero Date: Fri, 6 Oct 2017 08:16:02 -0300 MIME-Version: 1.0 In-Reply-To: <20171006074643.25269-3-cyrilbur@gmail.com> Content-Type: text/plain; charset=windows-1252 Message-Id: <59D765F2.3090601@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Cyril, On 06-10-2017 04:46, Cyril Bur wrote: > From: Michael Neuling > > Unfortunately userspace can construct a sigcontext which enables > suspend. Thus userspace can force Linux into a path where trechkpt is > executed. > > This patch blocks this from happening on POWER9 but sanity checking > sigcontexts passed in. I think "but" should say "by" as pointed out by Joel and acked by Mikey previously. Regards, Gustavo