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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D59E7C2D0CC for ; Thu, 15 Dec 2022 14:58:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229786AbiLOO6H (ORCPT ); Thu, 15 Dec 2022 09:58:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbiLOO6F (ORCPT ); Thu, 15 Dec 2022 09:58:05 -0500 X-Greylist: delayed 377 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 15 Dec 2022 06:58:04 PST Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B4292F65B; Thu, 15 Dec 2022 06:58:03 -0800 (PST) Received: from frontend03.mail.m-online.net (unknown [192.168.6.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4NXwDH3L4Zz1s7td; Thu, 15 Dec 2022 15:51:43 +0100 (CET) Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4NXwDG6gW7z1qqlR; Thu, 15 Dec 2022 15:51:42 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new, port 10024) with ESMTP id MCfDl9-9q1u1; Thu, 15 Dec 2022 15:51:41 +0100 (CET) X-Auth-Info: kSr35qTNpPStqMNbyk6H06PVKUXS/dvOYpUkCovEhc47FsWskNcys0YbNBFvy8Yd Received: from hawking (unknown [81.95.8.244]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 15 Dec 2022 15:51:41 +0100 (CET) From: Andreas Schwab To: Geert Uytterhoeven Cc: "Leizhen (ThunderTown)" , 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 , David Laight , linux-m68k , "Jason A. Donenfeld" Subject: Re: [PATCH v9] kallsyms: Add self-test facility References: <20221115083349.1662-1-thunder.leizhen@huawei.com> <49070ac3-02bb-a3b3-b929-ede07e3b2c95@huawei.com> X-Yow: Loni Anderson's hair should be LEGALIZED!! Date: Thu, 15 Dec 2022 15:51:40 +0100 In-Reply-To: (Geert Uytterhoeven's message of "Thu, 15 Dec 2022 15:43:00 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: On Dez 15 2022, Geert Uytterhoeven wrote: > start > kallsyms_lookup_name() for kallsyms_test_func_static failed: > addr=8dbc, expect 60308 > kallsyms_lookup_name() for kallsyms_test_func failed: addr=8dbc, > expect 60318 > kallsyms_lookup_name() for kallsyms_test_func_weak failed: > addr=8dbc, expect 6031a > kallsyms_lookup_name() for vmalloc failed: addr=8dbc, expect bdc88 > kallsyms_lookup_name() for vfree failed: addr=8dbc, expect bd6de Curiously addr always comes out the same. What symbol does it resolve to? > kallsyms_on_each_match_symbol() for kallsyms_test_func_static > failed: count=24890, addr=1ee870, expect 60308 > kallsyms_on_each_match_symbol() for kallsyms_test_func failed: > count=24890, addr=1ee870, expect 60318 > kallsyms_on_each_match_symbol() for kallsyms_test_func_weak > failed: count=24890, addr=1ee870, expect 6031a > kallsyms_on_each_match_symbol() for vmalloc failed: count=24890, > addr=1ee870, expect bdc88 > kallsyms_on_each_match_symbol() for vfree failed: count=24890, > addr=1ee870, expect bd6de Here too. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."