1. 10 1月, 2011 18 次提交
  2. 07 1月, 2011 22 次提交
    • L
      Merge branch 'omap-for-linus' of... · 01539ba2
      Linus Torvalds 提交于
      Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
      
      * 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (243 commits)
        omap2: Make OMAP2PLUS select OMAP_DM_TIMER
        OMAP4: hwmod data: Fix alignment and end of line in structurefields
        OMAP4: hwmod data: Move the DMA structures
        OMAP4: hwmod data: Move the smartreflex structures
        OMAP4: hwmod data: Fix missing SIDLE_SMART_WKUP in smartreflexsysc
        arm: omap: tusb6010: add name for MUSB IRQ
        arm: omap: craneboard: Add USB EHCI support
        omap2+: Initialize serial port for dynamic remuxing for n8x0
        omap2+: Add struct omap_board_data and use it for platform level serial init
        omap2+: Allow hwmod state changes to mux pads based on the state changes
        omap2+: Add support for hwmod specific muxing of devices
        omap2+: Add omap_mux_get_by_name
        OMAP2: PM: fix compile error when !CONFIG_SUSPEND
        MAINTAINERS: OMAP: hwmod: update hwmod code, data maintainership
        OMAP4: Smartreflex framework extensions
        OMAP4: hwmod: Add inital data for smartreflex modules.
        OMAP4: PM: Program correct init voltages for scalable VDDs
        OMAP4: Adding voltage driver support
        OMAP4: Register voltage PMIC parameters with the voltage layer
        OMAP3: PM: Program correct init voltages for VDD1 and VDD2
        ...
      
      Fix up trivial conflict in arch/arm/plat-omap/Kconfig
      01539ba2
    • L
      Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 · 9e9bc973
      Linus Torvalds 提交于
      * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (255 commits)
        [media] radio-aimslab.c: Fix gcc 4.5+ bug
        [media] cx25821: Fix compilation breakage due to BKL dependency
        [media] v4l2-compat-ioctl32: fix compile warning
        [media] zoran: fix compiler warning
        [media] tda18218: fix compile warning
        [media] ngene: fix compile warning
        [media] DVB: IR support for TechnoTrend CT-3650
        [media] cx23885, cimax2.c: Fix case of two CAM insertion irq
        [media] ir-nec-decoder: fix repeat key issue
        [media] staging: se401 depends on USB
        [media] staging: usbvideo/vicam depends on USB
        [media] soc_camera: Add the ability to bind regulators to soc_camedra devices
        [media] V4L2: Add a v4l2-subdev (soc-camera) driver for OmniVision OV2640 sensor
        [media] v4l: soc-camera: switch to .unlocked_ioctl
        [media] v4l: ov772x: simplify pointer dereference
        [media] ov9640: fix OmniVision OV9640 sensor driver's priv data retrieving
        [media] ov9640: use macro to request OmniVision OV9640 sensor private data
        [media] ivtv-i2c: Fix two warnings
        [media] staging/lirc: Update lirc TODO files
        [media] cx88: Remove the obsolete i2c_adapter.id field
        ...
      9e9bc973
    • L
      Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm · 3c0cb7c3
      Linus Torvalds 提交于
      * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (416 commits)
        ARM: DMA: add support for DMA debugging
        ARM: PL011: add DMA burst threshold support for ST variants
        ARM: PL011: Add support for transmit DMA
        ARM: PL011: Ensure IRQs are disabled in UART interrupt handler
        ARM: PL011: Separate hardware FIFO size from TTY FIFO size
        ARM: PL011: Allow better handling of vendor data
        ARM: PL011: Ensure error flags are clear at startup
        ARM: PL011: include revision number in boot-time port printk
        ARM: vexpress: add sched_clock() for Versatile Express
        ARM i.MX53: Make MX53 EVK bootable
        ARM i.MX53: Some bug fix about MX53 MSL code
        ARM: 6607/1: sa1100: Update platform device registration
        ARM: 6606/1: sa1100: Fix platform device registration
        ARM i.MX51: rename IPU irqs
        ARM i.MX51: Add ipu clock support
        ARM: imx/mx27_3ds: Add PMIC support
        ARM: DMA: Replace page_to_dma()/dma_to_page() with pfn_to_dma()/dma_to_pfn()
        mx51: fix usb clock support
        MX51: Add support for usb host 2
        arch/arm/plat-mxc/ehci.c: fix errors/typos
        ...
      3c0cb7c3
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next-2.6 · f70f5b9d
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next-2.6: (25 commits)
        atyfb: Fix bootup hangs on sparc64.
        sparc: update copyright in piggyback.c
        sparc: unify strip command in boot/Makefile
        sparc: rename piggyback_32 to piggyback
        sparc: fix tftpboot.img for sparc64 on little-endian host
        sparc: add $BITS to piggyback arguments
        sparc: remove obsolete ELF support in piggyback_32.c
        sparc: additional comments to piggyback_32.c
        sparc: use _start for the start entry (like 64 bit does)
        sparc: use trapbase in setup_arch
        sparc: refactor piggy_32.c
        Added support for ampopts in APBUART driver. Used in AMP systems.
        APBUART: added raw AMBA vendor/device number to match against.
        SPARC/LEON: avoid AMBAPP name duplicates in openprom fs when REG is missing
        SPARC/LEON: added support for selecting Timer Core and Timer within core
        LEON: added raw AMBA vendor/device number to find TIMER, IRQCTRL
        SPARC/LEON: added support for IRQAMP IRQ Controller
        SPARC/LEON: find IRQCTRL and Timer via OF-Tree, instead of hardcoded.
        sparc: fix sparse warnings in arch/sparc/prom for 32 bit build
        sparc: remove unused prom tree functions
        ...
      f70f5b9d
    • R
      Merge branch 'devel-stable' into devel · 404a02cb
      Russell King 提交于
      Conflicts:
      	arch/arm/mach-pxa/clock.c
      	arch/arm/mach-pxa/clock.h
      404a02cb
    • R
      Merge branch 'pgt' (early part) into devel · 28cdac66
      Russell King 提交于
      28cdac66
    • R
      Merge branch 'misc' into devel · 4073723a
      Russell King 提交于
      Conflicts:
      	arch/arm/Kconfig
      	arch/arm/common/Makefile
      	arch/arm/kernel/Makefile
      	arch/arm/kernel/smp.c
      4073723a
    • R
      Merge branch 'smp' into misc · 4ec3eb13
      Russell King 提交于
      Conflicts:
      	arch/arm/kernel/entry-armv.S
      	arch/arm/mm/ioremap.c
      4ec3eb13
    • R
      ARM: DMA: add support for DMA debugging · 24056f52
      Russell King 提交于
      Add ARM support for the DMA debug infrastructure, which allows the
      DMA API usage to be debugged.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      24056f52
    • L
      Merge branch 'for-linus' of git://codeaurora.org/quic/kernel/davidb/linux-msm · b69fc2ef
      Linus Torvalds 提交于
      * 'for-linus' of git://codeaurora.org/quic/kernel/davidb/linux-msm: (35 commits)
        mmc: msm_sdcc: Check for only DATA_END interrupt to end a request
        mmc: msm_sdcc: Fix bug in PIO mode when data size is not word aligned
        mmc: msm_sdcc: Reset SDCC in case of data transfer errors
        mmc: msm_sdcc: Add prog done interrupt support
        mmc: msm_sdcc: Fix possible circular locking dependency warning
        MSM: Add USB support for MSM7x30
        MSM: Add USB suport for QSD8x50
        msm: initial framebuffer support
        msm: add handling for clocks tagged as CLK_MINMAX
        msm: trout: change name of pmdh_clk to mddi_clk
        msm: add CLK_MINMAX to pmdh_clk
        msm: trout: add gpio_to_irq
        msm: iommu: Use the correct memory allocation flag
        msm_serial: Remove redundant unlikely()
        msm: iommu: Miscellaneous code cleanup
        msm: iommu: Support cache-coherent memory access
        msm: iommu: Definitions for extended memory attributes
        msm: iommu: Kconfig dependency for the IOMMU API
        msm: iommu: Check if device is already attached
        msm: iommu: Kconfig item for cacheable page tables
        ...
      b69fc2ef
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6 · 84b7290c
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6: (55 commits)
        video: udlfb: Kill off special printk wrappers, use pr_fmt().
        video: udlfb: Kill off some magic constants for EDID sizing.
        video: udlfb: deifdefify (yes, that's a word).
        fbdev: modedb: Add a new mode for 864x480 TAAL panels.
        drivers/video/i810/i810-i2c.c: fix i2c bus handling
        video: Fix the HGA framebuffer driver
        drivers/video/carminefb.c: improve error handling
        video: imxfb: Fix the maximum value for yres
        fbdev: sh_mobile_lcdcfb: Enable 32 bpp and 24 bpp support
        fbdev: sh_mipi_dsi: use platform provided register layout and values
        ARM: mach-shmobile: specify sh7372 MIPI DSI register layout
        fbdev: sh_mipi_dsi: support different register layouts
        ARM: mach-shmobile: improve MIPI DSI clock configuration
        fbdev: sh-mobile: implement MIPI DSI runtime PM support
        sisfb: eliminate compiler warnings
        sisfb: delete unused register I/O macros
        sisfb: replace setSISIDXREG with SiS_SetRegANDOR
        sisfb: replace andSISIDXREG with SiS_SetRegAND
        sisfb: replace orSISIDXREG with SiS_SetRegOR
        sisfb: replace outSISIDXREG with SiS_SetReg
        ...
      84b7290c
    • L
      Merge branch 'sh-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 · 9858a38e
      Linus Torvalds 提交于
      * 'sh-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
        sh: include Migo-R TS driver in Migo-R defconfig
        sh: correct definitions to access stack pointers
        sh: Tidy up SH-4A unaligned load support.
        dma: shdma: NMI support.
        sh: mach-sdk7786: Handle baseboard NMI source selection.
        sh: mach-rsk: Add polled GPIO buttons support for RSK+7203.
        sh: Break out cpuinfo_op procfs bits.
        sh: Enable optional gpiolib for all CPUs with pinmux tables.
        sh: migrate SH_CLK_MD to mode pin API.
        sh: machvec IO death.
      9858a38e
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 · abb35945
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1436 commits)
        cassini: Use local-mac-address prom property for Cassini MAC address
        net: remove the duplicate #ifdef __KERNEL__
        net: bridge: check the length of skb after nf_bridge_maybe_copy_header()
        netconsole: clarify stopping message
        netconsole: don't announce stopping if nothing happened
        cnic: Fix the type field in SPQ messages
        netfilter: fix export secctx error handling
        netfilter: fix the race when initializing nf_ct_expect_hash_rnd
        ipv4: IP defragmentation must be ECN aware
        net: r6040: Return proper error for r6040_init_one
        dcb: use after free in dcb_flushapp()
        dcb: unlock on error in dcbnl_ieee_get()
        net: ixp4xx_eth: Return proper error for eth_init_one
        include/linux/if_ether.h: Add #define ETH_P_LINK_CTL for HPNA and wlan local tunnel
        net: add POLLPRI to sock_def_readable()
        af_unix: Avoid socket->sk NULL OOPS in stream connect security hooks.
        net_sched: pfifo_head_drop problem
        mac80211: remove stray extern
        mac80211: implement off-channel TX using hw r-o-c offload
        mac80211: implement hardware offload for remain-on-channel
        ...
      abb35945
    • R
      cassini: Use local-mac-address prom property for Cassini MAC address · 4e3dbdb1
      Richard Mortimer 提交于
      Fallback on the local-mac-address prom property if the Cassini device
      does not have an address programmed in the VPD ROM. This uses the same
      technique as implemented by the sungem driver.
      
      The problem was reported by Frans van Berckel using Debian kernel 2.6.34-7
      on Sun Fire V440. udev was assigning a new eth<n> device name on each reboot
      because the cassini driver was using a random MAC address.
      
      Fix tested on 2.6.34-7 and 2.6.37 Sun Fire V440. Compile tested against
      2.6.36 davem/sparc-2.6.git
      Reported-by: NFrans van Berckel <fberckel@xs4all.nl>
      Tested-by: NFrans van Berckel <fberckel@xs4all.nl>
      Reviewed-by: NJulian Calaby <julian.calaby@gmail.com>
      Reviewed-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NRichard Mortimer <richm@oldelvet.org.uk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4e3dbdb1
    • C
      net: remove the duplicate #ifdef __KERNEL__ · 2ad0d9d4
      Changli Gao 提交于
      Since we are already in #ifdef __KERNEL__, we don't need to check it
      again.
      Signed-off-by: NChangli Gao <xiaosuo@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2ad0d9d4
    • D
      atyfb: Fix bootup hangs on sparc64. · 09798eb9
      David S. Miller 提交于
      After commit 25edd694 ("sparc64: Get
      rid of indirect p1275 PROM call buffer.")  we can't pass virtual
      addresses >4GB to PROM calls.
      
      Largely this is never necessary in drivers because we have a copy of
      the entire PROM device tree in the kernel and a set of of_*()
      interfaces to access it.
      
      Unfortunately there were some lingering prom calls in the atyfb
      driver, in particular prom_finddevice() was being called with an
      on-stack address which could be anywhere.
      
      This code is actually probing for information we already have, the
      PROM choosen console output device is stored in of_console_device so
      all of this nasty code consolidates into a one-line comparison.
      
      Next we have some prom_getintdefault() calls which are trivially
      transformed into the equivalent of_getintprop_default().
      
      Special thanks to Fabio, who figured out exactly where the bootup
      was hanging.  That made this bug trivial to fix.
      Reported-by: NFabio M. Di NItto <fabbione@fabbione.net>
      Reported-by: NSam Ravnborg <sam@ravnborg.org>
      Reported-by: NFrans van Berckel <fberckel@xs4all.nl>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NFabio M. Di NItto <fabbione@fabbione.net>
      09798eb9
    • C
      net: bridge: check the length of skb after nf_bridge_maybe_copy_header() · f88de8de
      Changli Gao 提交于
      Since nf_bridge_maybe_copy_header() may change the length of skb,
      we should check the length of skb after it to handle the ppoe skbs.
      Signed-off-by: NChangli Gao <xiaosuo@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f88de8de
    • F
      netconsole: clarify stopping message · 38cfb907
      Ferenc Wagner 提交于
      Signed-off-by: NFerenc Wagner <wferi@niif.hu>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      38cfb907
    • F
      141dfba3
    • M
      cnic: Fix the type field in SPQ messages · 68d7c1aa
      Michael Chan 提交于
      The new firmware interface requires each Slow Path Queue (SPQ) message's
      type field to include the function number.  The existing code does not
      do this consistently.  We fix this by OR'ing in the function number
      into the type field centrally in cnic_submit_kwqe_16().
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      68d7c1aa
    • P
      netfilter: fix export secctx error handling · cba85b53
      Pablo Neira Ayuso 提交于
      In 1ae4de0c, the secctx was exported
      via the /proc/net/netfilter/nf_conntrack and ctnetlink interfaces
      instead of the secmark.
      
      That patch introduced the use of security_secid_to_secctx() which may
      return a non-zero value on error.
      
      In one of my setups, I have NF_CONNTRACK_SECMARK enabled but no
      security modules. Thus, security_secid_to_secctx() returns a negative
      value that results in the breakage of the /proc and `conntrack -L'
      outputs. To fix this, we skip the inclusion of secctx if the
      aforementioned function fails.
      
      This patch also fixes the dynamic netlink message size calculation
      if security_secid_to_secctx() returns an error, since its logic is
      also wrong.
      
      This problem exists in Linux kernel >= 2.6.37.
      Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cba85b53
    • C
      netfilter: fix the race when initializing nf_ct_expect_hash_rnd · f682cefa
      Changli Gao 提交于
      Since nf_ct_expect_dst_hash() may be called without nf_conntrack_lock
      locked, nf_ct_expect_hash_rnd should be initialized in the atomic way.
      
      In this patch, we use nf_conntrack_hash_rnd instead of
      nf_ct_expect_hash_rnd.
      Signed-off-by: NChangli Gao <xiaosuo@gmail.com>
      Acked-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f682cefa