From owner-freebsd-arm@FreeBSD.ORG Fri Jan 16 15:34:42 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1219679A for ; Fri, 16 Jan 2015 15:34:42 +0000 (UTC) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D3A0DF0 for ; Fri, 16 Jan 2015 15:34:41 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id lf10so24895158pab.4 for ; Fri, 16 Jan 2015 07:34:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=YBH5tXv7mJsXaqXE6f4qUKCW08F0yVwCT+J5oBZP1lw=; b=fkA8+W+gkEk7V+q5pSKhZLHYdCdClPm8WvKDMfX2zXGDeEdmuxNwQP3FRdrinGdQGV rmSeMBDmwTfcNTDQYIqkgprOumtrXiWtHr0l7yfrLnpG4KWztRUDR32FvbbPrNCXXpfR 98kC+/dcotqjBdcb3ymK9sN3kUFW69OO5Cry/GwR7tSGj9AJksM47Sod3olr2r1S/jLm r065nv4LlWPbORGvBoKuWsp9hvMLXONLYzwMoQsj4oLaYJR7yBFDCwZ2ZeT4dgcAu6Rb fcSVLwfU6iz0uFRaeQ9WS9mDF4rEE7834TLebxj5NsC1noQzczleh0V/vO6Ish2+3Oi7 N5Gw== X-Gm-Message-State: ALoCoQnkQvRScaafnVSWO4wQYozfFjMBE2FEOkpNwyrgCxpFHYdDuT0BfWvqMkKipx6PRSPU6s19 X-Received: by 10.66.159.42 with SMTP id wz10mr23875466pab.8.1421422475737; Fri, 16 Jan 2015 07:34:35 -0800 (PST) Received: from lglt-rottaway.corp.netflix.com ([69.53.236.236]) by mx.google.com with ESMTPSA id ua7sm4424848pab.37.2015.01.16.07.34.34 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Jan 2015 07:34:34 -0800 (PST) Sender: Warner Losh Subject: Re: interrupt framework Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_661B2A50-D00F-415F-8037-0334B40915D6"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b3 From: Warner Losh In-Reply-To: <20150116120315.7f343f66@bender.lan> Date: Fri, 16 Jan 2015 08:34:32 -0700 Message-Id: <6E33C7B5-F784-4604-9F09-9FEDB1EFBE56@bsdimp.com> References: <20150115192624.122066dd@bender.lan> <20150116120315.7f343f66@bender.lan> To: Andrew Turner X-Mailer: Apple Mail (2.1993) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 15:34:42 -0000 --Apple-Mail=_661B2A50-D00F-415F-8037-0334B40915D6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 16, 2015, at 5:03 AM, Andrew Turner = wrote: >=20 > On Fri, 16 Jan 2015 12:44:22 +0100 > Svatopluk Kraus wrote: > ... >> It's just a few things from quick look now which are different in our >> design. However, my intention is not read our code on behalf of you. = I >> still think that our design is more general mainly and can serve for >> interrupt controllers better. >=20 > I was asking on the differences as I'm already in the process of > importing the arm_intrng project branch as I need something like it on > arm64. It is also based on the same code from Jakub and Ian, I haven't > looked at changing the design, just cleaning up the code to import = into > head. >=20 > I would be happy to merge your code instead, along with my existing > cleanups, however I would need to know why I should spend time on it = as > opposed to the current development branch. If we do decide to with = your > change I would like to import it into the arm_intrng project branch > first to assist the import into head. My first look at Svatopluk=E2=80=99s code and summaries, on its surface = it seems to be a simpler, more generalized and more effective design than intern. It avoids some additional overhead that=E2=80=99s always troubled me = about intern that I=E2=80=99ve not had the time to make good suggestions to overcome. = It looks (again on its surface) easier to bring to all the architectures as well. I haven=E2=80=99t tried to use the code so I can=E2=80=99t comment on = its stability. So of course I can=E2=80=99t measure the differences in interrupt latencies between = the two. Both of these factors would be the kind of data that would help drive the = decision of which one to adapt. Warner --Apple-Mail=_661B2A50-D00F-415F-8037-0334B40915D6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUuS+IAAoJEGwc0Sh9sBEAQLEQAJFGhkdV6qK95lokyahXiEPA ccY4VevBONUAhWRvkvbqOj3lsxQFVxK3k6ddCe62Zd15+QsfmeiYTnGqfvZA6qaq cR9F7LCpp2HxFvlrSTGxcSAHNxBdf4cKeWFqwtStv0gZsGfnkkbOeXp+cj9bvLQ5 x/2XptFXVT9wpQ46N90v1NDHbNryIMpYuTpPu3eAe8fEeeZoUzx7+tVQ4YJRkDpU ckHXaWe6nwOGFKBoofvyulSbXVH7QlmaRyuZeDlVhpSfGanwRQOva2lmWyoeV0jg l5S7pIUgajjHfvlBr3zZjo3MaE29TOe0efo6MM1eUhPM+aTdExG0pSXuKzKu6805 20fikLrVvvLKwfYxQm9hMiQClQQ58Rwe03jghBH5NU4reo9YZMdSVQCRkedWqxUV xhy82qEHSy2eFti1flXA2TAldoS9dL1L24/BfCNKmqnJaHC+sLMpy2JCVDwFHcYK SpYR8LzjxxK13KFxC9bQTu4Sae/i8CJ4RHaC0zepC9h2lXFFMvJeEC6+hxzGBqqW SzR7teqvWj3j/1WkU/M0c0WBf6n0Tl6zi4MebPPF8K4n5cMvLLG5EIxJUD5jLHI1 h2GkrEdI7FFWwun2B7hQrw71RDaa4y4KsVffJ1mtz2Z/nJDn1Ew12QP5qpa4RBFG fvH9/ekaEe6ngELz4lie =+86/ -----END PGP SIGNATURE----- --Apple-Mail=_661B2A50-D00F-415F-8037-0334B40915D6--