login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
29
Re: [PATCH 1/3] resource: shared I/O region support
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: H. Peter Anvin
Subject:
Re: [PATCH 1/3] resource: shared I/O region support
Date: Monday, March 29, 2010 - 11:17 am
On 03/29/2010 11:06 AM, Jesse Barnes wrote:
quoted text
>> >> I have to question this approach a bit. >> >> I would much rather see this as a two-step process, where multiple >> devices request the same region with a "sharable" flag, and then have a >> mutex associated with the struct resource (perhaps we need an outer >> container called "struct muxed_resource" or some such.) >> >> What I *really* object to with this patch is that it inherently assumes >> that there is only one multiplexed resource in the entire system... but >> of course nowhere enforces that. > > Well that does keep it simple, and with just one user that's probably > best. > > But why not use the common bus driver method? Muxing at the resource > level only seems to solve part of the problem... It doesn't guarantee > for example that driver A does something to a shared region that breaks > driver B; it just makes sure they don't access the same region at the > same time. >
The common bus driver method is the obvious thing to do, but it would presumably be greatly helped by librarization. -hpa --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] hwmon: f71882fg: properly acquire I/O regions whil ...
, Giel van Schijndel
, (Tue Mar 23, 7:12 am)
Re: [PATCH] hwmon: f71882fg: properly acquire I/O regions ...
, Giel van Schijndel
, (Tue Mar 23, 7:17 am)
Re: [PATCH] hwmon: f71882fg: properly acquire I/O regions ...
, Giel van Schijndel
, (Tue Mar 23, 4:01 pm)
[PATCH 1/4] [RFC] hwmon: f71882fg: Add support for the Fin ...
, Giel van Schijndel
, (Tue Mar 23, 4:12 pm)
[PATCH 2/4] hwmon: f71882fg: prepare for addition of watch ...
, Giel van Schijndel
, (Tue Mar 23, 4:12 pm)
[PATCH 3/4] hwmon: f71882fg: add watchdog detection code
, Giel van Schijndel
, (Tue Mar 23, 4:12 pm)
[PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API for F7 ...
, Giel van Schijndel
, (Tue Mar 23, 4:12 pm)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Giel van Schijndel
, (Tue Mar 23, 4:26 pm)
Re: [PATCH] hwmon: f71882fg: properly acquire I/O regions ...
, Hans de Goede
, (Wed Mar 24, 1:14 am)
Re: [PATCH 1/4] [RFC] hwmon: f71882fg: Add support for the ...
, Hans de Goede
, (Wed Mar 24, 1:25 am)
Re: [PATCH 2/4] hwmon: f71882fg: prepare for addition of w ...
, Hans de Goede
, (Wed Mar 24, 1:26 am)
Re: [PATCH 2/4] hwmon: f71882fg: prepare for addition of w ...
, Hans de Goede
, (Wed Mar 24, 1:36 am)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Hans de Goede
, (Wed Mar 24, 1:37 am)
Re: [PATCH] hwmon: f71882fg: properly acquire I/O regions ...
, Giel van Schijndel
, (Wed Mar 24, 1:46 am)
[PATCH] hwmon: f71882fg: code cleanup
, Giel van Schijndel
, (Wed Mar 24, 2:09 am)
[PATCH] hwmon: f71882fg: acquire I/O regions while we're w ...
, Giel van Schijndel
, (Wed Mar 24, 2:09 am)
Re: [PATCH 1/4] hwmon: f71882fg: Add support for the Finte ...
, Giel van Schijndel
, (Wed Mar 24, 2:23 am)
Re: [PATCH] hwmon: f71882fg: properly acquire I/O regions ...
, Jean Delvare
, (Wed Mar 24, 2:28 am)
Re: [PATCH] hwmon: f71882fg: properly acquire I/O regions ...
, Jean Delvare
, (Wed Mar 24, 2:29 am)
Re: [PATCH] hwmon: f71882fg: properly acquire I/O regions ...
, Giel van Schijndel
, (Wed Mar 24, 2:34 am)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Giel van Schijndel
, (Wed Mar 24, 2:36 am)
Re: [PATCH 1/4] hwmon: f71882fg: Add support for the Finte ...
, Hans de Goede
, (Wed Mar 24, 3:31 am)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Hans de Goede
, (Wed Mar 24, 3:33 am)
Re: [PATCH] hwmon: f71882fg: code cleanup
, Jean Delvare
, (Wed Mar 24, 5:54 am)
Re: [PATCH] hwmon: f71882fg: properly acquire I/O regions ...
, Jean Delvare
, (Wed Mar 24, 5:54 am)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Giel van Schijndel
, (Wed Mar 24, 8:35 am)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Alan Cox
, (Wed Mar 24, 8:51 am)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Hans de Goede
, (Wed Mar 24, 9:20 am)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Giel van Schijndel
, (Wed Mar 24, 1:35 pm)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Giel van Schijndel
, (Thu Mar 25, 1:54 am)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Giel van Schijndel
, (Thu Mar 25, 3:40 am)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Alan Cox
, (Thu Mar 25, 5:50 am)
Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API fo ...
, Hans de Goede
, (Thu Mar 25, 6:06 am)
[PATCH 1/3] resource: shared I/O region support
, Giel van Schijndel
, (Thu Mar 25, 6:17 am)
[PATCH 2/3] hwmon: f71882fg: use a muxed resource lock for ...
, Giel van Schijndel
, (Thu Mar 25, 6:17 am)
[PATCH 3/3] [RFC] watchdog: f71808e_wdt: new watchdog driv ...
, Giel van Schijndel
, (Thu Mar 25, 6:17 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Alan Cox
, (Thu Mar 25, 8:57 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Giel van Schijndel
, (Thu Mar 25, 11:03 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Alan Cox
, (Thu Mar 25, 11:16 am)
Re: [PATCH 2/3] hwmon: f71882fg: use a muxed resource lock ...
, Hans de Goede
, (Thu Mar 25, 2:10 pm)
Re: [PATCH 1/3] resource: shared I/O region support
, Giel van Schijndel
, (Mon Mar 29, 1:18 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Jesse Barnes
, (Mon Mar 29, 9:07 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Giel van Schijndel
, (Mon Mar 29, 10:38 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Giel van Schijndel
, (Mon Mar 29, 10:44 am)
Re: [PATCH 1/3] resource: shared I/O region support
, H. Peter Anvin
, (Mon Mar 29, 10:45 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Jesse Barnes
, (Mon Mar 29, 10:59 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Jesse Barnes
, (Mon Mar 29, 10:59 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Jesse Barnes
, (Mon Mar 29, 11:06 am)
Re: [PATCH 1/3] resource: shared I/O region support
, H. Peter Anvin
, (Mon Mar 29, 11:17 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Alan Cox
, (Mon Mar 29, 11:29 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Alan Cox
, (Mon Mar 29, 11:39 am)
Re: [PATCH 1/3] resource: shared I/O region support
, H. Peter Anvin
, (Mon Mar 29, 11:56 am)
Re: [PATCH 3/3] [RFC] watchdog: f71808e_wdt: new watchdog ...
, Giel van Schijndel
, (Tue Mar 30, 2:06 am)
Re: [PATCH 1/3] resource: shared I/O region support
, Jesse Barnes
, (Fri Apr 2, 1:29 pm)
Re: [PATCH 2/3] hwmon: f71882fg: use a muxed resource lock ...
, Giel van Schijndel
, (Sun Apr 25, 3:35 am)
Re: [lm-sensors] [PATCH 4/4] [RFC] hwmon: f71882fg: Add wa ...
, Jim Cromie
, (Sun Apr 25, 2:20 pm)
Re: [PATCH 3/3] [RFC] watchdog: f71808e_wdt: new watchdog ...
, Wim Van Sebroeck
, (Thu May 20, 12:52 am)
Re: [PATCH 3/3] [RFC] watchdog: f71808e_wdt: new watchdog ...
, Giel van Schijndel
, (Tue May 25, 2:08 pm)
Re: [PATCH 3/3] [RFC] watchdog: f71808e_wdt: new watchdog ...
, Wim Van Sebroeck
, (Wed May 26, 12:38 am)
Re: [PATCH 2/3] hwmon: f71882fg: use a muxed resource lock ...
, Giel van Schijndel
, (Sat Jul 31, 2:21 pm)
Re: [PATCH 3/3] [RFC] watchdog: f71808e_wdt: new watchdog ...
, Giel van Schijndel
, (Sat Jul 31, 2:36 pm)
Re: [PATCH 1/4] hwmon: f71882fg: Add support for the Finte ...
, Giel van Schijndel
, (Sat Jul 31, 4:31 pm)
Re: [PATCH 1/4] hwmon: f71882fg: Add support for the Finte ...
, Hans de Goede
, (Sat Jul 31, 11:12 pm)
Re: [PATCH 1/4] hwmon: f71882fg: Add support for the Finte ...
, Giel van Schijndel
, (Sun Aug 1, 6:22 am)
[PATCH] hwmon: f71882fg: Add support for the Fintek F71808E
, Giel van Schijndel
, (Sun Aug 1, 6:30 am)
[PATCH 1/2] hwmon: f71882fg: use a muxed resource lock for ...
, Giel van Schijndel
, (Sun Aug 1, 6:30 am)
[PATCH 2/2] watchdog: f71808e_wdt: new watchdog driver for ...
, Giel van Schijndel
, (Sun Aug 1, 6:30 am)
Re: [PATCH] hwmon: f71882fg: Add support for the Fintek F7 ...
, Hans de Goede
, (Wed Aug 4, 4:36 am)
Re: [PATCH 1/2] hwmon: f71882fg: use a muxed resource lock ...
, Hans de Goede
, (Wed Aug 4, 4:38 am)
Re: [PATCH] hwmon: f71882fg: Add support for the Fintek F7 ...
, Giel van Schijndel
, (Wed Aug 4, 8:44 am)
Re: [PATCH] hwmon: f71882fg: Add support for the Fintek F7 ...
, Giel van Schijndel
, (Tue Aug 10, 12:11 pm)
Re: [PATCH] hwmon: f71882fg: Add support for the Fintek F7 ...
, Hans de Goede
, (Fri Aug 13, 3:01 am)
Re: [PATCH] hwmon: f71882fg: Add support for the Fintek F7 ...
, Hans de Goede
, (Fri Aug 13, 3:56 am)
Re: [PATCH] hwmon: f71882fg: Add support for the Fintek F7 ...
, Andrew Morton
, (Wed Aug 18, 11:24 am)
Re: [PATCH] hwmon: f71882fg: Add support for the Fintek F7 ...
, Hans de Goede
, (Sun Aug 22, 11:04 am)
Re: [PATCH] hwmon: f71882fg: Add support for the Fintek F7 ...
, Giel van Schijndel
, (Sun Aug 22, 11:28 am)
Re: [PATCH 1/2] hwmon: f71882fg: use a muxed resource lock ...
, Giel van Schijndel
, (Sat Oct 2, 3:59 pm)
Re: [PATCH 1/2] hwmon: f71882fg: use a muxed resource lock ...
, Guenter Roeck
, (Sat Oct 2, 6:06 pm)
Re: [PATCH 1/2] hwmon: f71882fg: use a muxed resource lock ...
, Jean Delvare
, (Sun Oct 3, 2:01 am)
[PATCH] hwmon: f71882fg: use a muxed resource lock for the ...
, Giel van Schijndel
, (Sun Oct 3, 5:09 am)
Re: [PATCH] hwmon: f71882fg: use a muxed resource lock for ...
, Guenter Roeck
, (Sun Oct 3, 6:31 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Len Brown
Re: fatal: unable to create '.git/index': File exists
Denis Bueno
Git clone error
Paolo Bonzini
Re: [RFC/PATCH 5/6] revert: add --ff option to allow fast forward when cherry-pick...
Sam Vilain
Re: RFC: Flat directory for notes, or fan-out? Both!
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
V4L/DVB: gspca - sonixj: Adjust minor values of sensor ov7630. - set the color ga...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
Sam Fourman Jr.
Re: Help with Altell PC6700
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Colocation donated by:
Syndicate