summaryrefslogtreecommitdiffstats
path: root/drivers/char
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'bkl-removal' of git://git.lwn.net/linux-2.6Linus Torvalds2008-07-1438-75/+214
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'bkl-removal' of git://git.lwn.net/linux-2.6: (146 commits) IB/umad: BKL is not needed for ib_umad_open() IB/uverbs: BKL is not needed for ib_uverbs_open() bf561-coreb: BKL unneeded for open() Call fasync() functions without the BKL snd/PCM: fasync BKL pushdown ipmi: fasync BKL pushdown ecryptfs: fasync BKL pushdown Bluetooth VHCI: fasync BKL pushdown tty_io: fasync BKL pushdown tun: fasync BKL pushdown i2o: fasync BKL pushdown mpt: fasync BKL pushdown Remove BKL from remote_llseek v2 Make FAT users happier by not deadlocking x86-mce: BKL pushdown vmwatchdog: BKL pushdown vmcp: BKL pushdown via-pmu: BKL pushdown uml-random: BKL pushdown uml-mmapper: BKL pushdown ...
| * Merge commit 'v2.6.26' into bkl-removalJonathan Corbet2008-07-1470-2698/+3563
| |\
| * | ipmi: fasync BKL pushdownJonathan Corbet2008-07-021-0/+2
| | | | | | | | | | | | | | | | | | This driver really needs it to avoid races against open() Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | tty_io: fasync BKL pushdownJonathan Corbet2008-07-021-5/+9
| | | | | | | | | | | | Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | tpm-tpm: BKL pushdownArnd Bergmann2008-07-021-0/+5
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | sonypi: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | rtc: BKL pushdownArnd Bergmann2008-07-021-0/+4
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | nvram: BKL pushdownArnd Bergmann2008-07-021-0/+4
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | mwave-mwavedd: BKL pushdownArnd Bergmann2008-07-021-0/+2
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | lcd: BKL pushdownArnd Bergmann2008-06-201-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | ipmi-watchdog: BKL pushdownArnd Bergmann2008-06-201-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | ip27-rtc: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | hw-random: BKL pushdownArnd Bergmann2008-06-201-0/+2
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | hpet: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | genrtc: BKL pushdownArnd Bergmann2008-06-201-1/+6
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | efirtc: BKL pushdownArnd Bergmann2008-06-201-0/+2
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | ds1620: BKL pushdownArnd Bergmann2008-06-201-1/+8
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | ds1286: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | briq_panel: BKL pushdownArnd Bergmann2008-06-201-2/+7
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | apm-emulation: BKL pushdownArnd Bergmann2008-06-201-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | agp-frontend: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | bkl-removal viotape fixupStephen Rothwell2008-06-201-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | Add a bunch of cycle_kernel_lock() callsJonathan Corbet2008-06-208-42/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | All of the open() functions which don't need the BKL on their face may still depend on its acquisition to serialize opens against driver initialization. So make those functions acquire then release the BKL to be on the safe side. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | dsp56k: BKL pushdownJonathan Corbet2008-06-201-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | Put explicit lock_kernel calls into dsp56k_open(). [Stupid missing label error fixed] Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | raw: BKL pushdownJonathan Corbet2008-06-201-0/+3
| | | | | | | | | | | | | | | | | | | | | Put explicit lock_kernel() calls into raw_open(), even though the existing locking looks adequate. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | tlckl: BKL pushdownJonathan Corbet2008-06-201-7/+12
| | | | | | | | | | | | | | | | | | Put explicit lock_kernel calls into tlclk_open() Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | xilinx icap: BKL pushdownJonathan Corbet2008-06-201-1/+5
| | | | | | | | | | | | | | | | | | | | | Add explicit lock_kernel() calls to hwicap_open() even though the existing locking looks adequate. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | vcs: BKL pushdownJonathan Corbet2008-06-201-2/+7
| | | | | | | | | | | | | | | | | | Add explicit BKL to vcs_open(). Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | Add "no BKL needed" comments to several driversJonathan Corbet2008-06-207-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | This documents the fact that somebody looked at the relevant open() functions and concluded that, due to their trivial nature, no locking was needed. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | tty: cdev lock_kernel() pushdownJonathan Corbet2008-06-201-2/+25
| | | | | | | | | | | | Parts of the serial code actually BUG() if we don't do this.
| * | snsc: cdev lock_kernel() pushdownJonathan Corbet2008-06-201-1/+4
| | | | | | | | | | | | Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | drm: cdev lock_kernel() pushdownJonathan Corbet2008-06-201-2/+7
| | | | | | | | | | | | Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | lp: cdev lock_kernel() pushdownJonathan Corbet2008-06-201-12/+26
| | | | | | | | | | | | Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | mbcs: cdev lock_kernel() pushdownJonathan Corbet2008-06-201-0/+5
| | | | | | | | | | | | | | | | | | This driver would appear to have no internal locking at all. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | viotape: cdev lock_kernel pushdown ()Jonathan Corbet2008-06-201-0/+3
| | | | | | | | | | | | Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | misc: cdev lock_kernel() pushdownJonathan Corbet2008-06-201-0/+3
| | | | | | | | | | | | | | | | | | | | | misc_open() looks fine, but who knows what all of the misc drivers are doing in their open() functions? Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | mem: cdev lock_kernel() pushdownJonathan Corbet2008-06-201-2/+8
| | | | | | | | | | | | | | | | | | | | | It's really hard to tell if this is necessary - lots of weird magic happens by way of map_devmem() Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | ipmi: cdev lock_kernel() pushdownJonathan Corbet2008-06-201-2/+6
| | | | | | | | | | | | Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* | | Merge branch 'x86/for-linus' of ↵Linus Torvalds2008-07-142-64/+82
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip * 'x86/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (821 commits) x86: make 64bit hpet_set_mapping to use ioremap too, v2 x86: get x86_phys_bits early x86: max_low_pfn_mapped fix #4 x86: change _node_to_cpumask_ptr to return const ptr x86: I/O APIC: remove an IRQ2-mask hack x86: fix numaq_tsc_disable calling x86, e820: remove end_user_pfn x86: max_low_pfn_mapped fix, #3 x86: max_low_pfn_mapped fix, #2 x86: max_low_pfn_mapped fix, #1 x86_64: fix delayed signals x86: remove conflicting nx6325 and nx6125 quirks x86: Recover timer_ack lost in the merge of the NMI watchdog x86: I/O APIC: Never configure IRQ2 x86: L-APIC: Always fully configure IRQ0 x86: L-APIC: Set IRQ0 as edge-triggered x86: merge dwarf2 headers x86: use AS_CFI instead of UNWIND_INFO x86: use ignore macro instead of hash comment x86: use matching CFI_ENDPROC ...
| * \ \ Merge commit 'v2.6.26' into x86/coreIngo Molnar2008-07-141-1/+3
| |\ \ \ | | | |/ | | |/|
| * | | Merge branch 'linus' into x86/coreIngo Molnar2008-07-123-3/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/x86/mm/ioremap.c Signed-off-by: Ingo Molnar <mingo@elte.hu>
| | \ \ \
| | \ \ \
| | \ \ \
| | \ \ \
| | \ \ \
| | \ \ \
| | \ \ \
| | \ \ \
| | \ \ \
| | \ \ \
| | \ \ \
| | \ \ \
| | \ \ \
| | \ \ \
| *-------------. \ \ \ Merge branches 'x86/numa-fixes', 'x86/apic', 'x86/apm', 'x86/bitops', ↵Ingo Molnar2008-07-0852-1356/+3126
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'x86/build', 'x86/cleanups', 'x86/cpa', 'x86/cpu', 'x86/defconfig', 'x86/gart', 'x86/i8259', 'x86/intel', 'x86/irqstats', 'x86/kconfig', 'x86/ldt', 'x86/mce', 'x86/memtest', 'x86/pat', 'x86/ptemask', 'x86/resumetrace', 'x86/threadinfo', 'x86/timers', 'x86/vdso' and 'x86/xen' into x86/devel
| | | | | | | | | * \ \ \ Merge commit 'v2.6.26-rc8' into x86/xenIngo Molnar2008-06-2534-1232/+2837
| | | | | | | | | |\ \ \ \ | | | | | | |_|_|_|/ / / / | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/x86/xen/enlighten.c arch/x86/xen/mmu.c Signed-off-by: Ingo Molnar <mingo@elte.hu>
| | | | | | | | | * | | | Merge branch 'linus' into x86/xenIngo Molnar2008-06-1615-57/+203
| | | | | | | | | |\ \ \ \ | | | | | | | | |_|/ / / / | | | | | | | |/| | | | |
| | | | | | | | | * | | | xen-console: add save/restoreJeremy Fitzhardinge2008-05-271-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add code to: 1. Deal with the console page being canonicalized. During save, the console's mfn in the start_info structure is canonicalized to a pfn. In order to deal with that, we always use a copy of the pfn and indirect off that all the time. However, we fall back to using the mfn if the pfn hasn't been initialized yet. 2. Restore the console event channel, and rebind it to the existing irq. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| | | | | | | | | * | | | xen: make earlyprintk=xen work againJeremy Fitzhardinge2008-05-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some perverse reason, if you call add_preferred_console() it prevents setup_early_printk() from successfully enabling the boot console - unless you make it a preferred console too... Also, make xenboot console output distinct from normal console output, since it gets repeated when the console handover happens, and the duplicated output is confusing without disambiguation. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Markus Armbruster <armbru@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com>
| | | | | | | | | * | | | xen: make early console also write to debug consoleJeremy Fitzhardinge2008-05-271-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using "earlyprintk=xen", also write the console output to the raw debug console. This will appear on dom0's console if the hypervisor has been compiled to allow it. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| | | | | | | | | * | | | xen: add raw console write functions for debugJeremy Fitzhardinge2008-05-271-0/+26
| | | | |_|_|_|_|/ / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a couple of functions which can write directly to the Xen console for debugging. This output ends up on the host's dom0 console (assuming it allows the domain to write there). Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| | | | | | * | | | | | Merge branch 'linus' into x86/gartIngo Molnar2008-06-2534-1232/+2837
| | | | | | |\ \ \ \ \ \ | | | | | | |/ / / / / / | | | | | |/| | | | | |
| | | | | | * | | | | | Merge branch 'linus' into x86/gartIngo Molnar2008-06-165-12/+11
| | | | | | |\ \ \ \ \ \ | | | | | | | |/ / / / /
OpenPOWER on IntegriCloud