From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751238AbcGMU7q (ORCPT ); Wed, 13 Jul 2016 16:59:46 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:44660 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750923AbcGMU7i (ORCPT ); Wed, 13 Jul 2016 16:59:38 -0400 Date: Wed, 13 Jul 2016 14:59:28 -0600 From: Jason Gunthorpe To: Ed Swierk Cc: tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Jarkko Sakkinen , Stefan Berger Subject: Re: [PATCH v9 0/5] tpm: Command duration logging and chip-specific override Message-ID: <20160713205928.GA28234@obsidianresearch.com> References: <1466557831-113440-1-git-send-email-eswierk@skyportsystems.com> <1468426776-42762-1-git-send-email-eswierk@skyportsystems.com> <20160713173613.GD19657@obsidianresearch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.151 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 13, 2016 at 01:00:28PM -0700, Ed Swierk wrote: > On Wed, Jul 13, 2016 at 10:36 AM, Jason Gunthorpe > wrote: > > I think your bios is broken? > > The BIOS is broken in many ways. I already have to pass > memmap=256M$0x80000000, otherwise PCIe extended config space > (MMCONFIG) is inaccessible. Also I found memmap=0x7000$0x7a7d0000 > works around "APEI: Can not request [mem 0x7a7d0018-0x7a7d0067] for > APEI ERST registers", as the BIOS seems to be mistakenly reserving > 0x7b7d0000-7b7d7000 instead. Is it is possible whatever causes the 'reserve RAM buffer' behavior in the kernel is wonky with your BIOS? That seems to be a special Linux action.. Could it be Xen related? The Xen hypervisor replaces the physical ram map for the dom0 guest, which is why you get these sorts of prints: Xen: [mem 0x0000000000000000-0x000000000005ffff] usable and not: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable Jason