Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1119093ybj; Thu, 7 May 2020 15:27:33 -0700 (PDT) X-Google-Smtp-Source: APiQypLVx/38tlPlghtBKaBDWXvJM/Wxy4+hpZrzFwV+rRxUn1sgAEdOQV8RNxJaKZvLZwelllAP X-Received: by 2002:a17:907:7246:: with SMTP id ds6mr13367009ejc.203.1588890453294; Thu, 07 May 2020 15:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588890453; cv=none; d=google.com; s=arc-20160816; b=IAo8Mbc4AJK5b90vNmae+vITEbtd94TpJnS+FLma0bYmCu0rH+a2XHVs9bGGlHFXs1 u+c03NzRUXqEfe7MSNtMdBBI80ou0COUE2jSKkTuqukGwsY4BAvQXtOjm3gCn7a7rzQd lm7dTyNoMS1+ztnjBrXmkhyWN6yIVozIT3afcrwJb6Bvv9qKJGpnuxgqLkVu7gMy2cMv /wjpwLOWkAAbrRgks7bUrZBYXE+Fj3s5nuOTZ49hKce+UEzM3VRvM91p70kK1iOo7hlZ k0Cyy/KtwHNaS17bZ/TyKhOQLsZCteJIOHO0YGBdrZgvjPx8grvc10l9zrZAsT7jyqF7 Nx2g== 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:dkim-signature; bh=c+fbkP2nf8xeP8f0aWxn/txjTrkzeSt9IvaEOp1ixfk=; b=GegUPKAxI1OJUhe2/uXRuE2ZWtO0Yd2vY4S1v7hVpK8FSPzpV8eWOQJyCorG19MZWC wihFHCRxrnYFLNtlHPnALr+1sbUIxBXg5iAy12i7DetowNqTnqAmtnoA/bbKonXLtfOE SHAv/y1k0F9ooU1/655Ptnkr95SfajsAG318RnYRGfl8/XLEyOTNFS4jr/M8OfONz/wN s07Bjuoo5HjI/G9F8yXebMM4+F8nEzDBDWMCxVje4bhKXCT7ARCPCE1YNO3nzJVF2BdH oP+iVj/MvXlRsUPDrin6P1b+oQxnMSwP3/QDnJMcNXtoeTcziFszSFvyTqNmZDUB6Q44 8kTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VwyKmdwI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si3802242eds.63.2020.05.07.15.27.10; Thu, 07 May 2020 15:27:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VwyKmdwI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726792AbgEGWXe (ORCPT + 99 others); Thu, 7 May 2020 18:23:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:56154 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbgEGWXd (ORCPT ); Thu, 7 May 2020 18:23:33 -0400 Received: from pobox.suse.cz (nat1.prg.suse.com [195.250.132.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D1FE6207DD; Thu, 7 May 2020 22:17:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588889858; bh=y9ZhABsB0EXo6BAC1e210uaMX8S6w4Em2EKPNhZICwI=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=VwyKmdwInAwzlExGThh9y0vgmuCf2IwPqY/yX6MV+W8x+nuT2imHJ8reMZh0EMwRL 2sf4ST0OFZfG1bDn4yE9N8jG/FpyPToITTG1FGc8iDmu30hud2HKR5vEdG05/eOg8d tarrWllJGaVnDsLgmBthOPVADPI0KipbAJppWe0k= Date: Fri, 8 May 2020 00:17:34 +0200 (CEST) From: Jiri Kosina To: Josh Poimboeuf cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Jessica Yu , Joe Lawrence , Miroslav Benes Subject: Re: [PATCH v4 00/11] livepatch,module: Remove .klp.arch and module_disable_ro() In-Reply-To: Message-ID: References: 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 Wed, 29 Apr 2020, Josh Poimboeuf wrote: > v4: > - Fixed rebase bisection regression [Miroslav] > - Made module_enable_ro() static [Jessica] > - Added Acked-by's > > v3: > - klp: split klp_write_relocations() into object/section specific > functions [joe] > - s390: fix plt/got writes [joe] > - s390: remove text_mutex usage [mbenes] > - x86: do text_poke_sync() before releasing text_mutex [peterz] > - split x86 text_mutex changes into separate patch [mbenes] > > v2: > - add vmlinux.ko check [peterz] > - remove 'klp_object' forward declaration [mbenes] > - use text_mutex [jeyu] > - fix documentation TOC [jeyu] > - fix s390 issues [mbenes] > - upstream kpatch-build now supports this > (though it's only enabled for Linux >= 5.8) > > These patches add simplifications and improvements for some issues Peter > found six months ago, as part of his non-writable text code (W^X) > cleanups. > > Highlights: > > - Remove the livepatch arch-specific .klp.arch sections, which were used > to do paravirt patching and alternatives patching for livepatch > replacement code. > > - Add support for jump labels in patched code (only for static keys > which live in vmlinux). > > - Remove the last module_disable_ro() usage. > > For more background, see this thread: > > https://lkml.kernel.org/r/20191021135312.jbbxsuipxldocdjk@treble > > This has been tested with kpatch-build integration tests and klp-convert > selftests. I have now queued this whole set (with all the gathered Acks) in livepatching.git#for-5.8/klp-module-fixups -- Jiri Kosina SUSE Labs