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=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 4E5C1C433DF for ; Wed, 20 May 2020 00:29:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1C31B20708 for ; Wed, 20 May 2020 00:29:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589934599; bh=dFHH4t3ylPjs3pc1IcJfv/L3lTknqDNi2zFrHwpCiN0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=GJIYTHEVBRNJmqI1n58sIXHZNI9SMuHEpAww+sVunL8lOJFSG5D+VoLsPZSl1942N vAlggAwB9EfziMCCU+UiOtlOH2PD4W3B43aNMMMo5tw6o12zOp8NDhgIEIhtFqKa/S YC0WdA+wOmaeAm3U4XV608C3lf3zr7q3Zfrhu5mY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728100AbgETA36 (ORCPT ); Tue, 19 May 2020 20:29:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:41926 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726352AbgETA35 (ORCPT ); Tue, 19 May 2020 20:29:57 -0400 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A93562087D for ; Wed, 20 May 2020 00:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589934596; bh=dFHH4t3ylPjs3pc1IcJfv/L3lTknqDNi2zFrHwpCiN0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VbuvxEz0lkx6JN32AyKOKs5i3cAMRjqqOk1BJBAwXW0W1TQm1ElmkwfSsTRuH/FMG k9Vuih125H9RLGguT+z9Zv8K6IwilUh4U7XkQq/MfuVG/Fh0pwtihrdyCVpxHuWaPC hdj/K6PngVywun/W4Ob+xvg3fyPkHEtsQLwCYcoA= Received: by mail-wm1-f51.google.com with SMTP id m185so1102945wme.3 for ; Tue, 19 May 2020 17:29:56 -0700 (PDT) X-Gm-Message-State: AOAM530MDuM1sWZ74z9gWgd9yQWm3of4gigRPS88Mj3czz/i4xeTw7PS z80Q2Q3eeLllTA4OIwTwEFfG1Uf9JRmaTKqPg4/oEw== X-Google-Smtp-Source: ABdhPJwun4yxBGtVbah2M4PVTclCKxFkwGKi6aq2I0UN4FumY+vdUiYwHCTSFezLrD9KNVPzS4emJSTy1HMXjePcD9Q= X-Received: by 2002:a05:600c:2299:: with SMTP id 25mr1967742wmf.138.1589934595163; Tue, 19 May 2020 17:29:55 -0700 (PDT) MIME-Version: 1.0 References: <20200515234547.710474468@linutronix.de> <20200515235126.724725645@linutronix.de> In-Reply-To: <20200515235126.724725645@linutronix.de> From: Andy Lutomirski Date: Tue, 19 May 2020 17:29:43 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [patch V6 23/37] x86/entry: Provide IDTENTRY_SYSVEC To: Thomas Gleixner Cc: LKML , X86 ML , "Paul E. McKenney" , Andy Lutomirski , Alexandre Chartre , 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 , Tom Lendacky , Wei Liu , Michael Kelley , Jason Chen CJ , Zhao Yakui , "Peter Zijlstra (Intel)" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 15, 2020 at 5:10 PM Thomas Gleixner wrote: > > > Provide a IDTENTRY variant for system vectors to consolidate the different > mechanisms to emit the ASM stubs for 32 an 64 bit. > > On 64bit this also moves the stack switching from ASM to C code. 32bit will > excute the system vectors w/o stack switching as before. As some of the > system vector handlers require access to pt_regs this requires a new stack > switching macro which can handle an argument. Is that last sentence obsolete? Otherwise, Acked-by: Andy Lutomirski