From owner-freebsd-arm@FreeBSD.ORG Sat Jan 4 21:28:35 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC2C087D; Sat, 4 Jan 2014 21:28:34 +0000 (UTC) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 13A66127A; Sat, 4 Jan 2014 21:28:33 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id x13so14686188wgg.7 for ; Sat, 04 Jan 2014 13:28:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=x9mzlOeVXXssQjThyFil+tZK+DLsKBxsK/jN4u4vCP0=; b=usmiPzmwMkRydLAX2ANlaG992ZL4bol9k5ho/lNVbTud2FaA7F8OuMUWz53EfxoF0e j4yQD2KpDBWuiMjzzHD/okqXosYFXzIO4TmvzTAaOgCs9i84zWUBMdOhGeNzX1WSBnS0 eGVUMz9tjsIMTG7tLj/KARFHE95ooTF+0A9Umuz0T0h7S3IHlQA5tq8zgUEwVD7j0HB5 4KQXGICIBC2gT9AL4SjgxlVZ8sIzQsVvbSKXunVkSXqL9ZFef1pvvylEFBqIlvnz+mkg r8dYHV988dFYdJGGGR6yDZ8lHeI/JbMAi+PbTQX+woDEzOBaCfEBkQf2OZVl2PdATY1H M+mQ== MIME-Version: 1.0 X-Received: by 10.180.74.230 with SMTP id x6mr6583450wiv.29.1388870912438; Sat, 04 Jan 2014 13:28:32 -0800 (PST) Sender: zbodek@gmail.com Received: by 10.217.112.65 with HTTP; Sat, 4 Jan 2014 13:28:32 -0800 (PST) In-Reply-To: <52C87BC0.2060304@freebsd.org> References: <52AF3D06.2000004@semihalf.com> <52AF760A.2030500@freebsd.org> <52B0900B.7020905@freebsd.org> <52B2D0F3.50100@semihalf.com> <52C87BC0.2060304@freebsd.org> Date: Sat, 4 Jan 2014 22:28:32 +0100 X-Google-Sender-Auth: z1A27uD3Y9Sp4YODNJ1y0xGHq5k Message-ID: Subject: Re: RFC: ARM related fixes - GIC, cache line size, PCI FDT & AHCI From: Zbigniew Bodek To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 Cc: Ruslan Bukin , "freebsd-arm@freebsd.org" , Olivier Houchard X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 21:28:35 -0000 2014/1/4 Nathan Whitehorn : > On 12/19/13 05:56, Zbigniew Bodek wrote: >> On 17.12.2013 18:55, Nathan Whitehorn wrote: >>> On 12/16/13 15:52, Nathan Whitehorn wrote: >>>> On 12/16/13 11:48, Zbigniew Bodek wrote: >>>>> Hello Everyone. >>>>> >>>>> We would like to submit some new patches recently developed by Semihalf. >>>>> >>>>> You can find them here: >>>>> http://people.freebsd.org/~zbb/Semihalf/12.2013/ >>>>> >>>>> Detailed description is available in the commit logs but in general: >>>>> >>>>> -- 0001-Resolve-cache-line-size-using-CP15.patch >>>>> - use cache line size acquired in runtime >>>>> >>>>> -- 0002-GIC-polarity-and-level-support.patch >>>>> - suport for setting trigger level and polarity in GIC >>>>> >>>>> -- 0003-Add-PCI-FDT-interrupt-trigger-polarity-parsing.patch >>>>> - trigger and polarity parsing for PCI FDT interrupts >>>>> >>>>> -- 0004-Do-not-attach-to-bridges-in-AHCI-driver.patch >>>>> -- 0005-Use-only-mapped-BIOs-on-ARM.patch >>>>> - Two patches enabling the AHCI driver on ARM chips >>>>> >>>>> >>>>> We will appreciate if you could post your comments and/or remarks by the >>>>> end of this week when we plan to commit the changes. >>>>> >>>>> Best regards >>>>> zbb >>>>> _______________________________________________ >>>>> freebsd-arm@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >>>> Can you hold off on >>>> 0003-Add-PCI-FDT-interrupt-trigger-polarity-parsing.patch for the time >>>> being? I'm restructuring this code at the moment. >>>> -Nathan >>>> _______________________________________________ >>>> freebsd-arm@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >>> This is done now. I have not updated the ARM code, because I don't know >>> how it is supposed to work, but you can take a look at r259513 to >>> powerpc/ofw/ofw_pci.c to see how the new stuff works. It relies on some >>> device (nexus, for example) implementing OFW_BUS_CONFIG_INTR(), which >>> takes an IRQ and a sense code, but that seems to be wrapped up in a lot >>> of ARM-specific stuff. >>> >>> If you like, I can just write a piece of bridge code, but I don't want >>> to interfere with in-flight things on your end. >> >> Hello Nathan. >> >> We will wait for your refactoring to finish so no worries. We can skip >> this patch for now, the more that there were some comments to this one. >> >> Thanks and best regards >> zbb >> > > My restructuring is now done. I suspect ARM may want something like > PowerPC's pic_if.m in the future, but the interfaces are now in place > (ofw_bus_map_intr(), ofw_bus_config_intr()) to make that transition > fairly painless later on. > -Nathan Thank you very much Nathan. Best regards zbb