From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9319 invoked by alias); 11 Mar 2013 13:58:11 -0000 Received: (qmail 9293 invoked by uid 22791); 11 Mar 2013 13:58:10 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Mar 2013 13:57:59 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 5B8B54680007 for ; Mon, 11 Mar 2013 13:57:58 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qJisgNKAJv-K; Mon, 11 Mar 2013 13:57:56 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1001796] AT91/ARM9 architecure extension Date: Mon, 11 Mar 2013 13:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: HAL X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: bernd.edlinger@hotmail.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: normal X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2013/txt/msg00134.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001796 --- Comment #2 from Bernd Edlinger --- Created attachment 2126 --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2126&action=edit fix for kernel/current/tests/kcache2.c This fixes some collateral damage in kcache2.c: Some very small targets failed to compile this test sample. Although the targets do not have any cache, kcache2.c may overflow the .bss segment with a 64K test variable. Reason: in preparation to enabling the DATA Cache, the macro HAL_DCACHE_LINE_SIZE is now always defined to a power of 2. This is suitable to place cache aligned variables with __attribute__((aligned(HAL_DCACHE_LINE_SIZE))) If the hardware does not support DCACHE however, HAL_DCACHE_LINE_SIZE is 4, thus the variable is simply word-aligned. Unfortunately the kcache2.c has a conditional code like #ifdef HAL_DCACHE_LINE_SIZE but it should better use #ifdef HAL_DCACHE_SIZE for this purpose. -- You are receiving this mail because: You are on the CC list for the bug.