From: ahs3@redhat.com (Al Stone)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] Is /dev/port useful on arm64?
Date: Mon, 25 Apr 2016 16:35:04 -0600 [thread overview]
Message-ID: <571E9B98.4050505@redhat.com> (raw)
In examining a bug report where lm_sensors fails on arm64 (and panics the
kernel, which is kind of annoying), it turns out it is trying to read
information from an ISA port using the /dev/port device.
It's easy enough to disable this; you can:
-- set CONFIG_DEVPORT=n for arm64 (in arch/arm64/Kconfig)
-- or, redefine the macro arch_has_dev_port() to:
#define arch_has_dev_port() (0)
in arch/arm64/include/asm/io.h
However, /dev/port is used for both ISA and PCI IO ports. So, this led me
to what may be a dumb question: is there really a need for PCI support in
/dev/port for arm64?
Supporting ISA just seems silly, at least from an ARMv8 server standpoint,
but PCI is less clear to me. Anyone have opinions one way or the other?
It seems like it would be a waste of time to do the work to make sure the
PCI ports work correctly only to find out they will never be used, but I
can't think of anyone that actually needs them.
Thanks.
--
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Red Hat, Inc.
ahs3 at redhat.com
-----------------------------------
next reply other threads:[~2016-04-25 22:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-25 22:35 Al Stone [this message]
2016-04-25 22:43 ` [RFC] Is /dev/port useful on arm64? Arnd Bergmann
2016-04-26 16:02 ` 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=571E9B98.4050505@redhat.com \
--to=ahs3@redhat.com \
--cc=linux-arm-kernel@lists.infradead.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