From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 863461F44D for ; Thu, 21 Mar 2024 16:12:16 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=c+1Zy8YJ; dkim-atps=neutral Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 966B3385841A for ; Thu, 21 Mar 2024 16:12:14 +0000 (GMT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 334463858D28 for ; Thu, 21 Mar 2024 16:11:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 334463858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 334463858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711037519; cv=none; b=V8jEzSIFOG1R+q1AEC9majKok12r2ukfY3rQqTPNUu+EqZ4zF778KGRZA/VO352zwwvsxTV8i9rSRuIV7omIvEm9PhotcebFdVvZ5ZveWYwjDfKxYCB1nkDknSQ5T9CU6SI3Zl6L4KsDa7askNF7HZPoj29vhdkF9Ic4sx3jE8A= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711037519; c=relaxed/simple; bh=n4Rt0ZWs7dOKAYQYV1tj02MZHYdqqqLY3c106O/vK3A=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=vxe13mM/8PTyqNdaeMPQquew2q0dqDk7Fio909SJya9mSzfXa7Cb5o5D57IQM9+88hs4KjXzjAhQ9ger5GrAVrFvDZbuOejcG6DnoQCR4vYfUE6AQZVawH/S2pZokikIW9suoVoiP7ceb3Jbu6UzTg2dSOQ/FmDhR21FpgYE8pQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711037515; 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=dr4JA48eAjx17QqXxyUD0oZVRDR/cB0kzovvc/TS+KQ=; b=c+1Zy8YJ5uFzlfSpmtxgcdQhF1b2ibyBUvU2gBolpD3DyXgnHdpsrbAlri18DfxlXeghK8 R/7TelG4AjG0+Id+hCo98e4N+eL8fIVR3HACMshzYkMzNZOxgm15RvI3qDoojSjkKxIRwy DYxOAHVotG8m9WjGsAgNszcrSoR0aaE= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-100-HZOfA22OPdOWq27RhYgtjA-1; Thu, 21 Mar 2024 12:11:52 -0400 X-MC-Unique: HZOfA22OPdOWq27RhYgtjA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 440838007A3; Thu, 21 Mar 2024 16:11:52 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.83]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 322E9C37A83; Thu, 21 Mar 2024 16:11:51 +0000 (UTC) From: Florian Weimer To: Adhemerval Zanella Netto Cc: Szabolcs Nagy , Wilco Dijkstra , 'GNU C Library' Subject: Re: [PATCH v2] AArch64: Check kernel version for SVE ifuncs References: <87r0g4q5e6.fsf@oldenburg3.str.redhat.com> <87o7b7zu63.fsf@oldenburg.str.redhat.com> <65f5177c-f7a3-40e9-9ab8-a91a91087f67@linaro.org> Date: Thu, 21 Mar 2024 17:11:45 +0100 In-Reply-To: <65f5177c-f7a3-40e9-9ab8-a91a91087f67@linaro.org> (Adhemerval Zanella Netto's message of "Thu, 21 Mar 2024 12:43:36 -0300") Message-ID: <87y1aby37i.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org * Adhemerval Zanella Netto: >> Anyway, I verified this against 4.18 and 5.14 kernels, and got the >> expected results (__memcpy_generic and __memcpy_sve). > > If you have check through the string tests, you might not get the > correct answer since it uses the ifunc-impl-list.c and this patch > does not changes the reported functions. No, I used GDB to resolve the addresses returned by dlsym back to a symbol. Thanks, Florian