From patchwork Fri Jul 8 06:27:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommy Lin X-Patchwork-Id: 956132 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p686SWrV006604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 8 Jul 2011 06:28:53 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qf4Y2-0007xF-0B; Fri, 08 Jul 2011 06:28:22 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qf4Y1-0003nD-H0; Fri, 08 Jul 2011 06:28:21 +0000 Received: from mail-yi0-f49.google.com ([209.85.218.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qf4Xy-0003mt-38 for linux-arm-kernel@lists.infradead.org; Fri, 08 Jul 2011 06:28:19 +0000 Received: by yib17 with SMTP id 17so792680yib.36 for ; Thu, 07 Jul 2011 23:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=reply-to:from:to:cc:references:subject:date:organization:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:in-reply-to:x-mimeole; bh=+xzVv1KKg9PYSvUwGCn3zgbZpL7/VwtTskdRajGPfkk=; b=fd3TscDzrnBO0ABxW1kaQgeH32zD8Pmr+cZoU4FaVfpTMbuKMF/bJOfqstjMHz61HG pDajYhh4ZkC0qP9D5xHS0JRyIPqxU3Bfc5l1HpcxDIJ0UZjlIIN1SIOQ6X30nmElFsNO R0CdUnY8U1CVVvpZ1QBXjiuzZqux4VznHxkG4= Received: by 10.90.90.18 with SMTP id n18mr1657678agb.32.1310106489307; Thu, 07 Jul 2011 23:28:09 -0700 (PDT) Received: from PC080 (211-21-178-166.HINET-IP.hinet.net [211.21.178.166]) by mx.google.com with ESMTPS id w13sm9197382ano.23.2011.07.07.23.28.05 (version=SSLv3 cipher=OTHER); Thu, 07 Jul 2011 23:28:08 -0700 (PDT) From: Tommy Lin To: "'Imre Kaloz'" , "'Anton Vorontsov'" , "'Lin Mac'" References: <20110706140832.GA15946@oksana.dev.rtsoft.ru> Subject: RE: [PATCH] ARM: cns3xxx: Add support for L2 Cache Controller Date: Fri, 8 Jul 2011 14:27:43 +0800 Organization: CHOG Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acw8eIo+fV/C8RlHS3CT+W6RX6VBJAAvsUrQ In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110708_022818_399277_CBC432C1 X-CRM114-Status: GOOD ( 12.79 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tommy.lin.1101[at]gmail.com) 0.1 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (tommy.lin.1101[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.218.49 listed in list.dnswl.org] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: linux-arm-kernel@lists.infradead.org, "'Tommy Lin'" , "'Russell King'" , "Lin, Mac" , "'Arnd Bergmann'" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: tommy.lin@caviumnetworks.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 08 Jul 2011 06:28:53 +0000 (UTC) Yes, CNS3xxx is V6K. I just submit another patch before I saw this mail. CNS3xxx is ARM11 MPCore (dual core). It selects the ARM 11 (V6) in the beginning of project. So it is better to correct the CPU type to V6K. Best regards, Tommy Lin -----Original Message----- From: Imre Kaloz [mailto:kaloz@openwrt.org] Sent: Thursday, July 07, 2011 3:36 PM To: Anton Vorontsov; Lin Mac Cc: Arnd Bergmann; Tommy Lin; Russell King; mac.lin@caviumnetworks.com; linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: cns3xxx: Add support for L2 Cache Controller On Thu, 07 Jul 2011 01:57:11 +0200, Lin Mac wrote: > CNS3xxx have PL310. Would you mind to enable CONFIG_CACHE_PL310 by > default as well? It is default disabled by !CPU_V6 of CACHE_PL310. > > @@ -795,6 +795,7 @@ config CACHE_L2X0 > default y > select OUTER_CACHE > select OUTER_CACHE_SYNC > + select CACHE_PL310 if ARCH_CNS3XXX > help > This option enables the L2x0 PrimeCell. Correct me if I'm wrong, but isn't cns3xxx V6K? So..... Imre --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -322,7 +322,7 @@ config ARCH_CLPS711X config ARCH_CNS3XXX bool "Cavium Networks CNS3XXX family" - select CPU_V6 + select CPU_V6K select GENERIC_CLOCKEVENTS select ARM_GIC select MIGHT_HAVE_PCI