Age | Commit message (Collapse) | Author | Files | Lines |
|
in /sysfs
The attached patch adds support for using cpuid(4) instead of cpuid(2), to
get CPU cache information in a deterministic way for Intel CPUs, whenever
supported. The details of cpuid(4) can be found here
IA-32 Intel Architecture Software Developer's Manual (vol 2a)
(http://developer.intel.com/design/pentium4/manuals/index_new.htm#sdm_vol2a)
and
Prescott New Instructions (PNI) Technology: Software Developer's Guide
(http://www.intel.com/cd/ids/developer/asmo-na/eng/events/43988.htm)
The advantage of using the cpuid(4) ('Deterministic Cache Parameters Leaf') are:
- It provides more information than the descriptors provided by cpuid(2)
- It is not table based as cpuid(2). So, we will not need changes to the
kernel to support new cache descriptors in the descriptor table (as is
the case with cpuid(2)).
The patch also adds a bunch of interfaces under
/sys/devices/system/cpu/cpuX/cache, showing various information about the
caches. Most useful field being shared_cpu_map, which says what caches are
shared among which logical cpus.
The patch adds support for both i386 and x86-64.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
The existing x86-64 kprobes implementation doesn't cope with the
%RIP-relative addressing mode. Kprobes work by single-stepping a copy of
an instruction overwritten by a breakpoint. When a probe is inserted on an
instruction that uses the %RIP-relative data addressing mode, the copy run
in a different location gets different data and so the presence of that
probe causes the probed code to read or write the wrong memory location.
Without this problem fixed, it is woefully unsafe to use the current
kprobes code on x86-64 unless you are sure the instruction you instrument
is not one that accesses global data using the %RIP addressing mode.
This patch fixes the problem by recognizing the %RIP-relative addressing
mode in an instruction when it's being copied to insert the kprobe, and
adjusting its displacement so that it finds the right data. Taking this
approach requires that the copied instruction's %RIP value be within 2GB of
the virtual address of the data, i.e. the text/data areas of the kernel
code and loaded modules. To satisfy this need the patch also replaces the
use of vmalloc for getting instruction pages with lower-level calls to use
a different part of the address space, the area at the top of the address
space just above where modules are loaded. I left one page of red zone at
the top, and the 1MB-4KB thus available allows for at most 69632 kprobes.
(If we ever need to overcome that limit, we can change this to add a hook
into the arch/x86_64/kernel/modules.c code and allocate pages inside the
module area loading area instead.)
Signed-off-by: Roland McGrath <roland@redhat.com>
Acked-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Andi noted that during normal runtime cpu_idle_map is bounced around a lot,
and occassionally at a higher frequency than the timer interrupt wakeup
which we normally exit pm_idle from. So switch to a percpu variable.
I didn't move things to the slow path because it would involve adding
scheduler code to wakeup the idle thread on the cpus we're waiting for.
Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This patch avoids a lockup with kernel.panic sysctl > 0, due an underflow
of the number of the cpus.
Later, Andrea said:
While this still seems a needed fix, unfortunately this wasn't enough to
fix the problem (the first positive report I got was because they did a
mistake and they tested an UP kernel, oh well ;).
Anyway the smp_stop_cpu executed by the cpu that invoked panic is wrong
and it really causes an underflow of the number of cpus that can lead to
further lockups. So I don't want to stop you from merging it since it
seems a correct fix and it brings x86-64 in line with the x86 code too.
But apparently we need something more than this too.
Signed-off-by: Andrea Arcangeli <andrea@suse.de>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
All callers of send_IPI_mask_sequence are in other files, so marking it
"inline" is quite pointless.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This works around the corruption of the high word of the ESP register,
which is the official bug of x86 CPUs. The bug triggers only when the
one is using the 16bit stack segment, and is described here:
http://www.intel.com/design/intarch/specupdt/27287402.PDF
From: Oleg Nesterov <oleg@tv-sign.ru>
I think that Stas tries to steal 1024 bytes from kernel's memory.
Acked-by: Linus Torvalds <torvalds@osdl.org>
Acked-by: Petr Vandrovec <vandrove@vc.cvut.cz>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Andi noted that during normal runtime cpu_idle_map is bounced around a lot,
and occassionally at a higher frequency than the timer interrupt wakeup
which we normally exit pm_idle from. So switch to a percpu variable.
I didn't move things to the slow path because it would involve adding
scheduler code to wakeup the idle thread on the cpus we're waiting for.
Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This patch adds the mem=X boot command line option for PPC64.
On iSeries the user's mem=X value is aligned to PAGE_SIZE, on pSeries we
align to 16 MB which is the size of a large page.
The iSeries implementation is fairly straight forward, we declare mem=X as
an early_param() and then in iSeries_init_early() we modify the
systemcfg->physicalMemorySize based on that value.
On pSeries the mem=X option is parsed in prom_init.c before the kernel
proper starts, and is used to modify prom_init_mem()'s idea of memory. The
mem=X value and computed tce_alloc_start/end values are saved by
prom_init() into the device tree for later use by the kernel.
The device tree properties are read by the kernel in
early_dt_scan_chosen(), and used to modify the lmb structure in
early_init_devtree(). That's the guts of it.
On non-LPAR machines the tce_alloc_start/end values are read from the
device tree and used in htab_initialize() to make sure the TCE table is
mapped at the real top of RAM.
If NUMA is enabled we also have to make changes in parse_numa_properties()
and do_init_bootmem() to exclude memory regions above the memory limit, and
truncate any region which stradles the limit.
NB. This patch does not facilitate using mem=X to give drivers access to
large regions of contiguous memory.
Thanks to BenH, Anton, Olof, Stephen, Mike & Maneesh for their help.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
drivers/built-in.o(.text+0x2c640): In function `pmz_attach':
/home/apw/devel/percs-head/linux-2.6/drivers/serial/pmac_zilog.c:1560: undefined reference to `.macio_request_resources'
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This patch against 12-rc1 adds seccomp to the ppc64 arch. I tested it
successfully with the seccomp_test. I didn't bother to change the syscall
exit not to check for TIF_SECCOMP, in theory that bit could be optimized
but it's an optimization in the slow path, and current code is a bit
simpler. I also verified it still compiles and works fine on x86 and
x86-64.
Instead of the TIF_32BIT redefine, if you want to change x86-64 to use
TIF_32BIT too (instead of TIF_IA32), let me know.
Signed-off-by: Andrea Arcangeli <andrea@cpushare.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
I've seen that MPC8555 support also made it into linux-2.6 by now.
I don't have hardware and time to test, but it looks like this bug has made
it over from the linuxppc-2.4 tree. The 8541/8555 has a smaller CPM DPRAM
than the standard CPM2, just like the 8272.
Unfortunately, the manual recommends you to use a segment of CPM DPRAM that
is not implemented in the 8541/55. If the smaller DPRAM is not taken into
account, fcc_enet.c will initialise the internal CPM buffer pointers
(fcc_riptr/fcc_tiptr) to invalid offsets, with the result that all the FCC
will ever send and receive are 0xff-en.
See also "All-ones problem with FCC1 on MPC8541" ~October 2004 on
linuxppc-embedded.
Signed-off-by: Stefan Nickl <Stefan.Nickl@kontron.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Removed the FCC3 device from the lists of devices on MPC8555 & MPC8555E
since it does not exist on these processors.
Signed-off-by: Jason McMullan <jason.mcmullan@timesys.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Cleaned up irq_to_siubit array so we no longer need to do 1 << (31-bit),
just 1 << bit.
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Cleaned up the CPM2 interrupt controller code:
* Added the ability to offset the IRQs
* Refactored common PIC init code out of platform files
* Fixed IRQ offsets on MPC85xx so it can handle properly handled multiple
interrupt controllers (i8259, CPM2 PIC, and OpenPIC)
Signed-off-by: Jason McMullan <jason.mcmullan@timesys.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Cleaned up the Book-E exception handling code to remove saving/restoring
registers that were not needed. Moved the register save/restore area onto
the exception stacks instead of dedicated offsets. Additionally, this
allows for proper SMP handling of the additional exception levels.
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
To use external peripheral on MPC5200, some clocking registers and port-muxing
must be done. Since this is platform specific, it's placed the platform
support file. This particular patch is for USB support on the LITE5200.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
All Freescale MPC52xx related code now use new constants and the platform bus
for it's driver. This patch makes this driver make use of that.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This patch makes all platform based around the Freescale MPC52xx use the
platform bus and more precisly the ppc_sys model put in place by Kumar Gala.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This patch changes the way the constants used for register block address are
defined/used. This is a preparation for the use of the platform bus / ppc_sys
model.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
We remove all usage of the OCP system as preparation to switch to the platform
bus model / ppc_sys model. This is only for 'generic' support, drivers are
adapted separatly, afterwards.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
That test is part of an old version of the code and erroneously made it to
mainstream.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
kernel/cpuset.c:1428:41: warning: non-ANSI function declaration
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This patch applies on top of my patch of March 26, entitled "cpusets
special case GFP_ATOMIC allocs". It tones down my panic'y commentary.
My commentary shouldn't imply that failed GFP_ATOMICs should lead to, or
normally lead to, panics. Even though there are a few panic() calls
following failed GFP_ATOMIC allocs, this is not the usual or desired result
of a failed GFP_ATOMIC. The kernel will probably drop some detail on the
floor and keep on working.
Thanks to Nick Piggin for noticing (I hope this answers his point.)
Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Stringent enforcement of cpuset memory placement could cause the kernel
to fail a GFP_ATOMIC (!wait) memory allocation, even though memory was
available elsewhere in the system.
Relax the cpuset constraint, on the last zone loop in
mm/page_alloc.c:__alloc_pages(), for ATOMIC requests.
Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
drivers/char/mem.c:289
if (p < PAGE_SIZE && read > 0) {
[...]
read -= tmp;
count -= tmp;
This part is losting the number of bytes which read.
drivers/char/mem.c:302
sz = min_t(unsigned long, sz, count);
This should use "read" instead of "count".
drivers/char/mem.c:315
read -= sz;
count -= sz;
Also lost the number of bytes which read.
In short, kmem returns incorrect number always if user is accessing
the lowmem area. And also it doesn't handle the highmem boundary
rightly.
This patch uses "low_count" instead of "read", as the number of copy
in lowmem area. And "read" is used as the number of bytes which read.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
The attached patch replaces backing_dev_info::memory_backed with capabilitied
bitmap. The capabilities available include:
(*) BDI_CAP_NO_ACCT_DIRTY
Set if the pages associated with this backing device should not be
tracked by the dirty page accounting.
(*) BDI_CAP_NO_WRITEBACK
Set if dirty pages associated with this backing device should not have
writepage() or writepages() invoked upon them to clean them.
(*) Capability markers that indicate what a backing device is capable of
with regard to memory mapping facilities. These flags indicate whether a
device can be mapped directly, whether it can be copied for a mapping,
and whether direct mappings can be read, written and/or executed. This
information is primarily aimed at improving no-MMU private mapping
support.
The patch also provides convenience functions for determining the dirty-page
capabilities available on backing devices directly or on the backing devices
associated with a mapping. These are provided to keep line length down when
checking for the capabilities.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Currently we fail to clear the "invalid cache" flag when we've revalidated
the cache.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Add a wrapper for atomic_sub_and_test into include/asm-arm/atomic.h
Acked-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
The serial core will try to register the console each time a port
is registered with it. This makes serial8250_late_console_init
redundant, so remove it.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
|
|
into sunset.davemloft.net:/home/davem/src/BK/sparc-2.6
|
|
This one was in strncpy_from_user().
Now we can finally put the per-cpu data area base
into g5 on SMP.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
The main impetus was to get rid of some of the
remaining g5 register accesses. But this routine
is about as fast as the older VIS stuff, and actually
faster on UltraSPARC-III and later chips.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
into ppc970.osdl.org:/home/torvalds/v2.6/linux
|
|
Patch from Hirokazu Takata
m32r_sio driver updates:
- Move m32r_sio specific description from asm-m32r/serial.h to
driver/serial/m32r_sio.c.
- Remove __register_m32r_sio, register_m32r_sio and unregister_m32r_sio
from driver/serial/m32r_sio.c.
Signed-off-by: Hirokazu Takata
|
|
into ppc970.osdl.org:/home/torvalds/v2.6/linux
|
|
into pobox.com:/garz/repo/net-drivers-2.6
|
|
into pobox.com:/garz/repo/net-drivers-2.6
|
|
into pobox.com:/garz/repo/net-drivers-2.6
|
|
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
|
|
From: "HARDY, Steven" <steven.hardy@astrium.eads.net>
I have found a bug in the pcnet32 driver (drivers/net/pcnet32.c)
affecting all ethernet cards based on the AMD79C975 chip, using the
fiber interface.
It's a one line fix, where some config registers get corrupted during
initialisation (which stops the Fiber interface working with this chip)
This bug was introduced somewhere betweeen 2.4.17 and 2.6.x (noticed
whilst upgrading to 2.6), and it may affect other chips too. I have
checked all versions up to 2.6.11-bk6 and they are all broken.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Don Fry <brazilnut@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
|
|
1. Change of Copyright to reflect S2io's new name "Neterion Inc."
2. Updated driver version number.
3. Add an additional PCI device id to support Neterion's new Xframe II.
Some background info on Xframe-II, just in case -
The NIC was announced back in January (see
http://www.serverwatch.com/news/article.php/3464871)
Xframe II is a PCI-X 2.0 DDR adapter designed to work in PCI-X 2.0 servers
(it is also backwards compatible with current pci-x and pci slots); it's a
first card to overcome pci-x 133 throughput bottleneck. Some of these pci-x
2.0 servers are available now and more are coming later in the year.
Xframe II is completely backward compatible and hence the current driver
will work as-is, except the device id change.
There are some additional features/stateless offloads in Xframe-II
as well; we plan to submit patches for these soon.
Signed-off-by: Ravinandan Arakali <ravinandan.arakali@neterion.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
|
|
Below patch addresses couple of issues w.r.t h/w initialization.
1. The SWAPPER_CTRL register is now initialized as per recommended
procedure from h/w team. This register when initialized correctly
ensures correct access to other registers on big-endian and
little-endian systems.
2. Enabling the Continuous interrupt feature by default on Tx at
a rate of 250 interrupts/sec.
Signed-off-by: Ravinandan Arakali <ravinandan.arakali@neterion.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
|
|
Below patch fixes the statistics problem on big-endian systems(such
as IBM PPC).
Basically, the problem was "ethtool -s" was reporting huge values
on counters like no. of Tx frames, no. of Rx packets etc.
The fix has been tested on little-endian and big-endian systems.
Signed-off-by: Ravinandan Arakali <ravinandan.arakali@neterion.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
|
|
Add MODULE_VERSION entry.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
|
|
In netlink_dump we're operating on sk after dropping the cb lock.
This is racy because the owner of the socket could close it after
we drop the cb lock.
This is possible because netlink_dump isn't always called from the
context of the process that owns the socket. For instance, if there
is contention on rtnl then rtnetlink requests will be processed by
the process that owns the rtnl.
The solution is to hold a ref count on the socket before we drop
the cb lock.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
into sunset.davemloft.net:/home/davem/src/BK/net-2.6
|
|
Resurrect an old comment, explaining why this isn't an off-by-one error.
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
I think this has been there for long time (maybe since 2.4...).
With the following patch, I can connect local link-local address.
- Change incoming interface according to the scoping architecture
- Choose source address on appropriate interface, according to the
scoping architecture.
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
There is no 'ports' parameter for the ip_nat_ftp and ip_nat_irc modules in
2.6.11: the ports parameter supplied to the
ip_conntrack_ftp/ip_conntrack_irc module defines the ports. It was
unfortunate that we were lazy in the original implementation, and forced
the user to duplicate the arguments.
Even more unfortunate, the removal of the parameter caused autoloading to
break for various setups, with an 'Unknown parameter' message. The
solution is to restore the parameter as a dummy, with a polite warning
message that it is no longer neccessary.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
It seems that there is a gremlin sleeping in net/core/netpoll.c:find_skb().
Even if no more buffers are available through skbs, skb is
dereferenced anyway. The tiny patch should fix it.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
into ppc970.osdl.org:/home/torvalds/v2.6/linux
|
|
An update to the patch from Adaptec with byte order changes:
- drop byte swapping on all 0's and all 1's content
- fix up missing swapping directives
- ensure swapping on 16 bit values does not use 32 bit swap
- Made hardware registers __le* types.
- hopefully caught the style issues.
Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
|
|
When a device is being torn down (mostly in USB ejection)
we hit conditions where SCSI hangs in wait_for_completion().
The reason is that the scsi request prep function does a
state check on the device and rejects it with BLKPREP_KILL if
we're in the DEL (going away, no more I/O) state.
Unfortunately, I/O submitted by scsi_wait_req() doesn't have
its request->end_io initialised, so we're never notified of
this (the submit path expects everything to come back via
the scsi_request->sr_done() routine, which only happens
if the I/O actually gets submitted.
Note: almost everything that uses scsi_do_request() is wrong
not only in this regard but also on other things, like ending
tags.
Problem Diagnosed with help from: Tejun Heo <htejun@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
|
|
into ppc970.osdl.org:/home/torvalds/v2.6/linux
|
|
Patch from Vincent Sanders
Fixes missing include which breaks footbridge_defconfig build
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Sascha Hauer
This patch adds support for hardwarehandshaking on i.MX soc
Signed-off-by: Sascha Hauer
Signed-off-by: Mike Lee
Signed-off-by: Russell King
|
|
link time
Patch from Nicolas Pitre
Without this, someone could successfully link a kernel with, for
example, no machine description structure at all.
Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King
|
|
Patch from Lucas Correia Villa Real
This patch fixes the definition of the GPB10 bits on the S3C2410 by using the
correct offset to access its functions.
Signed-off-by: Lucas Correia Villa Real
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King
|
|
|
|
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
There is no need to make this thing use VIS et al.
A simple straightforward prefetching integer version
is fine. Actually, most of the time this routine is
run to compute checksums of small header bits or
similar.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
into suse.de:/home/greg/linux/BK/usb-2.6
|
|
Extends the action dumping function by a parameter to differ between
regular calls and the one supposed to add the backward compatiblity
bits for old userspace applications.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
into sunset.davemloft.net:/home/davem/src/BK/sparc-2.6
|
|
Register o4 is referenced both with a preceeding percent
sign and without (via macros), so make sure to replace all
such cases.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
This fixes the FRV configuration to work with 2.6.12-rc1. It does this
by breaking out the kernel hacking menu into a separate file, in the
same way this is done in other archs.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This removes an unused variable from the FRV arch.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This fixes the TLB miss mapping cache flush function.
The flush was attempting to invalidate the coverage start virtual addresses
for the cached page table mappings held in registers SCR0 and SCR1 by writing
0 into them. Unfortunately, 0x00000000-0x04000000 is itself a valid part of
the virtual address range. This patches places -1 in there instead, thus
specifying 0xfc000000-0xffffffff which is covered by a static I/O mapping, and
so shouldn't ever be seen by the TLB-miss handler.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This fixes three remaining places where we put u32 (or worse
suspend_state_t) into pm_message_t-sized box. As a bonus, PCI_D0 is used
instead of constant 0.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This should fix u32 vs. pm_message_t confusion in AGP.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This fixes u32 vs. pm_message_t confusion in macintosh.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This fixes u32 vs. pm_message_t confusion in serials.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This fixes u32 vs. pm_message_t confusion in MMC layer.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This should fix u32 vs pm_message_t confusion in framebuffers, and do no code
changes.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This should fix part of u32 vs. pm_message_t confusion in pcmcia.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This fixes (part of) u32 vs. pm_message_t confusion in OSS.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
While fixing usb, I stomped on a few more fixes. Print error when some
device fails to power down, and 2 is no longer valid state to pass in
pm_message_t.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This fixes (part of) u32 vs. pm_message_t confusion in USB. It should cause
no code changes.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This fixes u32 vs. pm_message_t in generic code. No code changes.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This fixes a problem that cropped up resuming OHCI from PCI D3 on
NForce2. Evidently the register controlling frame timing gets
clobbered in D3, but not other registers ... a "by the book" reinit
seems to solve this particular problem. (And ought to help a few
startup glitches on other implementations. Linux never used that
toggle bit before, and has had to struggle with glitchy init...)
It also updates some diagnostics to be bit more useful, and tries
to avoid a particular "wakeup while suspending" glitch that seems
particular to one particular type of Australian mouse.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
This patch changes the permissions of the 'event_char' and
'latency_timer' sysfs attributes for devices supported by the ftdi_sio
driver. They should only be set by root.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
A couple of sysfs attributes were added for the FT232BM (and FT245BM)
chip type in 2.6.11. This patch extends there use to the FT8U232AM (and
FT8U245AM) and FT2232C chip types, where applicable.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
This patch just adds an array to map the chip type to a string for use
in debug messages for the ftdi_sio driver. I use it in the
get_ftdi_divisor function and another patch.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
The contribution was created in whole or in part by me and I have the right to
submit it under the open source license indicated in the file.
Signed-off-by: Georges Toth <g.toth@e-biz.lu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
serial drivers
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
This patch against 2.6.10 provides the driver for the CP2101 and CP2102
USB to RS232 adaptor chips which are found in some serial converter
cables and usb mobile phone cables.
It provides cp2101.c, and patches Kconfig and Makefile in
drivers/usb/serial Since there is no technical data sheet freely
available for these chips, much of the code in this driver has been
based on protocol analysis, assumptions and guesswork.
The cp210x family of devices have OEM programmable device IDs so updates
will be required as and when new devices are found.
The driver currently only supports configuration of baud rate, data
bits, stop bits and parity mode. While this is enough to enable the use
of a wide range of devices based on this chip, the driver is still
incomplete in many areas such as flow control. Unfortunately without
technical datasheets, implementing these features is made very difficult
indeed.
Signed-off-by: Craig Shelley craig@microtron.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
into sunset.davemloft.net:/home/davem/src/BK/sparc-2.6
|
|
into cheetah.davemloft.net:/home/davem/src/BK/sparc-2.6
|
|
According to this article http://lwn.net/Articles/125930/, "When
cancel_delayed_work() returns zero, it means that the delayed
work request was fired off before the call; it might, in fact,
be running on another CPU when the cancel attempt is made".
If it is successful, it returns a nonzero value. Tracing
through cancel_delayed_work's timer usage would seem to confirm
this. The fc class today though performs a flush_scheduled_work,
when the return value is nonzero instead of zero.
Also it appears the fc class will use flush_scheduled_work to
flush the work from the shost_work_q when it should be using
flush_workqueue(shost->work_q) (flush_scheduled_work() only
flushes the default, keventd_wq, work queue).
The attached patch adds a scsi_flush_work function for
scsi_transport_fc to use and it fixes the cancel_delayed_work()
test to detect when to flush the work queues correctly (it
also only calls cancel_delayed_work when the work is queued
as delayed (scan_work is not delayed).
Signed-off-by: Mike Chrisite <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
|
|
into bkbits.net:/repos/c/cifs/linux-2.5cifs
|
|
Use temporal stores and prefetches in memset/bzero
while we are at it.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
into ppc970.osdl.org:/home/torvalds/v2.6/linux
|
|
into pobox.com:/garz/repo/net-drivers-2.6
|
|
Some BIOSen are known to screw up the PCI cache-line-size register,
so add a paranoia check.
|
|
into pobox.com:/garz/repo/libata-2.6
|
|
From: adam radford <aradford@gmail.com>
- Add support for PAE mode.
- Add lun support.
- Fix twa_remove() to free irq handler/unregister_chrdev() before
shutting down the card.
- Change to new 'change_queue_depth' api. (From James)
- Fix 'handled=1' ISR usage, remove bogus IRQ check (from Jeff Garzik)
- Remove un-needed eh_abort handler.
- Add support for embedded firmware error strings.
Signed-off-by: Adam Radford <linuxraid@amcc.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
|
|
drivers/scsi/scsi_sysfs.c:814:66: warning: Using plain integer as NULL pointer
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
|
|
Allows the use of the gnet_stats API for backward compatiblity
cases where no "modern" TLV structure is needed.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
Is FC_SCSI_SCAN_DELAY used by a FC driver that is
not yet in mainline? This patch just deletes it
if not since no one else is.
Signed-off-by: Mike Chrisite <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
|
|
|
|
into bkbits.net:/repos/c/cifs/linux-2.5cifs
|
|
Fixing the interrupt tst for CONFIG_PREEMPT on x86-64 exposes another
bug with CONFIG_PREEMPT_BKL. Calling schedule due to preemption
releases the BKL which it shouldn't do.
Call preempt_schedule_irq instead (like for i386). This fixes the
easily reproducible filesystem errors I've seen (with reiserfs, which
heavily relies on the BKL).
Signed-off-by: Christophe Saout <christophe@saout.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
readdir to both types of servers
(whether they support Unix extensions or not) when serverino mount parm specified.
Signed-off-by: Steve French (sfrench@us.ibm.com)
|
|
enable pci debugging
Now you don't have to dig through a file to change a #define, it's a real config option.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
It turns out that a bunch of USB-IDE converters make the mistake of
returning SK = 04 (Hardware Error) whenever the IDE device signals any
sort of error, without bothering to distinguish recoverable from
non-recoverable errors. The best way to handle this is for usb-storage to
set a per-device flag indicating that these errors should always be
retried. The current scheme (blacklist flag but no per-device flag) isn't
well suited for this situation.
This patch adds the per-device flag and sets it initially based on the
blacklist setting. Once this has been merged, a separate patch will be
submitted to Matt Dharm adding the corresponding support to usb-storage.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
|
|
into ppc970.osdl.org:/home/torvalds/v2.6/linux
|
|
Patch from Lennert Buytenhek
These registers ({RAW_STATUS,ENABLE_SET,ENABLE_CLEAR}_[AB]_[0123])
are needed for checking the status of, acking, unmasking and masking
the 256 individual thread interrupt sources. This is used by the
microengine thread interrupt driver.
Signed-off-by: Lennert Buytenhek
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King
|
|
Patch from Lennert Buytenhek
Some comments in arch-ixp2000/irqs.h say that thread interrupts 64-127
are IXP2800-only, but this is not true: IXP2400 has 0-31 and 64-95, and
32-63 and 96-127 are IXP2800-only.
Signed-off-by: Lennert Buytenhek
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King
|
|
We missed flushing the TLB when we're unmapping only reserved pages.
Since the kernel is now better at passing vmas which correspond
solely with the region to unmap, we can use tlb_*_vma() to do
"just enough" flushing, both for the TLB and cache.
We can avoid all flushes in tlb_*_vma() for the full-MM case, and
just do a flush_tlb_mm(). We can omit the cache flushing because
this thread will die soon.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
|
|
Patch from Vincent Sanders
Updates shark_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates simpad_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates lusl7200_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates versatile_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates lubbock_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates lpd7a404_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates lpd7a400_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates lart_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates hackkit_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates h7202_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates h7201_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates h3600_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates fortunet_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
into ppc970.osdl.org:/home/torvalds/v2.6/linux
|
|
Patch from Vincent Sanders
Updates smdk2410_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates shannon_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates jornada720_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates ixp4xx_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates ixdp2801_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
|
|
Patch from Vincent Sanders
Updates footbridge_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Patch from Vincent Sanders
Updates epxa10db_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
There is a race condition in jbd between journal_unmap_buffer() and
journal_commit_transaction(). This is leading to corruption of buffers on the
transaction's t_locked_list, leading to a variety of symptoms usually
involving an oops in kjournald.
The problem is that various special-case exit paths in journal_unmap_buffer()
call journal_put_journal_head without any locking. This is racing against a
refiling of the same journal_head in journal_commit_transaction():
__journal_unfile_buffer(jh);
__journal_file_buffer(jh, commit_transaction,
BJ_Locked);
The way these functions work, this leaves the jh temporarily with
b_transaction==NULL; and if journal_unmap_buffer()'s call to
journal_put_journal_head() hits this window, it sees the NULL transaction and
frees the journal_head which is just about to get refiled on the locked list.
The main exit path on journal_unmap_buffer() performs its
journal_put_journal_head() before dropping the j_list_lock, so is not
vulnerable to this race. The fix is to move the other similar calls on
special-case exit branches in that function so that they also release the
journal_head before dropping that lock.
This is low-risk since the new order has already been tested as the normal
exit path from this function. The change has had extensive testing and has
been shown to fix the problem with no regressions found.
Signed-off-by: Peter Keilty <Peter.Keilty@hp.com>
Signed-off-by: Nicholas Dokos <nicholas.dokos@hp.com>
Signed-off-by: Stephen Tweedie <sct@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Add a `nobh' mount option to ext3 in writeback mode: avoid attaching
buffer_head to data pages, like ext2.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Add writepages support for ext3 writeback mode.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Fix destruction of in-use journal_head
journal_put_journal_head() can destroy a journal_head at any time as
long as the jh's b_jcount is zero and b_transaction is NULL. It has no
locking protection against the rest of the journaling code, as the lock
it uses to protect b_jcount and bh->b_private is not used elsewhere in
jbd.
However, there are small windows where b_transaction is getting set
temporarily to NULL during normal operations; typically this is
happening in
__journal_unfile_buffer(jh);
__journal_file_buffer(jh, ...);
call pairs, as __journal_unfile_buffer() will set b_transaction to NULL
and __journal_file_buffer() re-sets it afterwards. A truncate running
in parallel can lead to journal_unmap_buffer() destroying the jh if it
occurs between these two calls.
Fix this by adding a variant of __journal_unfile_buffer() which is only
used for these temporary jh unlinks, and which leaves the b_transaction
field intact so that we never leave a window open where b_transaction is
NULL.
Additionally, trap this error if it does occur, by checking against
jh->b_jlist being non-null when we destroy a jh.
Signed-off-by: Stephen Tweedie <sct@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o remove s* from state, they are only used in read_status
o remove casting of void*
o remove FIXME in set_parameters, should be handled by dvb-core state machine
o remove some unnecessary braces
o remove #if 1 in read_status, and add note from Zarlink design manual
o change read_signal_strength to read total AGC_GAIN in case
some adapter turns on the RF_AGC loop.
(Kenneth Aafloy)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Patch by Olaf Titz: gcc 2.95 compile fixes
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Cleanup patch from Peter Beutner:
o unregister the input device on disconnect
and move cleanup stuff of the RC to own function
o keymap should be static not const
o set up keymap correctly and completly for input device
plus a more cosmetic one:
o usb endpoints are only 4bit numbers[0...15], the 8th bit
only specifies the direction and is set by the snd/rcvxxxpipe() macro
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Patch from Vincent Sanders
Updates ep80219_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Support for Nova-S rev 2.2 (Gregor Kroesen)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Remove some sparse warnings on one-bit bitfields.
Signed-off-by: Peter Hagervall <hager@cs.umu.se>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o added native support for the dtt200u (Yakumo/Typhoon/Hama) USB2.0 device
o URBs are now submitted, when the actual transfer began, not right from the
device plugin (solves a lot of problems)
o minor fixes in the dib3000-frontends
(Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
From: http://kerneljanitors.org/TODO
o convert from pci_module_init to pci_register_driver
Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
vfree() checking cleanups.
Signed-off by: James Lamanna <jlamanna@gmail.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
HanfTek UMT-010: adapted the pll-programming, the usb-ids and the firmware name
to the new firmware (thanks to Sunny Liu from HanfTek)
(Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
patch by Anssi Hannula: add support for Technotrend PCI DVB-T
(0x13c2,0x0008, Grundig 29504-401 (LSI L64781 Based) frontend)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
removed useless ifdef: dvb_register_adapter always takes 3 parameters in this tree
(Andreas Oberritter)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
clear up confusion between ids and adapters (Kenneth Aafloy)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
kfree(NULL) is safe (Kenneth Aafloy)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Fix for CAMs on Typhoon DVB-S, where it would constantly reset itself.
(Kenneth Aafloy)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Remove duplicate setgpio (Kenneth Aafloy)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Fix Continuity Errors with tda10021 (slickhenry, Robert Schlabbach)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o fixed pll frequency calculation for channels > 700 MHz. (Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Add IR support added by Peter Beutner
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o add OREN or51211, or51132_qam and or51132_vsb firmware
o correct some links
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o added native nova-t support, since only the nova-t firmware works with the
nova-t remote control
o added keys statically (maybe we should find something to sort this out...
cinergyt2 is doing the same)
(Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o DVB support for the pcHDTV HD2000 card, submitted by Rusty Scott
o remove bttv dependency from frontend (Kenneth Aafloy)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
corrected links to firmware files (reported by Stefan Frings)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Janitoring - error handling during attach
o av7110_arm_sync(): small helper to factor out some code;
o av7110_attach() does not check the status code returned by all the
functions is uses;
o balance the error path in av7110_attach and have it easy to check.
Please check it;
o if everything is correctly balanced, device_initialized is not needed
anymore in struct av7110;
o av7110_detach(): no need to cast a void * pointer;
o av7110_detach(): die #ifdef, die !
o change the returned value of av7110_av_exit() as it can't fail;
o change the returned value of av7110_ca_init() as it can fail. Removed
extraneous casts while are it;
o check for failure of vmalloc() in ci_ll_init().
o vfree(NULL) is safe.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Static initialization.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o don't call av7110_ir_init() if driver initialization failed already
due to previous errors (resulted in Oops in out-of-memory conditions) (me)
o don't do av7110_ir_exit if init was not done (Kenneth Aafloy)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
patch by Colin Western: s/usb_unlink_urb/usb_kill_urb/
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Patch by Taylor Jacob and Tom Dombrosky: There was a typo in the BBTI/B2C2
specs that stated the upper frequency of the air2pc/nxt2002 was 806Mhz, not
860Mhz.
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o added index field to struct dvb_demux_feed for having a unique feed id, which
can be used for hardware pid filter tables
o dibusb: adding the index to struct dvb_demux_feed makes dibusb-pid-filtering redundant
o ttusb-budget: struct channel removed in favour of dvbdmxfeed->index
(Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This patch contains the following possible cleanups:
o make needlessly global code static
o remove the following EXPORT_SYMBOL'ed but unused function:
- bt8xx/bt878.c: bt878_find_by_i2c_adap
o remove the following unused global functions:
- dvb-core/dvb_demux.c: dmx_get_demuxes
- dvb-core/dvb_demux.c: dvb_set_crc32
o remove the following unneeded EXPORT_SYMBOL's:
- dvb-core/dvb_demux.c: dvb_dmx_swfilter_packet
- dvb-core/dvb_demux.c: dvbdmx_connect_frontend
- dvb-core/dvb_demux.c: dvbdmx_disconnect_frontend
- dvb-core/dvbdev.c: dvb_class
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o added support for KWorld/ADSTech Instant DVB-T USB2.0 (DiB3000M-B)
o added deactivation option of the pid parser for the DiB3000M-B (since there
are USB2.0 devices and which now have the ability to deliver the complete
Transport Stream)
(Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
fixed MAC address reading (eeprom address to read, was not correctly set,
respectively overwritten)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
fix marko kohtala's mail address
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Patch from Vincent Sanders
Updates pxa255-idp_defconfig to take account of the Kconfig changes
Signed-off-by: Vincent Sanders
Signed-off-by: Russell King
|
|
Use alternative interface. Asks for less bandwidth and therefore works with
OHCI as well as UHCI (Alex Woods)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
increased the number of urbs for usb1.1 devices (Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o use own err,info,warn defines, driver description
o remove warning about firmware bug
(Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
corrected device naming (Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
patch by Mattias Holmlund: support new version of unshield for
sp887x firmware extraction (changed cmdline parameters)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
patch by Taylor Jacob: Add QAM64/256 Support
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o added support for Hauppauge WinTV NOVA-T USB2 (clone of MOD3000P by DiBcom)
(Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
dibusb readme update (Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
fix unhandled invert_pwm option (needed on dbox2 hardware)
submitted by Carsten Juttner
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Updated email address.
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
support Activy Budget with ALPS BSRU6 tuner
submitted by Andreas 'randy' Weinberger.
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Comment preliminary Pinnacle 300i changes to the mt352 driver.
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
remove duplicated pci_release_region() etc.
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o worked around hw_sleep handling for usb1.1 devices
o fixed oops when no frontend was attached (because of usb1.1 timeouts in my
debugging sessions)
(Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
o corrected the name in driver_desc
o removed debug messages and some comments (see dib3000-watch)
(Patrick Boettcher)
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
clarify firmware upload messages
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
HFS+ specificies that a number of unicode characters must be stored in its
decomposed form on disk. This adds the support for the composition and
decomposition of such HFS+ file names. There is also an option to turn it off
again, in case one managed to create invalid names, which otherwise become
inaccessible.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Add full nls support for HFS+. The default is still utf8, but that can be
changed now via a mount option.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Make use of parser library to parse mount options.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
The key values are unsigned, so comparing them using the difference doesn't
always work.
(Problem reported by k_guillaume@libertysurf.fr)
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Check for errors during reading of bnode pages and report them. Also improve
error checks in case bnode validity checks failed.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This makes umask behaviour more consistent, so it's now also used for new
files and the mount options behave like other umask users. (Problem reported
by <horms@verge.net.au>)
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Call try_to_free_buffers() when a page can be released. This behaviour
changed during 2.5 and wasn't fixed in hfs while porting it to 2.6. Also
remove an unnecessary PageActive() check, only the node ref count is really
relevant.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This patch converts all save_flags/restore_flags to the new
spin_lock_irqsave/spin_unlock_irqrestore calls, as well as some other 2.6.X
cleanups. This allows the "io8+" driver to become SMP safe.
The large size of this patch comes mostly from the added debug features.
Signed-off-by: Patrick vd Lageweg <patrick@bitwizard.nl>
Signed-off-by: Rogier Wolff <R.E.Wolff@BitWizard.nl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This driver also needs to drop the lock when calling back into the tty layer.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
This patch fixes a check after use found by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|