From owner-freebsd-arm@FreeBSD.ORG Mon Nov 11 09:03:10 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E01D3BB8 for ; Mon, 11 Nov 2013 09:03:09 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B31872540 for ; Mon, 11 Nov 2013 09:03:09 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id at1so1486309iec.2 for ; Mon, 11 Nov 2013 01:03:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fQWjQz6idX7+iTSS15my7XWltSdhgyxJBE133ec+KPU=; b=XNPdxZXZjglPns1PPkMaxKHXx+YVAZFZGa5v3iNHCxINjSxpJRac5AlkLGlYACR32v YZYfOaBd52nSfyOviyldKt9fl8DgL8mlaULv9TpBQgH3pscT3/2dybnzPRaTmb61hI+v Y1LDI+34R07ZE/NF2/7TxoysYFYIkWvbgwsjEN+T8tO9bPPKXmenR5PD29iEDc2OHQ44 3godEHCdRTQM4rlJuz0gLRiwGykyk1+UuZaj0u/fSeZtlXv1mejvptMfdzExO90i97OY rP9j5TxnScPp9S4IgSxd7ojur4+OyoN4+zkO+M6f4VXmdcF/mVTheo7WKd50hnJpsFsA /R4w== MIME-Version: 1.0 X-Received: by 10.50.129.39 with SMTP id nt7mr12051781igb.13.1384160589177; Mon, 11 Nov 2013 01:03:09 -0800 (PST) Received: by 10.64.18.14 with HTTP; Mon, 11 Nov 2013 01:03:09 -0800 (PST) In-Reply-To: <201311110631.rAB6VceX027412@jwlab.FEITH.COM> References: <201311110631.rAB6VceX027412@jwlab.FEITH.COM> Date: Mon, 11 Nov 2013 17:03:09 +0800 Message-ID: Subject: Re: arm/183740: mutex on some arm hardware requires dcache enabled From: Ganbold Tsagaankhuu To: John Wehle Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2013 09:03:10 -0000 On Mon, Nov 11, 2013 at 2:31 PM, John Wehle wrote: > > What kind of Amlogic board you are working on? > > I'm currently using a Visson ATV-102 "Android TV Box" which has an > Amlogic aml8726-m3 SoC. I have it to the point of attempting to > mount the root filesystem so it's probably time for me to write a > driver for the Amlogic MMC hardware. > > I also have a Ainol Elf 2 tablet which has an Amlogic aml8726-mx SoC > which I plan to work on next. > Very cool and since this talk is related to arm I CC-ed freebsd-arm@. > > Both chips are dual core Arm Cortex A9 processors. > > > As for the patch can you try to put it in initarm_late_init() of > > your board machdep code and try? > > Yep ... enabling the dcache in initarm_late_init takes care of the > mutex ldrex / strex problem. > Great. br, Ganbold > > -- John > >