Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2660261ybb; Mon, 30 Mar 2020 10:22:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu4Rkfw7Hrtyt7mDHIErkQDxtTbj6zGwyv7SmLesaZsQKlbXJOQU1SkHi5df0LPLPZe8zTF X-Received: by 2002:a9d:364b:: with SMTP id w69mr9875803otb.332.1585588952570; Mon, 30 Mar 2020 10:22:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585588952; cv=none; d=google.com; s=arc-20160816; b=W+MPnQXtf/Gs9tUqX7lIN63A1Hxc8JBayllJ/+SS0hM8WSDK7CzBP4bZr4tB6cacJ3 AVJL25J19V37xsYrRnBR73sc/8xqIsxTlwuUGo6Yhjq6Ba86+LawMdoubTgsTO1DV7wP pjKBENH1GmitD07brEKuzCCXiK5vOOV9hOkn0hhwY6R2l6WTyWsMImCBxUK57ZbwLN7h 9E6rXf//1ss1I4G3dqHEOvE6L/q/ssEk/nlaMCXSOK+EjGAe3pZLYwrALaGRyKRJpuk2 /vss4zIzebYueRs9P+8FTaj6RaL9cZ1FC1xAEn5xFeVtQI+nt4+hOJlLjqna0bF27fXN EF1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :user-agent:mime-version:in-reply-to:references:cc:to:subject:from :date; bh=fZVqIUDonvngbvRxQ5YJkC+gtyEqnSMg5hk4MIVFrAM=; b=dEponLIIXQFxp1Q+ge0is+V4Wtv2JiHli3/IclvEsanD4z3t5NppIwjQvRRsndYp7a BBtgAxVq/QEFNxFP47okxJl+fq+llMlWoNMy/euNnuP96ex1BRbdIPlDhhhoH+J5PWhw n2JB+v+17YOSleoaLVFnPjeCoveQv4Ww97dH2SuilHCa201GdCaNZhy+3l/oqNOjbfK6 iAGyPear1Tx2nNUNuRoX6K0Lil9KezikgZvQ17JDVjutLcnOPTpZanD+/UVC2+/RI6T9 MAuznItUtaniAI8zcG1BgeGaLPaNUok08gaKzu1wQXsqIaQLmfPmbpkon08A9+N865f+ uVZg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si6729835otc.58.2020.03.30.10.22.19; Mon, 30 Mar 2020 10:22:32 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728559AbgC3RNd convert rfc822-to-8bit (ORCPT + 99 others); Mon, 30 Mar 2020 13:13:33 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:53310 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbgC3RNd (ORCPT ); Mon, 30 Mar 2020 13:13:33 -0400 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02UH4NJE068088 for ; Mon, 30 Mar 2020 13:13:32 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 3022nmhb6k-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 30 Mar 2020 13:13:32 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 30 Mar 2020 18:13:18 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 30 Mar 2020 18:13:17 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 02UHDROS47055002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 30 Mar 2020 17:13:27 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CF2654C044; Mon, 30 Mar 2020 17:13:27 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 725994C040; Mon, 30 Mar 2020 17:13:27 +0000 (GMT) Received: from localhost (unknown [9.85.126.25]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 30 Mar 2020 17:13:27 +0000 (GMT) Date: Mon, 30 Mar 2020 22:43:25 +0530 From: "Naveen N. Rao" Subject: Re: [PATCH 01/12] powerpc/52xx: Blacklist functions running with MMU disabled for kprobe To: Benjamin Herrenschmidt , Christophe Leroy , Michael Ellerman , Paul Mackerras Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: In-Reply-To: MIME-Version: 1.0 User-Agent: astroid/v0.15-13-gb675b421 (https://github.com/astroidmail/astroid) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-TM-AS-GCONF: 00 x-cbid: 20033017-0016-0000-0000-000002FB1A24 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20033017-0017-0000-0000-0000335ED4E9 Message-Id: <1585588372.jjsslxdjby.naveen@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-03-30_07:2020-03-30,2020-03-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 mlxscore=0 spamscore=0 mlxlogscore=766 bulkscore=0 impostorscore=0 phishscore=0 priorityscore=1501 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003300153 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy wrote: > 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/52xx/lite5200_sleep.S | 2 ++ > 1 file changed, 2 insertions(+) Apart from the two minor comments, for this series: Acked-by: Naveen N. Rao - Naveen