Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4564688pxb; Sun, 14 Feb 2021 15:32:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTtzjpT6vFyHvKgkOSau98kozqudXzuRgbq1j8R590s/emh2aZEwNlottB0h/4iTU3OVmy X-Received: by 2002:a17:906:30c4:: with SMTP id b4mr13048509ejb.456.1613345539697; Sun, 14 Feb 2021 15:32:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613345539; cv=none; d=google.com; s=arc-20160816; b=FWgFU3x9vxXgfbHfjr+3PgF9O6EeywlNcRCl+wjwES8we0DPthU9jCZ7ykfgpl53NT H/xBy6/wFI3+BXv3+81WdjY76Hw1grhTNS9Lrcdu3ahG8Xwz2b7ZHF0srAvlugGIWnbZ AcMg1v+ffUDG998g3akriy41nE5MrTSZAFqoeouVdNkeKY4g0/WqsvnWWfa3XrOtq17r ODcsu1G93B/ZLwI1H6dG0fbeC0oUSx07Fe9k/JvwnsocCjwISz/8EQiRXUkyFQiD0vZt fCqchNiaxc+biojmJLKwmdSEI5hf8JJBXuQF/TAY/z+131vxlqxy5T95vW5LPorJPEeQ zkyA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9dM3OWISe2vmdDTzMgQfeUiIDccJJq+dSi/IR7NkGaI=; b=g7RMCQzyPmPy6a2oCItjkL5mGb+zd9HlOrm8RyIOlV5FGCax3aXkar63KO05/cSSX9 uwoepc9y2geWP2p/fjBwfRwol95J+EWPVA78ZB+kufvj33Awp9lT5hZW04ObI5mgNigR lWrkmutR4ruQfm1DwHUvp7uCv72xtukQFycHYdZShcbMfX694UginVkBuVW8lT0Qu6wE feVEQF6S7geWNvZU6Zh7MoVoirVhyk/8sKodyR9tWcXt0cXFUjSAW3Fdgylno3wo8lys kMox5lP0fLGprdURiKsPIGLXaQfQ0UGrSbYD0tlYA/UuUfJJfcBdcy7uwMVmKtDqAzZo sTrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tWyU9U5e; 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 lt6si6068230ejb.221.2021.02.14.15.31.28; Sun, 14 Feb 2021 15:32:19 -0800 (PST) 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=k20201202 header.b=tWyU9U5e; 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 S230097AbhBNWdk (ORCPT + 99 others); Sun, 14 Feb 2021 17:33:40 -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