Date: Sun, 15 Feb 2015 19:45:44 +0100 From: "Ranjan1018 ." <214748mv@gmail.com> To: Konstantin Belousov <kostikbel@gmail.com> Cc: Adrian Chadd <adrian@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: Suspend/resume on i915 stop working between r278348 and r278741. Message-ID: <CACyC=qb1z3fC8=XeSZDLf8usWR_BUzL5XJ1oobqrQ2-nSq5CQQ@mail.gmail.com> In-Reply-To: <20150215151141.GB34251@kib.kiev.ua> References: <CACyC=qajpScpmYH6mEtUh9eopJMW_de34_GPYjfsuLxr8fy2nQ@mail.gmail.com> <CAJ-VmonomEoBO2moxSeGcqokBFZAzMO8HbSNmKChYcpkEH7e9Q@mail.gmail.com> <CACyC=qanWQu_v011A5OcTWLPw-t2weoBrQRkM_1vHKQjkxQMDA@mail.gmail.com> <20150215151141.GB34251@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
2015-02-15 16:11 GMT+01:00 Konstantin Belousov <kostikbel@gmail.com>: > On Sun, Feb 15, 2015 at 03:37:17PM +0100, Ranjan1018 . wrote: > > Hi, > > the bug was introduced in r278473. Suspend/resume works again if I > disable > > the x2APIC support with hw.x2apic_enable=0 in /boot/loader.conf, tested > in > > r278473 and r278741. > > So how it is related to i915 ? > > Sorry, just my guess. > Try the patch. > > diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c > index 1809fa6..c8ea35e 100644 > --- a/sys/x86/x86/local_apic.c > +++ b/sys/x86/x86/local_apic.c > @@ -541,6 +541,9 @@ native_lapic_setup(int boot) > > saveintr = intr_disable(); > > + if (!boot && x2apic_mode) > + native_lapic_enable_x2apic(); > + > la = &lapics[lapic_id()]; > KASSERT(la->la_present, ("missing APIC structure")); > maxlvt = (lapic_read32(LAPIC_VERSION) & APIC_VER_MAXLVT) >> > MAXLVTSHIFT; > Unfortunately does not work for me. Tested with r278803. Regards, Maurizio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACyC=qb1z3fC8=XeSZDLf8usWR_BUzL5XJ1oobqrQ2-nSq5CQQ>