diff options
| author | Daniel Axtens <[email protected]> | 2019-06-27 15:30:08 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-08-22 23:12:48 +1000 |
| commit | 7e04a46d84f73ef0f21d2257d6ba2a194c0f1511 (patch) | |
| tree | fcd8106a218f3803ed52e2d15df8fc33faf4724c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | b8baa05a0e505f8311fb03f5c72e75fa0e13fd95 (diff) | |
powerpc/configs: Disable /dev/port in skiroot defconfig
While reviewing lockdown patches, I discovered that we still enable
/dev/port (CONFIG_DEVPORT) in skiroot.
/dev/port is used for old x86 style IO accesses. It's set up in
drivers/char/mem.c, and is only created if arch_has_dev_port() returns
true. Per arch/powerpc/include/asm/io.h, on PPC64 with PCI, this is
only true if there's a legacy ISA bridge.
Even if a system has a legacy ISA bridge installed, we have no
business accessing it in skiroot.
Deselect CONFIG_DEVPORT for skiroot.
Signed-off-by: Daniel Axtens <[email protected]>
[mpe: Incorporate emailed comments into the change log]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions