Article View: fa.netbsd.tech.kern
Article #82Re: pchb@acpi again
From: KIYOHARA Takashi
Date: Mon, 22 Apr 2013 12:08
Date: Mon, 22 Apr 2013 12:08
43 lines
3928 bytes
3928 bytes
Hi! Chuck, From: Chuck Silvers <chuq@chuq.com> Date: Sun, 21 Apr 2013 07:32:29 -0700 > On Mon, Apr 15, 2013 at 12:26:06AM +0300, Jukka Ruohonen wrote: > > On Sat, Apr 13, 2013 at 06:26:19PM -0700, Chuck Silvers wrote: > > > anyway, there are more problems with the new pchb, > > > it's unhappy with the other two PCI root bridges in this system: > > > > > > pchb7 at acpi0 (PCI1, PNP0A03-8): ACPI Host-PCI Bridge > > > pchb7: Can't get _PRT > > > pchb8 at acpi0 (PCI2, PNP0A03-9): ACPI Host-PCI Bridge > > > pchb8: Can't get _PRT > > > > > > these really don't have a _PRT method, but the rest of the code doesn't mind. > > > they still attach fine with the mainbus attachment: > > > > > > I guess that's because even though these root bridges themselves don't have > > > _PRT methods, the PCI bridges directly under them do have them. > > > so we'll need to accomodate that somehow. > > > > Why not just probe _PRT in the match()? According to the spec, _PRT should > > be mandatory for all PCI root bridges. > > I'm confused... if we were to make pchb_acpi_match() fail to match when the > root bridge device doesn't have a _PRT object, then how would you propose to > support systems like mine where some of the PCI root bridge devices don't have > _PRT objects? hmm... Can you try processing of _CRS of pci_intr_map() written to the patch of ia64? http://mail-index.NetBSD.org/tech-kern/2013/04/15/msg015173.html Linux was performing this processing by MI layer(under drivers/acpi/). This processing is also implemented by pchb_acpi.c. Thanks, -- kiyohara
Technical Details
Message-ID:
<fa.65Elgd/j+g3tVnbxQvt4GD3dFn4@ifi.uio.no>Path:
arc1-ca.pugleaf.net!hg5ni12005wib.1!nntp.google.com!goblin3!goblin2!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mailReferences:
<fa.Vqe2q/XnkjyxfjvIlyzs4OLpJOA@ifi.uio.no> <fa.2Akj5++D5LZKmGB4U1eo2a2zYD0@ifi.uio.no> <fa.tc62fFbce0+SpYHu6pZx1/9D9qU@ifi.uio.no>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c6f4,c9fc83a65eb70a5f
X-Google-NewGroupId: yes
X-Google-Attributes: gidb7e13b6095,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.180.198.210 with SMTP id je18mr13198785wic.1.1366632536375;
Mon, 22 Apr 2013 05:08:56 -0700 (PDT)
Path: arc1-ca.pugleaf.net!hg5ni12005wib.1!nntp.google.com!goblin3!goblin2!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
Newsgroups: fa.netbsd.tech.kern
Subject: Re: pchb@acpi again
Date: Mon, 22 Apr 2013 12:08:56 UTC
Organization: Internet mailing list
Lines: 43
Sender: tech-kern-owner@NetBSD.org
Message-ID: <fa.65Elgd/j+g3tVnbxQvt4GD3dFn4@ifi.uio.no>
References: <fa.Vqe2q/XnkjyxfjvIlyzs4OLpJOA@ifi.uio.no> <fa.2Akj5++D5LZKmGB4U1eo2a2zYD0@ifi.uio.no> <fa.tc62fFbce0+SpYHu6pZx1/9D9qU@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1366632536 5175 129.240.7.9 (22 Apr 2013 12:08:56 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Mon, 22 Apr 2013 12:08:56 +0000 (UTC)
Cc: current-users@NetBSD.org, tech-kern@netbsd.org
To: chuq@chuq.com
Delivered-To: tech-kern@netbsd.org
X-Virus-Scanned: amavisd-new at NetBSD.org
Authentication-Results: mail.NetBSD.org (amavisd-new);
dkim=pass (1024-bit key) header.d=kk.iij4u.or.jp
DKIM-Signature: v=1;a=rsa-sha256;c=relaxed/simple;d=kk.iij4u.or.jp;h=Date:
Message-Id:To:Cc:From:In-Reply-To:References:Mime-Version:Content-Type:
Content-Transfer-Encoding;i=kiyohara@kk.iij4u.or.jp;s=20120530.iij4u;t=
1366632486;x=1367842086;bh=7F5c0zTRJQyCcmBECNIkFcaFQkRHIlrwZb1auVhBIIs=;b=nQG
1BXFh6uG3R2633tB2X3MQGL3ugbcTrpvPt31mHYNMaGNU553vBjnNtJGqDyrCOlFrrvBzHi7EpnqT
JQN4L8KCmjTfvJYx7q4gUzBmIkbZ0mrP534NpQb5cUyQx4TGyywNuWK9Fj1YxxvgMStlZVBC4bDmf
QB7kVXpsGeX100=;
In-Reply-To: <20130421143229.GA7327@spathi.chuq.com>
X-Mailer: Mew version 4.2 on Emacs 20.7 / Mule 4.1 (AOI)
List-Id: tech-kern.NetBSD.org
Original-Date: Mon, 22 Apr 2013 21:07:57 +0900 (JST)
Original-Message-Id: <20130422.210757.70567257.kiyohara@kk.iij4u.or.jp>
Original-References: <20130414012619.GA6627@spathi.chuq.com>
<20130414212606.GA28389@marx.bitnet>
<20130421143229.GA7327@spathi.chuq.com>
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit