Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp889059ybj; Thu, 7 May 2020 09:53:51 -0700 (PDT) X-Google-Smtp-Source: APiQypJjfX6SR9VO+ZeikvFNen25AIbFlzeNeySpUTFVCvdyvT5ZvP7ZE2ARH55xx8Wnq/nyucji X-Received: by 2002:a05:6402:3129:: with SMTP id dd9mr13034444edb.121.1588870431090; Thu, 07 May 2020 09:53:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588870431; cv=none; d=google.com; s=arc-20160816; b=cjNIcJ1gqgqeBlRnYLFOuxZYzq2Nqy3+KbughhNr7ydTcXY7b7PwF7lozyLL20F3qn T0Kzn4bG1O1cHYuOd7jLupMMYc6tVhxMQ6Q/+l+9c81aZ3lTpVpbYawOYVk1KgtxWWOh pnL+cYBsYSqCXAjrxlx8TM/BBj/FddomOXkRGxi7iXqa//q5Ptl+4TQstgDNqoqNubcl L3N5ENMRT6yGk7PMfu875KYQ+0w6e7xRrJiRuELEJJUcp9ERyQZCQ5wWF5PeIItEoXLX 9q0kvx09r/SYcw3VWU4k/LhqRDdYWI8PUj7rFYDK3+ZMbuujYP+ZPhuJVh8K4RQ4GOdU ey6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=yIKBOEyYFtcnZSrQHZ63Llg0wM2ybFJLkN8J9aa02fQ=; b=rBFn1/n9x8dkg4Pz1Dl+iLj01h7BF3XvM0rGE1HbntAy3J45IdrYN5OUXXRcbALlue rUjAhq6vvLBQMCcw98QXRsgd198zdEtsONAblsdzUv69lfZNLG9/zj7suimIwsZv46Iq +h648cDjYhQllfl/uyV5ZGk28NiXAAGQO4ewmOyzwcpphhIxjYVyqtPt8m/9r53n3+6K z3MnT9/FOaIxk2kGO/gfG4bHxgV/uCUhAu6sawzeWqIf4r/myQXzTNKcwitMKlAFWq94 msqHwUbhDuHCh6yn96971W4jo7ltySp0VIUtvA+PE6rnk4sy6DKTKlzWK0pirfWlw6ok Y+Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=wxkYhOFw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si3602333ejb.380.2020.05.07.09.53.27; Thu, 07 May 2020 09:53:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=wxkYhOFw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726948AbgEGQtV (ORCPT + 99 others); Thu, 7 May 2020 12:49:21 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:55366 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726222AbgEGQtU (ORCPT ); Thu, 7 May 2020 12:49:20 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 047GltQV085445; Thu, 7 May 2020 16:48:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=yIKBOEyYFtcnZSrQHZ63Llg0wM2ybFJLkN8J9aa02fQ=; b=wxkYhOFwU+tW8VDjRLAutcIyUVXGvkhE7c2+1dvCPlZN5RvJ4dlAqGidtOr0dN+qBuGn StTTM7ZcyEdyUYFOT7hCSQmJYi1o1yBa2saTm9yYPYtTgibk4F5We3PJOADucxPgfslk A2JpD6rTqaOnpcqniZJ62KWREzy4D3PYIZjSVwu3DJz6qt+u5ZC3SVSsZuhRIAQspsu/ jEKa7GOOJMtOIOMumvWY547joeXxL3nOadls9KIouelXL9J8APCa0uunZF39vRQZzL5k lcY3Hew8V7PNZ8KzPjdaN00WCb+Vl9WNNy1E7Tr4RDM/9/tpoJ639BOhEQtNfOe4vmAw Rw== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 30veckjphe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 May 2020 16:48:30 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 047GlWlQ044604; Thu, 7 May 2020 16:48:29 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 30sjnpwf4y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 May 2020 16:48:29 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 047GmSiV031930; Thu, 7 May 2020 16:48:28 GMT Received: from linux-1.home (/92.157.36.49) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 May 2020 09:48:27 -0700 Subject: Re: [patch V4 part 3 29/29] x86/entry/32: Convert IRET exception to IDTENTRY_SW To: Thomas Gleixner , LKML Cc: x86@kernel.org, "Paul E. McKenney" , Andy Lutomirski , Frederic Weisbecker , Paolo Bonzini , Sean Christopherson , Masami Hiramatsu , Petr Mladek , Steven Rostedt , Joel Fernandes , Boris Ostrovsky , Juergen Gross , Brian Gerst , Mathieu Desnoyers , Josh Poimboeuf , Will Deacon References: <20200505134354.774943181@linutronix.de> <20200505134906.128769226@linutronix.de> From: Alexandre Chartre Message-ID: Date: Thu, 7 May 2020 18:47:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200505134906.128769226@linutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9614 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 malwarescore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005070136 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9614 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxscore=0 bulkscore=0 spamscore=0 malwarescore=0 impostorscore=0 clxscore=1015 lowpriorityscore=0 phishscore=0 mlxlogscore=999 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005070136 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/5/20 3:44 PM, Thomas Gleixner wrote: > From: Thomas Gleixner > > Convert the IRET exception handler to IDTENTRY_SW. This is slightly > different than the conversions of hardware exceptions as the IRET exception > is invoked via an exception table when IRET faults. So it just uses the > IDTENTRY_SW mechanism for consistency. It does not emit ASM code as it does > not fit the other idtentry exceptions. > > - Implement the C entry point with DEFINE_IDTENTRY_SW() which maps to > DEFINE_IDTENTRY() > - Fixup the XEN/PV code > - Remove the old prototyoes > - Remove the RCU warning as the new entry macro ensures correctness > > No functional change. > > Signed-off-by: Thomas Gleixner > For all patches of part 3: Reviewed-by: Alexandre Chartre alex