24 Sep, 2010

1 commit

  • While sh previously had its own debugfs root, there now exists a
    common arch_debugfs_dir prototype, so we switch everything over to
    that. Presumably once more architectures start making use of this
    we'll be able to just kill off the stub kdebugfs wrapper.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

23 Sep, 2010

1 commit


20 Sep, 2010

7 commits

  • This copies the pci_config_lock idea from x86 over, allowing us to kill
    off a couple of existing private locks. At the same time, these need to
    be converted to raw spinlocks for -rt kernels, so we make that change at
    the same time. This should make it easier for future parts to get the
    locking right instead of inevitable ending up with lock type mismatches.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • This gets each port handling its MSTP bit, as well as moving the PHY
    clock management in to the clock framework.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Some of the existing code is flipping between __raw_xxx() and
    pci_{read,write}_reg(). As the latter are just wrappers for the former,
    flip over to using them consistently.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Presently we error out if a link is disabled and simply drop the port
    registration outright. This follows the PPC changes and simply reports on
    the link state on boot, leaving the port registered, in order to more
    easily deal with hotplug on future parts.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • These settings are properly propagated by the hardware already, so
    there's no need to bother with them manually.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • The SH7786 PCIe is presently unable to enumerate itself in root complex
    mode, and has no visibility through either type 0 or type 1 accesses,
    despite having a mostly sensible extended config space for each port.
    Attempts to generate type 0 or type 1 config cycles result in completer
    aborts, so we're ultimately forced to use SuperHyway transactions
    instead.

    As each port has a single port device mapping that resolves for any
    PCI_SLOT definition, we simply hijack devfn 0 for the SuperHyway
    transaction and bump up the devfn limit.

    With enumeration of the root complex now possible, we also need to insert
    an early fixup to hide the BARs from the kernel. With all of that done,
    it's now possible to use the pcieport services with all of the PCIe
    ports, which is the first step to power management support.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Previously these IDs were only used by one driver, so there was not much
    need for having them generically defined. Now that this will no longer
    hold true, move them over.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

19 Sep, 2010

3 commits


16 Sep, 2010

3 commits


14 Sep, 2010

5 commits


07 Sep, 2010

7 commits


20 Aug, 2010

7 commits


19 Aug, 2010

6 commits

  • * 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
    NFS: Fix an Oops in the NFSv4 atomic open code
    NFS: Fix the selection of security flavours in Kconfig
    NFS: fix the return value of nfs_file_fsync()
    rpcrdma: Fix SQ size calculation when memreg is FRMR
    xprtrdma: Do not truncate iova_start values in frmr registrations.
    nfs: Remove redundant NULL check upon kfree()
    nfs: Add "lookupcache" to displayed mount options
    NFS: allow close-to-open cache semantics to apply to root of NFS filesystem
    SUNRPC: fix NFS client over TCP hangs due to packet loss (Bug 16494)

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
    USB HID: Add ID for eGalax Multitouch used in JooJoo tablet
    HID: hiddev: fix memory corruption due to invalid intfdata
    HID: hiddev: protect against disconnect/NULL-dereference race
    HID: picolcd: correct ordering of framebuffer freeing
    HID: picolcd: testing the wrong variable

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] Fix build error: conflicting types for ‘sys_execve’

    Linus Torvalds
     
  • Fix the declaration of sys_execve() in asm-generic/syscalls.h to have
    various consts applied to its pointers.

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • arch/ia64/kernel/process.c:636: error: conflicting types for ‘sys_execve’

    commit d7627467b7a8dd6944885290a03a07ceb28c10eb
    Make do_execve() take a const filename pointer

    Missed the declaration of sys_execve in the ia64 asm/unistd.h (perhaps
    because there is no reason for it to be there ... it might be a left over
    from the COMPAT code?). Just delete the conflicting version.

    Signed-off-by: Tony Luck

    Tony Luck
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
    fs: brlock vfsmount_lock
    fs: scale files_lock
    lglock: introduce special lglock and brlock spin locks
    tty: fix fu_list abuse
    fs: cleanup files_lock locking
    fs: remove extra lookup in __lookup_hash
    fs: fs_struct rwlock to spinlock
    apparmor: use task path helpers
    fs: dentry allocation consolidation
    fs: fix do_lookup false negative
    mbcache: Limit the maximum number of cache entries
    hostfs ->follow_link() braino
    hostfs: dumb (and usually harmless) tpyo - strncpy instead of strlcpy
    remove SWRITE* I/O types
    kill BH_Ordered flag
    vfs: update ctime when changing the file's permission by setfacl
    cramfs: only unlock new inodes
    fix reiserfs_evict_inode end_writeback second call

    Linus Torvalds