From patchwork Thu Oct 10 10:12:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 3015091 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 92103BF924 for ; Thu, 10 Oct 2013 10:13:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0C319200F3 for ; Thu, 10 Oct 2013 10:13:02 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C2F58200EA for ; Thu, 10 Oct 2013 10:13:00 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VUDEn-0008Nb-Ac; Thu, 10 Oct 2013 10:12:57 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VUDEk-0008ID-Pq; Thu, 10 Oct 2013 10:12:54 +0000 Received: from mail-ee0-f50.google.com ([74.125.83.50]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VUDEh-0008GM-BP for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2013 10:12:52 +0000 Received: by mail-ee0-f50.google.com with SMTP id d51so1034338eek.9 for ; Thu, 10 Oct 2013 03:12:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :content-type; bh=MQPpAmrXWyZ+sCZ6MMISxHgWmcv2SoP5Pu777agzHQY=; b=NrwfZXQ31qSyfVE2SA4+uVFowiYxd/xcqX+i90h04M+s9S1+vr9SSMkf+qLGdwAUA5 o5BBgY5iCmazDEimeUL4NOw/xahYG5UfgBCigrr508DWssw00BA4rqwO3Mr3hgHngLq4 efsNDLhGe1zlFkLo0aE+75lRIDJMni8ftJd+R3RvZriAlhKPy9tcrcbQnDjKYP0nqFLn htsXvx97si8Z7b5MlupsU/BLwSoXsbDAaRxUAN1ddeKOamXkkz+hOSMOJY+l07GyAJE7 WY80CiT3JWoo2BZarSnjHErxcqH+4Z5q9COnsCsJ2w6q9EEhex2QujCPUI21Er2Gt2td h61Q== X-Gm-Message-State: ALoCoQkGqSXMuXdTkZFcLNKjytLDb/iKS4aZKtR7roY8CMaj3U6PoU/iBbn/fGFJo/ItcyVf8JJo X-Received: by 10.15.54.199 with SMTP id t47mr19369685eew.46.1381399949485; Thu, 10 Oct 2013 03:12:29 -0700 (PDT) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id i1sm99653119eeg.0.1969.12.31.16.00.00 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 10 Oct 2013 03:12:28 -0700 (PDT) From: Michal Simek To: Russell King Subject: [PATCH] ARM: mm: Fix ECC mem policy printk Date: Thu, 10 Oct 2013 12:12:08 +0200 Message-Id: X-Mailer: git-send-email 1.8.2.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131010_061251_542562_B61F86BF X-CRM114-Status: GOOD ( 14.67 ) X-Spam-Score: -0.6 (/) Cc: monstr@monstr.eu, Nicolas Pitre , Will Deacon , linux-kernel@vger.kernel.org, Vitaly Andrianov , Cyril Chemparathy , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP ECC policy is just connected to L1 cache (IMP - bit 9 - in L1 page table entry format) and has no connection to other ECC capable devices in the system. That's why declaring connection with L1 cache make sense. Signed-off-by: Michal Simek --- IRC printk without KERN_ facility level is just INFO. Please correct me if I am wrong. --- arch/arm/mm/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.8.2.3 diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index b1d17ee..e9899dc 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c @@ -556,7 +556,7 @@ static void __init build_mem_type_table(void) mem_types[MT_CACHECLEAN].prot_sect |= PMD_SECT_WB; break; } - printk("Memory policy: ECC %sabled, Data cache %s\n", + pr_info("Memory policy: L1 ECC %sabled, Data cache %s\n", ecc_mask ? "en" : "dis", cp->policy); for (i = 0; i < ARRAY_SIZE(mem_types); i++) {