Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp789186rwd; Thu, 8 Jun 2023 07:48:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7FpdFpO1qPLelKmJ43ohm7aOUFzqq37KVzr8SPtSyfJW19ziHp2FehRl525v8wYZAr/XCq X-Received: by 2002:a05:6a20:8e02:b0:10b:a464:a662 with SMTP id y2-20020a056a208e0200b0010ba464a662mr5072097pzj.30.1686235683976; Thu, 08 Jun 2023 07:48:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686235683; cv=none; d=google.com; s=arc-20160816; b=EEGA1ghteWqpN6bpiajsHzRVQE2+Sy7yY80PAFgXVBzGB2o6Tnn2o7gB0XYVTp3UgF cr0DU8rRgwI5uE8MfhU/PqAOOJeSD64Gh9J5xFV8hdd7vrCCLT5YMH99xl14i2pr2can Zm2OLzCmUIDW5UPh3Q+Sblb5XzSTfMwHt+B7rTumh7v1g6MgTSBqY3L6FC7dv0ThFgK+ 7LZr843MN3ZgXeFkftDglKFYQ/i8p9g0ebgwD0HGtdRHKpn4qsPiU/CKHnTlaBE6+7nc vs5RdiQm26BxctUHzuqdH5BG7u8S6u+xZfFdXEI80U5iuWydQSfQzMpBomjCRqNYNvmz /p6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=4Dzm9ZqUkht2YXZHAX+S9zuxXmLGzvsDgVE6DZXRErc=; b=itslasIYPZVpERk0yQUgfO8hFPqQU/A9gM9n9r+eWFVrysxNKCiTIQ/rdFtSWSLiVl sHHb0/5bXNFi3N/lu58zeenp5D01S06749slBZqLvXlfZpKl4JZhlCVd/sHtqRhGdjU6 d/nN5dzq14XTsWyUJLPnY3ABvHclSo8/r6iT5XqZHBFbnJFRNKr/IT6MYt6bPC4QImzC y5EmgtRUs/Hu4jfTze6Zw6mtADxa9kevg7Taxt0ihW35Wd6QbGBtD3ZM+jnWqO4HO1Oq qfBB8DIHT2JfAfKGyJh81p2hxe5V6o1+BQs7Ogug3+hHP6CapnrLf7+O6Aw+bgiHmBqI FZMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k188-20020a633dc5000000b0054405633153si1064326pga.754.2023.06.08.07.47.50; Thu, 08 Jun 2023 07:48:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236995AbjFHOgB (ORCPT + 99 others); Thu, 8 Jun 2023 10:36:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236947AbjFHOf6 (ORCPT ); Thu, 8 Jun 2023 10:35:58 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3F5B2D65 for ; Thu, 8 Jun 2023 07:35:55 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-267-NXZg-_eNOaO8RckaE_lZ0g-1; Thu, 08 Jun 2023 15:35:52 +0100 X-MC-Unique: NXZg-_eNOaO8RckaE_lZ0g-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 8 Jun 2023 15:35:49 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Thu, 8 Jun 2023 15:35:49 +0100 From: David Laight To: 'Zhangjin Wu' , "thomas@t-8ch.de" , "w@1wt.eu" CC: "arnd@arndb.de" , "linux-kernel@vger.kernel.org" , "linux-kselftest@vger.kernel.org" , "linux-riscv@lists.infradead.org" , =?utf-8?B?VGhvbWFzIFdlacOfc2NodWg=?= Subject: RE: [PATCH v2 1/4] tools/nolibc: sys.h: add __syscall() and __sysret() helpers Thread-Topic: [PATCH v2 1/4] tools/nolibc: sys.h: add __syscall() and __sysret() helpers Thread-Index: AQHZmE5QSUsfyUxi2UiZnouHjWtcta+A+37Q Date: Thu, 8 Jun 2023 14:35:49 +0000 Message-ID: <94dd5170929f454fbc0a10a2eb3b108d@AcuMS.aculab.com> References: In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Preced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