From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758803AbbFAFqT (ORCPT ); Mon, 1 Jun 2015 01:46:19 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:45732 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758766AbbFAFqK (ORCPT ); Mon, 1 Jun 2015 01:46:10 -0400 Date: Sun, 31 May 2015 22:46:09 -0700 (PDT) Message-Id: <20150531.224609.1847633713592981166.davem@davemloft.net> To: khalid.aziz@oracle.com Cc: bob.picco@oracle.com, kirill.shutemov@linux.intel.com, akpm@linux-foundation.org, sam@ravnborg.org, rickard_strandqvist@spectrumdigital.se, allen.pais@oracle.com, iamjoonsoo.kim@lge.com, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] sparc: Resolve conflict between sparc v9 and M7 on usage of bit 9 of TTE From: David Miller In-Reply-To: <1432742446-18731-1-git-send-email-khalid.aziz@oracle.com> References: <1432742446-18731-1-git-send-email-khalid.aziz@oracle.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 31 May 2015 22:46:09 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Khalid Aziz Date: Wed, 27 May 2015 10:00:46 -0600 > sparc: Resolve conflict between sparc v9 and M7 on usage of bit 9 of TTE > > Bit 9 of TTE is CV (Cacheable in V-cache) on sparc v9 processor while > the same bit 9 is MCDE (Memory Corruption Detection Enable) on M7 > processor. This creates a conflicting usage of the same bit. Kernel > sets TTE.cv bit on all pages for sun4v architecture which works well > for sparc v9 but enables memory corruption detection on M7 processor > which is not the intent. This patch adds code to determine if kernel > is running on M7 processor and takes steps to not enable memory > corruption detection in TTE erroneously. > > Signed-off-by: Khalid Aziz Applied.