Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1201127 > unrolled thread

Re: [RFC PATCH] Exporting extra tables for machines without /dev/mem

Started byAl Stone <ahs3@redhat.com>
First post2015-08-05 22:30 +0200
Last post2015-08-06 01:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC PATCH] Exporting extra tables for machines without /dev/mem Al Stone <ahs3@redhat.com> - 2015-08-05 22:30 +0200
    Re: [RFC PATCH] Exporting extra tables for machines without /dev/mem "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-08-06 01:20 +0200

#1201127 — Re: [RFC PATCH] Exporting extra tables for machines without /dev/mem

FromAl Stone <ahs3@redhat.com>
Date2015-08-05 22:30 +0200
SubjectRe: [RFC PATCH] Exporting extra tables for machines without /dev/mem
Message-ID<pUdu2-3Ci-7@gated-at.bofh.it>
On 07/21/2015 07:31 AM, Graeme Gregory wrote:
> Hi,
> 
> I thought I would send this patch as an RFC. It is something I did when
> another linaro engineer was modifying acpica-tools to not require /dev/mem.
> 
> It exports the 3 tables that are not currenly exported in sysfs.
> 
> Currently I do not think there is any user of this because acpica-tools can
> can recover the information in the other tables without these three being
> exported, fwts also works fine without the patch so the only use case I have
> is the vague "might be useful for debug"

Right -- and I personally would like to have that debug use case.  AFAICT,
the RSDP and RSDT/XSDT are recreated by acpidump; i.e., based on knowledge
of the mapped tables, acpidump builds what it believes these tables should
look like.  But, the /dev/mem mappings would give me what ACPI is actually
using (what was directly passed to the kernel).  Should there be a bug in
table mapping or ACPI startup, this info might help.

-- 
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Red Hat, Inc.
ahs3@redhat.com
-----------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1201331

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2015-08-06 01:20 +0200
Message-ID<pUg8x-7vP-7@gated-at.bofh.it>
In reply to#1201127
On Wednesday, August 05, 2015 02:25:06 PM Al Stone wrote:
> On 07/21/2015 07:31 AM, Graeme Gregory wrote:
> > Hi,
> > 
> > I thought I would send this patch as an RFC. It is something I did when
> > another linaro engineer was modifying acpica-tools to not require /dev/mem.
> > 
> > It exports the 3 tables that are not currenly exported in sysfs.
> > 
> > Currently I do not think there is any user of this because acpica-tools can
> > can recover the information in the other tables without these three being
> > exported, fwts also works fine without the patch so the only use case I have
> > is the vague "might be useful for debug"
> 
> Right -- and I personally would like to have that debug use case.  AFAICT,
> the RSDP and RSDT/XSDT are recreated by acpidump; i.e., based on knowledge
> of the mapped tables, acpidump builds what it believes these tables should
> look like.  But, the /dev/mem mappings would give me what ACPI is actually
> using (what was directly passed to the kernel).  Should there be a bug in
> table mapping or ACPI startup, this info might help.

If my memory serves me right, Lv has been doing something in that area.  Lv?

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web