From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3B50C3F2D2 for ; Fri, 28 Feb 2020 10:34:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B6F78246A8 for ; Fri, 28 Feb 2020 10:34:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="D2G54I+o" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726811AbgB1KeD (ORCPT ); Fri, 28 Feb 2020 05:34:03 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:49872 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbgB1KeC (ORCPT ); Fri, 28 Feb 2020 05:34:02 -0500 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01SAOx2a064467; Fri, 28 Feb 2020 10:33:19 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=sWDl/64C6L9wSbdzTINscUAVJdjBfes266kwiX2SvXk=; b=D2G54I+oBgd9wCebz+GsAHafaMjgBDjuH/LmebEpCmSU4uxkzzGefCoRgdd4ls/WnqZ4 CBsGK4KqdLLMUh6aS/tzAW55x47hgdNRCqQxI4xCulZ+VbHcThbiGbHWdqNmvg2so9vU rVX/aE7Hn/vmayJLM8EPq6fWas6DIPQsg5jUHdfkPfATnzzx7ElqrXo7tRXfAAHZlzhM bUYkIknY+1vW/T1OW8/mz0IAQJXV5KP6cMpsKBHZkqs/YWD/5fJiczrWlki8p+kO3pkp vW/OYgMEPPy11sUaZbxtmkFLr980kDUpOB9acfp4P+y7vjplnKOE+e/f7PCldBLcqKRA Sw== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 2yf0dm8bww-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 28 Feb 2020 10:33:19 +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 01SAWMXZ192560; Fri, 28 Feb 2020 10:33:18 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 2ydcsdqfm8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 28 Feb 2020 10:33:18 +0000 Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 01SAXFap020430; Fri, 28 Feb 2020 10:33:15 GMT Received: from [10.39.209.75] (/10.39.209.75) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 28 Feb 2020 02:33:14 -0800 Subject: Re: [patch 05/24] x86/entry/32: Provide macro to emit IDT entry stubs To: Thomas Gleixner , LKML Cc: x86@kernel.org, Steven Rostedt , Brian Gerst , Juergen Gross , Paolo Bonzini , Arnd Bergmann References: <20200225221606.511535280@linutronix.de> <20200225222648.682036985@linutronix.de> From: Alexandre Chartre Organization: Oracle Corporation Message-ID: <924309e4-0107-a2a7-0b4f-aca6b458723c@oracle.com> Date: Fri, 28 Feb 2020 11:33:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <20200225222648.682036985@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=9544 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 spamscore=0 suspectscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002280087 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9544 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 phishscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002280086 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/25/20 11:16 PM, Thomas Gleixner wrote: > 32 and 64 bit have unnecessary different ways to populate the exception > entry code. Provide a idtentry macro which allows to consolidate all of > that. > > Signed-off-by: Thomas Gleixner > --- > arch/x86/entry/entry_32.S | 42 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > Reviewed-by: Alexandre Chartre alex.