[lkml]   [2017]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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(-)

 \ /
  Last update: 2017-12-05 01:40    [W:0.074 / U:68.472 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site