Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2873325rwb; Fri, 16 Dec 2022 07:31:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXug+dqEJl0npFbP9f9IVQOhJZd0a36Qsz4qPi08b2BWtF29Dk/vQKow52a83vbbjVw8L6br X-Received: by 2002:a17:90a:8586:b0:223:3642:f74d with SMTP id m6-20020a17090a858600b002233642f74dmr10499751pjn.37.1671204690185; Fri, 16 Dec 2022 07:31:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671204690; cv=none; d=google.com; s=arc-20160816; b=QXsq72GlLpmTwNnMrILO05iF+NL7s+DhmxPn5WSmGs3YT9YxB+MmaQO7VhNjjifX2m ra/SUwd96mCLYbBc0UCugPnr4kZ0Lb3Q207x+7hvawtI2SUpHF3BGl7ibMD/6/o9qi4r liR3XggpI2bWYkWrSodAQoGaPzJvgKiRQwK96uIG1LJlFn7K9/eXl5A9uYe8Ak8TIyVL SLOC+OHi/QkJRde0IsN7g0UQqDhHHiFfOofYkUqpZsxInlKeUnag5Y2hVSy+Yxdett5X 2v0KiShl9JyxLrFiF9VfRT023vpHZ+RfRwENXJBqzRBLD0Cpon8eFHgZh1tc1CxjUj8V 3HZA== 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=ZD9A/4/qBjpCRmlq6B3QgMXN4R+VGWsYJIefTZvONxE=; b=KvcclcLg/0s97Jd8CYthGvt7y26p9LGuxJGOeE9Ox4wJEb/J68yLnhyfQpHFj5tLvL IJgz1bGCyM3xyqtjaT6S7UyBaDh3tbgHTjfg2/S2wKcdH9QL3h3zWwCqJYcIFTiyTjKR YOxXex6JN7RN+bzHtogPo8qj5lDtn4/g7SHORPJq1hcYhzYdRcBYjVDRLJ6tmZit4ubi riEyaXfFBUR9ZGWBl/1JHvdH5eC0KM3XzEApwZT49ngBjHWatpG9EeqMSQZgVqmvJwGh EY3MQVQWwT+Hg5t/MtARio+D/zqP3Pq/ZFndGNhUMN+gdKu8tssaxljCbYVgdXl+P/nZ mmGg== 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 rm11-20020a17090b3ecb00b00218592c28casi9691975pjb.33.2022.12.16.07.31.20; Fri, 16 Dec 2022 07:31:30 -0800 (PST) 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 S230118AbiLPPZw convert rfc822-to-8bit (ORCPT + 68 others); Fri, 16 Dec 2022 10:25:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229928AbiLPPZu (ORCPT ); Fri, 16 Dec 2022 10:25:50 -0500 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94DAB21255 for ; Fri, 16 Dec 2022 07:25:48 -0800 (PST) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-80-_OXu78BEO5abMLAtHBU1jQ-1; Fri, 16 Dec 2022 15:25:46 +0000 X-MC-Unique: _OXu78BEO5abMLAtHBU1jQ-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.42; Fri, 16 Dec 2022 15:25:42 +0000 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.044; Fri, 16 Dec 2022 15:25:42 +0000 From: David Laight To: 'Andreas Schwab' CC: "'Leizhen (ThunderTown)'" , Geert Uytterhoeven , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , "live-patching@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Masahiro Yamada" , Alexei Starovoitov , "Jiri Olsa" , Kees Cook , Andrew Morton , Luis Chamberlain , "linux-modules@vger.kernel.org" , "Steven Rostedt" , Ingo Molnar , linux-m68k , "Jason A. Donenfeld" Subject: RE: [PATCH v9] kallsyms: Add self-test facility Thread-Topic: [PATCH v9] kallsyms: Add self-test facility Thread-Index: AQHZEWHMzV5WljPUpEGVjsixemOWL65wodIQ Date: Fri, 16 Dec 2022 15:25:42 +0000 Message-ID: <1ba1fadb39994a4d91edabdfd9d69fa6@AcuMS.aculab.com> References: <20221115083349.1662-1-thunder.leizhen@huawei.com> <49070ac3-02bb-a3b3-b929-ede07e3b2c95@huawei.com> <4aaede14-8bd3-6071-f17b-7efcb5f0de42@huawei.com> <66ec4021-b633-09ba-73ee-b24cdb3fa25a@huawei.com> <06345dca-0afb-00a5-c9e9-5ba830d8ad05@huawei.com> <52450ec1da164d6d87587063c3b3d3d2@AcuMS.aculab.com> <592dce7a0de24c62bd31c29f86ce6c1b@AcuMS.aculab.com> <87pmcjidfe.fsf@igel.home> In-Reply-To: <87pmcjidfe.fsf@igel.home> 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: 8BIT X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,PDS_BAD_THREAD_QP_64, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andreas Schwab > Sent: 16 December 2022 15:20 > > On Dez 16 2022, David Laight wrote: > > > 'cs' and 'ct' should be input parameters. > > They are (and output as well). Right, but the 'output' values aren't needed and get discarded because the asm block in inside a static inline. It could be a recipe just waiting to go wrong. But I bet the actual problem is the output register aliasing one of the inputs and then reading from very low user addresses - I bet they don't fault on m68k. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)