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=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 C8DA8C433DB for ; Sun, 14 Feb 2021 22:33:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 756FA64E4E for ; Sun, 14 Feb 2021 22:33:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230110AbhBNWdl (ORCPT ); Sun, 14 Feb 2021 17:33:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:59306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbhBNWdj (ORCPT ); Sun, 14 Feb 2021 17:33:39 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E78FD64E29; Sun, 14 Feb 2021 22:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613341979; bh=IQr5Zi4JcZ0zY+DGjxnDqEW3QO4XRZ6h92GpBYhGKk4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tWyU9U5euuHNkxkgv2Yj87Q0OVrT3gyxOPrYWLccOLWYGGj4yAmG4Mw7n3jVURwJT 7FY/jHyuyvUuw/PbsA6cbpvcg9q+uYMOLj9A8Q9tJ51Ytoch8Ijsa9t9Zd7ZMji8B3 qToxJZzZIVSJ3ssF90rljP4Jvbz5WnjWbk0WByxptGMT65HV6q9eOUf062xZ3TfyOu 9+d3pgsPmt687m2jpFuIyO607m53U7wFrk0jaFn4RojkgP2uze0ni68/xqfrC41i2R W3fp01Y87MPmz/LSCTpcW9qQAE7MWtLLtnY9AjKC+DqfT7v+gX6aQQHXJtH18JYRxA tvBtr9T+ps2lA== Date: Sun, 14 Feb 2021 17:32:57 -0500 From: Sasha Levin To: Greg Kroah-Hartman Cc: Stephen Boyd , Kees Cook , Mark Rutland , linux-kernel@vger.kernel.org, Arnd Bergmann , stable@vger.kernel.org Subject: Re: [PATCH] lkdtm: don't move ctors to .rodata Message-ID: <20210214223257.GA2858@sasha-vm> References: <20201207170533.10738-1-mark.rutland@arm.com> <202012081319.D5827CF@keescook> <161300376813.1254594.5196098885798133458@swboyd.mtv.corp.google.com> <161306959090.1254594.16358795480052823449@swboyd.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 14, 2021 at 06:16:29PM +0100, Greg Kroah-Hartman wrote: >On Thu, Feb 11, 2021 at 10:53:10AM -0800, Stephen Boyd wrote: >> Sorry for the confusion. Can commit 655389666643 ("vmlinux.lds.h: Create >> section for protection against instrumentation") and commit 3f618ab33234 >> ("lkdtm: don't move ctors to .rodata") be backported to 5.4.y and only >> commit 3f618ab3323407ee4c6a6734a37eb6e9663ebfb9 be backported to 5.10.y? > >655389666643 ("vmlinux.lds.h: Create section for protection against >instrumentation") does not apply cleanly to 5.4.y, so can you provide a >working backport for both of those patches to 5.4.y that you have >tested? It was due to a backport of eff8728fe698 ("vmlinux.lds.h: Add PGO and AutoFDO input sections"). Taking 655389666643 and 3f618ab33234 converged us back with Linus's tree as eff8728fe698 worked around not having those in 5.4. I've fixed it up and queued both of those patches. -- Thanks, Sasha