1. 18 Apr, 2013 2 commits
  2. 17 Apr, 2013 6 commits
    • Sekhar Nori's avatar
      ARM: davinci: da850 evm: fix const qualifier placement · 58b6c5a1
      Sekhar Nori authored
      const qualifier was misplaced in couple of definitions.
      This fixes the sparse error:
      
        CHECK   arch/arm/mach-davinci/board-mityomapl138.c
      arch/arm/mach-davinci/board-da850-evm.c:404:19: error: Just how const do you want this type to be?
      arch/arm/mach-davinci/board-da850-evm.c:568:19: error: Just how const do you want this type to be?
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      58b6c5a1
    • Robert Tivy's avatar
      ARM: davinci: da850 board: add remoteproc support · 54288134
      Robert Tivy authored
      Add .reserve function for reserving CMA memory block to MACHINE_START.
      
      Add call to remoteproc platform device registration function during init.
      Signed-off-by: default avatarRobert Tivy <rtivy@ti.com>
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      54288134
    • Sekhar Nori's avatar
      ARM: davinci: ensure global variables are declared · 215a084d
      Sekhar Nori authored
      Fix the following sparse warnings by declaring relevant
      global variables.
      
        CHECK   arch/arm/mach-davinci/usb.c
      arch/arm/mach-davinci/usb.c:134:12: warning: symbol 'da8xx_register_usb20' was not declared. Should it be static?
      arch/arm/mach-davinci/usb.c:169:12: warning: symbol 'da8xx_register_usb11' was not declared. Should it be static?
      
        CHECK   arch/arm/mach-davinci/pm.c
      arch/arm/mach-davinci/pm.c:155:12: warning: symbol 'davinci_pm_init' was not declared. Should it be static?
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      215a084d
    • Sekhar Nori's avatar
      ARM: davinci: sram.c: fix incorrect type in assignment · 182e7961
      Sekhar Nori authored
      Fix missing __iomem attribute. This fixes the sparse warning:
      
        CHECK   arch/arm/mach-davinci/sram.c
      arch/arm/mach-davinci/sram.c:75:8: warning: incorrect type in assignment (different address spaces)
      arch/arm/mach-davinci/sram.c:75:8:    expected void *addr
      arch/arm/mach-davinci/sram.c:75:8:    got void [noderef] <asn:2>*
      arch/arm/mach-davinci/sram.c:81:12: warning: incorrect type in argument 1 (different address spaces)
      arch/arm/mach-davinci/sram.c:81:12:    expected void volatile [noderef] <asn:2>*addr
      arch/arm/mach-davinci/sram.c:81:12:    got void *addr
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      182e7961
    • Sekhar Nori's avatar
      ARM: davinci: da8xx dt: make file local symbols static · 267f3c07
      Sekhar Nori authored
      Make some file-local functions static. This fixes the sparse
      warnings:
      
        CHECK   arch/arm/mach-davinci/da8xx-dt.c
      arch/arm/mach-davinci/da8xx-dt.c:23:13: warning: symbol 'da8xx_uart_clk_enable' was not declared. Should it be static?
      arch/arm/mach-davinci/da8xx-dt.c:40:23: warning: symbol 'da850_auxdata_lookup' was not declared. Should it be static?
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      267f3c07
    • Robert Tivy's avatar
      ARM: davinci: da8xx: add remoteproc support · 5c71d618
      Robert Tivy authored
      Add remoteproc platform device for controlling the DSP
      on da8xx. The patch uses CMA-based reservation of physical
      memory block for DSP use. A new kernel command-line parameter
      has been added to allow boot-time specification of the physical
      memory block.
      Signed-off-by: default avatarRobert Tivy <rtivy@ti.com>
      [nsekhar@ti.com: edit commit message for readability and
      style improvements]
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      5c71d618
  3. 15 Apr, 2013 1 commit
  4. 11 Apr, 2013 6 commits
  5. 10 Apr, 2013 3 commits
  6. 09 Apr, 2013 2 commits
  7. 08 Apr, 2013 8 commits
  8. 07 Apr, 2013 7 commits
  9. 06 Apr, 2013 2 commits
    • Linus Torvalds's avatar
      Merge tag 'dm-3.9-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-dm · fe696909
      Linus Torvalds authored
      Pull device-mapper fixes from Alasdair Kergon:
       "A pair of patches to fix the writethrough mode of the device-mapper
        cache target when the device being cached is not itself wrapped with
        device-mapper."
      
      * tag 'dm-3.9-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-dm:
        dm cache: reduce bio front_pad size in writeback mode
        dm cache: fix writes to cache device in writethrough mode
      fe696909
    • Linus Torvalds's avatar
      Merge tag 'pci-v3.9-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · b196553a
      Linus Torvalds authored
      Pull PCI fixes from Bjorn Helgaas:
       "PCI updates for v3.9:
      
        ASPM
            Revert "PCI/ACPI: Request _OSC control before scanning PCI root bus"
        kexec
            PCI: Don't try to disable Bus Master on disconnected PCI devices
        Platform ROM images
            PCI: Add PCI ROM helper for platform-provided ROM images
            nouveau: Attempt to use platform-provided ROM image
            radeon: Attempt to use platform-provided ROM image
        Hotplug
            PCI/ACPI: Always resume devices on ACPI wakeup notifications
            PCI/PM: Disable runtime PM of PCIe ports
        EISA
            EISA/PCI: Fix bus res reference
            EISA/PCI: Init EISA early, before PNP"
      
      * tag 'pci-v3.9-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        PCI/PM: Disable runtime PM of PCIe ports
        PCI/ACPI: Always resume devices on ACPI wakeup notifications
        PCI: Don't try to disable Bus Master on disconnected PCI devices
        Revert "PCI/ACPI: Request _OSC control before scanning PCI root bus"
        radeon: Attempt to use platform-provided ROM image
        nouveau: Attempt to use platform-provided ROM image
        EISA/PCI: Init EISA early, before PNP
        EISA/PCI: Fix bus res reference
        PCI: Add PCI ROM helper for platform-provided ROM images
      b196553a
  10. 05 Apr, 2013 3 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 53f63189
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Fix erroneous sock_orphan() leading to crashes and double
          kfree_skb() in NFC protocol.  From Thierry Escande and Samuel Ortiz.
      
       2) Fix use after free in remain-on-channel mac80211 code, from Johannes
          Berg.
      
       3) nf_reset() needs to reset the NF tracing cookie, otherwise we can
          leak it from one namespace into another.  Fix from Gao Feng and
          Patrick McHardy.
      
       4) Fix overflow in channel scanning array of mwifiex driver, from Stone
          Piao.
      
       5) Fix loss of link after suspend/shutdown in r8169, from Hayes Wang.
      
       6) Synchronization of unicast address lists to the undelying device
          doesn't work because whether to sync is maintained as a boolean
          rather than a true count.  Fix from Vlad Yasevich.
      
       7) Fix corruption of TSO packets in atl1e by limiting the segmented
          packet length.  From Hannes Frederic Sowa.
      
       8) Revert bogus AF_UNIX credential passing change and fix the
          coalescing issue properly, from Eric W Biederman.
      
       9) Changes of ipv4 address lifetime settings needs to generate a
          notification, from Jiri Pirko.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (22 commits)
        netfilter: don't reset nf_trace in nf_reset()
        net: ipv4: notify when address lifetime changes
        ixgbe: fix registration order of driver and DCA nofitication
        af_unix: If we don't care about credentials coallesce all messages
        Revert "af_unix: dont send SCM_CREDENTIAL when dest socket is NULL"
        bonding: remove sysfs before removing devices
        atl1e: limit gso segment size to prevent generation of wrong ip length fields
        net: count hw_addr syncs so that unsync works properly.
        r8169: fix auto speed down issue
        netfilter: ip6t_NPT: Fix translation for non-multiple of 32 prefix lengths
        mwifiex: limit channel number not to overflow memory
        NFC: microread: Fix build failure due to a new MEI bus API
        iwlwifi: dvm: fix the passive-no-RX workaround
        netfilter: nf_conntrack: fix error return code
        NFC: llcp: Keep the connected socket parent pointer alive
        mac80211: fix idle handling sequence
        netfilter: nfnetlink_acct: return -EINVAL if object name is empty
        netfilter: nfnetlink_queue: fix error return code in nfnetlink_queue_init()
        netfilter: reset nf_trace in nf_reset
        mac80211: fix remain-on-channel cancel crash
        ...
      53f63189
    • Jan Beulich's avatar
      x86: Fix rebuild with EFI_STUB enabled · 91870824
      Jan Beulich authored
      eboot.o and efi_stub_$(BITS).o didn't get added to "targets", and hence
      their .cmd files don't get included by the build machinery, leading to
      the files always getting rebuilt.
      
      Rather than adding the two files individually, take the opportunity and
      add $(VMLINUX_OBJS) to "targets" instead, thus allowing the assignment
      at the top of the file to be shrunk quite a bit.
      
      At the same time, remove a pointless flags override line - the variable
      assigned to was misspelled anyway, and the options added are
      meaningless for assembly sources.
      
      [ hpa: the patch is not minimal, but I am taking it for -urgent anyway
        since the excess impact of the patch seems to be small enough. ]
      Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
      Link: http://lkml.kernel.org/r/515C5D2502000078000CA6AD@nat28.tlf.novell.com
      Cc: Matthew Garrett <mjg@redhat.com>
      Cc: Matt Fleming <matt.fleming@intel.com>
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      91870824
    • Patrick McHardy's avatar
      netfilter: don't reset nf_trace in nf_reset() · 124dff01
      Patrick McHardy authored
      Commit 130549fe ("netfilter: reset nf_trace in nf_reset") added code
      to reset nf_trace in nf_reset(). This is wrong and unnecessary.
      
      nf_reset() is used in the following cases:
      
      - when passing packets up the the socket layer, at which point we want to
        release all netfilter references that might keep modules pinned while
        the packet is queued. nf_trace doesn't matter anymore at this point.
      
      - when encapsulating or decapsulating IPsec packets. We want to continue
        tracing these packets after IPsec processing.
      
      - when passing packets through virtual network devices. Only devices on
        that encapsulate in IPv4/v6 matter since otherwise nf_trace is not
        used anymore. Its not entirely clear whether those packets should
        be traced after that, however we've always done that.
      
      - when passing packets through virtual network devices that make the
        packet cross network namespace boundaries. This is the only cases
        where we clearly want to reset nf_trace and is also what the
        original patch intended to fix.
      
      Add a new function nf_reset_trace() and use it in dev_forward_skb() to
      fix this properly.
      Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      124dff01