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 X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3032ECA9EAF for ; Mon, 21 Oct 2019 13:20:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 02F622089C for ; Mon, 21 Oct 2019 13:20:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XmVcOWgh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728919AbfJUNU4 (ORCPT ); Mon, 21 Oct 2019 09:20:56 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:46844 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727256AbfJUNU4 (ORCPT ); Mon, 21 Oct 2019 09:20:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571664055; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B4XWknMJuOuh6KIQuH7ppQMvEXTX2kO1s3vMco8Hg40=; b=XmVcOWgh9FUw9VSs335hS4IRfbXv5sFCP7+vv+4XwA6myZ+A5Ix+NgAk96EmSsjPWNOWr9 iYas5cCR4Q71PZYZZzhNaETjwVnY+YUPADcK6UUtG4KhxfKl1E/fRDZI7NM2a/ITkwgkq/ 1CfM2Q4nvOGTCWIJjAhRL3ej2/ogr4s= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-375-pDIa5xMtMX6HhtaRvjFBrQ-1; Mon, 21 Oct 2019 09:20:50 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3F888800D41; Mon, 21 Oct 2019 13:20:48 +0000 (UTC) Received: from treble (ovpn-123-96.rdu2.redhat.com [10.10.123.96]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 47C265B69A; Mon, 21 Oct 2019 13:20:46 +0000 (UTC) Date: Mon, 21 Oct 2019 08:20:44 -0500 From: Josh Poimboeuf To: Torsten Duwe Cc: Mark Rutland , Jiri Kosina , Arnd Bergmann , Julien Thierry , Catalin Marinas , Ard Biesheuvel , Will Deacon , linux-kernel@vger.kernel.org, Steven Rostedt , AKASHI Takahiro , Ingo Molnar , Ruslan Bilovol , Amit Daniel Kachhap , live-patching@vger.kernel.org, linux-arm-kernel Subject: Re: [PATCH v8 0/5] arm64: ftrace with regs Message-ID: <20191021132044.zkzclqtrexryyybl@treble> References: <0f8d2e77-7e51-fba8-b179-102318d9ff84@arm.com> <20190311114945.GA5625@lst.de> <20190408153628.GL6139@lakrids.cambridge.arm.com> <20190409175238.GE9255@fuggles.cambridge.arm.com> <20190724161500.GG2624@lakrids.cambridge.arm.com> <20191016175841.GF46264@lakrids.cambridge.arm.com> <20191018174100.GC18838@lakrids.cambridge.arm.com> <20191019130135.10de9324@blackhole.lan> MIME-Version: 1.0 In-Reply-To: <20191019130135.10de9324@blackhole.lan> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: pDIa5xMtMX6HhtaRvjFBrQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 19, 2019 at 01:01:35PM +0200, Torsten Duwe wrote: > All calls going _out_ from the KLP module are newly generated, as part > of the KLP module building process, and are thus aware of them being > "extern" -- a PLT entry should be generated and accounted for in the > KLP module. Hm... for kpatch-build I assume we may need a GCC plugin to convert local calls to global somehow? --=20 Josh