linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: linux-acpi@vger.kernel.org
Subject: systemd, fpdt and /dev/mem
Date: Mon, 10 Nov 2014 16:21:42 -0500	[thread overview]
Message-ID: <20141110212142.GA2337@redhat.com> (raw)

I just noticed systemd has started doing this:

[ 3228.978745] Program systemd tried to access /dev/mem between 30a48000->30a48008.

After some investigation, it seems that it's reading
/sys/firmware/acpi/tables/FPDT to get a pointer, and then trying to read
that address using /dev/mem.  Asides from the grossness of grovelling around in
memory, given it's too late to stop exporting pointers in sysfs objects,
should there perhaps be a better way to export the data the FPDT is
pointing at ?

Or should some part of acpi be reserving the memory range it points to,
so that the /dev/mem driver doesn't freak out ?

Curiously, the address it points to is in this range..
  302b5000-3129dfff : Kernel bss

Which makes me wonder what exactly it's reading.

	Dave


                 reply	other threads:[~2014-11-10 21:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20141110212142.GA2337@redhat.com \
    --to=davej@redhat.com \
    --cc=linux-acpi@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).