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 EA3E3C3F2D1 for ; Fri, 28 Feb 2020 09:40:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BC63024672 for ; Fri, 28 Feb 2020 09:40:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="bnhYWmu7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726874AbgB1Jkl (ORCPT ); Fri, 28 Feb 2020 04:40:41 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:53522 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbgB1Jkk (ORCPT ); Fri, 28 Feb 2020 04:40:40 -0500 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 01S9chbc165531; Fri, 28 Feb 2020 09:39:54 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=gm+jit9WiriLmJF7IPwgCrIpTby4gffYqefkK7hcTpE=; b=bnhYWmu7mPJ3ATf+cH3lqCBTo20zdTc2YpS+v0TLLJEW7aEi9lLU4kni3qIOzd3MARsE MvsXIwOqeuaINDleF55nU9fEwwaHvteHpwGw4jGjMyVwBi+Gqx1GvyBoj7mQKRiUTyRO FzVtQunWxGXTLCXbmwnTfthISeoUlgJQd/kiVtHdTkVN3e9VqrapNPUadA+1inHE4bnO NM73HRac+JOCs/UffkxnipgYmzuIqjLuym7DK1dzQK6Qv24rqLcuaa7MGUzerSEUxqqb zDzcD+WbTlj3WmHT2pvTjHxcJbJHv79VjMWZtq8PrcJWouVI6RPmFKsPM0OMNk1U0SsR 7A== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2ydct3hn4h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 28 Feb 2020 09:39:54 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01S9cGRl167368; Fri, 28 Feb 2020 09:39:53 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 2ydj4q9pxc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 28 Feb 2020 09:39:53 +0000 Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 01S9dq94023431; Fri, 28 Feb 2020 09:39:52 GMT Received: from [10.39.209.75] (/10.39.209.75) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 28 Feb 2020 01:39:51 -0800 Subject: Re: [patch 01/24] x86/traps: Split trap numbers out in a seperate header To: Thomas Gleixner , LKML Cc: x86@kernel.org, Steven Rostedt , Brian Gerst , Juergen Gross , Paolo Bonzini , Arnd Bergmann References: <20200225221606.511535280@linutronix.de> <20200225222648.285655538@linutronix.de> From: Alexandre Chartre Organization: Oracle Corporation Message-ID: <293b53f4-b419-4967-929c-a6367dbb9115@oracle.com> Date: Fri, 28 Feb 2020 10:39:54 +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.285655538@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 bulkscore=0 phishscore=0 suspectscore=0 spamscore=0 adultscore=0 malwarescore=0 mlxlogscore=999 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002280080 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9544 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 bulkscore=0 impostorscore=0 spamscore=0 priorityscore=1501 malwarescore=0 adultscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002280080 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: > So they can be used in ASM code. For this it is also necessary to convert > them to defines. Will be used for the rework of the entry code. > > Signed-off-by: Thomas Gleixner > --- > arch/x86/include/asm/trapnr.h | 31 +++++++++++++++++++++++++++++++ > arch/x86/include/asm/traps.h | 26 +------------------------- > 2 files changed, 32 insertions(+), 25 deletions(-) > Reviewed-by: Alexandre Chartre alex.