Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3576020lfo; Mon, 23 May 2022 08:17:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywFryFefQx5RsVuMgS8vqjr7yl3dTIyECZ5+3h3KNhvau3Ui3raJ+IAcCZlSALqurc9HN6 X-Received: by 2002:a17:90a:c90e:b0:1df:53ff:e149 with SMTP id v14-20020a17090ac90e00b001df53ffe149mr22098359pjt.210.1653319028892; Mon, 23 May 2022 08:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653319028; cv=none; d=google.com; s=arc-20160816; b=QqqTZR0UAjNk4QVoRI9j9oIKV3oG3cbsgEp8EzzlR/3ruena8loNPloDt4ZTKbFbSQ xCXcXELCRdoXCGU8Q2tZILQht9Sv5R3ac+7Sb0FrDFs8hUBin5ucvRsjwRbKpF9tDFND kgfewnaSgx3ConJWnI2HVYxOOpWwqEHjxwdXi6pYB5lJw6u1tUBVOhYpg8EsW0972Dhu bkCBju9jaFyJsR2deiK8OB0XSBtGP5SH5+9TlLWFRLi5aOUpAdm0AYIqEdzza+Ym64ZP BQ5JxPRskVe/XLWzXAnlz5jlN9fGY4HSMcvogWhA5mKg6bHVR/bgBbtKZmE8RMF35TfJ AO3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Li9Eq39Zca7A7Yd+2+8FiQZmQCwkSJCjj6oLOBXVCTQ=; b=hhPckE9VWSEQa8x1esfzvOjqp9JfjZb3xvH0yEagEGoY4rIu74HQn395AzNB6t104m nKBtiPd3a++2IOW+O1G0Rq3JiJsVa3uV2vrhHZR0hPYohVbr1tlv+fJJvJOxcEHJzJW8 yQ9yBZnwRpPB+CGkn22VNb1LhdYD/NwLPIpbB/wdA1orfMNUSrnZ9m9nG85P7Am2Oe9K ZXqBC1APFQOei1sv174sq/oFCA7SQeEYwYsnqnf8wtLNFNyygLTRWRqzYYhFCdI7rOqv cs8agnpwowUzA5R+99FQgrCSp7UP4nP0sWeh4rVbbVjrI3zvUVff654S3yWPl1CVb/GR oiyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=UQslza7y; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id y16-20020a631810000000b003f5ccb17340si10354349pgl.571.2022.05.23.08.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 08:17:08 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=UQslza7y; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 622E91D0D2; Mon, 23 May 2022 08:16:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237569AbiEWPPq (ORCPT + 99 others); Mon, 23 May 2022 11:15:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237515AbiEWPPp (ORCPT ); Mon, 23 May 2022 11:15:45 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4442D49FB4; Mon, 23 May 2022 08:15:44 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id E345821B40; Mon, 23 May 2022 15:15:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1653318942; h=from:from:reply-to: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=Li9Eq39Zca7A7Yd+2+8FiQZmQCwkSJCjj6oLOBXVCTQ=; b=UQslza7yiL1x8r4CTlcvmyaEzDceraNNRn4y2gdNRFA021qH++lF1uuahK9zlB0ChD1z2W opw6Z1MGw6aJi0cxM3BmTltSvfrdGBSoVU5Z/bvw/OtqPHl40yNd4DDS8TmMABzOjvjpWm jBE7cmrpVE3jk5YKQjCOBilTHWohuHc= Received: from suse.cz (unknown [10.100.208.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id DC5A02C141; Mon, 23 May 2022 15:15:40 +0000 (UTC) Date: Mon, 23 May 2022 17:15:37 +0200 From: Petr Mladek To: Christophe Leroy Cc: Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Joe Lawrence , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , "linux-kernel@vger.kernel.org" , "live-patching@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-s390@vger.kernel.org" , "x86@kernel.org" Subject: Re: [PATCH] livepatch: Remove klp_arch_set_pc() and asm/livepatch.h Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2022-05-23 06:51:47, Christophe Leroy wrote: > > > Le 29/03/2022 ? 13:22, Petr Mladek a ?crit?: > > On Mon 2022-03-28 08:26:48, Christophe Leroy wrote: > >> All three versions of klp_arch_set_pc() do exactly the same: they > >> call ftrace_instruction_pointer_set(). > >> > >> Call ftrace_instruction_pointer_set() directly and remove > >> klp_arch_set_pc(). > >> > >> As klp_arch_set_pc() was the only thing remaining in asm/livepatch.h > >> on x86 and s390, remove asm/livepatch.h > >> > >> livepatch.h remains on powerpc but its content is exclusively used > >> by powerpc specific code. > >> > >> Signed-off-by: Christophe Leroy > > > > Acked-by: Petr Mladek > > > > I am going to take it via livepatch/livepatch.git for 5.19. We are > > already in the middle of the merge window and this is not critical. > > > > I haven't seen it in linux-next. > > Do you still plan to take it for 5.19 ? Thanks a lot for pointing this out. I have completely forgot about this patch /o\ I have just pushed it into livepatching/livepatching.git, branch for-5.19/cleanup. I am going to create pull request for 5.19 by the end of this week after it gets a spin in linux-next. Best Regards, Petr