From owner-freebsd-arm@FreeBSD.ORG Mon Feb 7 22:16:02 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A3FA106566B for ; Mon, 7 Feb 2011 22:16:02 +0000 (UTC) (envelope-from marktinguely@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 49C708FC15 for ; Mon, 7 Feb 2011 22:16:02 +0000 (UTC) Received: by iyb26 with SMTP id 26so5137911iyb.13 for ; Mon, 07 Feb 2011 14:16:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ByjsUXxZCBlODj2+ju5oBurrhBZm1FOWaVRClW85DvA=; b=OmHmBgLa8ipvCwFgvetM9jHsRQmdpXMHkggL38GiTkEXn6yX8DPHDMIaXGa2IndRna +7WT+cZSdd0kldsCZ3sbhcNX48QpPnHnMjrj72jbz3selCIRO8qVntQ+jFIIGkgdCBmj O4RKkbGnZtkTmERJ7sSJR61RNlES9ZdjVbNSM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=e84v5e96Apo4UWGgaI2ls8psTPcJKtvGEw1d8NIwef0QYfns3xzMG9CPXSJFNoZgGS hweseLJbVgKbgGE3HdtxBexZoBFQMV0uPiruze3Heap1Br8hBb7df8uOuRZaOTJU5IfD aKba+iohGVJVKe2YnDEQ+Oo26dRVQldd6N/8M= Received: by 10.42.217.200 with SMTP id hn8mr258065icb.69.1297116961252; Mon, 07 Feb 2011 14:16:01 -0800 (PST) Received: from [192.168.1.101] (c-24-245-26-12.hsd1.mn.comcast.net [24.245.26.12]) by mx.google.com with ESMTPS id z4sm4144521ibg.7.2011.02.07.14.15.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Feb 2011 14:15:59 -0800 (PST) Message-ID: <4D506F1C.5090004@gmail.com> Date: Mon, 07 Feb 2011 16:15:56 -0600 From: Mark Tinguely User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Marcel Moolenaar References: <857AA8D9-5C41-4D80-A3B5-0D29BE051014@mac.com> <4D5050B3.4070608@gmail.com> <4A878FC3-C011-4E40-8B36-71E36B4C4A11@mac.com> <4D506642.5000701@gmail.com> In-Reply-To: <4D506642.5000701@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Elimination of cpu_l2cache_* functions X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 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, 07 Feb 2011 22:16:02 -0000 On 2/7/2011 3:38 PM, Mark Tinguely wrote > If I remember correctly, I played with this idea at one time, but > threw it away. > > --Mark. Oops, it is still my main ARMv5 implementation: http://www.tinguelys.info/mark/freebsd/busdma_machdepV5.c There are a few undocumented deviations in this file: allocated buffers are not uncached. allocated buffers are cache aligned. does not sync post reads. there is a define to re-enable this feature. --Mark