lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171205003525.12535.89924.stgit@bhelgaas-glaptop.roam.corp.google.com>
Date:   Mon, 04 Dec 2017 18:39:54 -0600
From:   Bjorn Helgaas <helgaas@...nel.org>
To:     unlisted-recipients:; (no To-header on input)
Cc:     Jason Cooper <jason@...edaemon.net>,
        Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
        Marc Zyngier <marc.zyngier@....com>,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        linux-kernel@...r.kernel.org, Ralf Baechle <ralf@...ux-mips.org>,
        Paul Mackerras <paulus@...ba.org>,
        Michael Ellerman <mpe@...erman.id.au>,
        Ivan Kokshaysky <ink@...assic.park.msu.ru>,
        Thomas Gleixner <tglx@...utronix.de>,
        Yinghai Lu <yinghai@...nel.org>,
        Matt Turner <mattst88@...il.com>,
        Richard Henderson <rth@...ddle.net>
Subject: [PATCH v1 0/6] resource: Set struct resource types correctly

We have several places that insert struct resources into the iomem_resource
or ioport_resource trees without setting the type.  This *works* fine
because it's obvious that a resource must be the same type as its parent,
but it does mean that if we ever print the resource with %pR, it doesn't
print correctly.

These patches fix all the cases I found.  Ideally I'd like to merge all
these through my PCI tree because I'm working on some legacy resource
changes that do cause some of these resources to be printed.

---

Bjorn Helgaas (6):
      vgacon: Set VGA struct resource types
      MIPS: Set I/O port resource types correctly
      powerpc: Set I/O port resource types correctly
      irqchip/i8259: Set I/O port resource types correctly
      resource: Set type of "reserve=" user-specified resources
      resource: Set type when reserving new regions


 Documentation/admin-guide/kernel-parameters.txt |    6 +++-
 arch/alpha/kernel/console.c                     |    1 +
 arch/mips/jazz/setup.c                          |    8 +++--
 arch/mips/mti-malta/malta-setup.c               |   10 +++----
 arch/powerpc/platforms/maple/time.c             |    2 +
 arch/powerpc/sysdev/i8259.c                     |    6 ++--
 drivers/irqchip/irq-i8259.c                     |    4 +--
 drivers/video/console/vgacon.c                  |   34 ++++++++++++++++++-----
 kernel/resource.c                               |   29 ++++++++++++++------
 9 files changed, 68 insertions(+), 32 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ