Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp983181imu; Fri, 21 Dec 2018 10:29:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN46fTv5nvU+Gr42o3fdaAS2QJWKpiUYxJ/wKEft+CciwrrQyVVMYwDmGukhFaV9DvSoKy6W X-Received: by 2002:a62:b15:: with SMTP id t21mr3769691pfi.136.1545416952658; Fri, 21 Dec 2018 10:29:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545416952; cv=none; d=google.com; s=arc-20160816; b=vP5h2CvFU0EhMvidGcBllsxQm529mTaZhrwqNFP1DcMBKCN3yU/iApFw2diwX4HtuW POJdb1WGjFGeFuqMMzauAhdKg8E3gfdo7+4WlGxNxDww1wQF3+t4KYKMxWZuDXKGM0F1 SUO+PD8z+AHikYU5NXWOeXfKSn5YxYDFZ0T+NszRuZAfAGIioEW2VkHYriHtzQN+nQ38 WInNLjv/MDZaWE5x4gxc1c2uv6ygFkM6b1+VJCcAZtCvN/q5CD3gZwDx6ssGHZjvdivp SC0ZYLb0RbmambsZh030fB0ymplWz8tZ+8GAjK7zlfMeTWrY0SOpEEKGZB7oI0nhAlyP 4aiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=i2c/GXD+UgQPGo55BUx4ucTTTqBFlGjFCpNsGq5CPO4=; b=rScWRmPGRA90Wai7G2M7vBXE+IIVoORJeQmdapNCTPAjHwcvOfzbM/yPo9QABVaIKQ hZpGkH8GGXre+Pz+7xFfjt9g/yvqDmLp+2d5jg/URaQ5INFPHrW1wWlnxtLWrX4uyGuF orMaGhK8VqtNTTKZ6s4Rm8gnKQFgJeFhgWE5Xv256LY4dqkICRe7gF+SQIagIHBKR4sM FHCqyrmdLjxZ76xmZbzxsobKvnTZ0oywQXbNCqYtecUp4hGsvvxNwVJ7l4NHQqB0CR16 dCJmxj7e3CeGTXpAyFe15rwL+WpoNhgh5XMTv6ZrTjFChNGSbww492W9Qvr1yoNnOZIJ +4tw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p16si4849568plr.31.2018.12.21.10.28.57; Fri, 21 Dec 2018 10:29:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388431AbeLUJpx (ORCPT + 99 others); Fri, 21 Dec 2018 04:45:53 -0500 Received: from mx2.suse.de ([195.135.220.15]:41684 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1733247AbeLUJpw (ORCPT ); Fri, 21 Dec 2018 04:45:52 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 8AAE5AE76; Fri, 21 Dec 2018 09:45:50 +0000 (UTC) Date: Fri, 21 Dec 2018 10:45:49 +0100 (CET) From: Miroslav Benes To: Josh Poimboeuf cc: Jiri Kosina , yamada.masahiro@socionext.com, michal.lkml@markovi.net, jeyu@kernel.org, pmladek@suse.com, linux-kbuild@vger.kernel.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Joao Moreira Subject: Re: [PATCH] kbuild: use -flive-patching when CONFIG_LIVEPATCH is enabled In-Reply-To: <20181220144626.2uwuzsmdowbrmxxq@treble> Message-ID: References: <20181219141744.32392-1-mbenes@suse.cz> <20181219165428.5udrppedpdvf2u7k@treble> <20181219172127.o753af7pkrsttcgl@treble> <20181220144626.2uwuzsmdowbrmxxq@treble> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Dec 2018, Josh Poimboeuf wrote: > On Thu, Dec 20, 2018 at 09:33:05AM +0100, Miroslav Benes wrote: > > > > Though, upstream, almost everybody seems to use kpatch-build, for which > > > > this patch doesn't help. And people will continue to do so until we > > > > have decent source-based tooling. Will the klp-convert patches be > > > > revived soon? > > > > > > Let me add Joao, who's working on that. > > > > > > Joao, I think you had something basically ready for upstream exposure, > > > right? > > > > I think that when Joao posted it a long time ago, the conclusion was that > > it would be better to wait for the source-based tooling and have the > > complete solution. I may misremember though. > > > > If Josh thinks that it would be acceptable to have klp-convert merged even > > without the tooling, I'm all for it. > > > > We're about to start using it at SUSE and staying close to upstream would > > definitely be better. > > A complete toolchain should definitely be the end goal. > > But as a usable first step, only *some* of the tooling is required, > since some of the steps can be done manually, right? > > So starting out, for something usable, I believe the following would be > the bare minimum: > > * -flive-patching > > * The analysis tool which analyzes the -fdump-ipa-clones files > > * klp-convert > > * Documentation describing the end-to-end patch creation process, > including the manual steps and how to use the above tools > > Did I miss anything? > > Then over time we can fill in the gaps (manual steps) with automation. Agreed. Miroslav