1. 09 11月, 2018 1 次提交
  2. 08 11月, 2018 2 次提交
    • P
      MIPS: Simplify GCC_OFF_SMALL_ASM definition · d08b8ccc
      Paul Burton 提交于
      The GCC_OFF_SMALL_ASM macro defines the constraint to use for
      instructions needing "small offsets", typically the LL or SC
      instructions. Historically these had 16 bit offsets, but microMIPS &
      MIPS32/MIPS64r6 onwards reduced the width of the offset field.
      
      GCC 4.9 & higher supports a ZC constraint which matches the offset
      requirements of the LL & SC instructions. Where supported we can use
      the ZC constraint regardless of ISA, and it will handle the requirements
      of the ISA correctly. As such we require 3 cases:
      
        - GCC 4.9 & higher can use ZC.
      
        - GCC older than 4.9 must use the older R constraint, which does not
          take into account microMIPS or MIPSr6.
      
        - microMIPS builds therefore require GCC 4.9 or higher. MIPSr6 support
          was only introduced in newer compilers anyway so it can be ignored
          here.
      
      The current code complicates this a little by specifically having MIPSr6
      bypass the GCC version check, and using the R constraint for pre-MIPSr6
      builds even if the compiler supports ZC which would be equivalent.
      
      Simplify this such that the code straightforwardly implements the 3
      cases outlined above.
      
      For non-GCC compilers we presume that ZC is safe to use. In practice the
      only non-GCC compiler of interest is clang and it has supported the ZC
      constraint since version 3.7.0. It seems safe enough to presume that
      nobody will expect to built a working kernel using a clang version older
      than that, and if they do then they'll have bigger problems. As such we
      don't check the clang version number & just presume ZC is usable when
      the compiler is not GCC.
      Signed-off-by: NPaul Burton <paul.burton@mips.com>
      Patchwork: https://patchwork.linux-mips.org/patch/20999/
      Cc: linux-mips@linux-mips.org
      d08b8ccc
    • P
      MIPS: Remove GCC_IMM_ASM & GCC_REG_ACCUM macros · 57810ecb
      Paul Burton 提交于
      asm/compiler.h defined GCC_IMM_ASM & GCC_REG_ACCUM macros, both of which
      are defined differently for GCC pre-3.4 or GCC 3.4 & higher. We only
      support building with GCC 4.6 & higher since commit cafa0010 ("Raise
      the minimum required gcc version to 4.6"), which makes the pre-3.4
      definition dead code.
      
      Rather than leave the macro definitions around, inline the GCC 3.4 &
      higher definitions into the single file that uses them & remove the
      macros entirely.
      Signed-off-by: NPaul Burton <paul.burton@mips.com>
      Patchwork: https://patchwork.linux-mips.org/patch/21000/
      Cc: linux-mips@linux-mips.org
      57810ecb
  3. 07 11月, 2018 4 次提交
  4. 06 11月, 2018 2 次提交
  5. 05 11月, 2018 5 次提交
    • L
      Linux 4.20-rc1 · 65102238
      Linus Torvalds 提交于
      65102238
    • L
      Merge tag 'tags/upstream-4.20-rc1' of git://git.infradead.org/linux-ubifs · 42bd06e9
      Linus Torvalds 提交于
      Pull UBIFS updates from Richard Weinberger:
      
       - Full filesystem authentication feature, UBIFS is now able to have the
         whole filesystem structure authenticated plus user data encrypted and
         authenticated.
      
       - Minor cleanups
      
      * tag 'tags/upstream-4.20-rc1' of git://git.infradead.org/linux-ubifs: (26 commits)
        ubifs: Remove unneeded semicolon
        Documentation: ubifs: Add authentication whitepaper
        ubifs: Enable authentication support
        ubifs: Do not update inode size in-place in authenticated mode
        ubifs: Add hashes and HMACs to default filesystem
        ubifs: authentication: Authenticate super block node
        ubifs: Create hash for default LPT
        ubfis: authentication: Authenticate master node
        ubifs: authentication: Authenticate LPT
        ubifs: Authenticate replayed journal
        ubifs: Add auth nodes to garbage collector journal head
        ubifs: Add authentication nodes to journal
        ubifs: authentication: Add hashes to index nodes
        ubifs: Add hashes to the tree node cache
        ubifs: Create functions to embed a HMAC in a node
        ubifs: Add helper functions for authentication support
        ubifs: Add separate functions to init/crc a node
        ubifs: Format changes for authentication support
        ubifs: Store read superblock node
        ubifs: Drop write_node
        ...
      42bd06e9
    • L
      Merge tag 'nfs-for-4.20-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · 4710e789
      Linus Torvalds 提交于
      Pull NFS client bugfixes from Trond Myklebust:
       "Highlights include:
      
        Bugfix:
         - Fix build issues on architectures that don't provide 64-bit cmpxchg
      
        Cleanups:
         - Fix a spelling mistake"
      
      * tag 'nfs-for-4.20-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        NFS: fix spelling mistake, EACCESS -> EACCES
        SUNRPC: Use atomic(64)_t for seq_send(64)
      4710e789
    • L
      Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 35e74524
      Linus Torvalds 提交于
      Pull more timer updates from Thomas Gleixner:
       "A set of commits for the new C-SKY architecture timers"
      
      * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        dt-bindings: timer: gx6605s SOC timer
        clocksource/drivers/c-sky: Add gx6605s SOC system timer
        dt-bindings: timer: C-SKY Multi-processor timer
        clocksource/drivers/c-sky: Add C-SKY SMP timer
      35e74524
    • L
      Merge tag 'ntb-4.20' of git://github.com/jonmason/ntb · 04578e84
      Linus Torvalds 提交于
      Pull NTB updates from Jon Mason:
       "Fairly minor changes and bug fixes:
      
        NTB IDT thermal changes and hook into hwmon, ntb_netdev clean-up of
        private struct, and a few bug fixes"
      
      * tag 'ntb-4.20' of git://github.com/jonmason/ntb:
        ntb: idt: Alter the driver info comments
        ntb: idt: Discard temperature sensor IRQ handler
        ntb: idt: Add basic hwmon sysfs interface
        ntb: idt: Alter temperature read method
        ntb_netdev: Simplify remove with client device drvdata
        NTB: transport: Try harder to alloc an aligned MW buffer
        ntb: ntb_transport: Mark expected switch fall-throughs
        ntb: idt: Set PCIe bus address to BARLIMITx
        NTB: ntb_hw_idt: replace IS_ERR_OR_NULL with regular NULL checks
        ntb: intel: fix return value for ndev_vec_mask()
        ntb_netdev: fix sleep time mismatch
      04578e84
  6. 04 11月, 2018 26 次提交