From owner-freebsd-arm@FreeBSD.ORG Thu Dec 19 10:57:01 2013 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 1131E1B6 for ; Thu, 19 Dec 2013 10:57:01 +0000 (UTC) Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 963B6136E for ; Thu, 19 Dec 2013 10:57:00 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id p61so867235wes.21 for ; Thu, 19 Dec 2013 02:56:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=KBk5PghOBiiW+go7gYDjnY3VaT8F+LlJ3xliWOhIajg=; b=Y0UcKLSpLsb1Eph4tpPDYUyUEjPDQ5L+IFLSBPXOGT4pIu5WK+6VAiMnti0oRj82t3 /qsRM5k2rxh1uUh+2iAWRAMKutA8alBXxS8hw5ofk/ndqCu24/hE73vMy51XsuWaLfOG 02n9XT5RSq7e153WApKRAgGpVRNZfjVYFjdNdMbdwCi1T1o/lrt9dYHO5DPqw+3nwyRu EouK/xNjTfo05ian1+LZHRMtWnJaqxg5Zz9V44sGny6YdgAvPz1vGXbKjALr66YDBAt0 KSB4alxCBswStV9BTQoN8YlQJqNkpgsI/Hn1yuP+g51Lv/xtDOUcgkiLqxHkAoZbYzcn D+xw== X-Gm-Message-State: ALoCoQkrCNkssklmNeYQLCoYfhCTPas73IKbcpb74J6Zyv6X8/GOTtBY3BLe0E484KjoVS6skuTV X-Received: by 10.180.206.41 with SMTP id ll9mr1765052wic.7.1387450613339; Thu, 19 Dec 2013 02:56:53 -0800 (PST) Received: from [10.0.2.117] ([80.82.22.190]) by mx.google.com with ESMTPSA id fj8sm11105467wib.1.2013.12.19.02.56.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 02:56:52 -0800 (PST) Message-ID: <52B2D0F3.50100@semihalf.com> Date: Thu, 19 Dec 2013 11:56:51 +0100 From: Zbigniew Bodek Organization: Semihalf User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Nathan Whitehorn , "freebsd-arm@freebsd.org" Subject: Re: RFC: ARM related fixes - GIC, cache line size, PCI FDT & AHCI References: <52AF3D06.2000004@semihalf.com> <52AF760A.2030500@freebsd.org> <52B0900B.7020905@freebsd.org> In-Reply-To: <52B0900B.7020905@freebsd.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: br@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: Thu, 19 Dec 2013 10:57:01 -0000 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