Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync up with Linus #42

Merged
merged 226 commits into from
Feb 23, 2015
Merged

Sync up with Linus #42

merged 226 commits into from
Feb 23, 2015

Commits on Dec 12, 2014

  1. ovl: check whiteout while reading directory

    Don't make a separate pass for checking whiteouts, since we can do it while
    reading the upper directory.
    
    This will make it easier to handle multiple layers.
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    49c21e1 View commit details
    Browse the repository at this point in the history
  2. ovl: make path-type a bitmap

    OVL_PATH_PURE_UPPER -> __OVL_PATH_UPPER | __OVL_PATH_PURE
    OVL_PATH_UPPER      -> __OVL_PATH_UPPER
    OVL_PATH_MERGE      -> __OVL_PATH_UPPER | __OVL_PATH_MERGE
    OVL_PATH_LOWER      -> 0
    
    Multiple R/O layers will allow __OVL_PATH_MERGE without __OVL_PATH_UPPER.
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    1afaba1 View commit details
    Browse the repository at this point in the history
  3. ovl: dont replace opaque dir

    When removing an empty opaque directory, then it makes no sense to replace
    it with an exact replica of itself before removal.
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    263b4a0 View commit details
    Browse the repository at this point in the history
  4. ovl: add mutli-layer infrastructure

    Add multiple lower layers to 'struct ovl_fs' and 'struct ovl_entry'.
    
    ovl_entry will have an array of paths, instead of just the dentry.  This
    allows a compact array containing just the layers which exist at current
    point in the tree (which is expected to be a small number for the majority
    of dentries).
    
    The number of layers is not limited by this infrastructure.
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    dd66266 View commit details
    Browse the repository at this point in the history
  5. ovl: helper to iterate layers

    Add helper to iterate through all the layers, starting from the upper layer
    (if exists) and continuing down through the lower layers.
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    5ef88da View commit details
    Browse the repository at this point in the history
  6. ovl: multi-layer readdir

    If multiple lower layers exist, merge them as well in readdir according to
    the same rules as merging upper with lower.  I.e. take whiteouts and opaque
    directories into account on all but the lowers layer.
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    9d7459d View commit details
    Browse the repository at this point in the history
  7. ovl: multi-layer lookup

    Look up dentry in all relevant layers.
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    3d3c6b8 View commit details
    Browse the repository at this point in the history
  8. ovl: check whiteout on lowest layer as well

    Not checking whiteouts on lowest layer was an optimization (there's nothing
    to white out there), but it could result in inconsitent behavior when a
    layer previously used as upper/middle is later used as lowest. 
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    3e01cee View commit details
    Browse the repository at this point in the history
  9. ovl: lookup ENAMETOOLONG on lower means ENOENT

    "Suppose you have in one of the lower layers a filesystem with
    ->lookup()-enforced upper limit on name length.  Pretty much every local fs
    has one, but... they are not all equal.  255 characters is the common upper
    limit, but e.g. jffs2 stops at 254, minixfs upper limit is somewhere from
    14 to 60, depending upon version, etc.  You are doing a lookup for
    something that is present in upper layer, but happens to be too long for
    one of the lower layers.  Too bad - ENAMETOOLONG for you..."
    
    Reported-by: Al Viro <[email protected]>
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    09e1032 View commit details
    Browse the repository at this point in the history
  10. ovl: allow statfs if no upper layer

    Handle "no upper layer" case in statfs.
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    4ebc581 View commit details
    Browse the repository at this point in the history
  11. ovl: mount: change order of initialization

    Move allocation of root entry above to where it's needed.
    
    Move initializations related to upperdir and workdir near each other.
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    3b7a9a2 View commit details
    Browse the repository at this point in the history
  12. ovl: improve mount helpers

    Move common checks into ovl_mount_dir() helper.
    
    Create helper for looking up lower directories.
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    ab50882 View commit details
    Browse the repository at this point in the history
  13. ovl: make upperdir optional

    Make "upperdir=" mount option optional.  If "upperdir=" is not given, then
    the "workdir=" option is also optional (and ignored if given).
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    53a08cb View commit details
    Browse the repository at this point in the history
  14. ovl: support multiple lower layers

    Allow "lowerdir=" option to contain multiple lower directories separated by
    a colon (e.g. "lowerdir=/bin:/usr/bin").  Colon characters in filenames can
    be escaped with a backslash.
    
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    a78d9f0 View commit details
    Browse the repository at this point in the history
  15. ovl: Cleanup redundant blank lines

    This patch removes redundant blanks lines in overlayfs.
    
    Signed-off-by: hujianyang <[email protected]>
    Signed-off-by: Miklos Szeredi <[email protected]>
    hujianyang authored and Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    1ba3872 View commit details
    Browse the repository at this point in the history
  16. ovl: Use macros to present ovl_xattr

    This patch adds two macros:
    
    OVL_XATTR_PRE_NAME and OVL_XATTR_PRE_LEN
    
    to present ovl_xattr name prefix and its length. Also, a
    new macro OVL_XATTR_OPAQUE is introduced to replace old
    *ovl_opaque_xattr*.
    
    Fix the length of "trusted.overlay." to *16*.
    
    Signed-off-by: hujianyang <[email protected]>
    Signed-off-by: Miklos Szeredi <[email protected]>
    hujianyang authored and Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    cead89b View commit details
    Browse the repository at this point in the history
  17. ovl: add testsuite to docs

    Reported-by: Sedat Dilek <[email protected]>
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Dec 12, 2014
    Configuration menu
    Copy the full SHA
    2b7a8f3 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2015

  1. ovl: Fix kernel panic while mounting overlayfs

    The function ovl_fill_super() in recently multi-layer support
    version will incorrectly return 0 at error handling path and
    then cause kernel panic.
    
    This failure can be reproduced by mounting a overlayfs with
    upperdir and workdir in different mounts.
    
    And also, If the memory allocation of *lower_mnt* fail, this
    function may return an zero either.
    
    This patch fix this problem by setting *err* to proper error
    number before jumping to error handling path.
    
    Signed-off-by: hujianyang <[email protected]>
    Signed-off-by: Miklos Szeredi <[email protected]>
    hujianyang authored and Miklos Szeredi committed Jan 8, 2015
    Configuration menu
    Copy the full SHA
    2f83fd8 View commit details
    Browse the repository at this point in the history
  2. ovl: Fix opaque regression in ovl_lookup

    Current multi-layer support overlayfs has a regression in
    .lookup(). If there is a directory in upperdir and a regular
    file has same name in lowerdir in a merged directory, lower
    file is hidden and upper directory is set to opaque in former
    case. But it is changed in present code.
    
    In lowerdir lookup path, if a found inode is not directory,
    the type checking of previous inode is missing. This inode
    will be copied to the lowerstack of ovl_entry directly.
    
    That will lead to several wrong conditions, for example,
    the reading of the directory in upperdir may return an error
    like:
    
       ls: reading directory .: Not a directory
    
    This patch makes the lowerdir lookup path check the opaque
    for non-directory file too.
    
    Signed-off-by: hujianyang <[email protected]>
    Signed-off-by: Miklos Szeredi <[email protected]>
    hujianyang authored and Miklos Szeredi committed Jan 8, 2015
    Configuration menu
    Copy the full SHA
    a425c03 View commit details
    Browse the repository at this point in the history
  3. ovl: Prevent rw remount when it should be ro mount

    Overlayfs should be mounted read-only when upper-fs is read-only or nonexistent.
    But now it can be remounted read-write and this can cause kernel panic.
    So we should prevent read-write remount when the above situation happens.
    
    Signed-off-by: Seunghun Lee <[email protected]>
    Signed-off-by: Miklos Szeredi <[email protected]>
    earlbread authored and Miklos Szeredi committed Jan 8, 2015
    Configuration menu
    Copy the full SHA
    3cdf6fe View commit details
    Browse the repository at this point in the history
  4. ovl: document lower layer ordering

    Reported-by: Fabian Sturm <[email protected]> 
    Signed-off-by: Miklos Szeredi <[email protected]>
    Miklos Szeredi committed Jan 8, 2015
    Configuration menu
    Copy the full SHA
    6d900f5 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2015

  1. ovl: discard independent cursor in readdir()

    Since the ovl_dir_cache is stable during a directory reading, the cursor
    of struct ovl_dir_file don't need to be an independent entry in the list
    of a merged directory.
    
    This patch changes *cursor* to a pointer which points to the entry in the
    ovl_dir_cache. After this, we don't need to check *is_cursor* either.
    
    Signed-off-by: hujianyang <[email protected]>
    Signed-off-by: Miklos Szeredi <[email protected]>
    hujianyang authored and Miklos Szeredi committed Jan 9, 2015
    Configuration menu
    Copy the full SHA
    4330397 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2015

  1. MIPS: Rewrite csum_fold to plain C.

    This isn't only short and easier to read and fully portable but also
    shrinks a Malta kernel's by 160 bytes.
    
    Signed-off-by: Ralf Baechle <[email protected]>
    ralfbaechle committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    d0f0f63 View commit details
    Browse the repository at this point in the history
  2. MIPS: Use <asm-generic/checksum.h>

    Right now the MIPS <asm/checksum.h> still overrides all functions.  This
    will change in the future.
    
    Signed-off-by: Ralf Baechle <[email protected]>
    ralfbaechle committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    b4b5015 View commit details
    Browse the repository at this point in the history
  3. MIPS: Use generic csum_tcpudp_magic for MIPS.

    Its implementation is identical to MIPS.
    
    Signed-off-by: Ralf Baechle <[email protected]>
    ralfbaechle committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    2f26c48 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f84c0a View commit details
    Browse the repository at this point in the history
  5. MIPS: IP32: Use __noreturn instead of open coded attributes in declar…

    …ations.
    
    Signed-off-by: Ralf Baechle <[email protected]>
    ralfbaechle committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    efc46d1 View commit details
    Browse the repository at this point in the history
  6. MIPS: IP27: Use __noreturn instead of open coded attributes in declar…

    …ations.
    
    Signed-off-by: Ralf Baechle <[email protected]>
    ralfbaechle committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    dd6e2db View commit details
    Browse the repository at this point in the history
  7. MIPS: ARC: Use __noreturn instead of open coded attributes in declara…

    …tions.
    
    Signed-off-by: Ralf Baechle <[email protected]>
    ralfbaechle committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    bb03006 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e950324 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2015

  1. MIPS: Remove unused dt_setup_arch()

    Signed-off-by: Geert Uytterhoeven <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8928/
    Signed-off-by: Ralf Baechle <[email protected]>
    geertu authored and ralfbaechle committed Jan 16, 2015
    Configuration menu
    Copy the full SHA
    250215c View commit details
    Browse the repository at this point in the history
  2. MIPS: Add struct pci_ops member names to initialization

    Some instances of pci_ops initialization rely on the read/write members'
    location in the struct. This is fragile and may break when adding new
    members to the beginning of the struct.
    
    [[email protected]: indent = with tabs for consistency.]
    
    Signed-off-by: Rob Herring <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: Arnd Bergmann <[email protected]>
    Cc: [email protected]
    Cc: Bjorn Helgaas <[email protected]>
    Patchwork: https://patchwork.linux-mips.org/patch/8915/
    Signed-off-by: Ralf Baechle <[email protected]>
    robherring authored and ralfbaechle committed Jan 16, 2015
    Configuration menu
    Copy the full SHA
    7b09777 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2015

  1. jbd2: complain about descriptor block checksum errors

    We should complain in dmesg when journal recovery fails on account of
    the descriptor block being corrupt, so that the diagnostic data can
    be recovered.
    
    Signed-off-by: Darrick J. Wong <[email protected]>
    Signed-off-by: Theodore Ts'o <[email protected]>
    djwong authored and tytso committed Jan 19, 2015
    Configuration menu
    Copy the full SHA
    b692422 View commit details
    Browse the repository at this point in the history
  2. ext4: reserve codepoints used by the ext4 encryption feature

    Signed-off-by: Theodore Ts'o <[email protected]>
    tytso committed Jan 19, 2015
    Configuration menu
    Copy the full SHA
    3edc18d View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2015

  1. ext4: change to use setup_timer() instead of init_timer()

    Signed-off-by: Jan Mrazek <[email protected]>
    Signed-off-by: Theodore Ts'o <[email protected]>
    yaqwsx authored and tytso committed Jan 26, 2015
    Configuration menu
    Copy the full SHA
    04ecddb View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2015

  1. MIPS: elf2ecoff: Fix warning due to dead code.

      HOSTCC  arch/mips/boot/elf2ecoff
    arch/mips/boot/elf2ecoff.c: In function ‘main’:
    arch/mips/boot/elf2ecoff.c:271:8: warning: variable ‘shstrtab’ set but not used [-Wunused-but-set-variable]
      char *shstrtab;
    
    Signed-off-by: Ralf Baechle <[email protected]>
    ralfbaechle committed Feb 4, 2015
    Configuration menu
    Copy the full SHA
    2d76e96 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2015

  1. MIPS: cevt-r4k: Drop GIC special case

    The cevt-r4k driver used to call into the GIC driver to find whether the
    timer was pending, but only with External Interrupt Controller (EIC)
    mode, where the Cause.IP bits can't be used as they encode the interrupt
    priority level (Cause.RIPL) instead.
    
    However commit e9de688 ("irqchip: mips-gic: Support local
    interrupts") changed the condition from cpu_has_veic to gic_present.
    This fails on cores such as P5600 which have a GIC but the local
    interrupts aren't routable by the GIC, causing c0_compare_int_usable()
    to consider the interrupt unusable so r4k_clockevent_init() fails.
    
    The previous behaviour, added in commit 98b67c3 ("MIPS: Add EIC
    support for GIC."), wasn't really correct either as far as I can tell,
    since P5600 apparently supports EIC mode too, and in any case the use of
    Cause.TI with r2 should have been sufficient anyway since commit
    010c108 ("MIPS: PowerTV: Fix support for timer interrupts with > 64
    external IRQs").
    
    Therefore drop the call into the gic driver altogether, and add a
    comment in c0_compare_int_pending() to clarify that Cause.TI does get
    checked since MIPS r2.
    
    Signed-off-by: James Hogan <[email protected]>
    Fixes: e9de688 ("irqchip: mips-gic: Support local interrupts")
    Reviewed-by: Andrew Bresticker <[email protected]>
    Cc: Ralf Baechle <[email protected]>
    Cc: Steven J. Hill <[email protected]>
    Cc: Qais Yousef <[email protected]>
    Cc: Jason Cooper <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/9077/
    Signed-off-by: Ralf Baechle <[email protected]>
    James Hogan authored and ralfbaechle committed Feb 5, 2015
    Configuration menu
    Copy the full SHA
    ae58d88 View commit details
    Browse the repository at this point in the history
  2. am53c974: remove left-over debugging code

    A shost_printk() statement was left over from debugging.
    It can safely be removed; the same information is displayed
    in the debugging message some lines further down.
    
    Cc: Ondrej Zary <[email protected]>
    Signed-off-by: Hannes Reinecke <[email protected]>
    Signed-off-by: Christoph Hellwig <[email protected]>
    hreinecke authored and James Bottomley committed Feb 5, 2015
    Configuration menu
    Copy the full SHA
    bd07586 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2015

  1. fcoe: Transition maintainership to Vasu

    Acked-by: Vasu Dev <[email protected]>
    Signed-off-by: Robert Love <[email protected]>
    Cc: Christoph Hellwig <[email protected]>
    Signed-off-by: James Bottomley <[email protected]>
    Robert Love authored and James Bottomley committed Feb 6, 2015
    Configuration menu
    Copy the full SHA
    3bd746c View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2015

  1. NFSv4.1: Fix a kfree() of uninitialised pointers in decode_cb_sequenc…

    …e_args
    
    If the call to decode_rc_list() fails due to a memory allocation error,
    then we need to truncate the array size to ensure that we only call
    kfree() on those pointer that were allocated.
    
    Reported-by: David Ramos <[email protected]>
    Fixes: 4aece6a ("nfs41: cb_sequence xdr implementation")
    Cc: [email protected]
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Feb 12, 2015
    Configuration menu
    Copy the full SHA
    d8ba1f9 View commit details
    Browse the repository at this point in the history
  2. NFSv4.1: Convert open-coded array allocation calls to kmalloc_array()

    For added overflow protection...
    
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Feb 12, 2015
    Configuration menu
    Copy the full SHA
    a4f743a View commit details
    Browse the repository at this point in the history
  3. MIPS,prctl: add PR_[GS]ET_FP_MODE prctl options for MIPS

    Userland code may be built using an ABI which permits linking to objects
    that have more restrictive floating point requirements. For example,
    userland code may be built to target the O32 FPXX ABI. Such code may be
    linked with other FPXX code, or code built for either one of the more
    restrictive FP32 or FP64. When linking with more restrictive code, the
    overall requirement of the process becomes that of the more restrictive
    code. The kernel has no way to know in advance which mode the process
    will need to be executed in, and indeed it may need to change during
    execution. The dynamic loader is the only code which will know the
    overall required mode, and so it needs to have a means to instruct the
    kernel to switch the FP mode of the process.
    
    This patch introduces 2 new options to the prctl syscall which provide
    such a capability. The FP mode of the process is represented as a
    simple bitmask combining a number of mode bits mirroring those present
    in the hardware. Userland can either retrieve the current FP mode of
    the process:
    
      mode = prctl(PR_GET_FP_MODE);
    
    or modify the current FP mode of the process:
    
      err = prctl(PR_SET_FP_MODE, new_mode);
    
    Signed-off-by: Paul Burton <[email protected]>
    Cc: Matthew Fortune <[email protected]>
    Cc: Markos Chandras <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8899/
    Signed-off-by: Ralf Baechle <[email protected]>
    paulburton authored and ralfbaechle committed Feb 12, 2015
    Configuration menu
    Copy the full SHA
    9791554 View commit details
    Browse the repository at this point in the history
  4. SUNRPC: Fix a compile error when #undef CONFIG_PROC_FS

    The definition of rpc_count_iostats_metrics() is borked.
    
    Reported by: Jim Davis <[email protected]>
    Fixes: d67ae82 ("pnfs/flexfiles: Add the FlexFile Layout Driver")
    Cc: Tom Haynes <[email protected]>
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Feb 12, 2015
    Configuration menu
    Copy the full SHA
    54d7e72 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2015

  1. ext4: support read-only images

    Add a rocompat feature, "readonly" to mark a FS image as read-only.
    The feature prevents the kernel and e2fsprogs from changing the image;
    the flag can be toggled by tune2fs.
    
    Signed-off-by: Darrick J. Wong <[email protected]>
    Signed-off-by: Theodore Ts'o <[email protected]>
    djwong authored and tytso committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    2cb5cc8 View commit details
    Browse the repository at this point in the history
  2. ext4: fix mmap data corruption in nodelalloc mode when blocksize < pa…

    …gesize
    
    Since commit 90a8020 and d6320cb, Jan Kara has fixed this issue partially.
    This mmap data corruption still exists in nodelalloc mode, fix this.
    
    Signed-off-by: Xiaoguang Wang <[email protected]>
    Signed-off-by: Theodore Ts'o <[email protected]>
    Reviewed-by:   Jan Kara <[email protected]>
    wangxiaoguang authored and tytso committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    0572639 View commit details
    Browse the repository at this point in the history
  3. ext4: remove duplicate remount check for JOURNAL_CHECKSUM change

    rejection of, changing journal_checksum during remount.  One suffices.
    
    While we're at it, remove old comment about the "check" option
    which has been deprecated for some time now.
    
    Signed-off-by: Eric Sandeen <[email protected]>
    Signed-off-by: Theodore Ts'o <[email protected]>
    Eric Sandeen authored and tytso committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    b94a8b3 View commit details
    Browse the repository at this point in the history
  4. ext4: ignore journal checksum on remount; don't fail

    As of v3.18, ext4 started rejecting a remount which changes the
    journal_checksum option.
    
    Prior to that, it was simply ignored; the problem here is that
    if someone has this in their fstab for the root fs, now the box
    fails to boot properly, because remount of root with the new options
    will fail, and the box proceeds with a readonly root.
    
    I think it is a little nicer behavior to accept the option, but
    warn that it's being ignored, rather than failing the mount,
    but that might be a subjective matter...
    
    Reported-by: Cónräd <[email protected]>
    Signed-off-by: Eric Sandeen <[email protected]>
    Signed-off-by: Theodore Ts'o <[email protected]>
    Eric Sandeen authored and tytso committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    2d5b86e View commit details
    Browse the repository at this point in the history
  5. SUNRPC: Always manipulate rpc_rqst::rq_bc_pa_list under xprt->bc_pa_lock

    Other code that accesses rq_bc_pa_list holds xprt->bc_pa_lock.
    xprt_complete_bc_request() should do the same.
    
    Fixes: 2ea2449 ("SUNRPC: RPC callbacks may be split . . .")
    Signed-off-by: Chuck Lever <[email protected]>
    Signed-off-by: Trond Myklebust <[email protected]>
    chucklever authored and trondmypd committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    813b00d View commit details
    Browse the repository at this point in the history
  6. nfs: Provide and use helper functions for marking a page as unstable

    Signed-off-by: Tom Haynes <[email protected]>
    Signed-off-by: Trond Myklebust <[email protected]>
    Tom Haynes authored and trondmypd committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    d15bc38 View commit details
    Browse the repository at this point in the history
  7. nfs: Can call nfs_clear_page_commit() instead

    Signed-off-by: Tom Haynes <[email protected]>
    Signed-off-by: Trond Myklebust <[email protected]>
    Tom Haynes authored and trondmypd committed Feb 13, 2015
    Configuration menu
    Copy the full SHA
    487b9b8 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2015

  1. NFS: struct nfs_commit_info.lock must always point to inode->i_lock

    Commit 411a99a (nfs: clear_request_commit while holding i_lock)
    assumes that the nfs_commit_info always points to the inode->i_lock.
    For historical reasons, that is not the case for O_DIRECT writes.
    
    Cc: Weston Andros Adamson <[email protected]>
    Fixes: 411a99a ("nfs: clear_request_commit while holding i_lock")
    Cc: [email protected] # 3.17.x
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    f4086a3 View commit details
    Browse the repository at this point in the history
  2. NFSv4: Kill unused nfs_inode->delegation_state field

    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    bf40e55 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2015

  1. ext4: fix indirect punch hole corruption

    Commit 4f579ae (ext4: fix punch hole on files with indirect
    mapping) rewrote FALLOC_FL_PUNCH_HOLE for ext4 files with indirect
    mapping. However, there are bugs in several corner cases. This fixes 5
    distinct bugs:
    
    1. When there is at least one entire level of indirection between the
    start and end of the punch range and the end of the punch range is the
    first block of its level, we can't return early; we have to free the
    intervening levels.
    
    2. When the end is at a higher level of indirection than the start and
    ext4_find_shared returns a top branch for the end, we still need to free
    the rest of the shared branch it returns; we can't decrement partial2.
    
    3. When a punch happens within one level of indirection, we need to
    converge on an indirect block that contains the start and end. However,
    because the branches returned from ext4_find_shared do not necessarily
    start at the same level (e.g., the partial2 chain will be shallower if
    the last block occurs at the beginning of an indirect group), the walk
    of the two chains can end up "missing" each other and freeing a bunch of
    extra blocks in the process. This mismatch can be handled by first
    making sure that the chains are at the same level, then walking them
    together until they converge.
    
    4. When the punch happens within one level of indirection and
    ext4_find_shared returns a top branch for the start, we must free it,
    but only if the end does not occur within that branch.
    
    5. When the punch happens within one level of indirection and
    ext4_find_shared returns a top branch for the end, then we shouldn't
    free the block referenced by the end of the returned chain (this mirrors
    the different levels case).
    
    Signed-off-by: Omar Sandoval <[email protected]>
    osandov authored and tytso committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    6f30b7e View commit details
    Browse the repository at this point in the history
  2. fixed invalid assignment of 64bit mask to host dma_boundary for scatt…

    …er gather segment boundary limit.
    
    In reference to bug https://bugzilla.redhat.com/show_bug.cgi?id=1097141
    Assert is seen with AMD cpu whenever calling pci_alloc_consistent.
    
    [   29.406183] ------------[ cut here ]------------
    [   29.410505] kernel BUG at lib/iommu-helper.c:13!
    
    Signed-off-by: Minh Tran <[email protected]>
    Fixes: 6733b39
    Cc: <[email protected]>
    Signed-off-by: James Bottomley <[email protected]>
    Minh Duc Tran authored and James Bottomley committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    f76a610 View commit details
    Browse the repository at this point in the history
  3. hpsa: correct compiler warnings introduced by hpsa-add-local-workqueu…

    …e patch
    
    Correct compiler warning introduced by hpsa-add-local-workqueue patch
    6636e7f hpsa: Use local workqueues
    instead of system workqueues
    
    Suggested-by: Kees Cook <[email protected]>
    Reviewed-by: Scott Teel <[email protected]>
    Reviewed-by: Webb Scales <[email protected]>
    Signed-off-by: Don Brace <[email protected]>
    Signed-off-by: James Bottomley <[email protected]>
    Don Brace authored and James Bottomley committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    397ea9c View commit details
    Browse the repository at this point in the history
  4. wd719x: add missing .module to wd719x_template

    wd719x_template is missing the .module field, causing module refcount
    not to work, allowing to rmmod the driver while in use (mounted filesystem),
    causing an oops.
    
    Set .module to THIS_MODULE to fix the problem.
    
    Signed-off-by: Ondrej Zary <[email protected]>
    Cc: <[email protected]>
    Signed-off-by: James Bottomley <[email protected]>
    Ondrej Zary authored and James Bottomley committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    2ecf8e0 View commit details
    Browse the repository at this point in the history
  5. sg: fix read() error reporting

    Fix SCSI generic read() incorrectly returning success after detecting an
    error.
    
    Cc: <[email protected]>
    Signed-off-by: Tony Battersby <[email protected]>
    Acked-by: Douglas Gilbert <[email protected]>
    Signed-off-by: James Bottomley <[email protected]>
    abattersby authored and James Bottomley committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    3b524a6 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2015

  1. xfs: implement pNFS export operations

    Add operations to export pNFS block layouts from an XFS filesystem.  See
    the previous commit adding the operations for an explanation of them.
    
    Signed-off-by: Christoph Hellwig <[email protected]>
    Reviewed-by: Dave Chinner <[email protected]>
    Signed-off-by: Dave Chinner <[email protected]>
    Christoph Hellwig authored and dchinner committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    5278511 View commit details
    Browse the repository at this point in the history
  2. xfs: recall pNFS layouts on conflicting access

    Recall all outstanding pNFS layouts and truncates, writes and similar extent
    list modifying operations.
    
    Signed-off-by: Christoph Hellwig <[email protected]>
    Reviewed-by: Dave Chinner <[email protected]>
    Signed-off-by: Dave Chinner <[email protected]>
    Christoph Hellwig authored and dchinner committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    781355c View commit details
    Browse the repository at this point in the history
  3. MIPS: mm: Add debug information for userland SIGSEGV signals.

    Commit 41c594a ("[MIPS] MT: Improved multithreading support.")
    removed useful debug information for userland segmentation faults.
    This patch bring this back along with the ability to determine the
    name of the object file where the EPC and RA registers point at.
    Furthermore, we select the SYSCTL_EXCEPTION_TRACE symbol for MIPS
    which is the de facto solution to turn userland exception logging
    on and off via the /proc/sys/debug/exception-trace file.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Cc: James Hogan <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/9089/
    Signed-off-by: Ralf Baechle <[email protected]>
    Markos Chandras authored and ralfbaechle committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    d79d853 View commit details
    Browse the repository at this point in the history
  4. MIPS: asm: pgtable: Add c0 hazards on HTW start/stop sequences

    When we use htw_{start,stop}() outside of htw_reset(), we need
    to ensure that c0 changes have been propagated properly before
    we attempt to continue with subsequence memory operations.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Cc: <[email protected]> # 3.17+
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/9114/
    Signed-off-by: Ralf Baechle <[email protected]>
    Markos Chandras authored and ralfbaechle committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    461d159 View commit details
    Browse the repository at this point in the history
  5. MIPS: asm: pgtable: Prevent HTW race when updating PTEs

    Whenever we modify a page table entry, we need to ensure that the HTW
    will not fetch a stable entry. And for that to happen we need to ensure
    that HTW is stopped before we modify the said entry otherwise the HTW
    may already be in the process of reading that entry and fetching the
    old information. As a result of which, we replace the htw_reset() calls
    with htw_{stop,start} in more appropriate places. This also removes the
    remaining users of htw_reset() and as a result we drop that macro
    
    Signed-off-by: Markos Chandras <[email protected]>
    Cc: <[email protected]> # 3.17+
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/9116/
    Signed-off-by: Ralf Baechle <[email protected]>
    Markos Chandras authored and ralfbaechle committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    fde3538 View commit details
    Browse the repository at this point in the history
  6. MIPS: Makefile: Move the ASEs checks after setting the core's CFLAGS

    We need to check the ASEs support against the core's CFLAGS instead
    of depending to the default -march option from the toolchain.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Cc: Maciej W. Rozycki <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/9180/
    Signed-off-by: Ralf Baechle <[email protected]>
    Markos Chandras authored and ralfbaechle committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    b3e76c4 View commit details
    Browse the repository at this point in the history
  7. MIPS: HTW: Prevent accidental HTW start due to nested htw_{start, stop}

    activate_mm() and switch_mm() call get_new_mmu_context() which in turn
    can enable the HTW before the entryhi is changed with the new ASID.
    Since the latter will enable the HTW in local_flush_tlb_all(),
    then there is a small timing window where the HTW is running with the
    new ASID but with an old pgd since the TLBMISS_HANDLER_SETUP_PGD
    hasn't assigned a new one yet. In order to prevent that, we introduce a
    simple htw counter to avoid starting HTW accidentally due to nested
    htw_{start,stop}() sequences. Moreover, since various IPI calls can
    enforce TLB flushing operations on a different core, such an operation
    may interrupt another htw_{stop,start} in progress leading inconsistent
    updates of the htw_seq variable. In order to avoid that, we disable the
    interrupts whenever we update that variable.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Cc: <[email protected]> # 3.17+
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/9118/
    Signed-off-by: Ralf Baechle <[email protected]>
    Markos Chandras authored and ralfbaechle committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    ed4cbc8 View commit details
    Browse the repository at this point in the history
  8. MIPS: Add generic QEMU PRid and cpu type identifiers

    Latest versions of QEMU added support for mips32r6-generic and
    mips64r6-generic cpu types so add related definitions in preparation
    of MIPS R6 support. This is also used for QEMU R2 generic cpus.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    aca5721 View commit details
    Browse the repository at this point in the history
  9. MIPS: Add cases for CPU_QEMU_GENERIC

    Add a CPU_QEMU_GENERIC case to various switch statements.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    4695089 View commit details
    Browse the repository at this point in the history
  10. MIPS: Add MIPS generic QEMU probe support

    Add a case in cpu_probe_mips for the MIPS generic QEMU processor ID.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    b2498af View commit details
    Browse the repository at this point in the history
  11. MIPS: Add build support for the MIPS R6 ISA

    Add build support for the latest revision (R6) of the MIPS ISA.
    microMIPS is not yet supported.
    
    Link: http://www.linux-mips.org/archives/linux-mips/2015-01/msg00386.html
    Cc: Maciej W. Rozycki <[email protected]>
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    7fd08ca View commit details
    Browse the repository at this point in the history
  12. MIPS: mm: uasm: Add signed 9-bit immediate related macros

    MIPS R6 redefines several instructions and reduces the immediate
    field to 9-bits so add related macros for the microassembler.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    51eec48 View commit details
    Browse the repository at this point in the history
  13. MIPS: mm: Add MIPS R6 instruction encodings

    MIPS R6 defines new opcodes for ll, sc, cache and pref instructions
    so we need to take these into consideration in the micro-assembler.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    a168b8f View commit details
    Browse the repository at this point in the history
  14. ARM: dts: BCM63xx: fix L2 cache properties

    The L2 cache properties were completely off with respect to what the
    hardware is configured for. Fix the cache-size, cache-line-size and
    cache-sets to reflect the L2 cache controller we have: 512KB, 16 ways
    and 32 bytes per cache-line.
    
    Fixes: 46d4bca ("ARM: BCM63XX: add BCM63138 minimal Device Tree")
    Signed-off-by: Florian Fainelli <[email protected]>
    ffainelli committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    9df1182 View commit details
    Browse the repository at this point in the history
  15. ARM: dts: add I2C device nodes for Broadcom Cygnus

    Add I2C device nodes and its properties in bcm-cygnus.dtsi but keep
    them disabled there. Individual I2C devices can be enabled in board
    specific dts file when I2C slave devices are enabled in the future
    
    Signed-off-by: Ray Jui <[email protected]>
    Reviewed-by: Scott Branden <[email protected]>
    Reviewed-by: Kevin Cernekee <[email protected]>
    Signed-off-by: Florian Fainelli <[email protected]>
    Ray Jui authored and ffainelli committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    b51c05a View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2015

  1. sg: fix unkillable I/O wait deadlock with scsi-mq

    When using the write()/read() interface for submitting commands, the
    SCSI generic driver does not call blk_put_request() on a completed SCSI
    command until userspace calls read() to get the command completion.
    Since scsi-mq uses a fixed number of preallocated requests, this makes
    it possible for userspace to exhaust the entire preallocated supply of
    requests.  For places in the kernel that call blk_get_request() with
    GFP_KERNEL, this can cause the calling process to deadlock in a
    permanent unkillable I/O wait in blk_get_request() -> ... -> bt_get().
    For places in the kernel that call blk_get_request() with GFP_ATOMIC,
    this can cause blk_get_request() always to return -EWOULDBLOCK.  Note
    that these problems happen only if scsi-mq is enabled.  Prevent the
    problems by calling blk_put_request() as soon as the SCSI command
    completes instead of waiting for userspace to call read().
    
    Cc: <[email protected]> # 3.17+
    Signed-off-by: Tony Battersby <[email protected]>
    Acked-by: Douglas Gilbert <[email protected]>
    Tested-by: Douglas Gilbert <[email protected]>
    Signed-off-by: James Bottomley <[email protected]>
    abattersby authored and James Bottomley committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    7568615 View commit details
    Browse the repository at this point in the history
  2. sg: fix EWOULDBLOCK errors with scsi-mq

    With scsi-mq enabled, userspace programs can get unexpected EWOULDBLOCK
    (a.k.a. EAGAIN) errors when submitting commands to the SCSI generic
    driver.  Fix by calling blk_get_request() with GFP_KERNEL instead of
    GFP_ATOMIC.
    
    Note: to avoid introducing a potential deadlock, this patch should be
    applied after the patch titled "sg: fix unkillable I/O wait deadlock
    with scsi-mq".
    
    Cc: <[email protected]> # 3.17+
    Signed-off-by: Tony Battersby <[email protected]>
    Acked-by: Douglas Gilbert <[email protected]>
    Tested-by: Douglas Gilbert <[email protected]>
    Signed-off-by: James Bottomley <[email protected]>
    abattersby authored and James Bottomley committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    7772855 View commit details
    Browse the repository at this point in the history
  3. MIPS: asm: compiler: Add new macros to set ISA and arch asm annotations

    There are certain places where the code uses .set mips32 or .set mips64
    or .set arch=r4000. In preparation of MIPS R6 support, and in order to
    use as less #ifdefs as possible, we define new macros to set similar
    annotations for MIPS R6.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    be51369 View commit details
    Browse the repository at this point in the history
  4. MIPS: asm: module: define MODULE_PROC_FAMILY for MIPS R6

    Define the MODULE_PROC_FAMILY for the MIPS R6 ISA.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b840a82 View commit details
    Browse the repository at this point in the history
  5. MIPS: asm: stackframe: Do not preserve the HI/LO registers on MIPS R6

    The HI/LO registers have been removed from MIPS R6. Instructions
    such as MULT and DIV have been replaced with a new pair of
    instructions for the HI/LO operations for example:
    
    MULT -> MUL, MUH
    DIV -> DIV, MOD
    
    So we avoid preserving the pre-R6 HI/LO registers in MIPS R6
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    6a0e986 View commit details
    Browse the repository at this point in the history
  6. MIPS: asm: asmmacro: Add MIPS R6 support to the simple EI/DI variants

    EI/DI instructions are available in MIPS R6 so add the needed
    definitions.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    226da55 View commit details
    Browse the repository at this point in the history
  7. MIPS: asm: asmmacro: Replace "add" instructions with "addu"

    The "add" instruction is actually a macro in binutils and depending on
    the size of the immediate it can expand to an "addi" instruction.
    However, the "addi" instruction traps on overflows which is not
    something we want on address calculation.
    
    Link: http://www.linux-mips.org/archives/linux-mips/2015-01/msg00121.html
    Cc: Paul Burton <[email protected]>
    Cc: Maciej W. Rozycki <[email protected]>
    Cc: <[email protected]> # v3.15+
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    98a833c View commit details
    Browse the repository at this point in the history
  8. MIPS: Use generic checksum functions for MIPS R6

    The following instructions have been removed from MIPS R6
    
    ulw, ulh, swl, lwr, lwl, swr.
    
    However, all of them are used in the MIPS specific checksum implementation.
    As a result of which, we will use the generic checksum on MIPS R6
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    4e0748f View commit details
    Browse the repository at this point in the history
  9. MIPS: asm: cpu: Add MIPSR6 ISA definitions

    Add MIPS R6 to the ISA definitions
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    34c56fc View commit details
    Browse the repository at this point in the history
  10. MIPS: asm: hazards: Add MIPSR6 definitions

    Add the MIPSR6 related definitions to MIPS hazards
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    f52fca9 View commit details
    Browse the repository at this point in the history
  11. MIPS: asm: irqflags: Add MIPS R6 related definitions

    Add the MIPS R6 related definitions to the IRQ related macros
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    8716a76 View commit details
    Browse the repository at this point in the history
  12. MIPS: asm: r4kcache: Add MIPS R6 cache unroll functions

    MIPS R6 changed the 'cache' instruction opcode and reduced the
    offset field to 8 bits. This means we now have to adjust the
    base register every 256 bytes and as a result of which we can
    no longer use the previous cache functions.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    934c792 View commit details
    Browse the repository at this point in the history
  13. MIPS: asm: spram: Add new symbol for MIPS scratch pad storage

    MIPS R6, just like MIPS R2, have scratch pad storage, so add a new
    symbol which is selected by MIPS R2 and R6.
    
    Link: http://www.linux-mips.org/archives/linux-mips/2015-01/msg00389.html
    Cc: Maciej W. Rozycki <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a7e07b1 View commit details
    Browse the repository at this point in the history
  14. MIPS: asm: Rename GCC_OFF12_ASM to GCC_OFF_SMALL_ASM

    The GCC_OFF12_ASM macro is used for 12-bit immediate constrains
    but we will also use it for 9-bit constrains on MIPS R6 so we
    rename it to something more appropriate.
    
    Cc: Maciej W. Rozycki <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    94bfb75 View commit details
    Browse the repository at this point in the history
  15. MIPS: Use the new "ZC" constraint for MIPS R6

    GCC versions supporting MIPS R6 use the ZC constraint to enforce a
    9-bit offset for MIPS R6. We will use that for all MIPS R6 LL/SC
    instructions.
    
    Cc: Matthew Fortune <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    123e4b3 View commit details
    Browse the repository at this point in the history
  16. MIPS: asm: cmpxchg: Update ISA constraints for MIPS R6 support

    MIPS R6 changed the opcodes for LL/SC instructions so we need to set
    the correct ISA.
    
    Cc: Matthew Fortune <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    fa998eb View commit details
    Browse the repository at this point in the history
  17. MIPS: asm: atomic: Update ISA constraints for MIPS R6 support

    MIPS R6 changed the opcodes for LL/SC instructions so we need to
    set the correct ISA level.
    
    Cc: Matthew Fortune <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    0038df2 View commit details
    Browse the repository at this point in the history
  18. MIPS: asm: bitops: Update ISA constraints for MIPS R6 support

    MIPS R6 changed the opcodes for LL/SC instructions so we need to set
    the correct ISA level.
    
    Cc: Matthew Fortune <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    87a927e View commit details
    Browse the repository at this point in the history
  19. MIPS: asm: futex: Set the appropriate ISA level for MIPS R6

    MIPS R6 changed the opcodes for LL/SC instructions so we need to set
    the appropriate ISA level.
    
    Cc: Matthew Fortune <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    1922c35 View commit details
    Browse the repository at this point in the history
  20. MIPS: asm: spinlock: Replace "sub" instruction with "addiu"

    "sub $reg, imm" is not a real MIPS instruction. The assembler can
    replace that with "addi $reg, -imm". However, addi has been removed
    from R6, so we replace the "sub" instruction with the "addiu" one.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    5753762 View commit details
    Browse the repository at this point in the history
  21. MIPS: asm: local: Set the appropriate ISA level for MIPS R6

    MIPS R6 changed the opcodes for LL/SC instructions so we need to set
    the appropriate ISA level.
    
    Cc: Matthew Fortune <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    82e7ce8 View commit details
    Browse the repository at this point in the history
  22. MIPS: kernel: cpu-bugs64: Do not check R6 cores for existing 64-bit bugs

    The current HW bugs checked in cpu-bugs64, do not apply to R6 cores
    and they cause compilation problems due to removed <R6 instructions,
    so do not check for them for the time being.
    
    Reviewed-by: Maciej W. Rozycki <[email protected]>
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    180b1e3 View commit details
    Browse the repository at this point in the history
  23. MIPS: kernel: cevt-r4k: Add MIPS R6 to the c0_compare_interrupt handler

    Just like MIPS R2, in MIPS R6 it is possible to determine if a
    timer interrupt has happened or not.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    54dac95 View commit details
    Browse the repository at this point in the history
  24. MIPS: kernel: cpu-probe.c: Add support for MIPS R6

    Add MIPS R6 support when decoding the config0 c0 register.
    Also add MIPS R6 support when examining the ebase c0 register
    to get the core number and when getting the shadow set number
    from the srsctl c0 register.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    8b8aa63 View commit details
    Browse the repository at this point in the history
  25. MIPS: kernel: entry.S: Add MIPS R6 related definitions

    The instruction hazard barrier in the form of:
    
    jr.hb	ra
    nop
    
    is valid on MIPS R6 as well.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    6ebb496 View commit details
    Browse the repository at this point in the history
  26. MIPS: kernel: proc: Add MIPS R6 support to /proc/cpuinfo

    Print 'mips64r6' and/or 'mips32r6' if the kernel is running on
    a MIPS R6 core.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    515a639 View commit details
    Browse the repository at this point in the history
  27. MIPS: kernel: traps: Add MIPS R6 related definitions

    Add MIPS R6 support to cache and ftlb exceptions, as well as
    to the hwrena and ebase register configuration.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    9c7d576 View commit details
    Browse the repository at this point in the history
  28. MIPS: kernel: r4k_switch: Add support for MIPS R6

    Add the MIPS R6 related preprocessor definitions for save/restore
    FPU related functions. We also set the appropriate ISA level
    so the final return instruction "jr ra" will produce the correct
    opcode on R6.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    207083b View commit details
    Browse the repository at this point in the history
  29. MIPS: kernel: r4k_fpu: Add support for MIPS R6

    Add the MIPS R6 related preprocessor definitions for FPU signal
    related functions. MIPS R6 only has FR=1 so avoid checking that
    bit on the C0/Status register.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    8d5b9b7 View commit details
    Browse the repository at this point in the history
  30. MIPS: kernel: genex: Set correct ISA level

    The jr instruction opcode has changed in R6 so make sure
    the correct ISA level is set prior using that instruction.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    938c128 View commit details
    Browse the repository at this point in the history
  31. MIPS: kernel: cps-vec: Replace "addi" with "addiu"

    The "addi" instruction will trap on overflows which is not something
    we need in this code, so we replace that with "addiu".
    
    Link: http://www.linux-mips.org/archives/linux-mips/2015-01/msg00430.html
    Cc: Maciej W. Rozycki <[email protected]>
    Cc: <[email protected]> # v3.15+
    Cc: Paul Burton <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    acac410 View commit details
    Browse the repository at this point in the history
  32. MIPS: kernel: unaligned: Add support for the MIPS R6

    The load/store unaligned instructions have been removed in MIPS R6
    so we need to re-implement the related macros using the regular
    load/store instructions. Moreover, the load/store from coprocessor 2
    instructions have been reallocated in Release 6 so we will handle them
    in the emulator instead.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    0593a44 View commit details
    Browse the repository at this point in the history
  33. MIPS: kernel: syscall: Set the appropriate ISA level for MIPS R6

    MIPS R6 changed the opcodes for LL/SC instructions so we need to set
    the appropriate ISA level.
    
    Cc: Matthew Fortune <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    fee313d View commit details
    Browse the repository at this point in the history
  34. MIPS: lib: memcpy: Add MIPS R6 support

    MIPS R6 does not support the unaligned load and store instructions
    so we add a special MIPS R6 case to copy one byte at a time if we
    need to read/write to unaligned memory addresses.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b0ce4bd View commit details
    Browse the repository at this point in the history
  35. MIPS: lib: memset: Add MIPS R6 support

    MIPS R6 dropped the unaligned load and store instructions so
    we need to re-write this part of the code for R6 to store
    one byte at a time.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    8c56208 View commit details
    Browse the repository at this point in the history
  36. MIPS: mm: page: Add MIPS R6 support

    The MIPS R6 pref instruction only has 9 bits for the immediate
    field so skip the micro-assembler PREF instruction if the offset
    does not fit in 9 bits. Moreover, bit 30 (Pref_PrepareForStore) is
    no longer valid in MIPS R6, so we change the default for all MIPS R6
    processors to bit 5 (Pref_StoreStreamed).
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    d2e6d30 View commit details
    Browse the repository at this point in the history
  37. MIPS: mm: tlbex: Use cpu_has_mips_r2_exec_hazard for the EHB instruction

    MIPS uses the cpu_has_mips_r2_exec_hazard macro to determine whether the
    EHB instruction is available or not. This is necessary for MIPS R6
    which also supports the EHB instruction.
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    77f3ee5 View commit details
    Browse the repository at this point in the history
  38. MIPS: mm: c-r4k: Set the correct ISA level

    The local_r4k_flush_cache_sigtramp function uses the 'cache'
    instruction inside an asm block. However, MIPS R6 changed the
    opcode for the cache instruction and as a result of which we
    need to set the correct ISA level.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    4ee4862 View commit details
    Browse the repository at this point in the history
  39. MIPS: mm: scache: Add secondary cache support for MIPS R6 cores

    The secondary cache initialization and configuration code is processor
    specific so we need to handle MIPS R6 cores as well.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b5ad2c2 View commit details
    Browse the repository at this point in the history
  40. MIPS: kernel: Prepare the JR instruction for emulation on MIPS R6

    The MIPS R6 JR instruction is an alias to the JALR one, so it may
    need emulation for non-R6 userlands.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    5f9f41c View commit details
    Browse the repository at this point in the history
  41. MIPS: kernel: branch: Do not emulate the branch likelies on MIPS R6

    MIPS R6 removed the BLTZL, BGEZL, BLTZAL, BGEZAL, BEQL, BNEL, BLEZL,
    BGTZL branch likely instructions so we must not try to emulate them on
    MIPS R6 if the R2-to-R6 emulator is not present.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    319824e View commit details
    Browse the repository at this point in the history
  42. MIPS: Emulate the BC1{EQ,NE}Z FPU instructions

    MIPS R6 introduced the following two branch instructions for COP1:
    
    BC1EQZ: Branch if Cop1 (FPR) Register Bit 0 is Equal to Zero
    BC1NEZ: Branch if Cop1 (FPR) Register Bit 0 is Not Equal to Zero
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    c8a3458 View commit details
    Browse the repository at this point in the history
  43. MIPS: Emulate the new MIPS R6 B{L,G}Ε{Z,}{AL,}C instructions

    MIPS R6 added the following four instructions which share the
    BLEZ and BLEZL opcodes:
    
    BLEZALC: Compact branch-and-link if GPR rt is <= to zero
    BGEZALC: Compact branch-and-link if GPR rt is >= to zero
    BLEZC  : Compact branch if GPR rt is <= to zero
    BGEZC  : Compact branch if GPR rt is >= to zero
    BGEC   : Compact branch if GPR rs is less than or equal to GPR rt
    BGEUC  : Similar to BGEC but unsigned.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a8ff66f View commit details
    Browse the repository at this point in the history
  44. MIPS: Emulate the new MIPS R6 B{L,G}T{Z,}{AL,}C instructions

    MIPS R6 added the following four instructions which share the
    BGTZ and BGTZL opcode:
    
    BLTZALC: Compact branch-and-link if GPR rt is < to zero
    BGTZALC: Compact branch-and-link if GPR rt is > to zero
    BLTZL  : Compact branch if GPR rt is < to zero
    BGTZL  : Compact branch if GPR rt is > to zero
    BLTC   : Compact branch if GPR rs is less than GPR rt
    BLTUC  : Similar to BLTC but unsigned
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    f1b4406 View commit details
    Browse the repository at this point in the history
  45. MIPS: Emulate the new MIPS R6 branch compact (BC) instruction

    MIPS R6 uses the <R6 LWC2 opcode for the new BC instruction.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    8467ca0 View commit details
    Browse the repository at this point in the history
  46. MIPS: Emulate the new MIPS R6 BOVC, BEQC and BEQZALC instructions

    MIPS R6 uses the <R6 ADDI opcode for the new BOVC, BEQC and
    BEQZALC instructions.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    c893ce3 View commit details
    Browse the repository at this point in the history
  47. MIPS: Emulate the new MIPS R6 BNVC, BNEC and BNEZLAC instructions

    MIPS R6 uses the <R6 DADDI opcode for the new BNVC, BNEC and
    BNEZLAC instructions.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    10d962d View commit details
    Browse the repository at this point in the history
  48. MIPS: Emulate the new MIPS R6 BALC instruction

    MIPS R6 uses the <R6 swc2 opcode for the new BALC instructions.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    84fef63 View commit details
    Browse the repository at this point in the history
  49. MIPS: Emulate the new MIPS R6 BEQZC and JIC instructions

    MIPS R6 uses the <R6 ldc2 opcode for the new BEQZC and JIC instructions
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    69b9a2f View commit details
    Browse the repository at this point in the history
  50. MIPS: Emulate the new MIPS R6 BNEZC and JIALC instructions

    MIPS R6 uses the <R6 sdc2 opcode for the new BNEZC and JIALC instructions
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    28d6f93 View commit details
    Browse the repository at this point in the history
  51. MIPS: Add LLB bit and related feature for the Config 5 CP0 register

    The LLBIT (bit 4) in the Config5 CP0 register indicates the software
    availability of the Load-Linked bit. This bit is only set by hardware
    and it has the following meaning:
    
    0: LLB functionality is not supported
    1: LLB functionality is supported. The following feature are also
    supported:
    
    - ERETNC instruction. Similar to ERET but it does not clear the LLB
    bit in the LLAddr register.
    - CP0 LLAddr/LLB bit must be set
    - LLbit is software accessible through the LLAddr[0]
    
    This will be used later on to emulate R2 LL/SC instructions.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    5aed9da View commit details
    Browse the repository at this point in the history
  52. MIPS: asm: mipsregs: Add support for the LLADDR register

    If Config5/LLB is set in the core, then software can write the LLB
    bit in the LLADDR register.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b55b9e2 View commit details
    Browse the repository at this point in the history
  53. MIPS: kernel: mips-r2-to-r6-emul: Add R2 emulator for MIPS R6

    MIPS R6 removed quite a few R2 instructions. However, there
    is plenty of <R6 userland code so we add an in-kernel emulator
    so we can still be able to execute all R2 userland out there.
    
    The emulator comes with a handy debugfs under /mips/ directory
    (r2-emul-stats) to provide some basic statistics of the
    instructions that are being emulated.
    
    Below are some statistics from booting a minimal buildroot image:
    
    Instruction     Total   BDslot
    ------------------------------
    movs            236969  0
    hilo            56686   0
    muls            55279   0
    divs            10941   0
    dsps            0       0
    bops            1       0
    traps           0       0
    fpus            0       0
    loads           214981  17
    stores          103364  0
    llsc            56898   0
    dsemul          150418  0
    jr              370158
    bltzl           43
    bgezl           1594
    bltzll          0
    bgezll          0
    bltzal          39
    bgezal          39
    beql            14503
    bnel            138741
    blezl           0
    bgtzl           3988
    
    Signed-off-by: Leonid Yegoshin <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b0a668f View commit details
    Browse the repository at this point in the history
  54. MIPS: Make use of the ERETNC instruction on MIPS R6

    The ERETNC instruction, introduced in MIPS R5, is similar to the ERET
    one, except it does not clear the LLB bit in the LLADDR register.
    This feature is necessary to safely emulate R2 LL/SC instructions.
    However, on context switches, we need to clear the LLAddr/LLB bit
    in order to make sure that an SC instruction from the new thread
    will never succeed if it happens to interrupt an LL operation on the
    same address from the previous thread.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    7c151d3 View commit details
    Browse the repository at this point in the history
  55. MIPS: Handle MIPS IV, V and R2 FPU instructions on MIPS R6 as well

    MIPS R2 FPU instructions are also present in MIPS R6 so amend the
    preprocessor definitions to take MIPS R6 into consideration.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    e0d32f3 View commit details
    Browse the repository at this point in the history
  56. MIPS: kernel: process: Do not allow FR=0 on MIPS R6

    A prctl() call to set FR=0 for MIPS R6 should not be allowed
    since FR=1 is the only option for R6 cores.
    
    Cc: Paul Burton <[email protected]>
    Cc: Matthew Fortune <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    13e45f0 View commit details
    Browse the repository at this point in the history
  57. MIPS: asm: fpu: Allow 64-bit FPU on MIPS32 R6

    MIPS32 R6 has a 64-bit FPU so add the necessary MIPS R6
    definition.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    6134d94 View commit details
    Browse the repository at this point in the history
  58. MIPS: kernel: elf: Improve the overall ABI and FPU mode checks

    The previous implementation did not cover all possible FPU combinations
    and it silently allowed ABI incompatible objects to be loaded with the
    wrong ABI. For example, the previous logic would set the FP_64 ABI as
    the matching ABI for an FP_XX object combined with an FP_64A object.
    This was wrong, and the matching ABI should have been FP_64A.
    The previous logic is now replaced with a new one which determines
    the appropriate FPU mode to be used rather than the FP ABI. This has
    the advantage that the entire logic is much simpler since it is the FPU
    mode we are interested in rather than the FP ABI resulting to code
    simplifications. This also removes the now obsolete FP32XX_HYBRID_FPRS
    option.
    
    Cc: Matthew Fortune <[email protected]>
    Cc: Paul Burton <[email protected]>
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    46490b5 View commit details
    Browse the repository at this point in the history
  59. MIPS: Malta: Add support for building MIPS R6 kernel

    The Malta platform supports MIPS R6 (via QEMU or real bitstreams)
    so add support for it.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    575509b View commit details
    Browse the repository at this point in the history
  60. MIPS: Add Malta QEMU 32R6 defconfig

    Add a Malta defconfig for the 32-bit MIPS R6 core as emulated
    by QEMU.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Markos Chandras committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    f296e7c View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2015

  1. switch ll_lookup_finish_locks() and ll_revalidate_it_finish() to inode

    Note that ll_prep_inode() in the latter does *not* modify ->d_inode;
    it expects non-negative dentry, and in such cases ll_prep_inode() doesn't
    modify *inode - it only uses the value.
    
    Signed-off-by: Al Viro <[email protected]>
    Al Viro committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    dbca51d View commit details
    Browse the repository at this point in the history
  2. configfs: configfs_create() init callback is never NULL and it never …

    …fails
    
    ... so make it return void and drop the check for it being non-NULL
    
    Signed-off-by: Al Viro <[email protected]>
    Al Viro committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    c88b1e7 View commit details
    Browse the repository at this point in the history
  3. configfs: fold create_dir() into its only caller

    Signed-off-by: Al Viro <[email protected]>
    Al Viro committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    1cf97d0 View commit details
    Browse the repository at this point in the history
  4. configfs_add_file: fold into its sole caller

    Signed-off-by: Al Viro <[email protected]>
    Al Viro committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    28444a2 View commit details
    Browse the repository at this point in the history
  5. ARM: vexpress: use ARM_CPU_SUSPEND if needed

    The vexpress tc2 power management code calls mcpm_loopback, which
    is only available if ARM_CPU_SUSPEND is enabled, otherwise we
    get a link error:
    
    arch/arm/mach-vexpress/built-in.o: In function `tc2_pm_init':
    arch/arm/mach-vexpress/tc2_pm.c:389: undefined reference to `mcpm_loopback'
    
    This explicitly selects ARM_CPU_SUSPEND like other platforms that
    need it.
    
    Signed-off-by: Arnd Bergmann <[email protected]>
    Fixes: 3592d7e ("ARM: 8082/1: TC2: test the MCPM loopback during boot")
    Acked-by: Nicolas Pitre <[email protected]>
    Acked-by: Liviu Dudau <[email protected]>
    Cc: Kevin Hilman <[email protected]>
    Cc: Sudeep Holla <[email protected]>
    Cc: Lorenzo Pieralisi <[email protected]>
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    95fcedb View commit details
    Browse the repository at this point in the history
  6. ARM: BCM: put back ARCH_MULTI_V7 dependency for mobile

    A recent cleanup rearranged the Kconfig file for mach-bcm and
    accidentally dropped the dependency on ARCH_MULTI_V7, which
    makes it possible to now build the two mobile SoC platforms
    on an ARMv6-only kernel, resulting in a log of Kconfig
    warnings like
    
    warning: ARCH_BCM_MOBILE selects ARM_ERRATA_775420 which has unmet direct dependencies (CPU_V7)
    
    and which of course cannot work on any machine.
    
    This puts back the dependencies as before.
    
    Signed-off-by: Arnd Bergmann <[email protected]>
    Fixes: 64e74aa ("ARM: mach-bcm: ARCH_BCM_MOBILE: remove one level of menu from Kconfig")
    Acked-by: Florian Fainelli <[email protected]>
    Acked-by: Scott Branden <[email protected]>
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    ff34cae View commit details
    Browse the repository at this point in the history
  7. ARM: davinci: davinci_cfg_reg cannot be init

    davinci_cfg_reg gets called from a lot of locations that
    might get called after the init section has been discarded,
    so the function itself must not be marked __init either.
    
    The kernel build currently warns about this with lots of
    messages like:
    
    WARNING: vmlinux.o(.text.unlikely+0x24c): Section mismatch in reference from the function dm365evm_mmc_configure() to the function .init.text:davinci_cfg_reg()
    The function dm365evm_mmc_configure() references
    the function __init davinci_cfg_reg().
    This is often because dm365evm_mmc_configure lacks a __init
    annotation or the annotation of davinci_cfg_reg is wrong.
    
    This removes the extraneous __init_or_module annotation.
    
    Signed-off-by: Arnd Bergmann <[email protected]>
    Acked-by: Sekhar Nori <[email protected]>
    Cc: Kevin Hilman <[email protected]>
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    31612d6 View commit details
    Browse the repository at this point in the history
  8. ARM: davinci: multi-soc kernels require AUTO_ZRELADDR

    The davinci DA8xx and DMx families have incompatible zreladdr
    settings, and attempting to build a kernel with both enabled
    results in an error unless AUTO_ZRELADDR is set:
    
    multiple zreladdrs: 0xc0008000 0x80008000
    This needs CONFIG_AUTO_ZRELADDR to be set
    
    This patch changes Kconfig to make the two families mutually
    exclusive when this is unset.
    
    Signed-off-by: Arnd Bergmann <[email protected]>
    Acked-by: Sekhar Nori <[email protected]>
    Cc: Kevin Hilman <[email protected]>
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    99bd667 View commit details
    Browse the repository at this point in the history
  9. ARM: at91: fix pm declarations

    In a recent rearrangement of the at91 pm initialization code, a broken
    set of declarations was added for the !CONFIG_PM-case, leading to
    this link error:
    
    arch/arm/mach-at91/board-dt-sama5.o: In function `at91_rm9200_pm_init':
    arch/arm/mach-at91/generic.h:40: multiple definition of `at91_rm9200_pm_init'
    arch/arm/mach-at91/setup.o:arch/arm/mach-at91/generic.h:40: first defined here
    arch/arm/mach-at91/board-dt-sama5.o: In function `at91_sam9260_pm_init':
    arch/arm/mach-at91/generic.h:41: multiple definition of `at91_sam9260_pm_init'
    arch/arm/mach-at91/setup.o:arch/arm/mach-at91/generic.h:41: first defined here
    arch/arm/mach-at91/board-dt-sama5.o: In function `at91_sam9g45_pm_init':
    arch/arm/mach-at91/generic.h:42: multiple definition of `at91_sam9g45_pm_init'
    arch/arm/mach-at91/setup.o:arch/arm/mach-at91/generic.h:42: first defined here
    
    This adds the missing 'static inline' to the declarations to avoid
    creating a copy of the functions in each file that includes the
    header.
    
    Signed-off-by: Arnd Bergmann <[email protected]>
    Fixes: 4db0ba2 ("ARM: at91: pm: prepare for multiplatform")
    Acked-by: Nicolas Ferre <[email protected]>
    Cc: Jean-Christophe Plagniol-Villard <[email protected]>
    Cc: Alexandre Belloni <[email protected]>
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    a91c582 View commit details
    Browse the repository at this point in the history
  10. ARM: prima2: do not select SMP_ON_UP

    The new Atlas7 platform implicitly selects 'CONFIG_SMP_ON_UP',
    which leads to problems if we enable building the platform without
    MMU, as that combination is not allowed and causes a link error:
    
    arch/arm/kernel/built-in.o: In function `c_show':
    :(.text+0x1872): undefined reference to `smp_on_up'
    :(.text+0x1876): undefined reference to `smp_on_up'
    arch/arm/kernel/built-in.o: In function `arch_irq_work_raise':
    :(.text+0x3d48): undefined reference to `smp_on_up'
    :(.text+0x3d4c): undefined reference to `smp_on_up'
    arch/arm/kernel/built-in.o: In function `smp_setup_processor_id':
    :(.init.text+0x180): undefined reference to `smp_on_up'
    
    This removes the 'select' statement.
    
    Signed-off-by: Arnd Bergmann <[email protected]>
    Fixes: 4cba058 ("ARM: sirf: add Atlas7 machine support")
    Acked-by: Barry Song <[email protected]>
    Cc: Zhiwu Song <[email protected]>
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    d76f733 View commit details
    Browse the repository at this point in the history
  11. ARM: ixp4xx: fix {in,out}s{bwl} data types

    Most platforms use void pointer arguments in these functions, but
    ixp4xx does not, which triggers lots of warnings in device drivers like:
    
    net/ethernet/8390/ne2k-pci.c: In function 'ne2k_pci_get_8390_hdr':
    net/ethernet/8390/ne2k-pci.c:503:3: warning: passing argument 2 of 'insw' from incompatible pointer type
       insw(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1);
       ^
    In file included from include/asm/io.h:214:0,
                     from /git/arm-soc/include/linux/io.h:22,
                     from /git/arm-soc/include/linux/pci.h:31,
                     from net/ethernet/8390/ne2k-pci.c:48:
    mach-ixp4xx/include/mach/io.h:316:91: note: expected 'u16 *' but argument is of type 'struct e8390_pkt_hdr *'
     static inline void insw(u32 io_addr, u16 *vaddr, u32 count)
    
    Fixing the drivers seems hopeless, so this changes the ixp4xx code
    to do the same as the others to avoid the warnings.
    
    Signed-off-by: Arnd Bergmann <[email protected]>
    Acked-by: Krzysztof Halasa <[email protected]>
    Cc: Imre Kaloz <[email protected]>
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    1aeb3c5 View commit details
    Browse the repository at this point in the history
  12. ARM: rockchip: make rockchip_suspend_init conditional

    If CONFIG_PM_SLEEP is disabled, we get a build error for rockchips:
    
    arch/arm/mach-rockchip/built-in.o: In function `rockchip_dt_init':
    :(.init.text+0x1c): undefined reference to `rockchip_suspend_init'
    
    This adds an inline alternative for that case.
    
    Signed-off-by: Arnd Bergmann <[email protected]>
    Reviewed-by: Heiko Stuebner <[email protected]>
    Cc: [email protected]
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    c8823e7 View commit details
    Browse the repository at this point in the history
  13. ARM: sti: always enable RESET_CONTROLLER

    A lot of the sti device drivers require reset controller support,
    but do not all have individual 'depends on RESET_CONTROLLER'
    statements. Using 'select' here once avoids a lot of build errors
    resulting from this.
    
    Signed-off-by: Arnd Bergmann <[email protected]>
    Acked-by: Maxime Coquelin <[email protected]>
    Acked-by: Patrice Chotard <[email protected]>
    Cc: Srinivas Kandagatla <[email protected]>
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    1fd01aa View commit details
    Browse the repository at this point in the history
  14. ARM: mvebu: build armada375-smp code conditionally

    mvebu_armada375_smp_wa_init is only used on armada 375 but is defined
    for all mvebu machines. As it calls a function that is only provided
    sometimes, this can result in a link error:
    
    arch/arm/mach-mvebu/built-in.o: In function `mvebu_armada375_smp_wa_init':
    :(.text+0x228): undefined reference to `mvebu_setup_boot_addr_wa'
    
    To solve this, we can just change the existing #ifdef around the
    function to also check for Armada375 SMP platforms.
    
    Signed-off-by: Arnd Bergmann <[email protected]>
    Fixes: 305969f ("ARM: mvebu: use the common function for Armada 375 SMP workaround")
    Cc: Andrew Lunn <[email protected]>
    Cc: Jason Cooper <[email protected]>
    Cc: Gregory Clement <[email protected]>
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    1652351 View commit details
    Browse the repository at this point in the history
  15. ARM: rockchip: force built-in regulator support for PM

    The rockchips suspend/resume code requires regulators to work,
    and gives a compile-time error if they are not available:
    
    arch/arm/mach-rockchip/built-in.o: In function `rk3288_suspend_finish':
    :(.text+0x146): undefined reference to `regulator_suspend_finish'
    arch/arm/mach-rockchip/built-in.o: In function `rk3288_suspend_prepare':
    :(.text+0x18e): undefined reference to `regulator_suspend_prepare'
    
    To solve this, we now enable regulators whenever they are needed,
    which is what we do on a lot of other platforms as well.
    
    Signed-off-by: Arnd Bergmann <[email protected]>
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    d1bef99 View commit details
    Browse the repository at this point in the history
  16. Merge tag 'arm-soc/for-3.20/dts' of http://github.com/broadcom/stblinux

    … into fixes
    
    This pull request contains the following Broadcom SoCs Device Tree changes:
    
    - Ray adds support for the Cygnus i2c Device Tree controller on Cygnus SoCs
    - Fixes to the BCM63138 dtsi file for the L2 cache controller properties
    
    * tag 'arm-soc/for-3.20/dts' of http://github.com/broadcom/stblinux:
      ARM: dts: add I2C device nodes for Broadcom Cygnus
      ARM: dts: BCM63xx: fix L2 cache properties
    arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    f495fe8 View commit details
    Browse the repository at this point in the history
  17. ARM: mm: Remove Kconfig symbol CACHE_PL310

    Commit 20e783e ("ARM: 8296/1: cache-l2x0: clean up aurora cache
    handling") removed the only user of the Kconfig symbol CACHE_PL310.
    Setting CACHE_PL310 is now pointless. Remove its Kconfig entry, and one
    select of this symbol.
    
    Signed-off-by: Paul Bolle <[email protected]>
    Signed-off-by: Arnd Bergmann <[email protected]>
    pebolle authored and arndb committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    d88d6cf View commit details
    Browse the repository at this point in the history
  18. pnfs: Refactor the *_layout_mark_request_commit to use pnfs_layout_ma…

    …rk_request_commit
    
    The File Layout's filelayout_mark_request_commit() is almost the
    Flex File Layout's ff_layout_mark_request_commit(). And that can
    be reduced by calling into nfs_request_add_commit_list().
    
    Signed-off-by: Tom Haynes <[email protected]>
    Signed-off-by: Trond Myklebust <[email protected]>
    Tom Haynes authored and trondmypd committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    338d00c View commit details
    Browse the repository at this point in the history
  19. Merge branch 'cleanups'

    Merge cleanups requested by Linus.
    
    * cleanups: (3 commits)
      pnfs: Refactor the *_layout_mark_request_commit to use pnfs_layout_mark_request_commit
      nfs: Can call nfs_clear_page_commit() instead
      nfs: Provide and use helper functions for marking a page as unstable
    trondmypd committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    65d2918 View commit details
    Browse the repository at this point in the history
  20. NFSv4.1: Clean up create_session

    Don't decode directly into the shared struct session
    
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    79969dd View commit details
    Browse the repository at this point in the history
  21. NFSv4.1: Don't set up a backchannel if the server didn't agree to do so

    If the server doesn't agree to out backchannel setup request, then
    don't set one up.
    
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    b1c0df5 View commit details
    Browse the repository at this point in the history
  22. NFSv4.1: Always set up a forward channel when binding the session

    Currently, the client requests a back channel or a bidirectional
    connection when binding a new TCP channel to an existing session.
    Fix that to ask for a forward channel or bidirectional.
    
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    7e9f073 View commit details
    Browse the repository at this point in the history
  23. NFSv4.1: Clean up bind_conn_to_session

    We don't need to fake up an entire session in order retrieve the arguments.
    
    Signed-off-by: Trond Myklebust <[email protected]>
    trondmypd committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    71a097c View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2015

  1. ARM: make arrays containing machine compatible strings const

    The definition
    
    	static const char *axxia_dt_match[] __initconst = {
    		...
    
    defines a changable array of constant strings. That is you must not do:
    
    	*axxia_dt_match[0] = 'k';
    
    but
    
    	axxia_dt_match[0] = "different string";
    
    is fine. So the annotation __initconst is wrong and yields a compiler
    error when other really const variables are added with __initconst.
    
    As the struct machine_desc member dt_compat is declared as
    
    	const char *const *dt_compat;
    
    making the arrays const is the better alternative over changing all
    annotations to __initdata.
    
    Signed-off-by: Uwe Kleine-König <[email protected]>
    Signed-off-by: Arnd Bergmann <[email protected]>
    Uwe Kleine-König authored and arndb committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    543c504 View commit details
    Browse the repository at this point in the history
  2. ARM: make of_device_ids const

    of_device_ids (i.e. compatible strings and the respective data) are not
    supposed to change at runtime. All functions working with of_device_ids
    provided by <linux/of.h> work with const of_device_ids. So mark the
    non-const structs in arch/arm as const, too.
    
    While at it also add some __initconst annotations.
    
    Acked-by: Jason Cooper <[email protected]>
    Signed-off-by: Uwe Kleine-König <[email protected]>
    Signed-off-by: Arnd Bergmann <[email protected]>
    Uwe Kleine-König authored and arndb committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    444d2d3 View commit details
    Browse the repository at this point in the history
  3. MIPS: Makefile: Pass -march option on Loongson3A cores

    The loongson 3A cores do not select a suitable -march option so the build
    system uses the default one from the toolchain. This may or may not be
    suitable for a loongson 3A build. In order to avoid that, we explicitly set
    a suitable -march option for that core.  Furthermore, some very old
    compilers don't support -march= at all and there is the possibility of
    toolchain combinations such as GCC 4.9 and binutils 2.24 for which
    -march=loongson3a will result in MIPS64 R2 code being generated but then
    rejected by GAS.  So treat the Longsoon 3A as an R2 CPU.
    
    Signed-off-by: Ralf Baechle <[email protected]>
    ralfbaechle committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    a8140f3 View commit details
    Browse the repository at this point in the history
  4. MIPS: Makefile: Move the ASEs checks after setting the core's CFLAGS

    We need to check the ASEs support against the core's CFLAGS instead
    of depending to the default -march option from the toolchain.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Cc: Maciej W. Rozycki <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/9180/
    Signed-off-by: Ralf Baechle <[email protected]>
    Markos Chandras authored and ralfbaechle committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    32098ec View commit details
    Browse the repository at this point in the history
  5. MIPS: Provide correct siginfo_t.si_stime

    Provide correct siginfo_t.si_stime on MIPS64
    
    Bug description:
    MIPS version of copy_siginfo() is not aware of alignment on platforms with
    64-bit long integers, which leads to an incorrect si_stime passed to signal
    handlers, because the last element (si_stime) of _sifields._sigchld is not
    copied. If _MIPS_SZLONG is 64, then the _sifields starts at the offset of
    4 * sizeof(int).
    
    Patch description:
    Use the generic copy_siginfo, which doesn't have this problem.
    
    Signed-off-by: Petr Malat <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8671/
    Signed-off-by: Ralf Baechle <[email protected]>
    petris authored and ralfbaechle committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    8cb48fe View commit details
    Browse the repository at this point in the history
  6. MIPS: BCM3384: Fix outdated use of mips_cpu_intc_init()

    This function was renamed to mips_cpu_irq_of_init(), so fix it to avoid
    a compile error.
    
    Signed-off-by: Kevin Cernekee <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8834/
    Signed-off-by: Ralf Baechle <[email protected]>
    cernekee authored and ralfbaechle committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    0e16d1e View commit details
    Browse the repository at this point in the history
  7. MIPS: Export FP functions used by lose_fpu(1) for KVM

    Export the _save_fp asm function used by the lose_fpu(1) macro to GPL
    modules so that KVM can make use of it when it is built as a module.
    
    This fixes the following build error when CONFIG_KVM=m due to commit
    f798217 ("KVM: MIPS: Don't leak FPU/DSP to guest"):
    
    ERROR: "_save_fp" [arch/mips/kvm/kvm.ko] undefined!
    
    Signed-off-by: James Hogan <[email protected]>
    Fixes: f798217 (KVM: MIPS: Don't leak FPU/DSP to guest)
    Cc: Paolo Bonzini <[email protected]>
    Cc: Ralf Baechle <[email protected]>
    Cc: Paul Burton <[email protected]>
    Cc: Gleb Natapov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: <[email protected]> # 3.10+
    Patchwork: https://patchwork.linux-mips.org/patch/9260/
    Signed-off-by: Ralf Baechle <[email protected]>
    James Hogan authored and ralfbaechle committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    3ce465e View commit details
    Browse the repository at this point in the history
  8. MIPS: Export MSA functions used by lose_fpu(1) for KVM

    Export the _save_msa asm function used by the lose_fpu(1) macro to GPL
    modules so that KVM can make use of it when it is built as a module.
    
    This fixes the following build error when CONFIG_KVM=m and
    CONFIG_CPU_HAS_MSA=y due to commit f798217 ("KVM: MIPS: Don't leak
    FPU/DSP to guest"):
    
    ERROR: "_save_msa" [arch/mips/kvm/kvm.ko] undefined!
    
    Fixes: f798217 (KVM: MIPS: Don't leak FPU/DSP to guest)
    Signed-off-by: James Hogan <[email protected]>
    Cc: Paolo Bonzini <[email protected]>
    Cc: Ralf Baechle <[email protected]>
    Cc: Paul Burton <[email protected]>
    Cc: Gleb Natapov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: <[email protected]> # 3.15+
    Patchwork: https://patchwork.linux-mips.org/patch/9261/
    Signed-off-by: Ralf Baechle <[email protected]>
    James Hogan authored and ralfbaechle committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    ca5d256 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'mipsr6-for-3.20' of git://git.linux-mips.org/pub/scm/mc…

    …handras/linux into mips-for-linux-next
    ralfbaechle committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    661af35 View commit details
    Browse the repository at this point in the history
  10. MIPS: Usage and cosmetic cleanups of page table bits.

    * Clean up white spaces and tabs.
       * Get rid of remaining hardcoded values for calculating
         shifts and masks.
       * Get rid of redundant macro values.
       * Do not use page table bits directly in #ifdef's.
    
    Signed-off-by: Steven J. Hill <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/9287/
    Signed-off-by: Ralf Baechle <[email protected]>
    Steven J. Hill authored and ralfbaechle committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    05f9883 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2015

  1. don't bother with most of the bad_file_ops methods

    Only ->open() should be there (always failing, of course).  We never
    replace ->f_op of an already opened struct file, so there's no way
    for any of those methods to be called.
    
    Signed-off-by: Al Viro <[email protected]>
    Al Viro committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    db671a8 View commit details
    Browse the repository at this point in the history
  2. hypfs: switch to read_iter/write_iter

    Signed-off-by: Al Viro <[email protected]>
    Al Viro committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    a457ac2 View commit details
    Browse the repository at this point in the history
  3. configfs: Fix potential NULL d_inode dereference

    Code that does this:
    
    		if (!(d_unhashed(dentry) && dentry->d_inode)) {
    			...
    			simple_unlink(parent->d_inode, dentry);
    		}
    
    is broken because:
    
        !(d_unhashed(dentry) && dentry->d_inode)
    
    is equivalent to:
    
        !d_unhashed(dentry) || !dentry->d_inode
    
    so it is possible to get into simple_unlink() with dentry->d_inode == NULL.
    
    simple_unlink(), however, assumes dentry->d_inode cannot be NULL.
    
    I think that what was meant is this:
    
        !d_unhashed(dentry) && dentry->d_inode
    
    and that the logical-not operator or the final close-bracket was misplaced.
    
    Signed-off-by: David Howells <[email protected]>
    cc: Joel Becker <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    112fc89 View commit details
    Browse the repository at this point in the history
  4. fs/aio.c: Remove duplicate function name in pr_debug messages

    Have defined pr_fmt as below in fs/aio.c, so remove duplicate
    function name in pr_debug message.
    
    #define pr_fmt(fmt) "%s: " fmt, __func__
    
    Signed-off-by: Kinglong Mee <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    kinglongmee authored and Al Viro committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    acd88d4 View commit details
    Browse the repository at this point in the history
  5. coredump: Fix typo in comment

    Signed-off-by: Bastien Nocera <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    hadess authored and Al Viro committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    fcbc32b View commit details
    Browse the repository at this point in the history
  6. autofs4: Wrong format for printing dentry

    %pD for struct file*, %pd for struct dentry*.
    
    Fixes: a455589 ("assorted conversions to %p[dD]")
    Signed-off-by: Rasmus Villemoes <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    Villemoes authored and Al Viro committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    76bf3f6 View commit details
    Browse the repository at this point in the history
  7. posix_acl: fix reference leaks in posix_acl_create

    get_acl gets a reference which we must release in the error cases.
    
    Reviewed-by: Christoph Hellwig <[email protected]>
    Signed-off-by: Omar Sandoval <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    osandov authored and Al Viro committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    fed0b58 View commit details
    Browse the repository at this point in the history
  8. Infiniband: Fix potential NULL d_inode dereference

    Code that does this:
    
    	if (!(d_unhashed(tmp) && tmp->d_inode)) {
    		...
    		simple_unlink(parent->d_inode, tmp);
    	}
    
    is broken because:
    
    	!(d_unhashed(tmp) && tmp->d_inode)
    
    is equivalent to:
    
    	!d_unhashed(tmp) || !tmp->d_inode
    
    so it is possible to get into simple_unlink() with tmp->d_inode == NULL.
    
    simple_unlink(), however, assumes tmp->d_inode cannot be NULL.
    
    I think that what was meant is this:
    
    	!d_unhashed(tmp) && tmp->d_inode
    
    and that the logical-not operator or the final close-bracket was misplaced.
    
    Signed-off-by: David Howells <[email protected]>
    cc: Bryan O'Sullivan <[email protected]>
    cc: Roland Dreier <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    a95104f View commit details
    Browse the repository at this point in the history
  9. Merge branch 'overlayfs-next' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/mszeredi/vfs into for-next
    Al Viro committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    ce7b9fa View commit details
    Browse the repository at this point in the history
  10. ARM: 8305/1: DMA: Fix kzalloc flags in __iommu_alloc_buffer()

    There doesn't seem to be any valid reason to allocate the pages array
    with the same flags as the buffer itself. Doing so can eventually lead
    to the following safeguard in mm/slab.c's cache_grow() to be hit:
    
            if (unlikely(flags & GFP_SLAB_BUG_MASK)) {
                    pr_emerg("gfp: %un", flags & GFP_SLAB_BUG_MASK);
                    BUG();
            }
    
    This happens when buffers are allocated with __GFP_DMA32 or
    __GFP_HIGHMEM.
    
    Fix this by allocating the pages array with GFP_KERNEL to follow what is
    done elsewhere in this file. Using GFP_KERNEL in __iommu_alloc_buffer()
    is safe because atomic allocations are handled by __iommu_alloc_atomic().
    
    Signed-off-by: Alexandre Courbot <[email protected]>
    Cc: Arnd Bergmann <[email protected]>
    Cc: Marek Szyprowski <[email protected]>
    Acked-by: Marek Szyprowski <[email protected]>
    Acked-by: Will Deacon <[email protected]>
    Signed-off-by: Russell King <[email protected]>
    Gnurou authored and Russell King committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    23be7fd View commit details
    Browse the repository at this point in the history
  11. MIPS: Add set/clear CP0 macros for PageGrain register

    Build set and clear macros for the PageGrain register.
    
    Signed-off-by: Steven J. Hill <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/9289/
    Signed-off-by: Ralf Baechle <[email protected]>
    Steven J. Hill authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    a5770df View commit details
    Browse the repository at this point in the history
  12. MIPS: Alchemy: fix Au1000/Au1500 LRCLK calculation

    The Au1000 and Au1500 calculate the LRCLK a bit differently than
    newer models: a single bit in MEM_STCFG0 selects if pclk is divided
    by 4 or 5.
    
    Signed-off-by: Manuel Lauss <[email protected]>
    Cc: Linux-MIPS <[email protected]>
    Patchwork: https://patchwork.linux-mips.org/patch/9148/
    Signed-off-by: Ralf Baechle <[email protected]>
    mlauss2 authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    51f105d View commit details
    Browse the repository at this point in the history
  13. MIPS: Alchemy: preset loops_per_jiffy based on CPU clock

    This was lost during the rewrite of clock framework support.
    
    Signed-off-by: Manuel Lauss <[email protected]>
    Cc: Linux-MIPS <[email protected]>
    Patchwork: https://patchwork.linux-mips.org/patch/9149/
    Signed-off-by: Ralf Baechle <[email protected]>
    mlauss2 authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    45a848f View commit details
    Browse the repository at this point in the history
  14. MIPS: Alchemy: remove declaration for set_cpuspec

    set_cpuspec() has been dropped with commit 074cf65
    ("MIPS: Alchemy: remove cpu_table.") in late 2008.
    
    Signed-off-by: Manuel Lauss <[email protected]>
    Cc: Linux-MIPS <[email protected]>
    Patchwork: https://patchwork.linux-mips.org/patch/9150/
    Signed-off-by: Ralf Baechle <[email protected]>
    mlauss2 authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    200276e View commit details
    Browse the repository at this point in the history
  15. MIPS: Alchemy: Fix cpu clock calculation

    The current code uses bits 0-6 of the sys_cpupll register to calculate
    core clock speed.  However this is only valid on Au1300, on all earlier
    models the hardware only uses bits 0-5 to generate core clock.
    
    This fixes clock calculation on the MTX1 (Au1500), where bit 6 of cpupll
    is set as well, which ultimately lead the code to calculate a bogus cpu
    core clock and also uart base clock down the line.
    
    Signed-off-by: Manuel Lauss <[email protected]>
    Reported-by: John Crispin <[email protected]>
    Tested-by: Bruno Randolf <[email protected]>
    Cc: [email protected]	[v3.17+]
    Cc: Linux-MIPS <[email protected]>
    Patchwork: https://patchwork.linux-mips.org/patch/9279/
    Signed-off-by: Ralf Baechle <[email protected]>
    mlauss2 authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    69e4e63 View commit details
    Browse the repository at this point in the history
  16. mips: pci: Add ifdef around pci_proc_domain

    Without these, there are multiple definitions of pci_proc_domain()
    and pci_domain_nr() if linux/pci.h and asm/pci.h are included.
    
    Add #ifdefs around them
    
    Signed-off-by: Zubair Lutfullah Kakakhel <[email protected]>
    Reviewed-by: Markos Chandras <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8670/
    Signed-off-by: Ralf Baechle <[email protected]>
    Zubair Lutfullah Kakakhel authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    6fb8a16 View commit details
    Browse the repository at this point in the history
  17. MIPS: ip22-gio: Remove legacy suspend/resume support

    There are currently no gio device drivers that implement suspend/resume
    and this patch removes the bus specific legacy suspend and resume callbacks.
    This will allow us to eventually remove struct bus_type legacy suspend and
    resume support altogether.
    
    gio device drivers wanting to implement suspend and resume can use dev PM
    ops which will work out of the box without further modifications necessary.
    
    Signed-off-by: Lars-Peter Clausen <[email protected]>
    Acked-by: Thomas Bogendoerfer <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8920/
    Signed-off-by: Ralf Baechle <[email protected]>
    larsclausen authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    fa75da8 View commit details
    Browse the repository at this point in the history
  18. MIPS: Remove unneeded #ifdef __KERNEL__ from asm/processor.h

    Signed-off-by: David Daney <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8737/
    Signed-off-by: Ralf Baechle <[email protected]>
    daviddaney authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    151f914 View commit details
    Browse the repository at this point in the history
  19. MIPS: boot: Provide more uImage options

    Allow more compression algorithms as well as uncompressed uImage.bin
    to be generated. An uncompressed image might be useful to rule out
    problems in the decompression code in the bootloader or even speed
    up the boot process at the expense of a bigger uImage file.
    
    Signed-off-by: Markos Chandras <[email protected]>
    Cc: James Hogan <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/9271/
    Signed-off-by: Ralf Baechle <[email protected]>
    Markos Chandras authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    9d6b80f View commit details
    Browse the repository at this point in the history
  20. MIPS: OCTEON: Save/Restore wider multiply registers in OCTEON III CPUs

    The wide multiplier is twice as wide, so we need to save twice as much
    state.  Detect the multiplier type (CPU type) at start up and install
    model specific handlers.
    
    [[email protected]:
    	conflict resolution,
    	support for old compilers]
    
    Signed-off-by: David Daney <[email protected]>
    Signed-off-by: Leonid Rosenboim <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8933/
    Signed-off-by: Ralf Baechle <[email protected]>
    daviddaney authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    ac655fb View commit details
    Browse the repository at this point in the history
  21. MIPS: OCTEON: Fix FP context save.

    It wasn't being saved on task switch.
    
    Signed-off-by: David Daney <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8934/
    Signed-off-by: Ralf Baechle <[email protected]>
    daviddaney authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    d6e4152 View commit details
    Browse the repository at this point in the history
  22. MIPS: OCTEON: Save and restore CP2 SHA3 state

    Allocate new save space, and then save/restore the registers if
    OCTEON III.
    
    Signed-off-by: David Daney <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8935/
    Signed-off-by: Ralf Baechle <[email protected]>
    daviddaney authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    6b3a287 View commit details
    Browse the repository at this point in the history
  23. MIPS: OCTEON: Use correct instruction to read 64-bit COP0 register

    Use dmfc0/dmtc0 instructions for reading CvmMemCtl COP0 register,
    its a 64-bit wide.
    
    Signed-off-by: Chandrakala Chavva <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: David Daney <[email protected]>
    Patchwork: https://patchwork.linux-mips.org/patch/8936/
    Signed-off-by: Ralf Baechle <[email protected]>
    Chandrakala Chavva authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    2d98cae View commit details
    Browse the repository at this point in the history
  24. MIPS: OCTEON: Delete unused COP2 saving code

    Commit 2c952e0 ("MIPS: Move cop2 save/restore to switch_to()")
    removes assembler code to store COP2 registers.  Commit
    a36d822 ("MIPS: OCTEON: Enable use of FPU") mistakenly
    restores it
    
    Fixes: a36d822 ("MIPS: OCTEON: Enable use of FPU")
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: David Daney <[email protected]>
    Patchwork: https://patchwork.linux-mips.org/patch/8937/
    Signed-off-by: Ralf Baechle <[email protected]>
    Aleksey Makarov authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    69f7cd4 View commit details
    Browse the repository at this point in the history
  25. MIPS: OCTEON: Implement the core-16057 workaround

    Disable ICache prefetch for certian Octeon II processors.
    
    Signed-off-by: David Daney <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8938/
    Signed-off-by: Ralf Baechle <[email protected]>
    daviddaney authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    664d699 View commit details
    Browse the repository at this point in the history
  26. MIPS: OCTEON: Add little-endian support to asm/octeon/octeon.h

    Also update union octeon_cvmemctl with new OCTEON II fields.
    
    [[email protected]: use __BITFIELD_FIELD]
    
    Signed-off-by: David Daney <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8940/
    Signed-off-by: Ralf Baechle <[email protected]>
    daviddaney authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    664f1ae View commit details
    Browse the repository at this point in the history
  27. MIPS: OCTEON: Implement DCache errata workaround for all CN6XXX

    Make messages refer to all CN6XXX.
    
    Signed-off-by: David Daney <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8941/
    Signed-off-by: Ralf Baechle <[email protected]>
    daviddaney authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    e3d0ead View commit details
    Browse the repository at this point in the history
  28. MIPS: OCTEON: Update octeon-model.h code for new SoCs.

    Add coverage for OCTEON III models.
    
    Signed-off-by: David Daney <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8942/
    Signed-off-by: Ralf Baechle <[email protected]>
    daviddaney authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    debe6a6 View commit details
    Browse the repository at this point in the history
  29. MIPS: OCTEON: Core-15169 Workaround and general CVMSEG cleanup.

    Signed-off-by: David Daney <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8943/
    Signed-off-by: Ralf Baechle <[email protected]>
    daviddaney authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    726da2f View commit details
    Browse the repository at this point in the history
  30. MIPS: OCTEON: Remove setting of processor specific CVMCTL icache bits.

    CN38XX pass 1 required icache prefetching to be turned off. This chip never
    reached production and is long dead. Other processor specific icache settings
    are done by the bootloader. Remove these bits from the kernel.
    
    Signed-off-by: Chad Reese <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: David Daney <[email protected]>
    Patchwork: https://patchwork.linux-mips.org/patch/8944/
    Signed-off-by: Ralf Baechle <[email protected]>
    Chad Reese authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    920cda3 View commit details
    Browse the repository at this point in the history
  31. MIPS: OCTEON: More OCTEONIII support

    Read clock rate from the correct CSR. Don't clear COP0_DCACHE for OCTEONIII.
    
    Signed-off-by: Chandrakala Chavva <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Signed-off-by: David Daney <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8945/
    Signed-off-by: Ralf Baechle <[email protected]>
    Chandrakala Chavva authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    ac6d9b3 View commit details
    Browse the repository at this point in the history
  32. MIPS: OCTEON: Don't do acknowledge operations for level triggered irqs.

    The acknowledge bits don't exist for level triggered irqs, so setting
    them causes the simulator to terminate.
    
    Signed-off-by: David Daney <[email protected]>
    Signed-off-by: Leonid Rosenboim <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8946/
    Signed-off-by: Ralf Baechle <[email protected]>
    daviddaney authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    2e3ecab View commit details
    Browse the repository at this point in the history
  33. MIPS: OCTEON: irq: add CIB and other fixes

    - Use of_irq_init() to initialize interrupt controllers
    - Get rid of some unlikely()
    - Add CIB to support SATA and other interrupts
    - Add support for CIU SUM2 interrupt sources
    
    Signed-off-by: David Daney <[email protected]>
    Signed-off-by: Leonid Rosenboim <[email protected]>
    Signed-off-by: Aleksey Makarov <[email protected]>
    Signed-off-by: Peter Swain <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: Rob Herring <[email protected]>
    Cc: Pawel Moll <[email protected]>
    Cc: Mark Rutland <[email protected]>
    Cc: Ian Campbell <[email protected]>
    Cc: Kumar Gala <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/8947/
    Signed-off-by: Ralf Baechle <[email protected]>
    daviddaney authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    64b139f View commit details
    Browse the repository at this point in the history
  34. MIPS: mm: Remove dead macro definitions

    In commit c441d4a ("MIPS: mm: Only build one microassembler that
    is suitable"), the Makefile at arch/mips/mm was rewritten to only
    build the "right" microassembler file, depending on whether
    CONFIG_CPU_MICROMIPS is set or not.
    
    In the files, however, there are still preprocessor definitions
    depending on CONFIG_CPU_MICROMIPS. The #ifdef around them can now
    never evaluate to true, so let's remove them altogether.
    
    This inconsistency was found using the undertaker-checkpatch tool.
    
    Signed-off-by: Andreas Ruprecht <[email protected]>
    Reviewed-by: Maciej W. Rozycki <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: Valentin Rothberg <[email protected]>
    Cc: Paul Bolle <[email protected]>
    Patchwork: https://patchwork.linux-mips.org/patch/9267/
    Signed-off-by: Ralf Baechle <[email protected]>
    rupran authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    8fc5ec7 View commit details
    Browse the repository at this point in the history
  35. MIPS: sead3: Corrected get_c0_perfcount_int

    Commit e9de688 ("irqchip: mips-gic: Support local interrupts")
    updated several platforms. This is a copy paste error.
    
    Signed-off-by: Niklas Cassel <[email protected]>
    Reviewed-by: Andrew Bresticker <[email protected]>
    Cc: [email protected]
    Patchwork: https://patchwork.linux-mips.org/patch/9245/
    Signed-off-by: Ralf Baechle <[email protected]>
    Niklas Cassel authored and ralfbaechle committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    44923c9 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2015

  1. Merge tag 'nfs-for-3.20-2' of git://git.linux-nfs.org/projects/trondm…

    …y/linux-nfs
    
    Pull more NFS client updates from Trond Myklebust:
     "Highlights include:
    
       - Fix a use-after-free in decode_cb_sequence_args()
       - Fix a compile error when #undef CONFIG_PROC_FS
       - NFSv4.1 backchannel spinlocking issue
       - Cleanups in the NFS unstable write code requested by Linus
       - NFSv4.1 fix issues when the server denies our backchannel request
       - Cleanups in create_session and bind_conn_to_session"
    
    * tag 'nfs-for-3.20-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
      NFSv4.1: Clean up bind_conn_to_session
      NFSv4.1: Always set up a forward channel when binding the session
      NFSv4.1: Don't set up a backchannel if the server didn't agree to do so
      NFSv4.1: Clean up create_session
      pnfs: Refactor the *_layout_mark_request_commit to use pnfs_layout_mark_request_commit
      NFSv4: Kill unused nfs_inode->delegation_state field
      NFS: struct nfs_commit_info.lock must always point to inode->i_lock
      nfs: Can call nfs_clear_page_commit() instead
      nfs: Provide and use helper functions for marking a page as unstable
      SUNRPC: Always manipulate rpc_rqst::rq_bc_pa_list under xprt->bc_pa_lock
      SUNRPC: Fix a compile error when #undef CONFIG_PROC_FS
      NFSv4.1: Convert open-coded array allocation calls to kmalloc_array()
      NFSv4.1: Fix a kfree() of uninitialised pointers in decode_cb_sequence_args
    torvalds committed Feb 21, 2015
    Configuration menu
    Copy the full SHA
    24a52e4 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'xfs-pnfs-for-linus-3.20-rc1' of git://git.kernel.org/pub/s…

    …cm/linux/kernel/git/dgc/linux-xfs
    
    Pull xfs pnfs block layout support from Dave Chinner:
     "This contains the changes to XFS needed to support the PNFS block
      layout server that you pulled in through Bruce's NFS server tree
      merge.
    
      I originally thought that I'd need to merge changes into the NFS
      server side, but Bruce had already picked them up and so this is
      purely changes to the fs/xfs/ codebase.
    
      Summary:
    
      This update contains the implementation of the PNFS server export
      methods that enable use of XFS filesystems as a block layout target"
    
    * tag 'xfs-pnfs-for-linus-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs:
      xfs: recall pNFS layouts on conflicting access
      xfs: implement pNFS export operations
    torvalds committed Feb 21, 2015
    Configuration menu
    Copy the full SHA
    93aaa83 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2015

  1. Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/jejb/scsi
    
    Pull misc SCSI patches from James Bottomley:
     "This is a short patch set representing a couple of left overs from the
      merge window (debug removal and MAINTAINER changes).
    
      Plus one merge window regression (the local workqueue for hpsa) and a
      set of bug fixes for several issues (two for scsi-mq and the rest an
      assortment of long standing stuff, all cc'd to stable)"
    
    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
      sg: fix EWOULDBLOCK errors with scsi-mq
      sg: fix unkillable I/O wait deadlock with scsi-mq
      sg: fix read() error reporting
      wd719x: add missing .module to wd719x_template
      hpsa: correct compiler warnings introduced by hpsa-add-local-workqueue patch
      fixed invalid assignment of 64bit mask to host dma_boundary for scatter gather segment boundary limit.
      fcoe: Transition maintainership to Vasu
      am53c974: remove left-over debugging code
    torvalds committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    c8c6c9b View commit details
    Browse the repository at this point in the history
  2. Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/arm/arm-soc
    
    Pull ARM SoC fixes from Arnd Bergmann:
     "A few fixes that came in too late to make it into the first set of
      pull requests but would still be nice to have in -rc1.
    
      The majority of these are trivial build fixes for bugs that I found
      myself using randconfig testing, and a set of two patches from Uwe to
      mark DT strings as 'const' where appropriate, to resolve inconsistent
      section attributes"
    
    * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
      ARM: make of_device_ids const
      ARM: make arrays containing machine compatible strings const
      ARM: mm: Remove Kconfig symbol CACHE_PL310
      ARM: rockchip: force built-in regulator support for PM
      ARM: mvebu: build armada375-smp code conditionally
      ARM: sti: always enable RESET_CONTROLLER
      ARM: rockchip: make rockchip_suspend_init conditional
      ARM: ixp4xx: fix {in,out}s{bwl} data types
      ARM: prima2: do not select SMP_ON_UP
      ARM: at91: fix pm declarations
      ARM: davinci: multi-soc kernels require AUTO_ZRELADDR
      ARM: davinci: davinci_cfg_reg cannot be init
      ARM: BCM: put back ARCH_MULTI_V7 dependency for mobile
      ARM: vexpress: use ARM_CPU_SUSPEND if needed
      ARM: dts: add I2C device nodes for Broadcom Cygnus
      ARM: dts: BCM63xx: fix L2 cache properties
    torvalds committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    2177033 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upst…

    …ream-linus
    
    Pull MIPS updates from Ralf Baechle:
     "This is the main pull request for MIPS:
    
       - a number of fixes that didn't make the 3.19 release.
    
       - a number of cleanups.
    
       - preliminary support for Cavium's Octeon 3 SOCs which feature up to
         48 MIPS64 R3 cores with FPU and hardware virtualization.
    
       - support for MIPS R6 processors.
    
         Revision 6 of the MIPS architecture is a major revision of the MIPS
         architecture which does away with many of original sins of the
         architecture such as branch delay slots.  This and other changes in
         R6 require major changes throughout the entire MIPS core
         architecture code and make up for the lion share of this pull
         request.
    
       - finally some preparatory work for eXtendend Physical Address
         support, which allows support of up to 40 bit of physical address
         space on 32 bit processors"
    
         [ Ahh, MIPS can't leave the PAE brain damage alone.  It's like
           every CPU architect has to make that mistake, but pee in the snow
           by changing the TLA.  But whether it's called PAE, LPAE or XPA,
           it's horrid crud   - Linus ]
    
    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (114 commits)
      MIPS: sead3: Corrected get_c0_perfcount_int
      MIPS: mm: Remove dead macro definitions
      MIPS: OCTEON: irq: add CIB and other fixes
      MIPS: OCTEON: Don't do acknowledge operations for level triggered irqs.
      MIPS: OCTEON: More OCTEONIII support
      MIPS: OCTEON: Remove setting of processor specific CVMCTL icache bits.
      MIPS: OCTEON: Core-15169 Workaround and general CVMSEG cleanup.
      MIPS: OCTEON: Update octeon-model.h code for new SoCs.
      MIPS: OCTEON: Implement DCache errata workaround for all CN6XXX
      MIPS: OCTEON: Add little-endian support to asm/octeon/octeon.h
      MIPS: OCTEON: Implement the core-16057 workaround
      MIPS: OCTEON: Delete unused COP2 saving code
      MIPS: OCTEON: Use correct instruction to read 64-bit COP0 register
      MIPS: OCTEON: Save and restore CP2 SHA3 state
      MIPS: OCTEON: Fix FP context save.
      MIPS: OCTEON: Save/Restore wider multiply registers in OCTEON III CPUs
      MIPS: boot: Provide more uImage options
      MIPS: Remove unneeded #ifdef __KERNEL__ from asm/processor.h
      MIPS: ip22-gio: Remove legacy suspend/resume support
      mips: pci: Add ifdef around pci_proc_domain
      ...
    torvalds committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    a135c71 View commit details
    Browse the repository at this point in the history
  4. VFS: Introduce inode-getting helpers for layered/unioned fs environments

    Introduce some function for getting the inode (and also the dentry) in an
    environment where layered/unioned filesystems are in operation.
    
    The problem is that we have places where we need *both* the union dentry and
    the lower source or workspace inode or dentry available, but we can only have
    a handle on one of them.  Therefore we need to derive the handle to the other
    from that.
    
    The idea is to introduce an extra field in struct dentry that allows the union
    dentry to refer to and pin the lower dentry.
    
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    155e35d View commit details
    Browse the repository at this point in the history
  5. VFS: Add a whiteout dentry type

    Add DCACHE_WHITEOUT_TYPE and provide a d_is_whiteout() accessor function.  A
    d_is_miss() accessor is also added for ordinary cache misses and
    d_is_negative() is modified to indicate either an ordinary miss or an enforced
    miss (whiteout).
    
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    e7f7d22 View commit details
    Browse the repository at this point in the history
  6. VFS: Add a fallthrough flag for marking virtual dentries

    Add a DCACHE_FALLTHRU flag to indicate that, in a layered filesystem, this is
    a virtual dentry that covers another one in a lower layer that should be used
    instead.  This may be recorded on medium if directory integration is stored
    there.
    
    The flag can be set with d_set_fallthru() and tested with d_is_fallthru().
    
    Original-author: Valerie Aurora <[email protected]>
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    df1a085 View commit details
    Browse the repository at this point in the history
  7. VFS: Split DCACHE_FILE_TYPE into regular and special types

    Split DCACHE_FILE_TYPE into DCACHE_REGULAR_TYPE (dentries representing regular
    files) and DCACHE_SPECIAL_TYPE (representing blockdev, chardev, FIFO and
    socket files).
    
    d_is_reg() and d_is_special() are added to detect these subtypes and
    d_is_file() is left as the union of the two.
    
    This allows a number of places that use S_ISREG(dentry->d_inode->i_mode) to
    use d_is_reg(dentry) instead.
    
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    44bdb5e View commit details
    Browse the repository at this point in the history
  8. Apparmor: mediated_filesystem() should use dentry->d_sb not inode->i_sb

    mediated_filesystem() should use dentry->d_sb not dentry->d_inode->i_sb and
    should avoid file_inode() also since it is really dealing with the path.
    
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    7ac2856 View commit details
    Browse the repository at this point in the history
  9. Apparmor: Use d_is_positive/negative() rather than testing dentry->d_…

    …inode
    
    Use d_is_positive(dentry) or d_is_negative(dentry) rather than testing
    dentry->d_inode as the dentry may cover another layer that has an inode when
    the top layer doesn't or may hold a 0,0 chardev that's actually a whiteout.
    
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    729b8a3 View commit details
    Browse the repository at this point in the history
  10. TOMOYO: Use d_is_dir() rather than d_inode and S_ISDIR()

    Use d_is_dir() rather than d_inode and S_ISDIR().  Note that this will include
    fake directories such as automount triggers.
    
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    e656a8e View commit details
    Browse the repository at this point in the history
  11. Smack: Use d_is_positive() rather than testing dentry->d_inode

    Use d_is_positive() rather than testing dentry->d_inode in Smack to get rid of
    direct references to d_inode outside of the VFS.
    
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    8802565 View commit details
    Browse the repository at this point in the history
  12. SELinux: Use d_is_positive() rather than testing dentry->d_inode

    Use d_is_positive() rather than testing dentry->d_inode in SELinux to get rid
    of direct references to d_inode outside of the VFS.
    
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    2c616d4 View commit details
    Browse the repository at this point in the history
  13. VFS: (Scripted) Convert S_ISLNK/DIR/REG(dentry->d_inode) to d_is_*(de…

    …ntry)
    
    Convert the following where appropriate:
    
     (1) S_ISLNK(dentry->d_inode) to d_is_symlink(dentry).
    
     (2) S_ISREG(dentry->d_inode) to d_is_reg(dentry).
    
     (3) S_ISDIR(dentry->d_inode) to d_is_dir(dentry).  This is actually more
         complicated than it appears as some calls should be converted to
         d_can_lookup() instead.  The difference is whether the directory in
         question is a real dir with a ->lookup op or whether it's a fake dir with
         a ->d_automount op.
    
    In some circumstances, we can subsume checks for dentry->d_inode not being
    NULL into this, provided we the code isn't in a filesystem that expects
    d_inode to be NULL if the dirent really *is* negative (ie. if we're going to
    use d_inode() rather than d_backing_inode() to get the inode pointer).
    
    Note that the dentry type field may be set to something other than
    DCACHE_MISS_TYPE when d_inode is NULL in the case of unionmount, where the VFS
    manages the fall-through from a negative dentry to a lower layer.  In such a
    case, the dentry type of the negative union dentry is set to the same as the
    type of the lower dentry.
    
    However, if you know d_inode is not NULL at the call site, then you can use
    the d_is_xxx() functions even in a filesystem.
    
    There is one further complication: a 0,0 chardev dentry may be labelled
    DCACHE_WHITEOUT_TYPE rather than DCACHE_SPECIAL_TYPE.  Strictly, this was
    intended for special directory entry types that don't have attached inodes.
    
    The following perl+coccinelle script was used:
    
    use strict;
    
    my @callers;
    open($fd, 'git grep -l \'S_IS[A-Z].*->d_inode\' |') ||
        die "Can't grep for S_ISDIR and co. callers";
    @callers = <$fd>;
    close($fd);
    unless (@callers) {
        print "No matches\n";
        exit(0);
    }
    
    my @Cocci = (
        '@@',
        'expression E;',
        '@@',
        '',
        '- S_ISLNK(E->d_inode->i_mode)',
        '+ d_is_symlink(E)',
        '',
        '@@',
        'expression E;',
        '@@',
        '',
        '- S_ISDIR(E->d_inode->i_mode)',
        '+ d_is_dir(E)',
        '',
        '@@',
        'expression E;',
        '@@',
        '',
        '- S_ISREG(E->d_inode->i_mode)',
        '+ d_is_reg(E)' );
    
    my $coccifile = "tmp.sp.cocci";
    open($fd, ">$coccifile") || die $coccifile;
    print($fd "$_\n") || die $coccifile foreach (@Cocci);
    close($fd);
    
    foreach my $file (@callers) {
        chomp $file;
        print "Processing ", $file, "\n";
        system("spatch", "--sp-file", $coccifile, $file, "--in-place", "--no-show-diff") == 0 ||
    	die "spatch failed";
    }
    
    [AV: overlayfs parts skipped]
    
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    e36cb0b View commit details
    Browse the repository at this point in the history
  14. Cachefiles: Fix up scripted S_ISDIR/S_ISREG/S_ISLNK conversions

    Fix up the following scripted S_ISDIR/S_ISREG/S_ISLNK conversions (or lack
    thereof) in cachefiles:
    
     (1) Cachefiles mostly wants to use d_can_lookup() rather than d_is_dir() as
         it doesn't want to deal with automounts in its cache.
    
     (2) Coccinelle didn't find S_IS* expressions in ASSERT() statements in
         cachefiles.
    
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    ce40fa7 View commit details
    Browse the repository at this point in the history
  15. fanotify: Fix up scripted S_ISDIR/S_ISREG/S_ISLNK conversions

    Fanotify probably doesn't want to watch autodirs so make it use d_can_lookup()
    rather than d_is_dir() when checking a dir watch and give an error on fake
    directories.
    
    Signed-off-by: David Howells <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    dhowells authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    54f2a2f View commit details
    Browse the repository at this point in the history
  16. trylock_super(): replacement for grab_super_passive()

    I've noticed significant locking contention in memory reclaimer around
    sb_lock inside grab_super_passive(). Grab_super_passive() is called from
    two places: in icache/dcache shrinkers (function super_cache_scan) and
    from writeback (function __writeback_inodes_wb). Both are required for
    progress in memory allocator.
    
    Grab_super_passive() acquires sb_lock to increment sb->s_count and check
    sb->s_instances. It seems sb->s_umount locked for read is enough here:
    super-block deactivation always runs under sb->s_umount locked for write.
    Protecting super-block itself isn't a problem: in super_cache_scan() sb
    is protected by shrinker_rwsem: it cannot be freed if its slab shrinkers
    are still active. Inside writeback super-block comes from inode from bdi
    writeback list under wb->list_lock.
    
    This patch removes locking sb_lock and checks s_instances under s_umount:
    generic_shutdown_super() unlinks it under sb->s_umount locked for write.
    New variant is called trylock_super() and since it only locks semaphore,
    callers must call up_read(&sb->s_umount) instead of drop_super(sb) when
    they're done.
    
    Signed-off-by: Konstantin Khlebnikov <[email protected]>
    Signed-off-by: Al Viro <[email protected]>
    koct9i authored and Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    eb6ef3d View commit details
    Browse the repository at this point in the history
  17. Documentation/filesystems/Locking: ->get_sb() is long gone

    Signed-off-by: Al Viro <[email protected]>
    Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    dca1117 View commit details
    Browse the repository at this point in the history
  18. debugfs: leave freeing a symlink body until inode eviction

    As it is, we have debugfs_remove() racing with symlink traversals.
    Supply ->evict_inode() and do freeing there - inode will remain
    pinned until we are done with the symlink body.
    
    And rip the idiocy with checking if dentry is positive right after
    we'd verified debugfs_positive(), which is a stronger check...
    
    Cc: [email protected]
    Signed-off-by: Al Viro <[email protected]>
    Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    0db59e5 View commit details
    Browse the repository at this point in the history
  19. procfs: fix race between symlink removals and traversals

    use_pde()/unuse_pde() in ->follow_link()/->put_link() resp.
    
    Cc: [email protected]
    Signed-off-by: Al Viro <[email protected]>
    Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    7e0e953 View commit details
    Browse the repository at this point in the history
  20. autofs4 copy_dev_ioctl(): keep the value of ->size we'd used for allo…

    …cation
    
    X-Coverup: just ask spender
    Cc: [email protected]
    Signed-off-by: Al Viro <[email protected]>
    Al Viro committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    0a28096 View commit details
    Browse the repository at this point in the history
  21. Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm

    Pull ARM fix from Russell King:
     "Just one fix this time around.  __iommu_alloc_buffer() can cause a
      BUG() if dma_alloc_coherent() is called with either __GFP_DMA32 or
      __GFP_HIGHMEM set.  The patch from Alexandre addresses this"
    
    * 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
      ARM: 8305/1: DMA: Fix kzalloc flags in __iommu_alloc_buffer()
    torvalds committed Feb 22, 2015
    Configuration menu
    Copy the full SHA
    90c453c View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2015

  1. Merge branch 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/viro/vfs
    
    Pull more vfs updates from Al Viro:
     "Assorted stuff from this cycle.  The big ones here are multilayer
      overlayfs from Miklos and beginning of sorting ->d_inode accesses out
      from David"
    
    * 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (51 commits)
      autofs4 copy_dev_ioctl(): keep the value of ->size we'd used for allocation
      procfs: fix race between symlink removals and traversals
      debugfs: leave freeing a symlink body until inode eviction
      Documentation/filesystems/Locking: ->get_sb() is long gone
      trylock_super(): replacement for grab_super_passive()
      fanotify: Fix up scripted S_ISDIR/S_ISREG/S_ISLNK conversions
      Cachefiles: Fix up scripted S_ISDIR/S_ISREG/S_ISLNK conversions
      VFS: (Scripted) Convert S_ISLNK/DIR/REG(dentry->d_inode) to d_is_*(dentry)
      SELinux: Use d_is_positive() rather than testing dentry->d_inode
      Smack: Use d_is_positive() rather than testing dentry->d_inode
      TOMOYO: Use d_is_dir() rather than d_inode and S_ISDIR()
      Apparmor: Use d_is_positive/negative() rather than testing dentry->d_inode
      Apparmor: mediated_filesystem() should use dentry->d_sb not inode->i_sb
      VFS: Split DCACHE_FILE_TYPE into regular and special types
      VFS: Add a fallthrough flag for marking virtual dentries
      VFS: Add a whiteout dentry type
      VFS: Introduce inode-getting helpers for layered/unioned fs environments
      Infiniband: Fix potential NULL d_inode dereference
      posix_acl: fix reference leaks in posix_acl_create
      autofs4: Wrong format for printing dentry
      ...
    torvalds committed Feb 23, 2015
    Configuration menu
    Copy the full SHA
    be5e661 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/tytso/ext4
    
    Pull ext4 fixes from Ted Ts'o:
     "Ext4 bug fixes.
    
      We also reserved code points for encryption and read-only images (for
      which the implementation is mostly just the reserved code point for a
      read-only feature :-)"
    
    * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
      ext4: fix indirect punch hole corruption
      ext4: ignore journal checksum on remount; don't fail
      ext4: remove duplicate remount check for JOURNAL_CHECKSUM change
      ext4: fix mmap data corruption in nodelalloc mode when blocksize < pagesize
      ext4: support read-only images
      ext4: change to use setup_timer() instead of init_timer()
      ext4: reserve codepoints used by the ext4 encryption feature
      jbd2: complain about descriptor block checksum errors
    torvalds committed Feb 23, 2015
    Configuration menu
    Copy the full SHA
    feaf222 View commit details
    Browse the repository at this point in the history
  3. Linux 4.0-rc1

    .. after extensive statistical analysis of my G+ polling, I've come to
    the inescapable conclusion that internet polls are bad.
    
    Big surprise.
    
    But "Hurr durr I'ma sheep" trounced "I like online polls" by a 62-to-38%
    margin, in a poll that people weren't even supposed to participate in.
    Who can argue with solid numbers like that? 5,796 votes from people who
    can't even follow the most basic directions?
    
    In contrast, "v4.0" beat out "v3.20" by a slimmer margin of 56-to-44%,
    but with a total of 29,110 votes right now.
    
    Now, arguably, that vote spread is only about 3,200 votes, which is less
    than the almost six thousand votes that the "please ignore" poll got, so
    it could be considered noise.
    
    But hey, I asked, so I'll honor the votes.
    torvalds committed Feb 23, 2015
    Configuration menu
    Copy the full SHA
    c517d83 View commit details
    Browse the repository at this point in the history