Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2090913pxf; Sat, 20 Mar 2021 04:18:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkEX1zslyi39CQxZGKlUkFmII0RtoWteqZAoIN9gH0F+vLj6TyZhqdQag8H1roRXTDTyZZ X-Received: by 2002:a17:907:629e:: with SMTP id nd30mr9161478ejc.407.1616239104388; Sat, 20 Mar 2021 04:18:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616239104; cv=none; d=google.com; s=arc-20160816; b=gM1Q+oPubYWJDohVN6kAm3Bj2vN9/jbWrLuOz12KYZMYKbnqg0lKwVFnGAsDXJWPdA bcjwGfJf69c56zg+475dekvGGZMLFDefUGWQvC493+yHjVpjCYPviS6Y2qoINb3VqN5N lUQ2BTZ53pqCFvZaxRk5FT9WTKzMCLyi84sHxgmjI56DIutka1cP0lRzrMYUlFb9AJ9/ RkBHzhyFYKFigmEukIye/oWzmQA6LcBiPwDHyVKgx68xzoGsRGsNzYFoEW77Vj7U7Jw/ eqk2gQyoa81XvBzYcUq5AAP5oTJEm95/kMd0Z+zwgfJi/bOnsoE1QE8AWfqmSSrRscj0 3hIQ== 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=86tQUGFDMt04Y+JvR11S/QUpRJ6dR82Sd53CpRq7CRI=; b=xUz4HkpF0UG+k4hy39WWSGkAPXuY9mgGAhVeh+/2kN7mtsEpL/ODQ/ComoaXtvuB3q 61pez/JZ6mKAsookscYauhgu+WHAU/DQlq41p3NWD01EGrPNR2Auasv/vPsTp+gyLd67 aXUP/ANL2rzrpuDg3S0Tb/n086hyDUbnuSnfClK0Hky9RsaZO5YJqLVuZozN9Pfjj++s Rg9R4hveGUHjzMV93H2JfA6CJQtOmq46EfrxcduK9Nkyc5diemmhdcwH3zEbnvVy5XXt CYoeDas0S3FP5QbgYb4AdxkMUUQJjny5Rqx2Tfi8uERM7z+KSTZIbw9qUpVtf0RCRcVg GImQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="T/rSoy6G"; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kl9si6554516ejc.271.2021.03.20.04.18.02; Sat, 20 Mar 2021 04:18:24 -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=@linuxfoundation.org header.s=korg header.b="T/rSoy6G"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230516AbhCTLMt (ORCPT + 99 others); Sat, 20 Mar 2021 07:12:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:52684 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229946AbhCTLMK (ORCPT ); Sat, 20 Mar 2021 07:12:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7D23D61A40; Sat, 20 Mar 2021 10:57:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1616237832; bh=3FOCqsLXP7+1KVCA86kmY+oaELLkWkU2fxbEuFLQ0sw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T/rSoy6GgOIbvIukcPwijvdFkYkGgRpIpQoCCgYINlVT63i0w/r5mEqpv2cPAT5d5 Yv8E5b5Vuy0kSzAijIF1j7Geax+p87UowTKVLZjVFvBCYcsGYbsr04GNNw9SHdNXGz sPJdDJTgKTMudtMVljUOP9IAPmzh6PUU0SBPVtHQ= Date: Sat, 20 Mar 2021 11:57:09 +0100 From: Greg Kroah-Hartman To: Nicolas Boichat Cc: stable@vger.kernel.org, groeck@chromium.org, Alexandre Chartre , Arnd Bergmann , Benjamin Herrenschmidt , Christopher Li , Daniel Axtens , Kees Cook , Masahiro Yamada , Michael Ellerman , Michal Marek , "Naveen N. Rao" , Nicholas Piggin , Paul Mackerras , Peter Zijlstra , Thomas Gleixner , clang-built-linux@googlegroups.com, linux-arch@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sparse@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [for-stable-4.19 PATCH v2 0/2] Backport patches to fix KASAN+LKDTM with recent clang on ARM64 Message-ID: References: <20210320041626.885806-1-drinkcat@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210320041626.885806-1-drinkcat@chromium.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 20, 2021 at 12:16:24PM +0800, Nicolas Boichat wrote: > Backport 2 patches that are required to make KASAN+LKDTM work > with recent clang (patch 2/2 has a complete description). > Tested on our chromeos-4.19 branch. > Also compile tested on x86-64 and arm64 with gcc this time > around. > > Patch 1/2 adds a guard around noinstr that matches upstream, > to prevent a build issue, and has some minor context conflicts. > Patch 2/2 is a clean backport. > > These patches have been merged to 5.4 stable already. We might > need to backport to older stable branches, but this is what I > could test for now. Ok, trying this again, let's see what breaks :) thanks, greg k-h