Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2829611imu; Sun, 23 Dec 2018 08:43:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN5EIs0AhvyxrpdKyl/J1lLY8PQnKkoyLNuuUY4gwg+EaE87LLbs249GZdMyK7Id/vVQp8YN X-Received: by 2002:a63:3204:: with SMTP id y4mr9635957pgy.41.1545583434914; Sun, 23 Dec 2018 08:43:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545583434; cv=none; d=google.com; s=arc-20160816; b=xZJ/LMnVr3B1+jLNqBQYd0Erin6ezPHEcdihhV/zuV8JFNVgWTS5g9U6CoaRO70lxn +L5i47BHS3iXOc1P4OapybXUMSCSsk1xF+svHFpurYgeX5ar+6KegI0sK0qfYhvhY6Zj lDBsCWBzt40SXbSe9opbMTra3BFjxBBaBTpp0S6T2WToMLBnoNmjdwAMowXuFYTjw/1y FIDDWvK+f/xUYfrl/XCOpOEi606/T40PLKaal/+AGvjkHDyqAaV25y6rGnFGnGM+kk5/ zH4DvPIo20W/ghZeWdoK0MWqsQFSU9HLnL1ngFOMZf8dohMDR+NJdDu5viwSNa6lNF4Y TwxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=eUBRhCLnljlCOIy0iNDKvP03J7+8ZBvnTkGE9X+8kgo=; b=nMLozF8O/i+Wrb1STsHo922NbK4HliGzVoHel6jOmsAGptHYPRbT8k71JB7peHb0PQ 6ZVZ5knEuTifp0AFCt/yBMpsMqrWD2Ab4rHXu9QmFh70NKwbeMilRVWk99hvnSboN95/ PsjjDsuD+u+SdSqk040b+wBSMZN6injhAJVr/c0iTvwoxILw2UjhLp2DvBvQZDQEaxly zmaU5aCZCcdcqIr4V7kyEVkoPrk0XzlkB5C8jZN5LtNcoxxLX8W0MLg+rsKOodgSfKwd UcFYwmssrVEQcUnUKBs9xU2dQ2NOzipuYUCfgGawEZU9m+c7ibN1ufrRjVPAz40LnHrp FbKA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s123si26081617pfb.274.2018.12.23.08.43.40; Sun, 23 Dec 2018 08:43:54 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728668AbeLWN2A (ORCPT + 99 others); Sun, 23 Dec 2018 08:28:00 -0500 Received: from ozlabs.org ([203.11.71.1]:36361 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725807AbeLWN16 (ORCPT ); Sun, 23 Dec 2018 08:27:58 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 43N38F0xjMz9sNJ; Mon, 24 Dec 2018 00:27:56 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: ffca395b11c4a5a6df6d6345f794b0e3d578e2d0 X-Patchwork-Hint: ignore In-Reply-To: <76d777b36e54e7b8d4c196405decc712fc5eaf45.1543356926.git.christophe.leroy@c-s.fr> To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , ruscur@russell.cc From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [v2, 01/11] powerpc/mm: Fix reporting of kernel execute faults on the 8xx Message-Id: <43N38F0xjMz9sNJ@ozlabs.org> Date: Mon, 24 Dec 2018 00:27:56 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-11-28 at 09:27:04 UTC, Christophe Leroy wrote: > On the 8xx, no-execute is set via PPP bits in the PTE. Therefore > a no-exec fault generates DSISR_PROTFAULT error bits, > not DSISR_NOEXEC_OR_G. > > This patch adds DSISR_PROTFAULT in the test mask. > > Fixes: d3ca587404b3 ("powerpc/mm: Fix reporting of kernel execute faults") > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/ffca395b11c4a5a6df6d6345f794b0 cheers