All of lore.kernel.org
 help / color / mirror / Atom feed
From: Al Stone <ahs3 at redhat.com>
To: devel@acpica.org
Subject: Re: [Devel] [PATCH] ACPICA: acpidump -- provide initial implementation for Linux
Date: Sun, 02 Jun 2013 14:04:18 -0600	[thread overview]
Message-ID: <51ABA542.3020907@redhat.com> (raw)
In-Reply-To: 51A976F6.7060706@redhat.com

[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]

On 05/31/2013 10:22 PM, Al Stone wrote:
> On 05/31/2013 06:46 PM, Moore, Robert wrote:
>> Al,
>>
>> We've just completed and checked in a full implementation for Linux.
>>
>> You might want to inspect the code and see if there is anything that
>> can be or should be merged. The code is at (or near) the head of our
>> git tree.
>>
>> Thanks,
>> Bob
>
> Ah, interesting; I did a pull this afternoon and had
> not seen any such changes.  I'll take a look and see
> what can be merged.

After looking at the two patches, there's not much that
they share in common; I don't think there's anything that
would make sense to merge -- the approaches are very
different.

I do have a couple of concerns with the implementation,
though:

1) While mmap() of /dev/mem makes sense, I suspect there
    are cases where one can attempt to mmap() the wrong
    address and lock up the system.  I have not seen a good
    way to avoid this just yet without a priori being able
    to establish the proper physical addresses for the tables
    but that may require a kernel patch to provide the addresses
    via /sys.  At a minimum, we should warn folks that this
    could happen.  This was the only reason I did not include
    an implementation of AcpiOsGetTableByAddress().

2) I've seen at least a few systems with more than one UEFI
    table instance.  Whether allowed or not, it looks like
    the acpidump code will only allow this for SSDTs.

Thanks for checking the code in.  Now that I know an acpidump
will be there, I can fix up the distro packages to handle this
new version of the command properly, too.

-- 
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Red Hat, Inc.
ahs3(a)redhat.com
-----------------------------------

             reply	other threads:[~2013-06-02 20:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-02 20:04 Al Stone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-06-05 22:12 [Devel] [PATCH] ACPICA: acpidump -- provide initial implementation for Linux Al Stone
2013-06-05  0:56 Moore, Robert
2013-06-01  4:22 Al Stone
2013-06-01  0:46 Moore, Robert
2013-06-01  0:20 Al Stone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51ABA542.3020907@redhat.com \
    --to=devel@acpica.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.