lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201101162028.33572.rjw@sisk.pl>
Date:	Sun, 16 Jan 2011 20:28:33 +0100
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	Andres Salomon <dilinger@...ued.net>
Cc:	Len Brown <lenb@...nel.org>, linux-acpi@...r.kernel.org,
	linux-kernel@...r.kernel.org, Huang Ying <ying.huang@...el.com>,
	Jesse Barnes <jbarnes@...tuousgeek.org>
Subject: Re: [PATCH] ACPI: don't attempt to use hest_tab unless !acpi_pci_disabled

On Sunday, January 16, 2011, Andres Salomon wrote:
> On Sat, 15 Jan 2011 21:48:43 +0100
> "Rafael J. Wysocki" <rjw@...k.pl> wrote:
> 
> > On Saturday, January 15, 2011, Andres Salomon wrote:
> > > On Sat, 15 Jan 2011 21:38:10 +0100
> > > "Rafael J. Wysocki" <rjw@...k.pl> wrote:
> > > 
> > > > On Saturday, January 15, 2011, Andres Salomon wrote:
> > > > > On Sat, 15 Jan 2011 14:01:18 +0100
> > > > > "Rafael J. Wysocki" <rjw@...k.pl> wrote:
> > > > > 
> > > > > > On Saturday, January 15, 2011, Andres Salomon wrote:
> > > > > > > On Fri, 14 Jan 2011 23:24:27 -0500 (EST)
> > > > > > > Len Brown <lenb@...nel.org> wrote:
> > > > > > > 
> > > > > > > [...]
> > > > > > > > > This patch causes apei_hest_parse to check both
> > > > > > > > > hest_disabled and acpi_pci_disabled before continuing.
> > > > > > > > > With it, the XO-1 boots properly.
> > > > > > > > 
> > > > > > > > The X0-1 has no ACPI support, and thus you are running
> > > > > > > > with acpi_disabled=1, yes?
> > > > > > > 
> > > > > > > The XO-1 has no ACPI support, but ACPI support is enabled
> > > > > > > in the kernel (as the XO-1.5 does have ACPI support, and
> > > > > > > the same kernel is used between both) and I'm not passing
> > > > > > > any arguments to the kernel regarding it. The kernel's ACPI
> > > > > > > code detects that it's not there and disables it (the
> > > > > > > kernel message that's seen is "ACPI: Interpreter disabled.")
> > > > > > > 
> > > > > > > This is what sets apci_pci_disabled to 1; I'm not doing it
> > > > > > > manually.
> > > > > > 
> > > > > > Hmm.  Does the appended patch help instead?
> > > > > 
> > > > > Nope.  acpi_hest_init returns immediately if acpi_disabled, and
> > > > > thus never sets hest_disable.  You either need to set
> > > > > hest_disable, or ensure apei_hest_parse checks more than just
> > > > > hest_disable.
> > > > 
> > > > OK, so the new one below should help, right?
> > > 
> > > Yes, that looks better
> > 
> > OK
> > 
> > > (though you probably just want to use 'goto err;' instead).
> > 
> > Indeed.
> > 
> > > I can test it later today.
> > 
> > Cool, thanks.  Please try the version below with the 'goto'.
> > 
> > Rafael
> 
> 
> Yep, just tested it out; it works fine.

Great, thanks!

Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ