From owner-freebsd-arm@FreeBSD.ORG Mon May 25 00:33:22 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 580B0D94; Mon, 25 May 2015 00:33:22 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0CF6FF05; Mon, 25 May 2015 00:33:21 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from [192.168.2.22] (atc.xcllnt.net [50.0.150.213]) (authenticated bits=0) by mail.xcllnt.net (8.14.9/8.14.9) with ESMTP id t4P0XLBf097562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 24 May 2015 17:33:21 -0700 (PDT) (envelope-from marcel@xcllnt.net) Subject: Re: panic: arm_unmask_irq [was: Re: TI platforms code update: switching to vendor FDT data] Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/signed; boundary="Apple-Mail=_1A11485B-5108-4275-A609-36DF97FEE902"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Marcel Moolenaar In-Reply-To: <1432512966.1200.15.camel@freebsd.org> Date: Sun, 24 May 2015 17:33:21 -0700 Cc: Oleksandr Tymoshenko , "freebsd-arm@freebsd.org List" Message-Id: <8EC96924-4D33-4AF8-87B7-586441601D0B@xcllnt.net> References: <72E1D87A-1CEF-4719-907E-CF8E9D720FD1@xcllnt.net> <3741A6A7-1185-4E5A-9E98-22F5A6C730DC@freebsd.org> <1432512966.1200.15.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 00:33:22 -0000 --Apple-Mail=_1A11485B-5108-4275-A609-36DF97FEE902 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On May 24, 2015, at 5:16 PM, Ian Lepore wrote: > > Shouldn't the driver attach order be controlled with BUS_PASS numbers > now? That's been required with other socs that moved to the standard > dts data where we don't control the order of the nodes in the file. The problem is different in my case, but yes it was the first thing I suspected without digging deeper: fbsdvm64% svn diff sys/arm Index: sys/arm/ti/aintc.c =================================================================== --- sys/arm/ti/aintc.c (revision 283321) +++ sys/arm/ti/aintc.c (working copy) @@ -156,7 +156,8 @@ static devclass_t ti_aintc_devclass; -DRIVER_MODULE(aintc, simplebus, ti_aintc_driver, ti_aintc_devclass, 0, 0); +EARLY_DRIVER_MODULE(aintc, simplebus, ti_aintc_driver, ti_aintc_devclass, + 0, 0, BUS_PASS_ORDER_EARLY); int arm_get_next_irq(int last_irq) -- Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_1A11485B-5108-4275-A609-36DF97FEE902 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 iQIcBAEBCgAGBQJVYm3RAAoJEIda8t8f0tjj4tsQAOdyXxkzED23QDpKzMRkmvdx hMTxBP1kUwDd2+/Mi9n6dXXMYWYS0qtD+t/2y6j4jqItVXUOK1xnt0NHDnwOdTzC sWemyE2YM/bMd62de2Q/aFkW9Lgw9glaJGEDJDvGYQDgo047YvCWK4hhwd2i4c3c uCuBHUjrJtBAuWJHlzcpDSIpPwaECqcQSI/S7Vvv4/8t4vVfoaDgbhcdcLdiYsaU gDVn7IYV1geaWLcm95PVBp6Zhf+O+X8WtvttX3uQNZWBagI1hgv5aFQHzhP2mkda TlMDCqwPBmAYaVFkC6Y7z58h7KwLDQBbJcaXyduAJ4qM+mEpo93QnGpRAb/pa1hO IWRu7VD6BQyvrm/NVdxs/RFZTKsg7BZV5bPlTYyQvQpEar/VXWpHowmI9XQl8t3P Xzxvpp7IPZSrHZnEdzBXZ1XVleSs8O7ryA9BfeN7F8cD5sg2YG7rRF6fxks0Lfbe z1dZItXmgoOITw/Mjji2Zoqa4xBU/C0xZC9hrlSdMwnMXaQIkenmzk+sUYBLEbqt GaBUyrhsbcD1WMpsFBaDsCXwdEXykoL0Oa87/+vCvh9s/LvTB9ZXYPK7jMDF4jYD eLsglMIaDLpLSSZLVBOQ1iCqvB1c6bZp9Y3DDJPljvPC8xyhfiZooRKTuftIwLEg xkVk7qtyVc+3V+WqoJYv =gLPk -----END PGP SIGNATURE----- --Apple-Mail=_1A11485B-5108-4275-A609-36DF97FEE902--