]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/log
linux-2.6-omap-h63xx.git
17 years agoARM: OMAP: Fix omap1 McBSP without CONFIG_OMAP_DSP v2.6.18-omap1
Tony Lindgren [Mon, 23 Oct 2006 13:03:01 +0000 (16:03 +0300)]
ARM: OMAP: Fix omap1 McBSP without CONFIG_OMAP_DSP

As some of the McBSP clocks come from DSP side, DSP needs
to be initialized even without CONFIG_OMAP_DSP.

This feature got broken with recent DSP updates.

Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years ago[PATCH] Make omap-nand-flash driver work after MTD update
Ladislav Michl [Thu, 19 Oct 2006 13:53:21 +0000 (16:53 +0300)]
[PATCH] Make omap-nand-flash driver work after MTD update

Make omap-nand-flash driver work after MTD update

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
17 years agoSPI: TSC2102 OMAP audio driver
Andrzej Zaborowski [Thu, 19 Oct 2006 13:46:39 +0000 (16:46 +0300)]
SPI: TSC2102 OMAP audio driver

ALSA driver for OMAP boards with a TSC2102 chip. It is based on the
TSC2101 and AIC23 drivers. The chip has only one audio playback output
and no inputs. It can play stereo sound with 16-bit samples (only) and
supports different sampling rates between 8 and 48 kHz. The patch also
includes an ALSA mixer. The mixer controlls two volume levels, for
left and right channels, each with 128 steps. It can also toggle the
analog de-emphasis filter and bass boost filter which are incorporated
in the chip.

In addition to that the chip has an equaliser filter, but the mixer
doesn't use it because the coefficients of the filter are difficult to
map to other values used in normal equalisers. Maybe they should have
constant values per board.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
17 years agoSPI: TSC2102 Touchscreen
Andrzej Zaborowski [Thu, 19 Oct 2006 13:44:13 +0000 (16:44 +0300)]
SPI: TSC2102 Touchscreen

This a driver for touchscreens connected to the TSC2102 chip. It uses
the normal input events framework and can be accessed through
/dev/input/eventX.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
17 years agoSPI: TSC2102 main SPI driver
Andrzej Zaborowski [Thu, 19 Oct 2006 13:40:56 +0000 (16:40 +0300)]
SPI: TSC2102 main SPI driver

This adds a driver for the TSC2102 chip by Texas Instruments. This
driver is responsible for all communication with the chip and doesn't
export anything for user-space, but for other drivers controlling
devices connected to the chip.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
17 years agoARM: OMAP: omap2/gpmc updates
David Brownell [Thu, 19 Oct 2006 13:34:27 +0000 (16:34 +0300)]
ARM: OMAP: omap2/gpmc updates

GPMC updates:
 - bugfixes: wrong/missing flags, omitted write, wrong test
 - don't map memory segments starting at zero
 - improve debug messaging
 - export gpmc_get_fclk_perio]d() since it's needed to calc timings
 - expect gpmc_cs_set_timings() caller to have initialized sync vs async

Note that this API is glitchy; likely the best fix would be to add
a member to "struct gpmc_timings" to hold GPMC_CONFIG1, since that
holds one key aspect of the GPMC timings (the gpmc_fclk divisor,
and sync vs. async == whether that divisor matters).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years ago[PATCH] ARM: OMAP: Replace apollon LCD mux setting
Kyungmin Park [Wed, 18 Oct 2006 19:55:49 +0000 (22:55 +0300)]
[PATCH] ARM: OMAP: Replace apollon LCD mux setting

Change the LCD mux setting from enable() to init() for PM

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoARM: OMAP: 24xx pinmux updates
David Brownell [Wed, 18 Oct 2006 19:44:53 +0000 (22:44 +0300)]
ARM: OMAP: 24xx pinmux updates

Add some OMAP 24xx pin mux declarations to support:

 - TUSB 6010 EVM (on H4)
 - All three full speed USB ports
 - GPIOs used with USB0 on Apollon and H4

For OMAP2, issue MUX_WARNINGS and debug messages correctly; and make the
message look more like the OMAP1 message.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoARM: OMAP: omap2/memory.c compile fixes
David Brownell [Wed, 18 Oct 2006 19:43:25 +0000 (22:43 +0300)]
ARM: OMAP: omap2/memory.c compile fixes

Remove some conflicting declarations in omap2/memory.c so that the
file builds again.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoARM: OMAP: /sys/kernel/debug/omap_gpio
David Brownell [Wed, 18 Oct 2006 19:40:40 +0000 (22:40 +0300)]
ARM: OMAP: /sys/kernel/debug/omap_gpio

Add some GPIO debug support:  /sys/kernel/debug/omap_gpio dumps the state
of all GPIOs that have been claimed, including basic IRQ info if relevant.
Tested on 24xx, 16xx.

Includes minor bugfixes:  recording IRQ trigger mode (this should probably
be a genirq patch), adding missing space to non-wakeup warning

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years ago[PATCH] ARM: OMAP: Update Amstrad Delta defconfig
Jonathan McDowell [Wed, 18 Oct 2006 19:37:36 +0000 (22:37 +0300)]
[PATCH] ARM: OMAP: Update Amstrad Delta defconfig

Update the Amstrad Delta defconfig to take advantage of the drivers that
have been added to the tree since the initial config.

Signed-off-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years ago[PATCH] ARM: OMAP: Fix apollon boot
Kyungmin Park [Wed, 18 Oct 2006 19:36:02 +0000 (22:36 +0300)]
[PATCH] ARM: OMAP: Fix apollon boot

In previous GPMC patch, there was a typo. Fix typo and add header files for
set_irq_type() warnings.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years ago[PATCH] ARM: OMAP: Add support for Amstrad Delta keypad
Jonathan McDowell [Wed, 18 Oct 2006 19:34:19 +0000 (22:34 +0300)]
[PATCH] ARM: OMAP: Add support for Amstrad Delta keypad

This adds support for the keypad on the top of the Amstrad Delta. It's
just a standard omap-keypad so all we need to do is add the keypad
layout and platform data to the board definition file.

Signed-off-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years ago[PATCH] OMAP: Add support for IrDA driver #2
Komal Shah [Wed, 18 Oct 2006 18:24:35 +0000 (21:24 +0300)]
[PATCH] OMAP: Add support for IrDA driver #2

Patch adds IrDA driver support for Texas Instruments OMAP
(http://www.ti.com/omap) based processors like OMAP1610/1710 and OMAP242x.

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Acked-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoARM: OMAP: Proper handling of DMA4_IRQSTATUS_L0
Timo Teras [Mon, 9 Oct 2006 15:49:49 +0000 (18:49 +0300)]
ARM: OMAP: Proper handling of DMA4_IRQSTATUS_L0

The register bits are reset by writing one. Remove the unneeded reads and
fix writes to not clear too many bits.

Signed-off-by: Timo Teras <timo.teras@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: I2C: Do not use interruptible wait call in omap_i2c_xfer_msg
Jarkko Nikula [Mon, 9 Oct 2006 12:04:57 +0000 (15:04 +0300)]
ARM: OMAP: I2C: Do not use interruptible wait call in omap_i2c_xfer_msg

If there is a signal pending and wait_for_completion_interruptible_timeout
terminates with -ERESTARTSYS, we return and disable the i2c clocks in
omap_i2c_xfer.

If we terminate before sending last i2c message with a stop condition, the
bus remains busy and we are not able to send new messages into bus with
successive omap_i2c_xfer calls. Therefore a pending signal is not caught
here and we return only because of timeout or i2c error.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: Implement workaround for GPIO wakeup bug in OMAP2420 silicon
Juha Yrjola [Fri, 6 Oct 2006 15:09:14 +0000 (18:09 +0300)]
ARM: OMAP: Implement workaround for GPIO wakeup bug in OMAP2420 silicon

Some GPIOs on OMAP2420 do not have wakeup capabilities. If these GPIOs
are configured as IRQ sources, spurious interrupts will be generated
each time the core domain enters retention.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years ago[PATCH] ARM: OMAP: Re: Fix warning in clock.c
Dirk Behme [Fri, 6 Oct 2006 12:51:58 +0000 (15:51 +0300)]
[PATCH] ARM: OMAP: Re:  Fix warning in clock.c

Fix warning

arch/arm/mach-omap1/clock.c: In function
'omap1_clk_enable_generic':
arch/arm/mach-omap1/clock.c:499: warning: 'return' with no
value, in function returning non-void

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years ago[PATCH] ARM: OMAP: Make OMAP1 work again
Dirk Behme [Fri, 6 Oct 2006 12:48:09 +0000 (15:48 +0300)]
[PATCH] ARM: OMAP: Make OMAP1 work again

In mach-omap1/mailbox.c the mailbox name is .name = "DSP"
while in plat-omap/dsp/dsp_core.c function  dsp_mbox_init()
asks for "dsp". This results in a strcmp() mismatch and then
OMAP1 system crashes due to NULL pointer. OMAP2 is correct,
there .name is "dsp". Correct OMAP1 name to "dsp" as well.

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoARM: OMAP: Make oprofile work for ARM11
Tony Lindgren [Wed, 4 Oct 2006 14:29:47 +0000 (17:29 +0300)]
ARM: OMAP: Make oprofile work for ARM11

Make oprofile work for ARM11

Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agomusb_hdrc: musb speling fix
David Brownell [Wed, 4 Oct 2006 12:46:25 +0000 (15:46 +0300)]
musb_hdrc: musb speling fix

Speling fix:  PRCM_WID for wake-on-id, not PRCM_WLD for bits-gone-WLD.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
17 years agoMerge branch 'master' of /home/git/linux-omap-2.6
Juha Yrjola [Fri, 29 Sep 2006 14:37:11 +0000 (07:37 -0700)]
Merge branch 'master' of /home/git/linux-omap-2.6

17 years agoCBUS: Retu: add atomic set and clear register bits function
Imre Deak [Fri, 29 Sep 2006 21:07:55 +0000 (17:07 -0400)]
CBUS: Retu: add atomic set and clear register bits function

Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoCBUS: Tahvo: add atomic set and clear register bits function
Imre Deak [Fri, 29 Sep 2006 19:09:46 +0000 (15:09 -0400)]
CBUS: Tahvo: add atomic set and clear register bits function

Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoMerge source.mvista.com:/home/git/linux-omap-2.6
Tony Lindgren [Fri, 29 Sep 2006 11:19:16 +0000 (14:19 +0300)]
Merge source.mvista.com:/home/git/linux-omap-2.6

17 years ago[PATCH] ARM: OMAP: Palm Tungsten E board update
Andrzej Zaborowski [Fri, 29 Sep 2006 11:13:05 +0000 (14:13 +0300)]
[PATCH] ARM: OMAP: Palm Tungsten E board update

General update of the board file for Palm Tungsten E. Registers the
platform devices contained in the PDA (ROM chip, keypad, infra-red)
and updates the configuration for USB and MMC, whose config values
were previously guessed in most cases due to lack of documentation
(and now are confirmed by a number of users). Macros for GPIO pins are
moved to a file in include/asm-arm/arch-omap.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoRevert "[PATCH] ARM: OMAP: Palm Tungsten E board update"
Tony Lindgren [Fri, 29 Sep 2006 11:11:27 +0000 (14:11 +0300)]
Revert "[PATCH] ARM: OMAP: Palm Tungsten E board update"

This reverts commit 64688c2d47181efaf4a0f17ce6d5d6ef2ccece3b.

17 years agoARM: OMAP: FB: add controller platform data
Imre Deak [Mon, 25 Sep 2006 23:34:40 +0000 (19:34 -0400)]
ARM: OMAP: FB: add controller platform data

Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: Avoid updating system time for sub-jiffy interrupts
Tony Lindgren [Fri, 29 Sep 2006 07:45:10 +0000 (10:45 +0300)]
ARM: OMAP: Avoid updating system time for sub-jiffy interrupts

Updating system time and reprogramming timer can cause latency
issues on busy systems with lots of interrupts with constant
updating of time and reprogramming the system timer.

If a non-timer dyntick interrupt happens within a jiffy from
the last interrupt, updating time and reprogramming the timer
is unnecessary as we will get a timer interrupt soon anyways.

Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoARM: OMAP2: Optimize INTC register accesses and enable autoidling
Juha Yrjola [Thu, 28 Sep 2006 16:07:12 +0000 (19:07 +0300)]
ARM: OMAP2: Optimize INTC register accesses and enable autoidling

Use virtual addresses directly instead of physical addresses to
avoid having to recalculate the virtual address with every
register access.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP2: Enable serial idling and wakeup features
Juha Yrjola [Thu, 28 Sep 2006 16:05:17 +0000 (19:05 +0300)]
ARM: OMAP2: Enable serial idling and wakeup features

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: Add function to print clock usecounts
Juha Yrjola [Thu, 28 Sep 2006 16:03:52 +0000 (19:03 +0300)]
ARM: OMAP: Add function to print clock usecounts

Useful for debugging power management code.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoCBUS: Enable suspend wakeup for Retu IRQ
Juha Yrjola [Thu, 28 Sep 2006 16:00:59 +0000 (19:00 +0300)]
CBUS: Enable suspend wakeup for Retu IRQ

17 years agoARM: OMAP: Enable 24xx GPIO autoidling
Juha Yrjola [Thu, 28 Sep 2006 15:24:02 +0000 (18:24 +0300)]
ARM: OMAP: Enable 24xx GPIO autoidling

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoomapfb: Enable DISPC and DSS autoidling
Juha Yrjola [Thu, 28 Sep 2006 15:20:59 +0000 (18:20 +0300)]
omapfb: Enable DISPC and DSS autoidling

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agomusb_hdrc: musb procfs updates
David Brownell [Thu, 28 Sep 2006 14:48:43 +0000 (17:48 +0300)]
musb_hdrc: musb procfs updates

Tighten up error handling in the procfs dump, and avoid returning
bogus values from the read() system call.  Report single vs double
buffering for FIFO setup.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
17 years agomusb_hdrc: fix some bugs in the updated host side code
David Brownell [Thu, 28 Sep 2006 14:47:44 +0000 (17:47 +0300)]
musb_hdrc:  fix some bugs in the updated host side code

 - Remove an oops in the queue fault cleanup path, caused by using the
   wrong giveback routine (heavy weight vs lighter-weight).  Move a few
   key bits of code into that lighter weight version.

 - Trigger that lighter-weight cleanup during URB completion, when the
   URB in question can't yet been handed off to the hardware even if
   it's at the queue head.

 - Reduce syslog noise when those fault cleanup paths are triggered from
   scatterlist calls by usb-storage.

 - Paranoia: when scheduling, insist that the endpoint fifo isn't smaller
   than required.

Oops observed courtesy of a slightly flakey usb-storage device, which
once again proves itself handy for testing.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
17 years agomusb_hdrc: cleanup, mostly related to CPPI
David Brownell [Thu, 28 Sep 2006 14:46:58 +0000 (17:46 +0300)]
musb_hdrc: cleanup, mostly related to CPPI

 - Remove #ifdefs in favor of new is_cppi_enabled() macro.
 - Trim some tx-start logic, inlining it and removing MGC_{Read,Write}Csr16()
 - Remove remnant of bogus/non-existent host-side ISO bitfield.

For upstream merging, more such #ifdeffery still needs to be removed.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
17 years agomusb_hdrc: DaVinci-specific updates and cleanups
David Brownell [Thu, 28 Sep 2006 14:46:12 +0000 (17:46 +0300)]
musb_hdrc: DaVinci-specific updates and cleanups

 - Add header needed for DaVinci build.
 - Remove some partially obsolete comments.
 - Cleaner and more reproducible host side VBUS handling, including
   waiting for it to fall after powerdown on rmmod.
 - Tighten up various state machine transitions and diagnostics

Plus removing some generic #ifdeffery.  The vbus updates make it work more like
the TUSB code, and the cleanups etc make upstream merging more practical.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
17 years agomusb_hdrc: add heuristic to make ethernet peripherals use RNDIS RX mode
David Brownell [Thu, 28 Sep 2006 14:45:20 +0000 (17:45 +0300)]
musb_hdrc:  add heuristic to make ethernet peripherals use RNDIS RX mode

When you're willing to trust the USB host not to commit certain errors, the
CPPI "rndis" RX mode can be used with the peripheral side g_ether driver.
(In other cases, rndis rx mode tends to misbehave _very_ rudely ...)

This patch adds a heuristic to detect when the safe scenario is likely, and
a module parameter to disable the heuristic in contexts when it's likely
to fail; for example, users of gadgetfs will likely need to disable it.

This gave about a 60% improvement in throughput with CDC Ethernet (!!) and a
slight reduction in CPU load.  That's measured with TTCP, which pushes a lot
of full size Ethernet frames and thus can see three IRQs per packet reduced
to just one, and also get I/O overlap when double buffering packets.  That is,
net 10 MByte/sec sustained, using double buffering but no DMA transfer queues;
it's unclear why TX is still just 6 MByte/sec.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
17 years ago[PATCH] ARM: OMAP: Remove <linux/config.h>
Komal Shah [Thu, 28 Sep 2006 14:10:49 +0000 (17:10 +0300)]
[PATCH] ARM: OMAP: Remove <linux/config.h>

<linux/config.h> automatically gets included by kbuild

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years ago[PATCH] ARM: OMAP: Palm Tungsten E board update
andrzej zaborowski [Thu, 28 Sep 2006 14:04:22 +0000 (17:04 +0300)]
[PATCH] ARM: OMAP: Palm Tungsten E board update

General update of the board file for Palm Tungsten E. Registers the
platform devices contained in the PDA (ROM chip, keypad, infra-red)
and updates the configuration for USB and MMC, whose config values
were previously guessed in most cases due to lack of documentation
(and now are confirmed by a number of users). Macros for GPIO pins are
moved to a file in include/asm-arm/arch-omap.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years ago[PATCH] ARM: OMAP: correct misc 15xx and non-15xx platform code
andrzej zaborowski [Thu, 28 Sep 2006 13:58:34 +0000 (16:58 +0300)]
[PATCH] ARM: OMAP: correct misc 15xx and non-15xx platform code

Disable accesses to SOFT_REQ_REG2 and ULPD_SOFT_DISABLE_REQ_REG
registers for 15xx processors that don't have these registers. Enable
level 2 interrupt handler for processors that identify as OMAP 15xx
(e.g 310) and not 1510 specifically. Also fix the following compiler
warning (only visible with CONFIG_OMAP_RESET_CLOCKS):

arch/arm/mach-omap1/clock.c: In function 'omap1_clk_disable_unused':
arch/arm/mach-omap1/clock.c:634: warning: 'return' with a value, in
function returning void

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoMerge source.mvista.com:/home/git/linux-omap-2.6
Tony Lindgren [Thu, 28 Sep 2006 13:54:07 +0000 (16:54 +0300)]
Merge source.mvista.com:/home/git/linux-omap-2.6

17 years agoARM: OMAP2: Add DMA IRQ sanity checks
Juha Yrjola [Mon, 25 Sep 2006 23:26:42 +0000 (02:26 +0300)]
ARM: OMAP2: Add DMA IRQ sanity checks

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP2: Force APLLs always active
Juha Yrjola [Mon, 25 Sep 2006 23:24:22 +0000 (02:24 +0300)]
ARM: OMAP2: Force APLLs always active

The APLLs are most efficiently idled by hardware.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP2: Place SMS and SDRC into smart idle mode
Juha Yrjola [Mon, 25 Sep 2006 23:22:18 +0000 (02:22 +0300)]
ARM: OMAP2: Place SMS and SDRC into smart idle mode

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: DSPGW: Deferred dsp initializtion
Hiroshi DOYU [Mon, 25 Sep 2006 20:04:31 +0000 (23:04 +0300)]
ARM: OMAP: DSPGW: Deferred dsp initializtion

DSP HW-related initialization is deferred until the first DSP device
node is opened. This allows us to keep DSP powered down before the
DSP SW is loaded.

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: DSPGW: fix build warning
Hiroshi DOYU [Mon, 25 Sep 2006 20:04:30 +0000 (23:04 +0300)]
ARM: OMAP: DSPGW: fix build warning

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: DSPGW: mailbox build fix
Hiroshi DOYU [Mon, 25 Sep 2006 18:32:37 +0000 (21:32 +0300)]
ARM: OMAP: DSPGW: mailbox build fix

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: Sync timer32k code with mainline
Tony Lindgren [Mon, 25 Sep 2006 10:33:46 +0000 (13:33 +0300)]
ARM: OMAP: Sync timer32k code with mainline

Sync timer32k code with mainline

Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoARM: OMAP: Sync clock code with mainline
Tony Lindgren [Mon, 25 Sep 2006 10:04:32 +0000 (13:04 +0300)]
ARM: OMAP: Sync clock code with mainline

These can be static now that CONFIG_OMAP_RESET_CLOCKS
is rearranged.

Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoARM: OMAP: DSPGW: Peripheral (kfunc) control, Nokia770-specific
Hiroshi DOYU [Thu, 21 Sep 2006 14:41:47 +0000 (17:41 +0300)]
ARM: OMAP: DSPGW: Peripheral (kfunc) control, Nokia770-specific

Nokia770-specific part

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: DSPGW: Peripheral (kfunc) control
Hiroshi DOYU [Thu, 21 Sep 2006 14:41:46 +0000 (17:41 +0300)]
ARM: OMAP: DSPGW: Peripheral (kfunc) control

DSP needs to control some board-specific peripheral devices (GPT,
audio, mbox, etc.) through dspgw kfunc commands.

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: DSPGW: Fix deadlock
Hiroshi DOYU [Thu, 21 Sep 2006 14:41:45 +0000 (17:41 +0300)]
ARM: OMAP: DSPGW: Fix deadlock

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: DSPGW: Use device model
Hiroshi DOYU [Thu, 21 Sep 2006 14:41:44 +0000 (17:41 +0300)]
ARM: OMAP: DSPGW: Use device model

- use device model for IRQ detection.
- use "dsp_device" as a pointer for "struct device"
- some whitespaces are cleaned up.

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: mailbox restructure: omap2 specific parts
Hiroshi DOYU [Thu, 21 Sep 2006 14:41:43 +0000 (17:41 +0300)]
ARM: OMAP: mailbox restructure: omap2 specific parts

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: mailbox restructure: omap1 specific parts
Hiroshi DOYU [Thu, 21 Sep 2006 14:41:42 +0000 (17:41 +0300)]
ARM: OMAP: mailbox restructure: omap1 specific parts

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: mailbox restructure
Hiroshi DOYU [Thu, 21 Sep 2006 14:41:41 +0000 (17:41 +0300)]
ARM: OMAP: mailbox restructure

Mailbox is restructured as below:

- OMAP1 and OMAP2 parts split out to mach-omap[1-2] respectively.
- struct mbx isolation
- Introduced device model
- Added class interface

Moved omap[1,2] specific parts in mach-omap[1,2]/

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: DSPGW: mailbox log cleanup
Hiroshi DOYU [Thu, 21 Sep 2006 14:41:40 +0000 (17:41 +0300)]
ARM: OMAP: DSPGW: mailbox log cleanup

mailbox log small clean-up

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: DSPGW: set autoidle for dsp and mailbox
Hiroshi DOYU [Thu, 21 Sep 2006 14:41:39 +0000 (17:41 +0300)]
ARM: OMAP: DSPGW: set autoidle for dsp and mailbox

Add dsp clock autoidle(DSP_FCLK, DSP_ICLK, INT_D_FCLK, INT_D_ICLK).
which are controled together by auto-control mode.

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: DSPGW: rename mbx -> mbox
Hiroshi DOYU [Thu, 21 Sep 2006 14:41:38 +0000 (17:41 +0300)]
ARM: OMAP: DSPGW: rename mbx -> mbox

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: DSPGW: cleanup
Hiroshi DOYU [Thu, 21 Sep 2006 14:41:37 +0000 (17:41 +0300)]
ARM: OMAP: DSPGW: cleanup

- cleanup whitespaces
- fix some build errors

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: DSPGW: DSP Gateway driver 3.3.1
Toshihiro Kobayashi [Thu, 21 Sep 2006 14:41:36 +0000 (17:41 +0300)]
ARM: OMAP: DSPGW: DSP Gateway driver 3.3.1

Here's the patch that updates DSP Gateway driver to 3.3.1, that
supports omap2 DSP. It also contains generic mailbox interface
considering IVA use on 2420, but this patch itself doesn't contain any
IVA driver.

Regarding omap2, this code is tested only on our 2420 custom board, so
feedbacks from testing on other chips / boards will be greatly
appreciated.

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: Add sanity check to clk_disable
Juha Yrjola [Thu, 21 Sep 2006 15:29:26 +0000 (18:29 +0300)]
ARM: OMAP: Add sanity check to clk_disable

BUG() if the clock use count is already zero.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP2: Keep both APLLs active during bootup
Juha Yrjola [Thu, 21 Sep 2006 15:25:42 +0000 (18:25 +0300)]
ARM: OMAP2: Keep both APLLs active during bootup

Enabling and disabling the 54 MHz and 96 MHz APLLs can happen
unnecessarily often during bootup. Make sure they're kept
enabled during init.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP2: Make sure peripherals can be accessed after clk_enable
Juha Yrjola [Thu, 21 Sep 2006 15:19:06 +0000 (18:19 +0300)]
ARM: OMAP2: Make sure peripherals can be accessed after clk_enable

Some peripherals seem to need additional delay until they
can actually be accessed after enabling their FCLK and ICLK.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoARM: OMAP: Add support for forcing osc_ck on
Juha Yrjola [Thu, 14 Sep 2006 11:40:09 +0000 (14:40 +0300)]
ARM: OMAP: Add support for forcing osc_ck on

Some boards might use the oscillator clock for powering
external peripherals. Add support for making sure osc_ck
stays active even when trying to go to sleep.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoMenelaus: Fix voltage values for VMEM
David Cohen [Thu, 21 Sep 2006 13:51:54 +0000 (16:51 +0300)]
Menelaus: Fix voltage values for VMEM

Signed-off-by: David Cohen <david.cohen@indt.org.br>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
17 years agoMerge with /home/tmlind/src/kernel/linux-2.6
Tony Lindgren [Wed, 20 Sep 2006 16:33:10 +0000 (19:33 +0300)]
Merge with /home/tmlind/src/kernel/linux-2.6

17 years agoARM: Fix typo in ARM11 DCC
Tony Lindgren [Wed, 20 Sep 2006 12:11:24 +0000 (15:11 +0300)]
ARM: Fix typo in ARM11 DCC

Fix typo in ARM11 DCC

Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoARM: DCC debug console support for ARM11
Tony Lindgren [Wed, 13 Sep 2006 07:58:47 +0000 (10:58 +0300)]
ARM: DCC debug console support for ARM11

Adds support for CONFIG_DEBUG_ICEDCC for ARM11.
Tested on ARM1136 (OMAP2420).

Signed-off-by: Tony Lindgren <tony@atomide.com>
17 years agoLinux v2.6.18. Arrr! v2.6.18
Linus Torvalds [Wed, 20 Sep 2006 03:42:06 +0000 (20:42 -0700)]
Linux v2.6.18. Arrr!

Ahoy, all land-lubbers, test me out right smartly!

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
17 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds [Wed, 20 Sep 2006 03:36:22 +0000 (20:36 -0700)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
  [IPV4] fib_trie: missing ntohl() when calling fib_semantic_match()
  [NETFILTER]: xt_quota: add missing module aliases
  [ATM]: [he] don't hold the device lock when upcalling

17 years ago[IPV4] fib_trie: missing ntohl() when calling fib_semantic_match()
Al Viro [Tue, 19 Sep 2006 20:42:46 +0000 (13:42 -0700)]
[IPV4] fib_trie: missing ntohl() when calling fib_semantic_match()

fib_trie.c::check_leaf() passes host-endian where fib_semantic_match()
expects (and stores into) net-endian.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[NETFILTER]: xt_quota: add missing module aliases
Patrick McHardy [Tue, 19 Sep 2006 20:00:57 +0000 (13:00 -0700)]
[NETFILTER]: xt_quota: add missing module aliases

Add missing aliases for ipt_quota and ip6t_quota to make autoload
work.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[ATM]: [he] don't hold the device lock when upcalling
Chas Williams [Tue, 19 Sep 2006 19:59:11 +0000 (12:59 -0700)]
[ATM]: [he] don't hold the device lock when upcalling

This can create a deadlock/lock ordering problem with other layers
that want to use the transmit (or other) path of the card at that
time.

Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agoMerge branch 'fixes' of git://git.linux-nfs.org/pub/linux/nfs-2.6
Linus Torvalds [Tue, 19 Sep 2006 16:46:53 +0000 (09:46 -0700)]
Merge branch 'fixes' of git://git.linux-nfs.org/pub/linux/nfs-2.6

* 'fixes' of git://git.linux-nfs.org/pub/linux/nfs-2.6:
  NFS: Fix nfs_page use after free issues in fs/nfs/write.c
  NFSv4: Fix incorrect semaphore release in _nfs4_do_open()
  NFS: Fix Oopsable condition in nfs_readpage_sync()

17 years agoNFS: Fix nfs_page use after free issues in fs/nfs/write.c
Trond Myklebust [Tue, 19 Sep 2006 03:20:35 +0000 (23:20 -0400)]
NFS: Fix nfs_page use after free issues in fs/nfs/write.c

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
17 years agoNFSv4: Fix incorrect semaphore release in _nfs4_do_open()
Trond Myklebust [Fri, 15 Sep 2006 12:11:51 +0000 (08:11 -0400)]
NFSv4: Fix incorrect semaphore release in _nfs4_do_open()

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
17 years agoNFS: Fix Oopsable condition in nfs_readpage_sync()
Trond Myklebust [Fri, 15 Sep 2006 20:03:45 +0000 (16:03 -0400)]
NFS: Fix Oopsable condition in nfs_readpage_sync()

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
17 years agoRevert mmiocfg heuristics and blacklist changes
Linus Torvalds [Tue, 19 Sep 2006 15:15:22 +0000 (08:15 -0700)]
Revert mmiocfg heuristics and blacklist changes

This reverts commits 11012d419cfc0e0f78ca356aca03674217910124 and
40dd2d20f220eda1cd0da8ea3f0f9db8971ba237, which allowed us to use the
MMIO accesses for PCI config cycles even without the area being marked
reserved in the e820 memory tables.

Those changes were needed for EFI-environment Intel macs, but broke some
newer Intel 965 boards, so for now it's better to revert to our old
2.6.17 behaviour and at least avoid introducing any new breakage.

Andi Kleen has a set of patches that work with both EFI and the broken
Intel 965 boards, which will be applied once they get wider testing.

Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Edgar Hucek <hostmaster@ed-soft.at>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
17 years agoMerge git://git.infradead.org/mtd-2.6
Linus Torvalds [Tue, 19 Sep 2006 15:01:58 +0000 (08:01 -0700)]
Merge git://git.infradead.org/mtd-2.6

* git://git.infradead.org/mtd-2.6:
  [MTD] Use SEEK_{SET,CUR,END} instead of hardcoded values in mtdchar lseek()
  MTD: Fix bug in fixup_convert_atmel_pri
  [JFFS2][SUMMARY] Fix a summary collecting bug.
  [PATCH] [MTD] DEVICES: Fill more device IDs in the structure of m25p80
  MTD: Add lock/unlock operations for Atmel AT49BV6416
  MTD: Convert Atmel PRI information to AMD format
  fs/jffs2/xattr.c: remove dead code
  [PATCH] [MTD] Maps: Add dependency on alternate probe methods to physmap
  [PATCH] MTD: Add Macronix MX29F040 to JEDEC
  [MTD] Fixes of performance and stability issues in CFI driver.
  block2mtd.c: Make kernel boot command line arguments work (try 4)
  [MTD NAND] Fix lookup error in nand_get_flash_type()
  remove #error on !PCI from pmc551.c
  MTD: [NAND] Fix the sharpsl driver after breakage from a core conversion
  [MTD] NAND: OOB buffer offset fixups
  make fs/jffs2/nodelist.c:jffs2_obsolete_node_frag() static
  [PATCH] [MTD] NAND: fix dead URL in Kconfig

17 years ago[PATCH] EXT2: Remove superblock lock contention in ext2_statfs
Dave Kleikamp [Tue, 19 Sep 2006 03:12:33 +0000 (20:12 -0700)]
[PATCH] EXT2: Remove superblock lock contention in ext2_statfs

Fix a performance degradation introduced in 2.6.17.  (30% degradation
running dbench with 16 threads)

Commit 21730eed11de42f22afcbd43f450a1872a0b5ea1, which claims to make
EXT2_DEBUG work again, moves the taking of the kernel lock out of
debug-only code in ext2_count_free_inodes and ext2_count_free_blocks and
into ext2_statfs.

The same problem was fixed in ext3 by removing the lock completely (commit
5b11687924e40790deb0d5f959247ade82196665)

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
17 years ago[PATCH] headers_check: Clean up asm-parisc/page.h for user headers
Matthew Wilcox [Tue, 19 Sep 2006 03:12:27 +0000 (20:12 -0700)]
[PATCH] headers_check: Clean up asm-parisc/page.h for user headers

Remove definitions of PAGE_* from the user view
Delete unnecessary comments referring to the size of pages
Only include <asm-generic> if we're in __KERNEL__

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
17 years ago[PATCH] Fix 'make headers_check' on ia64
Geert Uytterhoeven [Tue, 19 Sep 2006 03:12:23 +0000 (20:12 -0700)]
[PATCH] Fix 'make headers_check' on ia64

Fix 'make headers_check' on m68k

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
17 years ago[PATCH] Add headers_check' target to output of 'make help'
David Woodhouse [Tue, 19 Sep 2006 03:12:19 +0000 (20:12 -0700)]
[PATCH] Add headers_check' target to output of 'make help'

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
17 years ago[PATCH] genirq core: fix handle_level_irq()
Ingo Molnar [Tue, 19 Sep 2006 09:14:34 +0000 (11:14 +0200)]
[PATCH] genirq core: fix handle_level_irq()

while porting the -rt tree to 2.6.18-rc7 i noticed the following
screaming-IRQ scenario on an SMP system:

 2274  0Dn.:1 0.001ms: do_IRQ+0xc/0x103  <= (ret_from_intr+0x0/0xf)
 2274  0Dn.:1 0.010ms: do_IRQ+0xc/0x103  <= (ret_from_intr+0x0/0xf)
 2274  0Dn.:1 0.020ms: do_IRQ+0xc/0x103  <= (ret_from_intr+0x0/0xf)
 2274  0Dn.:1 0.029ms: do_IRQ+0xc/0x103  <= (ret_from_intr+0x0/0xf)
 2274  0Dn.:1 0.039ms: do_IRQ+0xc/0x103  <= (ret_from_intr+0x0/0xf)
 2274  0Dn.:1 0.048ms: do_IRQ+0xc/0x103  <= (ret_from_intr+0x0/0xf)
 2274  0Dn.:1 0.058ms: do_IRQ+0xc/0x103  <= (ret_from_intr+0x0/0xf)
 2274  0Dn.:1 0.068ms: do_IRQ+0xc/0x103  <= (ret_from_intr+0x0/0xf)
 2274  0Dn.:1 0.077ms: do_IRQ+0xc/0x103  <= (ret_from_intr+0x0/0xf)
 2274  0Dn.:1 0.087ms: do_IRQ+0xc/0x103  <= (ret_from_intr+0x0/0xf)
 2274  0Dn.:1 0.097ms: do_IRQ+0xc/0x103  <= (ret_from_intr+0x0/0xf)

as it turns out, the bug is caused by handle_level_irq(), which if it
races with another CPU already handling this IRQ, it _unmasks_ the IRQ
line on the way out. This is not how 2.6.17 works, and we introduced
this bug in one of the early genirq cleanups right before it went into
-mm. (the bug was not in the genirq patchset for a long time, and we
didnt notice the bug due to the lack of -rt rebase to the new genirq
code. -rt, and hardirq-preemption in particular opens up such races much
wider than anything else.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
17 years agox86: save/restore eflags in context switch
Linus Torvalds [Mon, 18 Sep 2006 23:20:40 +0000 (16:20 -0700)]
x86: save/restore eflags in context switch

(And reset it on new thread creation)

It turns out that eflags is important to save and restore not just
because of iopl, but due to the magic bits like the NT bit, which we
don't want leaking between different threads.

Tested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
17 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds [Mon, 18 Sep 2006 23:16:05 +0000 (16:16 -0700)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
  [ATM] CLIP: Do not refer freed skbuff in clip_mkip().
  [NET]: Drop tx lock in dev_watchdog_up
  [PACKET]: Don't truncate non-linear skbs with mmaped IO
  [NET]: Mark frame diverter for future removal.
  [NETFILTER]: Add secmark headers to header-y
  [ATM]: linux-atm-general mailing list is subscribers only
  [ATM]: [he] when transmit fails, unmap the dma regions
  [TCP] tcp-lp: update information to MAINTAINERS
  [TCP] tcp-lp: bug fix for oops in 2.6.18-rc6
  [BRIDGE]: random extra bytes on STP TCN packet
  [IPV6]: Accept -1 for IPV6_TCLASS
  [IPV6]: Fix tclass setting for raw sockets.
  [IPVS]: remove the debug option go ip_vs_ftp
  [IPVS]: Make sure ip_vs_ftp ports are valid
  [IPVS]: auto-help for ip_vs_ftp
  [IPVS]: Document the ports option to ip_vs_ftp in kernel-parameters.txt
  [TCP]: Turn ABC off.
  [NEIGH]: neigh_table_clear() doesn't free stats

17 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Linus Torvalds [Mon, 18 Sep 2006 23:15:40 +0000 (16:15 -0700)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6

* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
  [SPARC]: Fix regression in sys_getdomainname()
  [OPENPROMIO]: Handle current_node being NULL correctly.

17 years agoMerge master.kernel.org:/home/rmk/linux-2.6-arm
Linus Torvalds [Mon, 18 Sep 2006 23:15:16 +0000 (16:15 -0700)]
Merge master.kernel.org:/home/rmk/linux-2.6-arm

* master.kernel.org:/home/rmk/linux-2.6-arm:
  [ARM] 3815/1: headers_install support for ARM
  [ARM] 3794/1: S3C24XX: do not defined set_irq_wake when no CONFIG_PM
  [ARM] 3793/1: S3C2412: fix wrong serial info struct
  [ARM] 3780/1: Fix iop321 cpuid
  [ARM] 3786/1: pnx4008: update defconfig
  [ARM] 3785/1: S3C2412: Fix idle code as default uses wrong clocks
  [ARM] 3784/1: S3C2413: fix config for MACH_S3C2413/MACH_SMDK2413

17 years ago[ARM] 3815/1: headers_install support for ARM
Ralph Siemsen [Mon, 18 Sep 2006 15:28:50 +0000 (16:28 +0100)]
[ARM] 3815/1: headers_install support for ARM

Move kernel-only #includes into #ifdef __KERNEL__, so that
headers_install target can be used on ARM.

Signed-off-by: Ralph Siemsen <ralphs@netwinder.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years ago[SPARC]: Fix regression in sys_getdomainname()
Andy Walker [Mon, 18 Sep 2006 14:11:36 +0000 (07:11 -0700)]
[SPARC]: Fix regression in sys_getdomainname()

This patch corrects the buffer length checking in the
sys_getdomainname() implementation for sparc/sparc64.

Signed-off-by: Andy Walker <andy@puszczka.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[ATM] CLIP: Do not refer freed skbuff in clip_mkip().
YOSHIFUJI Hideaki [Mon, 18 Sep 2006 13:37:58 +0000 (06:37 -0700)]
[ATM] CLIP: Do not refer freed skbuff in clip_mkip().

In clip_mkip(), skb->dev is dereferenced after clip_push(),
which frees up skb.

Advisory: AD_LAB-06009 (<adlab@venustech.com.cn>).

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[ARM] 3794/1: S3C24XX: do not defined set_irq_wake when no CONFIG_PM
Ben Dooks [Mon, 18 Sep 2006 12:30:20 +0000 (13:30 +0100)]
[ARM] 3794/1: S3C24XX: do not defined set_irq_wake when no CONFIG_PM

Patch from Ben Dooks

Do not define set_irq_wake as a real function if
the CONFIG_PM option is not set.

Fixes bug reported by Thomas Gleixner.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years ago[ARM] 3793/1: S3C2412: fix wrong serial info struct
Ben Dooks [Mon, 18 Sep 2006 12:30:17 +0000 (13:30 +0100)]
[ARM] 3793/1: S3C2412: fix wrong serial info struct

Patch from Ben Dooks

The S3C2440 serial info struct is being passed
through the S3C2412 serial info struct probe
routine.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Thomas Glexiner <tglx@linutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 years agoMerge 65.200.49.170:linux-omap
Juha Yrjola [Mon, 18 Sep 2006 10:35:47 +0000 (13:35 +0300)]
Merge 65.200.49.170:linux-omap

17 years agoMerge branch 'master' of /home/git/linux-omap-2.6
Juha Yrjola [Mon, 18 Sep 2006 10:39:10 +0000 (03:39 -0700)]
Merge branch 'master' of /home/git/linux-omap-2.6

17 years ago[OPENPROMIO]: Handle current_node being NULL correctly.
David S. Miller [Mon, 18 Sep 2006 08:47:13 +0000 (01:47 -0700)]
[OPENPROMIO]: Handle current_node being NULL correctly.

If the user tries to traverse to the next node of the
last node, we get NULL in current_node and a zero phandle
returned.  That's fine, but if the user tries to obtain
properties in that state, we try to dereference a NULL
pointer in the downcall to the of_*() routines.

So protect against that.

Signed-off-by: David S. Miller <davem@davemloft.net>