From patchwork Fri Aug 10 16:00:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Torsten Duwe X-Patchwork-Id: 10562879 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EDFA415A6 for ; Fri, 10 Aug 2018 16:00:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB1E02BD9A for ; Fri, 10 Aug 2018 16:00:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8D6C2BDD4; Fri, 10 Aug 2018 16:00:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 793112BDB3 for ; Fri, 10 Aug 2018 16:00:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Date:Message-Id: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=ubhEifjA24/N/DbgDZo2H1Vr74cqp+Z1rO0PYAcLZgc=; b=mJq biGk+VpPtD/cbSBYLBtI2sT2oOuC0cAwPMgRJ8CIQ8l93RygvS2/5wabBoRLfW5+5Q9wP/AMEdQBF 4WeRQUs3LH9OSp6n1YigMXPxdMfYjFQ50WqqcY+QsnQ01FXxpne3Cftx1V+wRuJU6DzSBNg4ZxJF9 cpHxKi99fHzi5sjy9WTa/Rvtw6Kn67KssJg941/qq72oEEyk3BkAM+p09VMXZZKxHbDZYdmvW/GOT M3V7Jt+7q7K9pUM96pZz12TLnfVHpt4SBPIbdD52NLwTl9jdoeLukhO/PQOJZj23zqwU0c87xraoJ zsI21nvflrBSvVWe+51WBN9it5MZQIA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fo9qN-00029e-So; Fri, 10 Aug 2018 16:00:51 +0000 Received: from verein.lst.de ([213.95.11.211] helo=newverein.lst.de) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fo9qK-00028N-ME for linux-arm-kernel@lists.infradead.org; Fri, 10 Aug 2018 16:00:50 +0000 Received: by newverein.lst.de (Postfix, from userid 2005) id 9E45568C76; Fri, 10 Aug 2018 18:00:43 +0200 (CEST) From: Torsten Duwe To: Will Deacon , Catalin Marinas , Julien Thierry , Steven Rostedt , Ingo Molnar , Ard Biesheuvel , Arnd Bergmann , AKASHI Takahiro Subject: [PATCH 0/3] arm64 live patching Message-Id: <20180810160043.9E45568C76@newverein.lst.de> Date: Fri, 10 Aug 2018 18:00:43 +0200 (CEST) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180810_090048_872083_B6DB4AE0 X-CRM114-Status: UNSURE ( 5.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi all, with gcc-8 now being out which includes the patchable-function-entries feature, I can now propose the live patching framework based on it. The series consists of 3 parts: 1st: Implement ftrace with regs -- uses gcc-8's nop insertions to patch in ftrace calls. 2nd: "Classic" live patching infrastructure, as far as it's needed for backporting. 3rd: An attempt at reliable stack traces for the consistency model. I'm a bit uncertain whether the approach is correct. Torsten