Permalink
Commits on Jan 4, 2013
  1. [rpi03] sd: don't use high speed mode if card initialisation keeps fa…

    …iling
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with Jun 14, 2012
  2. [rpi03] sd: report clock speed in SD card initialisation failure message

    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with Jun 14, 2012
  3. [rpi03] sdhci: don't use unlikely()

    If CONFIG_MMC_SDHCI_IO_ACCESSORS is Y then it's actually
    quite likely (but not guaranteed) that the host will use
    these ops on every access.
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with Jun 10, 2012
  4. [rpi03] amba-pl011: Don't send a character during startup

    This causes a corrupted character to be sent and
    there's no explanation for why it is required.
    
    If it worked correctly it would send an extra 0x00
    which isn't appropriate either.
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with Jun 9, 2012
  5. [rpi02] sdhci-of-bcm2708: add DMA support

    Hardware behaviour (of needing to communicate as if PIO mode but then
    do DMA) derived from Dom Cobley's kernel. Implementation determined by
    testing with the hardware.
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with Jun 13, 2012
  6. [rpi02] sdhci-of-bcm2708: initial implementation supporting PIO mode …

    …only
    
    bcm2708_sdhci_clock_delay derived from Dom Cobley's kernel.
    Quirks determined by testing with the hardware.
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with Jun 10, 2012
  7. [rpi02] bcm2708_dma: Add Broadcom BCM2708 DMA engine driver

    Supports MEMCPY, MEMSET, INTERRUPT, SLAVE, SG, CYCLIC, INTERLEAVE
    
    The hardware can also do simple INTERLEAVE backwards in either
    direction.
    
    CACHE_LINE_SIZE and CACHE_LINE_MASK from Dom Cobley's kernel.
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with Jun 9, 2012
  8. [rpi02] list: add list_last_entry

    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with Jun 6, 2012
  9. [rpi02] i2c-bcm2708: BCM2708 I2C driver

    Signed-off-by: Chris Boot <bootc@bootc.net>
    bootc committed with May 19, 2012
  10. [rpi02] spi-bcm2708: SPI driver for bcm2708

    This is an SPI driver for the BCM2708 platform including the BCM2835 as
    used in the Raspberry Pi.
    
    Thanks to csoutreach / A Robinson for his driver which I used as an
    inspiration. You can find his version here:
    
    http://piface.openlx.org.uk/raspberry-pi-spi-kernel-driver-available-for
    
    Signed-off-by: Chris Boot <bootc@bootc.net>
    bootc committed with May 24, 2012
  11. [rpi02] pinctrl-bcm2708: Add pinctrl/pinmux support

    TODO: pinconf support
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    [CB: Rewrite including GPIO chip device]
    Signed-off-by: Chris Boot <bootc@bootc.net>
    committed with May 19, 2012
  12. [rpi02] bcm-vc-power: Add Broadcom VideoCore power driver

    Mailbox messages derived from Dom Cobley's kernel
    Implementation created by testing with the device and
    information from raspberrypi/linux#23
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with May 16, 2012
  13. [rpi02] video: Add Raspberry Pi logo

    Signed-off-by: Dom Cobley <popcornmix@gmail.com>
    [SA: use logo_rpi_clut224 instead of overwriting logo_linux_clut224]
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    popcornmix committed with May 14, 2012
  14. [rpi02] bcm2708_fb: Add support for frame buffer display

    Signed-off-by: Dom Cobley <popcornmix@gmail.com>
    [SA: reorganise to use device tree and bcm-mbox]
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    popcornmix committed with May 14, 2012
  15. [rpi02] bcm-mbox: Add Broadcom VideoCore mailbox driver

    Quite an interesting interface... with a very small message size
    
    Registers and required values derived from Dom Cobley's kernel
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with May 14, 2012
  16. [rpi02] bcm2708_wdog: Add watchdog

    Variable timeout watchdog (1 to 16 seconds).
    
    This is required to be able to reboot (using a 150us timeout).
    
    Registers and required values derived from Dom Cobley's kernel.
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with May 13, 2012
  17. [rpi01] bcm2708: Add BCM2708/BCM2835

    Family: BCM2708
    Model: BCM2835
    
    Signed-off-by: Dom Cobley <popcornmix@gmail.com>
    Signed-off-by: Dom Cobley <dc4@broadcom.com>
    [SA: minimal version of mach]
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    
    bcm2708: Fix UART code in mach/uncompress.h
    bcm2708: fix mach/debug-macro.S so that early printk works
    
    Note that you need to boot the compressed kernel (zImage) so that the
    UART is configured at boot, or your kernel will hang when it tries to
    access the UART.
    
    Signed-off-by: Chris Boot <bootc@bootc.net>
    
    bcm2835: Device tree
    
    Interrupt controller, UART0 (AMBA PL011 serial console), UART1
    (16550-like, unused), frame buffer display, etc.
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    Signed-off-by: Chris Boot <bootc@bootc.net>
    committed with May 18, 2012
  18. [rpi01] arm: Add disable function for the SP804

    The SP804 on the BCM2835 is yet another variant and isn't required
    as there's another free running counter available.
    
    Add a function to allow it to be disabled.
    
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    committed with May 12, 2012
  19. [rpi01] arm: Workaround potential hang in cpu_v6_do_idle

    Entering WFI state with an outstanding instruction cache read in flight
    can hang the ARM core, so you have to be very careful to preload the
    region following the WFI into the cache before going to sleep. We do
    this by going round a loop once with the mcr instructions conditionally
    disabled before doing it for real.
    
    Signed-off-by: Dom Cobley <popcornmix@gmail.com>
    [SA: added explanation from raspberrypi/linux#20]
    Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
    popcornmix committed with May 7, 2012
Commits on Jun 14, 2012
  1. Merge git://git.kernel.org/pub/scm/virt/kvm/kvm

    Pull kvm fix from Marcelo Tosatti:
     "Fix a spurious warning on CPU offline path"
    
    * git://git.kernel.org/pub/scm/virt/kvm/kvm:
      x86: kvmclock: remove check_and_clear_guest_paused warning
    torvalds committed Jun 14, 2012
  2. Merge tag 'pinctrl-fixes-for-v3.5' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/linusw/linux-pinctrl
    
    Pull pinctrl fixes from Linus Walleij:
     - section markup fixes
     - clk_prepare() fix to conform to the clk API
     - memory leaks
     - incorrect debug messages
     - bad errorpaths
     - typos
    
    * tag 'pinctrl-fixes-for-v3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
      pinctrl: pinctrl-mxs: set platform driver data to NULL at errpath and at unregister
      pinctrl: pinctrl-mxs: Take care of frees if the kzalloc fails
      pinctrl: pinctrl-imx: fix incorrect debug message of maps
      pinctrl: pinctrl-imx: free if of_get_parent fails to get the parent node
      pinctrl: pinctrl-imx: free allocated pinctrl_map structure only once and use kernel facilities for IMX_PMX_DUMP
      pinctrl: nomadik: fix up typo
      pinctrl: nomadik: add clk_prepare() call
      pinctrl: fix a minor harmless typo
      pinctrl: sirf: mark of_device_id match table as __devinitconst
    torvalds committed Jun 14, 2012
  3. Merge tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/tiwai/sound
    
    Pull sound fixes from Takashi Iwai:
    
     - Fix a regression of USB-audio PCM assignment since 3.4
     - A few VGA-switcheroo-related fixes for proper HDMI audio enablement
     - Fixed the missing initializations of HD-audio verbs, which may have
       resulted in various breakage
     - Some driver-specific ASoC updates
     - A few fixes for the dynamic PCM code
     - The addition of pinctrl support for the i.MX audmux which didn't make
       it into -rc1 due to cross tree dependency issues
     - A few minor fixes in compress API codes
    
    * tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
      ALSA: hda - Don't forget to call init verbs added by fixup list
      ALSA: HDA: Pin fixup for Zotac Z68 motherboard
      ALSA: compress_core: cleanup pointers on stop
      ALSA: compress_core: don't wake up on pause
      ALSA: hda - Fix detection of Creative SoundCore3D controllers
      vga_switcheroo: Enable/disable audio clients at the right time
      ALSA: hda - HDMI Audio init all connectors when VGA-switcheroo is off
      vga_switcheroo: Fix error without CONFIG_VGA_SWITCHEROO
      ALSA: hda - Fix uninitialized HDMI controllers with VGA-switcheroo
      vga_switcheroo: Add a helper function to get the client state
      ALSA: usb-audio: Fix substream assignments
      ASoC: tegra: add MODULE_DEVICE_TABLE to tegra30_ahub
      ASoC: wm2000: Always use a 4s timeout for the firmware
      ASoC: dapm: Fix input list to use source widgets
      ASoC: dpcm: Fix dpcm_get_be() to check that DAI is BE
      ASoC: wm8994: Apply volume updates with clocks enabled
      ASoC: wm8994: Ensure all AIFnCLK events are run from the _late variants
      ASoC: imx-audmux: add pinctrl support
      ASoC: dapm: Fix connected widget capture path query.
    torvalds committed Jun 14, 2012
  4. Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

    Pull networking fixes from David S. Miller:
    
    This has the fix for the wireless issues I ran into the other week as
    well as:
    
     1) Fix CAN c_can driver transmit handling resulting in BUG check
        triggers, from AnilKumar Ch.
    
     2) Fix packet drop monitor sleeping in atomic context, from Eric
        Dumazet.
    
     3) Fix mv643xx_eth driver build regression, from Andrew Lunn.
    
     4) Inetpeer freeing needs an RCU grace period in order to avoid races
        during tree invalidation.  From Eric Dumazet.
    
     5) Fix endianness bugs in xt_HMARK netfilter module, from Hans
        Schillstrom.
    
     6) Add proper module refcounting to l2tp_eth to avoid crash on module
        unload, from Eric Dumazet.
    
     7) Fix truncation of neighbour entry dumps due to logic errors in
        neigh_dump_info() and friends, from Eric Dumazet.
    
     8) The conversion of fib6_age() to dst_neigh_lookup() accidently
        reversed the logic of a flags test, fix from Thomas Graf.
    
     9) Fix checksum configuration in newer sky2 chips, from Stephen
        Hemminger.
    
    10) Revert BQL support in NIU driver, doesn't work.
    
    11) l2tp_ip_sendmsg() illegally uses a route without a proper reference.
        From Eric Dumazet.
    
    12) be2net driver references an SKB after it's potentially been freed,
        also from Eric Dumazet.
    
    13) Fix RCU stalls in dummy net driver init.  Also from Eric Dumazet.
    
    14) lpc_eth has several bugs in it's transmit engine leading to packet
        leaks and improper queue wakes, from Eric Dumazet.
    
    15) Apply short DMA workaround to more tg3 chips, from Matt Carlson.
    
    16) Add tilegx network driver.
    
    17) Bonding queue mapping for a packet can get corrupted, fix from Eric
        Dumazet.
    
    18) Fix bug in netpoll_send_udp() SKB management that can leave garbage
        in the payload in certain situations.  From Eric Dumazet.
    
    19) bnx2x driver interprets chip RX checksum offload incorrectly in
        encapsulation situations.  Fix from Eric Dumazet.
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (75 commits)
      bnx2x: fix checksum validation
      netpoll: fix netpoll_send_udp() bugs
      bonding: Fix corrupted queue_mapping
      bonding:record primary when modify it via sysfs
      tilegx network driver: initial support
      tg3: Apply short DMA frag workaround to 5906
      net: stmmac: Fix clock en-/disable calls
      lpc_eth: fix tx completion
      lpc_eth: add missing ndo_change_mtu()
      dummy: fix rcu_sched self-detected stalls
      net: Reorder initialization in ip_route_output to fix gcc warning
      virtio-net: fix a race on 32bit arches
      r8169: avoid NAPI scheduling delay.
      net: Make linux/tcp.h C++ friendly (trivial)
      netdev: fix drivers/net/phy/ kernel-doc warnings
      net/core: fix kernel-doc warnings
      be2net: fix a race in be_xmit()
      l2tp: fix a race in l2tp_ip_sendmsg()
      mac80211: add back channel change flag
      NFC: Fix possible NULL ptr deref when getting the name of a socket
      ...
    torvalds committed Jun 14, 2012
Commits on Jun 13, 2012
  1. bnx2x: fix checksum validation

    bnx2x driver incorrectly sets ip_summed to CHECKSUM_UNNECESSARY on
    encapsulated segments. TCP stack happily accepts frames with bad
    checksums, if they are inside a GRE or IPIP encapsulation.
    
    Our understanding is that if no IP or L4 csum validation was done by the
    hardware, we should leave ip_summed as is (CHECKSUM_NONE), since
    hardware doesn't provide CHECKSUM_COMPLETE support in its cqe.
    
    Then, if IP/L4 checksumming was done by the hardware, set
    CHECKSUM_UNNECESSARY if no error was flagged.
    
    Patch based on findings and analysis from Robert Evans
    
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Cc: Eilon Greenstein <eilong@broadcom.com>
    Cc: Yaniv Rosner <yanivr@broadcom.com>
    Cc: Merav Sicron <meravs@broadcom.com>
    Cc: Tom Herbert <therbert@google.com>
    Cc: Robert Evans <evansr@google.com>
    Cc: Willem de Bruijn <willemb@google.com>
    Acked-by: Eilon Greenstein <eilong@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Eric Dumazet committed with davem330 Jun 12, 2012
  2. netpoll: fix netpoll_send_udp() bugs

    Bogdan Hamciuc diagnosed and fixed following bug in netpoll_send_udp() :
    
    "skb->len += len;" instead of "skb_put(skb, len);"
    
    Meaning that _if_ a network driver needs to call skb_realloc_headroom(),
    only packet headers would be copied, leaving garbage in the payload.
    
    However the skb_realloc_headroom() must be avoided as much as possible
    since it requires memory and netpoll tries hard to work even if memory
    is exhausted (using a pool of preallocated skbs)
    
    It appears netpoll_send_udp() reserved 16 bytes for the ethernet header,
    which happens to work for typicall drivers but not all.
    
    Right thing is to use LL_RESERVED_SPACE(dev)
    (And also add dev->needed_tailroom of tailroom)
    
    This patch combines both fixes.
    
    Many thanks to Bogdan for raising this issue.
    
    Reported-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Tested-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
    Cc: Herbert Xu <herbert@gondor.apana.org.au>
    Cc: Neil Horman <nhorman@tuxdriver.com>
    Reviewed-by: Neil Horman <nhorman@tuxdriver.com>
    Reviewed-by: Cong Wang <xiyou.wangcong@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Eric Dumazet committed with davem330 Jun 12, 2012
  3. Merge tag 'sh-for-linus' of git://github.com/pmundt/linux-sh

    Pull SuperH fixes from Paul Mundt.
    
    * tag 'sh-for-linus' of git://github.com/pmundt/linux-sh:
      sh: Kill off additional asm-generic wrappers.
      sh: Setup CROSS_COMPILE at the top
      sh: Fix up link time defsym warnings.
      sh: use the new generic strnlen_user() function
      sh: switch to generic strncpy_from_user().
      sh: Kill off last dead UBC header
      serial: sh-sci: Make probe fail for ports that exceed the maximum count
      serial: sh-sci: Fix probe error paths
      clocksource: sh_tmu: Use clockevents_config_and_register().
      clocksource: sh_tmu: Convert timer lock to raw spinlock.
      clocksource: sh_mtu2: Convert timer lock to raw spinlock.
      clocksource: sh_cmt: Convert timer lock to raw spinlock.
      bug.h: need linux/kernel.h for TAINT_WARN.
      sh: convert to kbuild asm-generic support.
      sh64: Fix up fallout from generic init_task conversion.
      sh: arch/sh/kernel/process.c needs asm/fpu.h for unlazy_fpu().
    torvalds committed Jun 13, 2012
  4. Merge branch 'fixes-for-3.5' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/cooloney/linux-leds
    
    Pull led fixes from Bryan Wu.
    
    * 'fixes-for-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds:
      leds: Make LEDS_ASIC3 and LEDS_RENESAS_TPU depend on LEDS_CLASS=y
      leds: fixed a coding style issue.
      leds: don't disable blinking when writing the same value to delay_on or delay_off
    torvalds committed Jun 13, 2012
  5. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/geert/linux-m68k
    
    Pull m68k update from Geert Uytterhoeven.
    
    This makes m68k use the generic library functions for the user-space
    strn[cpy|len] functions.
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
      m68k: Use generic strncpy_from_user(), strlen_user(), and strnlen_user()
    torvalds committed Jun 13, 2012
  6. Merge tag 'omapdss-for-3.5-rc2' of git://gitorious.org/linux-omap-dss…

    …2/linux
    
    Pull omapdss build problem fix from Tomi Valkeinen:
     "Small fixes for omapdss driver.  Most importantly, fixes a build
      problem when debugfs or omapdss debug support is turned off, and fixes
      a suspend related crash."
    
    This has apparently been annoying rmk for a while..
    
    * tag 'omapdss-for-3.5-rc2' of git://gitorious.org/linux-omap-dss2/linux:
      OMAPDSS: fix registration of DPI and SDI devices
      OMAPDSS: DSI: Fix bug when calculating LP command interleaving parameters
      OMAPDSS: fix bogus WARN_ON in dss_runtime_put()
      OMAPDSS: Taal: fix compilation warning
      OMAPDSS: fix build when DEBUG_FS or DSS_DEBUG_SUPPORT disabled
    torvalds committed Jun 13, 2012
  7. ALSA: hda - Don't forget to call init verbs added by fixup list

    During the split to the auto-parser helper functions, the actual call
    of init verbs was lost.
    
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43366
    
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Jun 13, 2012
  8. Merge branches 'sh/urgent', 'sh/core', 'sh/clockevents', 'sh/asm-gene…

    …ric' and 'sh/trivial' into sh-fixes-for-linus
    Paul Mundt committed Jun 13, 2012
  9. sh: Kill off additional asm-generic wrappers.

    A few wrappers were overlooked in the initial conversion, take care of
    them now.
    
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    Paul Mundt committed Jun 13, 2012
  10. sh: Setup CROSS_COMPILE at the top

    CROSS_COMPILE must be setup before using e.g. cc-option (and a few other
    as-*, cc-*, ld-* macros), else they will check against the wrong compiler
    when cross-compiling, and may invoke the cross compiler with wrong or
    suboptimal compiler options.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Paul Mundt <lethal@linux-sh.org>
    Cc: linux-sh@vger.kernel.org
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    geertu committed with Paul Mundt May 12, 2012
  11. sh: Fix up link time defsym warnings.

    sh-linux-gnu-ld:--defsym 'jiffies=jiffies_64': ignoring invalid character `'' in expression
    
    For some reason ld has recently started complaining about the quotes, so just
    get rid of them, we don't need them for anything anyways.
    
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    Paul Mundt committed Jun 13, 2012
  12. sh: use the new generic strnlen_user() function

    This discards both the _32 and _64 versions in favour of the consolidated
    generic one.
    
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    Paul Mundt committed Jun 4, 2012