Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4883245pxj; Wed, 12 May 2021 15:36:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSjEHRXYpx1OrcD5AE3jwIPenlt850MG4xxFJ893GL+r+ChFIbmfuKlS0Ql+E9UV3enPPi X-Received: by 2002:a05:6402:487:: with SMTP id k7mr15864365edv.315.1620859013657; Wed, 12 May 2021 15:36:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620859013; cv=none; d=google.com; s=arc-20160816; b=URK6Y+YrVJoY2G/h2uvqnZCVinHKXSY9m2kJ2KT0MtKSgj/rIwlr5mWgelas5JNufr tq0QPfkdrGnHrJDhraaatLubY8rovxOAbqy2w4+dOQNRnnN4Zk7Lzkab+gOzvrcVTh9W Oo685PPM49ecaEygWo+Lj/Xva08sxbbRnMfsmCbXr2Q6HaYeSMCpSirxCR2bm9GDNOC0 26GLIsbWNsNX4j5cp8gcRC73BDKia3rfJBWfvCjugGpCg1pUGTufvunQByy2fAmADikM PTMOyI/sikQPnc3GgJJZEaES6GDYql1CCu49nDRB0kwTa7PMCroyBjnWdAui9bmnvkZ1 y9Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=jGFID5hbvdrny8vdO/7dK4gdvpGzABRsXw2hjMkzC/s=; b=OGJ28n9aAYe87jMTXGJi+XvS8saJ7LjJScp3e3oCk0rzSQ7Ir+efcD5FT/+CiGvwDk ZZTWy4C5IV14tWJHt2du8xnsa8w+7LJW1X38vz01QMGkVEQg0Ce/SfcOEMlptTv+UCI/ 5ylA+WpTSHZHj7CMuaqtzb+4Sv/75vilbGR9D3bIp5v764mVRUH+M2C9av8poa3foj+N cXmodgWvTLbl/8guDj+MJC8Kc1uHE6CoxLvrppZrNU9ILsUISHxQ5AXoKGB/O3UJ/VsI NJAT1iNwgcIBYur1O6id7O2NUVvm2K+aTj/qVKyvVefK7Y4GOCA8jWUD9Gnw3yYE9ryB pJ3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PlnJ39VF; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=wIJGBrUE; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si945586ede.234.2021.05.12.15.36.10; Wed, 12 May 2021 15:36:53 -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=@linutronix.de header.s=2020 header.b=PlnJ39VF; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=wIJGBrUE; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349021AbhELW24 (ORCPT + 99 others); Wed, 12 May 2021 18:28:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239535AbhELWXR (ORCPT ); Wed, 12 May 2021 18:23:17 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3E0FC061761 for ; Wed, 12 May 2021 15:22:07 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1620858126; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jGFID5hbvdrny8vdO/7dK4gdvpGzABRsXw2hjMkzC/s=; b=PlnJ39VFhObqUWUaU3Kd9mVCLyZ0hqSTR2eet7RIYLR06SYuV4r1CCjK7TasBenzzEI0Ds 5eE7NtI5PF4Vn8bllaYSGDvUyJVTYUK1vSMhnWqAyxyZXhhIxVA4mEImT2GCeWNSy4pG5R Sn3ODKb47PvSJ8JTzHYpbS3YyBbRdnfNAGrFuroMRVVTgRxEdVmVsIqkP9gwXywZ+b6p2b K1O38KTud+R1JjOFIbQmdAYduP3O3Ch+Yxi6kmuFDVggFcf4WcFwAKTiTRQE0FStoHGe6o L9vsiFWLIKpcDk4MSU7Ae9GYIDN48FYTX610M7PmL+ACZjaYota1vOGfsbEuvg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1620858126; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jGFID5hbvdrny8vdO/7dK4gdvpGzABRsXw2hjMkzC/s=; b=wIJGBrUERFqMiNZacQXR3BgedEHZF9PcBDAeylY0FHsNdEKlMTf3Hv8ZQgNLCRpy2H9oCt BfK7eBvsWIb4ZjBg== To: "H. Peter Anvin" , Ingo Molnar , Borislav Petkov , Andy Lutomirski Cc: Linux Kernel Mailing List Subject: Re: [RFC v2 PATCH 7/7] x86/entry: use int for syscall number; handle all invalid syscall nrs In-Reply-To: References: <871racf928.ffs@nanos.tec.linutronix.de> <60495dd3-ea68-4db3-47ad-b7b45796bf76@zytor.com> <87o8dfer7k.ffs@nanos.tec.linutronix.de> Date: Thu, 13 May 2021 00:22:05 +0200 Message-ID: <87mtsz619u.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 12 2021 at 15:09, H. Peter Anvin wrote: > On 5/12/21 11:34 AM, Thomas Gleixner wrote: >>> >>> That is intentional, as (again) system calls are int. >> >> They are 'int' kernel internally, but _NOT_ at the user space visible >> side. Again: man syscall >> >> syscall(long number,...); >> >> So that results in a user ABI change. >> >>> As stated in my reply to Ingo, I'll clean the various descriptions and >>> try to capture the discussion better. >> >> If we agree to go there then this wants to be a seperate commit which >> does nothing else than changing this behaviour. >> > > Good idea. > > As far as this being a user ABI change, this is actually a revert to the > original x86-64 ABI; see my message to Ingo. I'm not against that change, but it has to be well justified and the reasoning wants to be in the changelog. You know the drill :) Thanks, tglx