From patchwork Thu Oct 1 22:46:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gregkh@suse.de X-Patchwork-Id: 34785 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 958CE100A4B for ; Fri, 2 Oct 2009 09:00:36 +1000 (EST) Received: by ozlabs.org (Postfix) id 32CE2B7BD6; Fri, 2 Oct 2009 09:00:30 +1000 (EST) Delivered-To: linuxppc-dev@ozlabs.org Received: from coco.kroah.org (kroah.org [198.145.64.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "coco.kroah.org", Issuer "Greg KH" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 02AB6B7BC5 for ; Fri, 2 Oct 2009 09:00:30 +1000 (EST) Received: from localhost (c-98-246-45-209.hsd1.or.comcast.net [98.246.45.209]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by coco.kroah.org (Postfix) with ESMTPSA id 74C4E48A48; Thu, 1 Oct 2009 15:49:43 -0700 (PDT) Subject: patch powerpc-fix-incorrect-setting-of-__have_arch_pte_special.patch added to 2.6.31-stable tree To: Bernhard.Weirich@riedel.net, benh@kernel.crashing.org, bernhard.weirich@riedel.net, gregkh@suse.de, linuxppc-dev@ozlabs.org, stable@kernel.org From: Date: Thu, 01 Oct 2009 15:46:48 -0700 In-Reply-To: <1253776613.7103.433.camel@pasglop> Message-Id: <20091001224943.74C4E48A48@coco.kroah.org> Cc: stable@kernel.org, stable-commits@vger.kernel.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org This is a note to let you know that we have just queued up the patch titled Subject: powerpc: Fix incorrect setting of __HAVE_ARCH_PTE_SPECIAL to the 2.6.31-stable tree. Its filename is powerpc-fix-incorrect-setting-of-__have_arch_pte_special.patch A git repo of this tree can be found at http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary From benh@kernel.crashing.org Thu Oct 1 15:36:15 2009 From: Weirich, Bernhard Date: Thu, 24 Sep 2009 17:16:53 +1000 Subject: powerpc: Fix incorrect setting of __HAVE_ARCH_PTE_SPECIAL To: stable Cc: linuxppc-dev list , bernhard.weirich@riedel.net, RFeany@mrv.com Message-ID: <1253776613.7103.433.camel@pasglop> From: Weirich, Bernhard [I'm going to fix upstream differently, by having all CPU types actually support _PAGE_SPECIAL, but I prefer the simple and obvious fix for -stable. -- Ben] The test that decides whether to define __HAVE_ARCH_PTE_SPECIAL on powerpc is bogus and will end up always defining it, even when _PAGE_SPECIAL is not supported (in which case it's 0) such as on 8xx or 40x processors. Signed-off-by: Bernhard Weirich Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/include/asm/pte-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Patches currently in stable-queue which might be from Bernhard.Weirich@riedel.net are queue-2.6.31/powerpc-fix-incorrect-setting-of-__have_arch_pte_special.patch --- a/arch/powerpc/include/asm/pte-common.h +++ b/arch/powerpc/include/asm/pte-common.h @@ -176,7 +176,7 @@ extern unsigned long bad_call_to_PMD_PAG #define HAVE_PAGE_AGP /* Advertise support for _PAGE_SPECIAL */ -#ifdef _PAGE_SPECIAL +#if _PAGE_SPECIAL != 0 #define __HAVE_ARCH_PTE_SPECIAL #endif