Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1361215ybb; Sun, 29 Mar 2020 02:43:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvXkpYbE1NOQCV6oXa3bSq1yoapPDoR2CClgF66oTgteIyDZLiNUaRL4M0nB1E/FZdca0eW X-Received: by 2002:a05:6808:8db:: with SMTP id k27mr4499833oij.175.1585475017578; Sun, 29 Mar 2020 02:43:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585475017; cv=none; d=google.com; s=arc-20160816; b=sYqBPsMmZ5j1QE7YXVpdBGbhoMwr3YvGCkk65IkBpw+dGocxpdXQkeyAcDAlpeX1Rb NfhIaxUT18dlFUbbpadxrNpLt4O/kzi1XVy+6huSAMadlyJNU7T78Tc8cwwz7RtmiLyC n59nVmFoKhtbU1fLSnYGVY0hQSINj48mJwuAB6/XgEx1BRIWSeXqdGthWY95ofJAup+q JwDfS0faun+xZBdjn9gfCM/5C/5+g8KzWvVmsTQGWu4HfAG1xDLzyK1msGXmpaUAv4aG 0qDuPgwskMXV41xS3EXIgZgVcva2SU7jSplkHi2BpGLHDkZxncUbRk4+dxcWpVfDYzCr mf6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:references :in-reply-to:message-id:dkim-signature; bh=K7HluQgRz2kSy70uO4u2iqL9+TKRo7ka4mDmZnfUrOU=; b=s1DnN5B31c0cgF7RigFK1re3n1eSS2MMDtDIhBrjiFhx996ypnVHnFdNOZI/55wclp xpfzjjpIeiB78IYZCVfzXTck+1NBVwqqga9Na+5PJuWCUYoHVL87sfzbOg+OK3HiAMFS l78c078R+T6fx8IjyE6ourEenlMTtJc5BwjciiTVHCDvUAKZZH2xIwYpM4Ro66HAFn89 6S3Cjn7eT6CtOqq/az0ePRSHKuAhyyhBcYubmZ08hs4/1Zu8UzHzLMhFOjyn4j67D9BH Yuf+7i/guy9pJKqyrp9crTj0Ngh0Q+6V4EjSivVPB+p+cvtcBElYXrAnZeQRuaUb/0Pi NJHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=sUMgP603; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si4873670oti.159.2020.03.29.02.43.25; Sun, 29 Mar 2020 02:43:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=sUMgP603; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727969AbgC2JlG (ORCPT + 99 others); Sun, 29 Mar 2020 05:41:06 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:16391 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727397AbgC2JlF (ORCPT ); Sun, 29 Mar 2020 05:41:05 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 48qrF872kMz9tyY2; Sun, 29 Mar 2020 11:41:00 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=sUMgP603; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id 0zTLtzioxc7a; Sun, 29 Mar 2020 11:41:00 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 48qrF85qTfz9tyXy; Sun, 29 Mar 2020 11:41:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1585474860; bh=K7HluQgRz2kSy70uO4u2iqL9+TKRo7ka4mDmZnfUrOU=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=sUMgP6031PS5QUeT/rMZsEZ0VnKpN7H1rXob+eZC070cbqOnj2J7o7OzPjDvutnqv FVHNClLMJmIjuw+5mi2w3GUGeep7Nvtqhk5l2hp72MZmVIMp+0mYTP2mLQTihuATz6 hZ77f5hG+fDhtidVmCBy2dZa4LJ6qUlHzoD6zGu0= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id BDDF48B770; Sun, 29 Mar 2020 11:41:03 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id Oe7WNf2cKtin; Sun, 29 Mar 2020 11:41:03 +0200 (CEST) Received: from pc16570vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 8E1CC8B752; Sun, 29 Mar 2020 11:41:03 +0200 (CEST) Received: by pc16570vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 6181F65653; Sun, 29 Mar 2020 09:41:03 +0000 (UTC) Message-Id: In-Reply-To: References: From: Christophe Leroy Subject: [PATCH 03/12] powerpc/83xx: Blacklist mpc83xx_deep_resume() for kprobe To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , naveen.n.rao@linux.vnet.ibm.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Sun, 29 Mar 2020 09:41:03 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kprobe does not handle events happening in real mode, all functions running with MMU disabled have to be blacklisted. Signed-off-by: Christophe Leroy --- arch/powerpc/platforms/83xx/suspend-asm.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/83xx/suspend-asm.S b/arch/powerpc/platforms/83xx/suspend-asm.S index 3acd7470dc5e..bc6bd4d0ae96 100644 --- a/arch/powerpc/platforms/83xx/suspend-asm.S +++ b/arch/powerpc/platforms/83xx/suspend-asm.S @@ -548,3 +548,4 @@ mpc83xx_deep_resume: mtdec r0 rfi +_ASM_NOKPROBE_SYMBOL(mpc83xx_deep_resume) -- 2.25.0