]> pilppa.org Git - linux-2.6-omap-h63xx.git/log
linux-2.6-omap-h63xx.git
17 years agox86: cpu don't print duplicated vendor string
Yinghai Lu [Sat, 20 Sep 2008 01:41:16 +0000 (18:41 -0700)]
x86: cpu don't print duplicated vendor string

Some CPUs have vendor string in the middle of model_id instead of beginning

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86: make mm/gup.c more virtualization friendly
Jan Beulich [Wed, 17 Sep 2008 15:48:17 +0000 (16:48 +0100)]
x86: make mm/gup.c more virtualization friendly

Since pte_flags() is much cheaper than pte_val() in some virtualized
environments (namely, Xen), use the former whereever possible.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: "Nick Piggin" <npiggin@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86-64: fix combining of regions in init_memory_mapping()
Jan Beulich [Fri, 12 Sep 2008 14:43:04 +0000 (15:43 +0100)]
x86-64: fix combining of regions in init_memory_mapping()

When nr_range gets decremented, the same slot must be considered for
coalescing with its new successor again.

The issue is apparently pretty benign to native code, but surfaces as a
boot time crash in our forward ported Xen tree (where the page table
setup overall works differently than in native).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86: smpboot - check if we have ESR register in wakeup_secondary_cpu
Cyrill Gorcunov [Sun, 14 Sep 2008 17:58:49 +0000 (21:58 +0400)]
x86: smpboot - check if we have ESR register in wakeup_secondary_cpu

We should check if we have ESR register before reading from it.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86: add memory clobber in switch_to()
Vegard Nossum [Sun, 14 Sep 2008 17:03:53 +0000 (19:03 +0200)]
x86: add memory clobber in switch_to()

Segment registers are reloaded, so we should add a memory clobber. The
generated assembly code is identical in my tests, but this doesn't mean
it is necessarily true for all configurations/compilers.

x86_64 already has the memory clobber.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86: print out EBDA/lowmem address
Ingo Molnar [Mon, 15 Sep 2008 06:26:15 +0000 (08:26 +0200)]
x86: print out EBDA/lowmem address

it's useful for debugging purposes to know the location of the EBDA.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86: check dsdt before find oem table for es7000, v2
Yinghai Lu [Sun, 14 Sep 2008 09:33:14 +0000 (02:33 -0700)]
x86: check dsdt before find oem table for es7000, v2

v2: use __acpi_unmap_table()

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86-64: don't check for map replacement
Jeremy Fitzhardinge [Sun, 7 Sep 2008 22:21:17 +0000 (15:21 -0700)]
x86-64: don't check for map replacement

The check prevents flags on mappings from being changed, which is not
desireable.  There's no need to check for replacing a mapping, and
x86-32 does not do this check.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86: use early_memremap() in setup.c
Jeremy Fitzhardinge [Sun, 7 Sep 2008 22:21:16 +0000 (15:21 -0700)]
x86: use early_memremap() in setup.c

The remappings in setup.c are all just ordinary memory, so use
early_memremap() rather than early_ioremap().

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86: add early_memremap()
Jeremy Fitzhardinge [Sun, 7 Sep 2008 22:21:15 +0000 (15:21 -0700)]
x86: add early_memremap()

early_ioremap() is also used to map normal memory when constructing
the linear memory mapping.  However, since we sometimes need to be able
to distinguish between actual IO mappings and normal memory mappings,
add a early_memremap() call, which maps with PAGE_KERNEL (as opposed
to PAGE_KERNEL_IO for early_ioremap()), and use it when constructing
pagetables.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86: remove duplicate early_ioremap declarations
Jeremy Fitzhardinge [Sun, 7 Sep 2008 22:21:14 +0000 (15:21 -0700)]
x86: remove duplicate early_ioremap declarations

early_ioremap() is redeclared in several places; remove them.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86: add _PAGE_IOMAP pte flag for IO mappings
Jeremy Fitzhardinge [Sun, 7 Sep 2008 22:21:13 +0000 (15:21 -0700)]
x86: add _PAGE_IOMAP pte flag for IO mappings

Use one of the software-defined PTE bits to indicate that a mapping is
intended for an IO address.  On native hardware this is irrelevent,
since a physical address is a physical address.  But in a virtual
environment, physical addresses are also virtualized, so there needs
to be some way to distinguish between pseudo-physical addresses and
actual hardware addresses; _PAGE_IOMAP indicates this intent.

By default, __supported_pte_mask masks out _PAGE_IOMAP, so it doesn't
even appear in the final pagetable.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: trace_hardirqs_fixup should now not be necessary: irqs are off.
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:18 +0000 (21:56 +0200)]
i386: trace_hardirqs_fixup should now not be necessary: irqs are off.

The exception handlers in entry_32.S should now all call
TRACE_IRQS_OFF before calling the C code. The calls to
trace_hardirqs_fixup should now be unnecessary. Remove them.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: add TRACE_IRQS_OFF for the exception 3 (int3)
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:17 +0000 (21:56 +0200)]
i386: add TRACE_IRQS_OFF for the exception 3 (int3)

At this point interrupts are off, so let's inform the tracing
code of that fact before calling into C.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: add TRACE_IRQS_OFF for the nmi
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:16 +0000 (21:56 +0200)]
i386: add TRACE_IRQS_OFF for the nmi

At this point interrupts are off, so let's inform the tracing
code of that fact before calling into C.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: add TRACE_IRQS_OFF for exception 1 (debug)
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:15 +0000 (21:56 +0200)]
i386: add TRACE_IRQS_OFF for exception 1 (debug)

At this point interrupts are off, so let's inform the tracing
code of that fact before calling into C.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: add TRACE_IRQS_OFF to entry_32.S in 'error_code'
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:14 +0000 (21:56 +0200)]
i386: add TRACE_IRQS_OFF to entry_32.S in 'error_code'

Many exceptions use the same code path via the label 'error_code'
in entry_32.S. At this point interrupts are off, so let's inform
the tracing code of that fact before calling into C.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: remove temporary DO_TRAP macros, expanding the last one used
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:13 +0000 (21:56 +0200)]
i386: remove temporary DO_TRAP macros, expanding the last one used

Only one use of the DO_TRAP macros remains. Expand that one and
remove the macros now.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 19 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:12 +0000 (21:56 +0200)]
i386: convert hardware exception 19 to an interrupt gate

Handle SIMD coprocessor exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 18 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:11 +0000 (21:56 +0200)]
i386: convert hardware exception 18 to an interrupt gate

Handle machine check exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 17 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:10 +0000 (21:56 +0200)]
i386: convert hardware exception 17 to an interrupt gate

Handle alignment check exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 16 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:09 +0000 (21:56 +0200)]
i386: convert hardware exception 16 to an interrupt gate

Handle coprocessor error exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 15 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:08 +0000 (21:56 +0200)]
i386: convert hardware exception 15 to an interrupt gate

Handle exception 15 with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 13 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:07 +0000 (21:56 +0200)]
i386: convert hardware exception 13 to an interrupt gate

Handle general protection exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 12 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:06 +0000 (21:56 +0200)]
i386: convert hardware exception 12 to an interrupt gate

Handle stack segment exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 11 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:05 +0000 (21:56 +0200)]
i386: convert hardware exception 11 to an interrupt gate

Handle segment not present exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 10 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:04 +0000 (21:56 +0200)]
i386: convert hardware exception 10 to an interrupt gate

Handle invalid TSS exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 9 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:03 +0000 (21:56 +0200)]
i386: convert hardware exception 9 to an interrupt gate

Handle coprocessor segment overrun exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 7 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:02 +0000 (21:56 +0200)]
i386: convert hardware exception 7 to an interrupt gate

Handle no coprocessor exception with interrupt initially off.

device_not_available in entry_32.S calls either math_state_restore
or math_emulate. This patch adds an extra indirection to be
able to re-enable interrupts explicitly in traps_32.c

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 6 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:01 +0000 (21:56 +0200)]
i386: convert hardware exception 6 to an interrupt gate

Handle invalid opcode exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 5 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:56:00 +0000 (21:56 +0200)]
i386: convert hardware exception 5 to an interrupt gate

Handle bounds exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 4 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:55:59 +0000 (21:55 +0200)]
i386: convert hardware exception 4 to an interrupt gate

Handle overflow exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: expand exception 3 DO_TRAP macro
Alexander van Heukelum [Tue, 9 Sep 2008 19:55:58 +0000 (21:55 +0200)]
i386: expand exception 3 DO_TRAP macro

The int3 exception was already takes as an interrupt and
do_int3 does not fit in the new DO_ERROR macro. This patch
just expands the DO_TRAP macro and rearranges the code a
bit.

No functional changes intended.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: convert hardware exception 0 to an interrupt gate
Alexander van Heukelum [Tue, 9 Sep 2008 19:55:57 +0000 (21:55 +0200)]
i386: convert hardware exception 0 to an interrupt gate

Handle divide error exception with interrupt initially off.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: prepare to convert exceptions to interrupts
Alexander van Heukelum [Tue, 9 Sep 2008 19:55:56 +0000 (21:55 +0200)]
i386: prepare to convert exceptions to interrupts

There is some macro magic in traps_32.c to construct standard
exception dispatch functions. This patch renames the DO_ERROR-
like macros to DO_TRAP, and introduces new DO_ERROR ones that
conditionally reenable interrupts explicitly, like x86_64.

No code changes.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoi386: remove kprobes' restore_interrupts in favour of conditional_sti
Alexander van Heukelum [Tue, 9 Sep 2008 19:55:55 +0000 (21:55 +0200)]
i386: remove kprobes' restore_interrupts in favour of conditional_sti

x86_64 uses a helper function conditional_sti in traps_64.c which
is equal to restore_interrupts in kprobes.h. The only user of
restore_interrupts is in traps_32.c. Introduce conditional_sti
for i386 and remove restore_interrupts.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86: rename discontig_32.c to numa_32.c
Yinghai Lu [Wed, 10 Sep 2008 06:34:17 +0000 (23:34 -0700)]
x86: rename discontig_32.c to numa_32.c

name it in line with its purpose.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agoarch/x86/kernel/smpboot.c: Clarify when irq processing begins.
Manfred Spraul [Sun, 7 Sep 2008 09:29:58 +0000 (11:29 +0200)]
arch/x86/kernel/smpboot.c: Clarify when irq processing begins.

Secondary cpus start with local interrupts disabled.
start_secondary() first initializes the new cpu, then it enables the
local interrupts. (although interrupts are enabled within smp_callin()
as well).

Right now, the local interrupts are enabled as a side effect of calling
ipi_call_lock_irq().

The attached patch clarifies when local interrupts are enabled.

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86-64: slightly stream-line 32-bit syscall entry code
Jan Beulich [Fri, 29 Aug 2008 12:21:11 +0000 (13:21 +0100)]
x86-64: slightly stream-line 32-bit syscall entry code

Avoid updating registers or memory twice as well as needlessly loading
or copying registers.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agox86-64: reduce boot fixmap space
Jan Beulich [Fri, 29 Aug 2008 12:14:30 +0000 (13:14 +0100)]
x86-64: reduce boot fixmap space

Just like for 32-bit - as 256 entries are needed, aligning to a
256-entry boundary is sufficient and still guarantees the single pte
table requirement.

Likewise move up __end_of_permanent_fixed_addresses, to match 32-bit.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
17 years agochmc: Mark %ver register inline asm with __volatile__
David S. Miller [Mon, 13 Oct 2008 06:56:12 +0000 (23:56 -0700)]
chmc: Mark %ver register inline asm with __volatile__

Otherwise GCC can try to do the register read before the guarding test
on us3mc_platform() being true.

If that happens we can take an exception, because %ver register reads
are not allowed in privileged more on hypervisor platforms.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agosparc64: Add missing notify_cpu_starting() call.
David S. Miller [Mon, 13 Oct 2008 03:55:24 +0000 (20:55 -0700)]
sparc64: Add missing notify_cpu_starting() call.

Commit e545a6140b698b2494daf0b32107bdcc5e901390 ("kernel/cpu.c: create
a CPU_STARTING cpu_chain notifier") added a notify_cpu_starting()
notifier event, and hit every arch except sparc64.

Fix that missed case.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agosparc32: fix build errors
Robert Reif [Mon, 13 Oct 2008 03:52:26 +0000 (20:52 -0700)]
sparc32: fix build errors

arch/sparc/kernel/sun4d_smp.c: In function â€˜smp4d_callin’:
arch/sparc/kernel/sun4d_smp.c:101: error: implicit declaration of function â€˜notify_cpu_starting’
arch/sparc/kernel/sun4m_smp.c: In function â€˜smp4m_callin’:
arch/sparc/kernel/sun4m_smp.c:74: error: implicit declaration of function â€˜notify_cpu_starting’

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agonet/mac80211/rx.c: fix build error
Ingo Molnar [Mon, 13 Oct 2008 06:51:38 +0000 (23:51 -0700)]
net/mac80211/rx.c: fix build error

older versions of gcc do not recognize that ieee80211_rx_h_mesh_fwding()
is unused when CONFIG_MAC80211_MESH is disabled:

  net/built-in.o: In function `ieee80211_rx_h_mesh_fwding':
  rx.c:(.text+0xd89af): undefined reference to `mpp_path_lookup'
  rx.c:(.text+0xd89c6): undefined reference to `mpp_path_add'

as this code construct:

        if (ieee80211_vif_is_mesh(&sdata->vif))
                CALL_RXH(ieee80211_rx_h_mesh_fwding);

still causes ieee80211_rx_h_mesh_fwding() to be linked in.

Protect these places with an #ifdef.

commit b0dee578 ("Fix modpost failure when rx handlers are not inlined.")
solved part of this problem - this patch is still needed.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agopowerpc/smp: No need to set_need_resched when getting a resched IPI
Milton Miller [Fri, 10 Oct 2008 01:56:45 +0000 (01:56 +0000)]
powerpc/smp: No need to set_need_resched when getting a resched IPI

The comment in the code was asking "Do we have to do this?", and according
to x86 and s390 the answer is no, the scheduler will do it before calling
the arch hook.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 years agopowerpc/xics: Reduce and comment xics IPI use of memory barriers
Milton Miller [Fri, 10 Oct 2008 01:56:44 +0000 (01:56 +0000)]
powerpc/xics: Reduce and comment xics IPI use of memory barriers

A single full sync (mb()) is requrired to order the mmio to the qirr reg
with the set or clear of the message word.  However, test_and_clear_bit
has the effect of smp_mb() and we are not doing any other io from here,
so we don't need a mb per bit processed.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 years agopowerpc/xics: Make printk format strings fit on one line
Milton Miller [Fri, 10 Oct 2008 01:56:39 +0000 (01:56 +0000)]
powerpc/xics: Make printk format strings fit on one line

Several printks were broken at word boundaries for line length.   Some
even referred to old function names.   Using __func__ and changing the
text slightly for the format allows these printk formats to fit on one
line.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 years agopowerpc/xics: Mark xics IPI interrupt as per-cpu
Milton Miller [Fri, 10 Oct 2008 01:56:39 +0000 (01:56 +0000)]
powerpc/xics: Mark xics IPI interrupt as per-cpu

It is physically per-cpu, and we want the irq layer to treat it that way.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 years agopowerpc/xics: EOI xics ipi by hand in kexec
Milton Miller [Fri, 10 Oct 2008 01:56:35 +0000 (01:56 +0000)]
powerpc/xics: EOI xics ipi by hand in kexec

EOI normally has the side effect of returning the cpu to the base
priority to recieve the next interrupt.  This is actually controlled
by the top byte of the xirr register.   When we are exiting the
kernel in kexec we must eoi the ipi for the next kernel because we
never return from the handler, but we want to leave interrupt
delivery blocked until the next kernel takes action.

Since the hardware ipi vector is fixed, its easiest to just do the
eoi explicitly.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 years agopowerpc/xics: Factor out cpu joining/unjoining the GIQ
Milton Miller [Fri, 10 Oct 2008 01:56:34 +0000 (01:56 +0000)]
powerpc/xics: Factor out cpu joining/unjoining the GIQ

This factors out processors joining and unjoining the Global Interrupt
Queue into a separate function.

There is a bit of math to calculate the arguments to rtas to join
or leave the global interrupt queue, and a warning on failure
afterwards.  Make a helper for the 3 callers.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 years agopowerpc/xics: Initialization code cleanups
Milton Miller [Fri, 10 Oct 2008 01:56:33 +0000 (01:56 +0000)]
powerpc/xics: Initialization code cleanups

We only need to check the ibm,interrupt-server#-size property once, not
once per global server and thread.

We can use !CONFIG_SMP cpu masks and hard_smp_processor_id() to avoid an ifdef.
Put the node when breaking out of the loop on lpar systems.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 years agopowerpc/xics: Trim #include list
Milton Miller [Fri, 10 Oct 2008 01:56:33 +0000 (01:56 +0000)]
powerpc/xics: Trim #include list

Trim unneeded includes from xics.c.  We don't use signals or gfp
flags, we use only OF functions and don't need prom, and the 8259
is now handled by our caller.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 years agopowerpc/xics: Change *_xirr_info_set() prototype to avoid casts
Milton Miller [Fri, 10 Oct 2008 01:56:32 +0000 (01:56 +0000)]
powerpc/xics: Change *_xirr_info_set() prototype to avoid casts

The xirr is 32 bits in hardware, but the hypervisor requries the upper
bits of the register to be clear on the hcall.  By changing the type
from signed to unsigned int we can drop masking it back to 32 bits.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 years agopowerpc/xics: Rearrange file to group code by function
Milton Miller [Fri, 10 Oct 2008 01:56:30 +0000 (01:56 +0000)]
powerpc/xics: Rearrange file to group code by function

Now that xics_update_irq_servers is called only from init and hotplug
code, it becomes possible to clean up the ordering of functions in the
file, grouping them but the interfaces they implement.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 years agopowerpc/xics: Consolidate ipi message encode and decode
Milton Miller [Fri, 10 Oct 2008 01:56:29 +0000 (01:56 +0000)]
powerpc/xics: Consolidate ipi message encode and decode

xics supports only one ipi per cpu, and expects software to use some
queue to know why the interrupt was sent.  In Linux, we use a an array
of bitmaps indexed by cpu to identify the message.  Currently the bits
are set in smp.c and decoded in xics.c, with the data structure in a
header file.   Consolidate the code in xics.c similar to mpic and other
interrupt controllers.

Also, while making the the array static, the message word doesn't need
to be volatile as set_bit and test_clear_bit take care of it for us, and
put it under ifdef smp.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 years agoacpi: Make ACPI_TOSHIBA depend on INPUT.
David S. Miller [Mon, 13 Oct 2008 04:22:31 +0000 (21:22 -0700)]
acpi: Make ACPI_TOSHIBA depend on INPUT.

Selecting INPUT_POLLDEV is not sufficient.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agonet/bfin_mac.c MDIO namespace fixes
Adrian Bunk [Mon, 13 Oct 2008 04:15:17 +0000 (21:15 -0700)]
net/bfin_mac.c MDIO namespace fixes

Commit 2e888103295f47b8fcbf7e9bb8c5da97dd2ecd76
(phylib: add mdiobus_{read,write}) causes the
following compile error:

<--  snip  -->

...
  CC      drivers/net/bfin_mac.o
drivers/net/bfin_mac.c:272: error: conflicting types for 'mdiobus_read'
include/linux/phy.h:130: error: previous declaration of 'mdiobus_read' was here
drivers/net/bfin_mac.c:287: error: conflicting types for 'mdiobus_write'
include/linux/phy.h:131: error: previous declaration of 'mdiobus_write' was here
make[3]: *** [drivers/net/bfin_mac.o] Error 1

<--  snip  -->

This patch prefixes the driver functions with bfin_

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agojme: remove unused #include <version.h>
Huang Weiyi [Mon, 13 Oct 2008 04:08:58 +0000 (21:08 -0700)]
jme: remove unused #include <version.h>

The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
  drivers/net/jme.c

This patch removes the said #include <version.h>.

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agonetfilter: remove unused #include <version.h>
Huang Weiyi [Mon, 13 Oct 2008 04:08:34 +0000 (21:08 -0700)]
netfilter: remove unused #include <version.h>

The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
  net/netfilter/nf_tproxy_core.c

This patch removes the said #include <version.h>.

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agonet: Fix off-by-one in skb_dma_map
Dimitris Michailidis [Mon, 13 Oct 2008 04:07:34 +0000 (21:07 -0700)]
net: Fix off-by-one in skb_dma_map

The unwind loop iterates down to -1 instead of stopping at 0 and ends up
accessing ->frags[-1].

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agosmc911x: Add support for LAN921{5,7,8} chips from SMSC
Guennadi Liakhovetski [Mon, 13 Oct 2008 04:05:14 +0000 (21:05 -0700)]
smc911x: Add support for LAN921{5,7,8} chips from SMSC

LAN92{5,7,8} chips from SMSC are register compatible with LAN911{5,6,7,8}
controllers, and only add support for HP Auto-MDIX. LAN9218 doesn't have
an external MII interface.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agoqlge: remove duplicated #include
Huang Weiyi [Mon, 13 Oct 2008 04:04:10 +0000 (21:04 -0700)]
qlge: remove duplicated #include

Removed duplicated include <linux/init.h> in files below
  drivers/net/qlge/qlge_ethtool.c
  drivers/net/qlge/qlge_main.c

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agowireless: remove duplicated #include
Huang Weiyi [Mon, 13 Oct 2008 04:03:38 +0000 (21:03 -0700)]
wireless: remove duplicated #include

Removed duplicated include <linux/list.h> in
net/wireless/core.c.

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agonet/au1000_eth.c MDIO namespace fixes
Adrian Bunk [Mon, 13 Oct 2008 04:02:19 +0000 (21:02 -0700)]
net/au1000_eth.c MDIO namespace fixes

Commit 2e888103295f47b8fcbf7e9bb8c5da97dd2ecd76
(phylib: add mdiobus_{read,write}) causes the
following compile error:

<--  snip  -->

...
  CC      drivers/net/au1000_eth.o
drivers/net/au1000_eth.c:252: error: conflicting types for 'mdiobus_read'
include/linux/phy.h:130: error: previous declaration of 'mdiobus_read' was here
drivers/net/au1000_eth.c:263: error: conflicting types for 'mdiobus_write'
include/linux/phy.h:131: error: previous declaration of 'mdiobus_write' was here
...
make[3]: *** [drivers/net/au1000_eth.o] Error 1

<--  snip  -->

This patch prefixes the driver functions with au1000_

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agonet/tc35815.c: fix compilation
Adrian Bunk [Mon, 13 Oct 2008 04:01:53 +0000 (21:01 -0700)]
net/tc35815.c: fix compilation

Fix an obvious typo introduced by
commit 298cf9beb9679522de995e249eccbd82f7c51999
(phylib: move to dynamic allocation of struct mii_bus).

<--  snip  -->

...
  CC      drivers/net/tc35815.o
drivers/net/tc35815.c: In function 'tc_mii_init':
drivers/net/tc35815.c:799: error: 'err_out_free_mii_bus' undeclared (first use in this function)
drivers/net/tc35815.c:799: error: (Each undeclared identifier is reported only once
drivers/net/tc35815.c:799: error: for each function it appears in.)
drivers/net/tc35815.c:781: error: label 'err_out_free_mii_bus' used but not defined
make[3]: *** [drivers/net/tc35815.o] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agosky2: Fix WOL regression
Rafael J. Wysocki [Mon, 13 Oct 2008 03:59:48 +0000 (20:59 -0700)]
sky2: Fix WOL regression

Since dev->power.should_wakeup bit is used by the PCI core to
decide whether the device should wake up the system from sleep
states, set/unset this bit whenever WOL is enabled/disabled using
sky2_set_wol().

Remove an open-coded reference to the standard PCI PM registers that
is not used any more.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agor8169: NULL pointer dereference on r8169 load
Petr Vandrovec [Mon, 13 Oct 2008 03:58:29 +0000 (20:58 -0700)]
r8169: NULL pointer dereference on r8169 load

mmio_addr in r8169 needs to be initialized before use

Maybe that all tp-> initialization should be moved before rtl_init_mac_address call,
but this is enough to get rid of crash in rtl_rar_set due to mmio_addr being uninitialized.

Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agoBlackfin arch: make sure we include the fix for SPORT hysteresis when reprogramming...
Robin Getz [Mon, 13 Oct 2008 03:37:34 +0000 (11:37 +0800)]
Blackfin arch: make sure we include the fix for SPORT hysteresis when reprogramming clocks

As pointed out by Appalayagari Sreedhar, make sure we include the fix
for SPORT hysteresis when reprogramming clocks.

Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years agoBlackfin arch: Fix bogus str_ident check in gpio code
Michael Hennerich [Mon, 13 Oct 2008 03:35:22 +0000 (11:35 +0800)]
Blackfin arch: Fix bogus str_ident check in gpio code

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years agoBlackfin arch: AD7879 Touchscreen driver
Michael Hennerich [Mon, 13 Oct 2008 03:30:17 +0000 (11:30 +0800)]
Blackfin arch: AD7879 Touchscreen driver

Add AD7879 Touchscreen driver to the device structures

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years agoBlackfin arch: introducing bfin_addr_dcachable
Vitja Makarov [Mon, 13 Oct 2008 07:23:56 +0000 (15:23 +0800)]
Blackfin arch: introducing bfin_addr_dcachable

This patch introduces bfin_addr_dcachable() predicate, that simply tests is
address in cachable region or not.

Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years agoMerge branches 'topic/asoc' and 'topic/hda' into for-linus
Takashi Iwai [Mon, 13 Oct 2008 01:42:18 +0000 (03:42 +0200)]
Merge branches 'topic/asoc' and 'topic/hda' into for-linus

17 years agoALSA: ASoC codec: remove unused #include <version.h>
Huang Weiyi [Sun, 12 Oct 2008 15:12:56 +0000 (23:12 +0800)]
ALSA: ASoC codec: remove unused #include <version.h>

The files below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
 sound/soc/codecs/ad1980.c
 sound/soc/codecs/wm8580.c
 sound/soc/codecs/wm8900.c

This patch removes the said #include <version.h>.

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agomd: Relax minimum size restrictions on chunk_size.
NeilBrown [Mon, 13 Oct 2008 00:55:12 +0000 (11:55 +1100)]
md: Relax minimum size restrictions on chunk_size.

Currently, the 'chunk_size' of an array must be at-least PAGE_SIZE.

This makes moving an array to a machine with a larger PAGE_SIZE, or
changing the kernel to use a larger PAGE_SIZE, can stop an array from
working.

For RAID10 and RAID4/5/6, this is non-trivial to fix as the resync
process works on whole pages at a time, and assumes them to be wholly
within a stripe.  For other raid personalities, this restriction is
not needed at all and can be dropped.

So remove the test on chunk_size from common can, and add it in just
the places where it is needed: raid10 and raid4/5/6.

Signed-off-by: NeilBrown <neilb@suse.de>
17 years agomd: remove space after function name in declaration and call.
NeilBrown [Mon, 13 Oct 2008 00:55:12 +0000 (11:55 +1100)]
md: remove space after function name in declaration and call.

Having
   function (args)
instead of
   function(args)

make is harder to search for calls of particular functions.
So remove all those spaces.

Signed-off-by: NeilBrown <neilb@suse.de>
17 years agomd: Remove unnecessary #includes, #defines, and function declarations.
NeilBrown [Mon, 13 Oct 2008 00:55:12 +0000 (11:55 +1100)]
md: Remove unnecessary #includes, #defines, and function declarations.

A lot of cruft has gathered over the years.  Time to remove it.

Signed-off-by: NeilBrown <neilb@suse.de>
17 years agomd: Convert remaining 1k representations in linear.c to sectors.
Andre Noll [Mon, 13 Oct 2008 00:55:12 +0000 (11:55 +1100)]
md: Convert remaining 1k representations in linear.c to sectors.

This patch renames hash_spacing and preshift to  spacing and
sector_shift respectively with the following change of semantics:

Case 1: (sizeof(sector_t) <= sizeof(u32)).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In this case, we have sector_shift = preshift = 0 and spacing =
2 * hash_spacing.

Hence, the index for the hash table which is computed by the new code
in which_dev() as sector / spacing equals the old value which was
(sector/2) / hash_spacing.

Note also that the value of nb_zone stays the same because both sz
and base double.

Case 2: (sizeof(sector_t) > sizeof(u32)).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(aka the shifting dance case). Here we have sector_shift = preshift +
1 and

spacing = 2 * hash_spacing

during the computation of nb_zone and curr_sector, but

spacing = hash_spacing

in which_dev() because in the last hunk of the patch for linear.c we
shift down conf->spacing (= 2 * hash_spacing) by one more bit than
in the old code.

Hence in the computation of nb_zone, sz and base have the same value
as before, so nb_zone is not affected. Also curr_sector in the next
hunk stays the same.

In which_dev() the hash table index is computed as

(sector >> sector_shift) / spacing

In view of sector_shift = preshift + 1 and spacing = hash_spacing,
this equals

((sector/2) >> preshift) / hash_spacing

which is the value computed by the old code.

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
17 years agomd: linear.c: Make two local variables sector-based.
Andre Noll [Mon, 13 Oct 2008 00:55:12 +0000 (11:55 +1100)]
md: linear.c: Make two local variables sector-based.

This is a preparation for representing also the remaining fields of struct
linear_private_data as sectors.

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
17 years agomd: linear: Represent dev_info->size and dev_info->offset in sectors.
Andre Noll [Mon, 13 Oct 2008 00:55:12 +0000 (11:55 +1100)]
md: linear: Represent dev_info->size and dev_info->offset in sectors.

Rename them to num_sectors and start_sector which is more descriptive.

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
17 years agomd: linear.c: Remove broken debug code.
Andre Noll [Mon, 13 Oct 2008 00:55:12 +0000 (11:55 +1100)]
md: linear.c: Remove broken debug code.

conf->smallest_size is undefined since day one of the git repo..

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
17 years agomd: linear.c: Remove pointless initialization of curr_offset.
Andre Noll [Mon, 13 Oct 2008 00:55:12 +0000 (11:55 +1100)]
md: linear.c: Remove pointless initialization of curr_offset.

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
17 years agomd: linear.c: Fix typo in comment.
Andre Noll [Mon, 13 Oct 2008 00:55:12 +0000 (11:55 +1100)]
md: linear.c: Fix typo in comment.

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
17 years agomd: Don't try to set an array to 'read-auto' if it is already in that state.
NeilBrown [Mon, 13 Oct 2008 00:55:12 +0000 (11:55 +1100)]
md: Don't try to set an array to 'read-auto' if it is already in that state.

'read-auto' is a variant of 'readonly' which will switch to writable
on the first write attempt.

Calling do_md_stop to set the array readonly when it is already readonly
returns an error.  So make sure not to do that.

Signed-off-by: NeilBrown <neilb@suse.de>
17 years agomd: Allow metadata_version to be updated for externally managed metadata.
NeilBrown [Mon, 13 Oct 2008 00:55:11 +0000 (11:55 +1100)]
md: Allow metadata_version to be updated for externally managed metadata.

For externally managed metadata, the 'metadata_version' sysfs
attribute is really just a channel for user-space programs to
communicate about how the array is being managed.
It can be useful for this to be changed while the array is active.

Normally changes to metadata_version are not permitted while the array
is active.  Change that so that if the metadata is externally managed,
the metadata_version can be changed to a different flavour of external
management.

Signed-off-by: NeilBrown <neilb@suse.de>
17 years agomd: Fix rdev_size_store with size == 0
Chris Webb [Mon, 13 Oct 2008 00:55:11 +0000 (11:55 +1100)]
md: Fix rdev_size_store with size == 0

Fix rdev_size_store with size == 0.
size == 0 means to use the largest size allowed by the
underlying device and is used when modifying an active array.

This fixes a regression introduced by
 commit d7027458d68b2f1752a28016dcf2ffd0a7e8f567

Cc: <stable@kernel.org>
Signed-off-by: Chris Webb <chris@arachsys.com>
Signed-off-by: NeilBrown <neilb@suse.de>
17 years agoALSA: hda - Add hints for reconfig
Takashi Iwai [Wed, 30 Jul 2008 13:01:46 +0000 (15:01 +0200)]
ALSA: hda - Add hints for reconfig

This patch adds the "hints" for reconfiguring codecs.  The hints
are simply string arrays and can be freely used/parsed by the codec
patch.  The hints can be input via hwdep sysfs files.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: hda - Add init_verbs entries
Takashi Iwai [Wed, 30 Jul 2008 13:01:46 +0000 (15:01 +0200)]
ALSA: hda - Add init_verbs entries

This patch enables the additional init verbs for each codec.  The verbs
can be entered via hwdep sysfs file.  These verbs are executed at
reconfiguring the codec for non-standard setups like overriding
the pin-defcfg.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: hda - Add sysfs entries to hwdep devices
Takashi Iwai [Wed, 30 Jul 2008 13:01:46 +0000 (15:01 +0200)]
ALSA: hda - Add sysfs entries to hwdep devices

Added the sysfs entries to hwdep devices so that the new features
like reconfiguration can be done via sysfs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: hda - Add codec reconfiguration feature
Takashi Iwai [Wed, 30 Jul 2008 13:01:45 +0000 (15:01 +0200)]
ALSA: hda - Add codec reconfiguration feature

Added the reconfiguration feature of any individual codec.
Via the reconfiguration, the old resources are released and
the patch is called again to recreate the PCM and mixers in
addition to the re-initialization.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: hda - Manage kcontrol lists
Takashi Iwai [Wed, 30 Jul 2008 13:01:45 +0000 (15:01 +0200)]
ALSA: hda - Manage kcontrol lists

Manage all kcontrol elements created in the hda-intel driver.
This makes it possible to remove and reconfigure the controls
of each codec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: hda - Allocate name string of each codec
Takashi Iwai [Wed, 30 Jul 2008 13:01:45 +0000 (15:01 +0200)]
ALSA: hda - Allocate name string of each codec

Allocate dynamically the name string of each codec instead of
pointing to a static string.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: hda - Use generic array helpers
Takashi Iwai [Wed, 30 Jul 2008 13:01:44 +0000 (15:01 +0200)]
ALSA: hda - Use generic array helpers

Use generic array helpers to simplify array handling in snd-hda-intel.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: hda - Add generic arrays
Takashi Iwai [Wed, 30 Jul 2008 13:01:44 +0000 (15:01 +0200)]
ALSA: hda - Add generic arrays

Added helper functions to handle generic arrays.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: hda - Add infrastructure for dynamic stream allocation
Takashi Iwai [Wed, 30 Jul 2008 13:01:44 +0000 (15:01 +0200)]
ALSA: hda - Add infrastructure for dynamic stream allocation

Added the infrastructure for dynamic stream allocation on HD-audio.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: ASoC: update email address for Liam Girdwood
Liam Girdwood [Sun, 12 Oct 2008 12:17:36 +0000 (13:17 +0100)]
ALSA: ASoC: update email address for Liam Girdwood

Update the contact information for Liam Girdwood in ASoC core and
drivers as my old email address is no longer valid.

Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: hda: corrected invalid mixer values
Matthew Ranostay [Sat, 11 Oct 2008 17:52:43 +0000 (13:52 -0400)]
ALSA: hda: corrected invalid mixer values

Corrected invalid mixer index values on the 92hd71bxxx codec branch.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: hda: add mixers for analog mixer on 92hd75xx codecs
Matthew Ranostay [Fri, 10 Oct 2008 13:07:23 +0000 (09:07 -0400)]
ALSA: hda: add mixers for analog mixer on 92hd75xx codecs

Add support for mixers on the analog mixer on some 92hd75xx codecs,
along with adding a 'Mixer' entry for it's connection on the dmux.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: ASoC: Add destination and source port for DMA on OMAP1
Arun KS [Tue, 30 Sep 2008 10:05:16 +0000 (15:35 +0530)]
ALSA: ASoC: Add destination and source port for DMA on OMAP1

Adds destination and source port for dma in platform driver as
required by OMAP1

Signed-off-by: Arun KS <arunks@mistralsolutions.com>
Acked-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: ASoC: Drop device registration from GTA01 lm4857 driver
Jonas Bonn [Wed, 1 Oct 2008 19:47:19 +0000 (21:47 +0200)]
ALSA: ASoC: Drop device registration from GTA01 lm4857 driver

Device registration should be handled at the machine level and not
in the driver code itself.  This patch removes the device registration
from the driver code in preparation for moving it to the machine
definition.

[Squashed down two parts to this patch for bisectability - there's also
a third part adding registration of the device to the out of tree GTA01
machine driver -- broonie]

Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 years agoALSA: ASoC: Fix build of GTA01 audio driver
Mark Brown [Wed, 24 Sep 2008 10:57:27 +0000 (11:57 +0100)]
ALSA: ASoC: Fix build of GTA01 audio driver

Fix a couple of thinkos introduced during the I2C API update.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>