1. 15 Jan, 2020 1 commit
  2. 13 Jan, 2020 1 commit
    • Linus Walleij's avatar
      pinctrl: dt-bindings: Fix some errors in the lgm and pinmux schema · 4784adc6
      Linus Walleij authored
      This fixes some problems that caused build errors in the
      lgm-io schema file:
      
      - No "bindings" infix in the schema id
      - Move the allOf inclusion for pinconf and pinmux nodes into
        the patternProperties for the -pins node
      - We want "groups" not "group" to be compulsory for a pinmux
        node blended with a pin config node.
      - Fix the generic pinmux-schema to list "groups" rather than
        "group" for a pinmux node, this might have led to some confusion.
      
      This is a first user of the generic schema so a bit of a bumpy
      road.
      
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Rahul Tanwar <rahul.tanwar@linux.intel.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      4784adc6
  3. 08 Jan, 2020 2 commits
  4. 07 Jan, 2020 13 commits
  5. 06 Jan, 2020 8 commits
  6. 31 Dec, 2019 6 commits
  7. 30 Dec, 2019 2 commits
    • Linus Walleij's avatar
      d77552d9
    • Hans de Goede's avatar
      pinctrl: Allow modules to use pinctrl_[un]register_mappings · c72bed23
      Hans de Goede authored
      Currently only the drivers/pinctrl/devicetree.c code allows registering
      pinctrl-mappings which may later be unregistered, all other mappings
      are assumed to be permanent.
      
      Non-dt platforms may also want to register pinctrl mappings from code which
      is build as a module, which requires being able to unregister the mapping
      when the module is unloaded to avoid dangling pointers.
      
      To allow unregistering the mappings the devicetree code uses 2 internal
      functions: pinctrl_register_map and pinctrl_unregister_map.
      
      pinctrl_register_map allows the devicetree code to tell the core to
      not memdup the mappings as it retains ownership of them and
      pinctrl_unregister_map does the unregistering, note this only works
      when the mappings where not memdupped.
      
      The only code relying on the memdup/shallow-copy done by
      pinctrl_register_mappings is arch/arm/mach-u300/core.c this commit
      replaces the __initdata with const, so that the shallow-copy is no
      longer necessary.
      
      After that we can get rid of the internal pinctrl_unregister_map function
      and just use pinctrl_register_mappings directly everywhere.
      
      This commit also renames pinctrl_unregister_map to
      pinctrl_unregister_mappings so that its naming matches its
      pinctrl_register_mappings counter-part and exports it.
      
      Together these 2 changes will allow non-dt platform code to
      register pinctrl-mappings from modules without breaking things on
      module unload (as they can now unregister the mapping on unload).
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Link: https://lore.kernel.org/r/20191216205122.1850923-2-hdegoede@redhat.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      c72bed23
  8. 28 Dec, 2019 1 commit
  9. 23 Dec, 2019 2 commits
  10. 22 Dec, 2019 4 commits
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.5-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · c6017471
      Linus Torvalds authored
      Pull xfs fixes from Darrick Wong:
       "Fix a few bugs that could lead to corrupt files, fsck complaints, and
        filesystem crashes:
      
         - Minor documentation fixes
      
         - Fix a file corruption due to read racing with an insert range
           operation.
      
         - Fix log reservation overflows when allocating large rt extents
      
         - Fix a buffer log item flags check
      
         - Don't allow administrators to mount with sunit= options that will
           cause later xfs_repair complaints about the root directory being
           suspicious because the fs geometry appeared inconsistent
      
         - Fix a non-static helper that should have been static"
      
      * tag 'xfs-5.5-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: Make the symbol 'xfs_rtalloc_log_count' static
        xfs: don't commit sunit/swidth updates to disk if that would cause repair failures
        xfs: split the sunit parameter update into two parts
        xfs: refactor agfl length computation function
        libxfs: resync with the userspace libxfs
        xfs: use bitops interface for buf log item AIL flag check
        xfs: fix log reservation overflows when allocating large rt extents
        xfs: stabilize insert range start boundary to avoid COW writeback race
        xfs: fix Sphinx documentation warning
      c6017471
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · a3965607
      Linus Torvalds authored
      Pull ext4 bug fixes from Ted Ts'o:
       "Ext4 bug fixes, including a regression fix"
      
      * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: clarify impact of 'commit' mount option
        ext4: fix unused-but-set-variable warning in ext4_add_entry()
        jbd2: fix kernel-doc notation warning
        ext4: use RCU API in debug_print_tree
        ext4: validate the debug_want_extra_isize mount option at parse time
        ext4: reserve revoke credits in __ext4_new_inode
        ext4: unlock on error in ext4_expand_extra_isize()
        ext4: optimize __ext4_check_dir_entry()
        ext4: check for directory entries too close to block end
        ext4: fix ext4_empty_dir() for directories with holes
      a3965607
    • Linus Torvalds's avatar
      Merge tag 'block-5.5-20191221' of git://git.kernel.dk/linux-block · 44579f35
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Let's try this one again, this time without the compat_ioctl changes.
        We've got those fixed up, but that can go out next week.
      
        This contains:
      
         - block queue flush lockdep annotation (Bart)
      
         - Type fix for bsg_queue_rq() (Bart)
      
         - Three dasd fixes (Stefan, Jan)
      
         - nbd deadlock fix (Mike)
      
         - Error handling bio user map fix (Yang)
      
         - iocost fix (Tejun)
      
         - sbitmap waitqueue addition fix that affects the kyber IO scheduler
           (David)"
      
      * tag 'block-5.5-20191221' of git://git.kernel.dk/linux-block:
        sbitmap: only queue kyber's wait callback if not already active
        block: fix memleak when __blk_rq_map_user_iov() is failed
        s390/dasd: fix typo in copyright statement
        s390/dasd: fix memleak in path handling error case
        s390/dasd/cio: Interpret ccw_device_get_mdc return value correctly
        block: Fix a lockdep complaint triggered by request queue flushing
        block: Fix the type of 'sts' in bsg_queue_rq()
        block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT
        nbd: fix shutdown and recv work deadlock v2
        iocost: over-budget forced IOs should schedule async delay
      44579f35
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · a313c8e0
      Linus Torvalds authored
      Pull KVM fixes from Paolo Bonzini:
       "PPC:
         - Fix a bug where we try to do an ultracall on a system without an
           ultravisor
      
        KVM:
         - Fix uninitialised sysreg accessor
         - Fix handling of demand-paged device mappings
         - Stop spamming the console on IMPDEF sysregs
         - Relax mappings of writable memslots
         - Assorted cleanups
      
        MIPS:
         - Now orphan, James Hogan is stepping down
      
        x86:
         - MAINTAINERS change, so long Radim and thanks for all the fish
         - supported CPUID fixes for AMD machines without SPEC_CTRL"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        MAINTAINERS: remove Radim from KVM maintainers
        MAINTAINERS: Orphan KVM for MIPS
        kvm: x86: Host feature SSBD doesn't imply guest feature AMD_SSBD
        kvm: x86: Host feature SSBD doesn't imply guest feature SPEC_CTRL_SSBD
        KVM: PPC: Book3S HV: Don't do ultravisor calls on systems without ultravisor
        KVM: arm/arm64: Properly handle faulting of device mappings
        KVM: arm64: Ensure 'params' is initialised when looking up sys register
        KVM: arm/arm64: Remove excessive permission check in kvm_arch_prepare_memory_region
        KVM: arm64: Don't log IMP DEF sysreg traps
        KVM: arm64: Sanely ratelimit sysreg messages
        KVM: arm/arm64: vgic: Use wrapper function to lock/unlock all vcpus in kvm_vgic_create()
        KVM: arm/arm64: vgic: Fix potential double free dist->spis in __kvm_vgic_destroy()
        KVM: arm/arm64: Get rid of unused arg in cpu_init_hyp_mode()
      a313c8e0