Received: by 2002:a05:6520:4211:b029:f4:110d:56bc with SMTP id o17csp1617718lkv; Wed, 19 May 2021 14:10:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNnDybGkP0P0HwUeT8yl4MET9yMm/UFgrwwps8GA2PPMWR+kR3ktKxu+IXQDiZkJkvoEWR X-Received: by 2002:a05:6602:2d8f:: with SMTP id k15mr1734435iow.114.1621458635199; Wed, 19 May 2021 14:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621458635; cv=none; d=google.com; s=arc-20160816; b=GidtCFXzV33op4VoxhCLVBdh5Wih2fcOzyYMnNzqFiWTksq25SYY+i/iUf/UaI4Znx 3RwBoiLDAkeFreD1Z7gOPQmG0rCvKLZ6kgLz6foTrdelWE3S8puus0da2E6GeIcmtX2e yKsWZEtvOw+snwA9B0fYjkVGyqfoFQ2/E7U2C3DymSuhDPg3PcuJeLog+Vy8EBp+ddIN yY7MeMgpDZZT5BGhHcq5M/sx5fTvZLi2n6ekohJa4g4Z8W+cxgRdJoyXjHVKGUX2YekU opohIKd0wcE6zmWEQ7QBXrU1p2saNBev80WR19Zplm11PJ7hIHUP4IL/dmQSrBtPXZ2P e7MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=LC8qtVxdEwMMgytLujeez3/2qAxymscp6HYNZSziD5Y=; b=cADgosE/SJyW/G1aO8aSPMPIWtn7oca0fOxeoPjEDBE8/vZhiwwvTq58X1duAfJ7Jw PSIUnEg2CrRzavx0ofHKQLHDrpuFtRslduDmGCDz/2G7POKiauXlUH7YqkmxHvGBRsX1 TztmDa9FDY1Bw3ip/BtqpXqGGCJKnAUzD+F7cnFB+AvYLF2SJak3/xN053oPp/Omhz4q va4a9ACBJ5PTCLpwW91KXyIDLzm5qXrEmkbdWEEV3CJOuLHzfX/2M2klqBjvgmcxgRro 4XnN4VDm+Fu+IaRNyk4F+/gicXqqmUxnM7hbduwwTeAT6Sepn2B4GaB4TWW4AXGDABqd MVWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tbjRnDfF; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si554300jat.59.2021.05.19.14.10.22; Wed, 19 May 2021 14:10:35 -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=@gmail.com header.s=20161025 header.b=tbjRnDfF; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350716AbhESLa4 (ORCPT + 99 others); Wed, 19 May 2021 07:30:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbhESLaz (ORCPT ); Wed, 19 May 2021 07:30:55 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE0C6C06175F for ; Wed, 19 May 2021 04:29:32 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id lg14so19437131ejb.9 for ; Wed, 19 May 2021 04:29:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LC8qtVxdEwMMgytLujeez3/2qAxymscp6HYNZSziD5Y=; b=tbjRnDfF6QQXUhnFCrHPAeUrE+OEw/Myy3ioaox8ON7T5DZq+3Kgh4uIXPbiJU0nIc gmwbhhGMmFgQuPDLUhCUQyCWJn2EIme8NiU+n8VEZqLMnKFBt5/7GkzP9vIR1cMQY63S CpZ3Ko4Ov3jjYaMoCHdtz0b4VgyXcI5m6X0G+yCz0XYH5OjoERKw5WqecKvpmj7dyv3s Qp4qDUzPFgp5YnR1SHBtyoMzqivFqzEuzQ5NrAxE1VTVRNpP8BIJWEraygya7o89urgF qgnv+n4Vm+JeyUGcPXMP4gAEymLnAoYtjUStc3Bw/73BnYXFd8taK3L/cOQpjvDfz3Oo a5MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=LC8qtVxdEwMMgytLujeez3/2qAxymscp6HYNZSziD5Y=; b=ZhjXMcEr/p2NWss/DQFAh6xBaGdrLLXP4/ma/Pqw10/kT2E5Uc0KqZw2jTYvcKXRR0 hCsfFvm6Qib/DyZiELOhx9y7BYS/tfYj9YUrSx/BZCqMySja5vaHaKD9ByVYbAQ3/Ww0 RJULLliVA+x7oKdbiRw/A87hDxD1ndRmA6o7rOZOJbNI+hjSWlzTD/iLHsp5lqSvC0EA JDGT0jk65oHLW4wggRuQ2BpdumlrBxo3Dkzed3hnCZR2UhKoIdpP/TrTmmix6nAY3gHo D9UkTn7uPAp5F7Kw1PnJJ9FMwdG2PZc9hf9ckz8SG3aXkRcB4w5H0ecQM9tvQBLm0sk1 OTVA== X-Gm-Message-State: AOAM5312L34IBwwlAWeZfhLCxXSow7Jeavn+5febgjgDQYhRhgVOmZ8s x+S25CMo8Ft08wVqU75XKKcVM6/Uxbo= X-Received: by 2002:a17:906:22c6:: with SMTP id q6mr12047472eja.275.1621423771431; Wed, 19 May 2021 04:29:31 -0700 (PDT) Received: from gmail.com (563BBFD3.unconfigured.pool.telekom.hu. [86.59.191.211]) by smtp.gmail.com with ESMTPSA id k21sm1885861ejp.23.2021.05.19.04.29.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 04:29:30 -0700 (PDT) Sender: Ingo Molnar Date: Wed, 19 May 2021 13:29:29 +0200 From: Ingo Molnar To: "H. Peter Anvin" Cc: Thomas Gleixner , Ingo Molnar , Andy Lutomirski , Borislav Petkov , Linux Kernel Mailing List Subject: Re: [PATCH v4 0/6] x86/syscall: use int for x86-64 system calls Message-ID: References: <20210518191303.4135296-1-hpa@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210518191303.4135296-1-hpa@zytor.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * H. Peter Anvin wrote: > From: "H. Peter Anvin (Intel)" > > This patchset addresses several inconsistencies in the handling of > system call numbers in x86-64 (and x32). > arch/x86/entry/common.c | 93 +++-- > arch/x86/entry/entry_64.S | 2 +- > arch/x86/include/asm/syscall.h | 2 +- > tools/testing/selftests/x86/syscall_numbering.c | 488 +++++++++++++++++++++--- > 4 files changed, 508 insertions(+), 77 deletions(-) Thanks Peter - this series is really nice now, and I agree that this inconsistency should be fixed. Thanks, Ingo