From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 3 16:25:05 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EBB31065672 for ; Tue, 3 Aug 2010 16:25:05 +0000 (UTC) (envelope-from osharoiko@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id EE9CA8FC08 for ; Tue, 3 Aug 2010 16:25:04 +0000 (UTC) Received: by bwz12 with SMTP id 12so2711467bwz.13 for ; Tue, 03 Aug 2010 09:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=k8DhttIC6ZL+uuET0Y65y4WCTKX5Vi/L69G1ckpLbTk=; b=N4hSfXKHstArHycN3437IajBAY+UcEtq0iGdnWQTItj1NlcK2MHgYwtwuQsAu20PJe RI1JOOZLA9q9S1Tk5vukx2wMhnggu4A+fl1ahyON6i4cYuhl+oRcvOmVbxNPILl1HpDc FGS39eeaH1nBTkUTEmsX7QiwRW22PWt1cpbGU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FX4isACtcmBC1cIxoHP+x8dNrHNdmKvPqtgApwNLkBXWYzxT5l+TJLYqLFH15bQFwa OC6SV1gJamL34rTiRhl6TfUgSTRiYHa7/8js39y3elEyhjgnaxMYsH7VJYqVku3mLi/3 fnQRvaVvb7J2KljMDnCkKO0AxBNqIFUbeHDn8= MIME-Version: 1.0 Received: by 10.204.102.2 with SMTP id e2mr5421797bko.112.1280852703150; Tue, 03 Aug 2010 09:25:03 -0700 (PDT) Received: by 10.204.97.143 with HTTP; Tue, 3 Aug 2010 09:25:03 -0700 (PDT) In-Reply-To: <201008030944.01011.jhb@freebsd.org> References: <201008030944.01011.jhb@freebsd.org> Date: Tue, 3 Aug 2010 20:25:03 +0400 Message-ID: From: Oleg Sharoyko To: John Baldwin Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: PCI config space is not restored upon resume (macbook pro) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 16:25:05 -0000 On 3 August 2010 17:44, John Baldwin wrote: > I wonder if the bus numbers for PCI-PCI bridges need to be restored on re= sume? > If they aren't then config transactions won't be routed properly. =C2=A0Y= ou could > add a pcib_resume() method that prints out the various bus register value= s > after resume to see if they match what we print out during boot. I'll do that tomorrow and report the results. As I can see PCI-PCI bridge (non ACPI) restores bus numbers, while ACPI version - don't. --=20 Oleg Sharoyko