Re: [PATCH v2] pci: Allow read/write access to sysfs I/O portresources

From: Jesse Barnes
Date: Fri Jul 23 2010 - 12:27:59 EST


On Fri, 23 Jul 2010 09:10:27 -0600
Alex Williamson <alex.williamson@xxxxxxxxxx> wrote:

> On Mon, 2010-07-19 at 09:45 -0600, Alex Williamson wrote:
> > PCI sysfs resource files currently only allow mmap'ing. On x86 this
> > works fine for memory backed BARs, but doesn't work at all for I/O
> > port backed BARs. Add read/write to I/O port PCI sysfs resource
> > files to allow userspace access to these device regions.
> >
> > Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
> > ---
>
> Any thoughts on this for -next? Thanks,

Yeah, I like it. Unless there are objections I'll pull it in.

Thanks,
--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/