From owner-freebsd-arch@FreeBSD.ORG Wed Jul 9 16:10:46 2014 Return-Path: Delivered-To: arch@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 147763A5 for ; Wed, 9 Jul 2014 16:10:46 +0000 (UTC) Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) (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 CEE402E94 for ; Wed, 9 Jul 2014 16:10:45 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id x19so3665227ier.4 for ; Wed, 09 Jul 2014 09:10:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=A9d01WTLd6WKUQnpMuaTCUqErpHFe0PmqFdYknHQz7g=; b=bsoO9/WC5a8h+rIHAaTVQ9dKru8AqoCHsKalK8OBL2GjB+7bkdmwk1CtwdAgpjq/+/ 6vwDs86xe/6jWsPxbR1SS9UbDS1faPlSNxCuWCNsk6LY+lgDhgBmA4GA0Zm++e5DuiLP ri/lXPVYiv+ehVE1DeLSD5RnsRH4YuPvW1diBOaRptkO7Hd8N6vS40mMBESXerHqsS1a OB/DvZ4T8k9zitPM513TxVTMA15QVOKPWLBmlTeY7rTqpV7V80Hc2YoUcxUkA2wyUGxP I0HoRTf/JTDzfrZECmLRpbNmbXzKAdxRJ7ARFaTPIXA/rwWkMQb3lNPsSV1dd/7LgEPn aQOA== X-Gm-Message-State: ALoCoQkAhrbZO0JkdoHX3Q6oZ7hmZ2hoz9cH1KJ+jIHz6v0wzeVHB/Odt1ArYyvU+i40XMpHOzfx X-Received: by 10.42.186.2 with SMTP id cq2mr46969062icb.25.1404922239096; Wed, 09 Jul 2014 09:10:39 -0700 (PDT) Received: from bsdimp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id dz3sm16633594igb.3.2014.07.09.09.10.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Jul 2014 09:10:38 -0700 (PDT) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_114355A0-E7DD-464D-A856-EE61F48CEC28"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [patch] axe RF_TIMESHARE? From: Warner Losh In-Reply-To: <20140709200848.Q1201@besplex.bde.org> Date: Wed, 9 Jul 2014 10:10:33 -0600 Message-Id: <2174B753-A1C9-4F8A-8E25-28612030AF78@bsdimp.com> References: <201407082254.s68MsaPS028312@gw.catspoiler.org> <20140709200848.Q1201@besplex.bde.org> To: Bruce Evans X-Mailer: Apple Mail (2.1878.6) Cc: arch@freebsd.org, Don Lewis , adrian@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2014 16:10:46 -0000 --Apple-Mail=_114355A0-E7DD-464D-A856-EE61F48CEC28 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Jul 9, 2014, at 4:08 AM, Bruce Evans wrote: > RF_TIMESHARE doesn't simplify this significantly. Ownership of the > interrupt should be claimed somewhere so that the interrupt resource > is available at first open time. That can probably be done using > a super-device or some hack to own the interrupt by the first device > that can share it. Then you don't need a flag for it. It seems too > hard (bloated) to generalize RF_TIMESHARE so that all of the OUT2 > complications can be handled at the new-bus level. I think that, while interesting, none of this has a bearing on = RF_TIMESHARE. For shared interrupts, we=92ve used RF_SHARED for a long time. I don=92t = think anybody ever actually implemented RF_TIMESHARE apart from an = aborted attempt by the ppcbus code which later wound up abandoning that = effort (I think before it even made it into the tree). It was an interesting concept, but we never used it and I think we can = light a bonfire under it. There are other ways to share resources that = have been used instead... Warner --Apple-Mail=_114355A0-E7DD-464D-A856-EE61F48CEC28 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 iQIcBAEBCgAGBQJTvWl5AAoJEGwc0Sh9sBEAHKgP/jHjvXmVcwX1QP56QNjf5kf1 95Bf8jMeI4KHkeZmrotKsl4YLfeCEpn74wEDnnXi5V22xFrZYsEh9xxOWIjNKjbq Og+hNhTjgFGzkE6U5oB6mLPMxzIgBWD28vxUVhu+1AU3PLXxmnXDeXf3r+dMrOgX jbu09r+40AKdTGIESzyPv2AAM56Hi4xIyUofIfacG4VbHHXioMsYssxdNqTqM+rf lHr511IypQcadjE3o1lFZvRtYg1T33AppRQolvv2loylm2XTbJsvHg/ibPi3k0sm tp/cn15Ye1r/uhOFf3gdJwVPBx2Bbr2RrbImmyxBRNspgJ31uXAy5iq1yzmJG1Au XKgBe70WIFNKGcYiSKQHC+GmwERChlsmTiA7MefaN0RyBFtsirrS2I5cNfUCJbQw MPe9XIaayqQ9gv7rjpWjeNpB3OBXAdWZD32vF1TAS18/DKFEm2h1g9ch1CjCWTm+ tniq2L75H9Xtzm8TbrdpNYu8aicOaQ/gQno54uU9Fx+eN9owDG3ZvdenBDcBos6b LY6kVx+El2SwpAxDfQV7m8kEAZPknugEydDqI4kEJPU7G+fMVCTUS8Q739+SJfuR PWma2EunIAbTfcUqfuF0RWUNBKGa1XEYTpAQFhQSlXyUkMt8c9BUvp8XN6PFdJ/L DcW5PymqsHdfDIk00YeA =L2ml -----END PGP SIGNATURE----- --Apple-Mail=_114355A0-E7DD-464D-A856-EE61F48CEC28--