26 Apr, 2019

21 commits


28 Mar, 2019

1 commit


25 Mar, 2019

13 commits

  • Linus Torvalds
     
  • Pull ext4 fixes from Ted Ts'o:
    "Miscellaneous ext4 bug fixes for 5.1"

    * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
    ext4: prohibit fstrim in norecovery mode
    ext4: cleanup bh release code in ext4_ind_remove_space()
    ext4: brelse all indirect buffer in ext4_ind_remove_space()
    ext4: report real fs size after failed resize
    ext4: add missing brelse() in add_new_gdb_meta_bg()
    ext4: remove useless ext4_pin_inode()
    ext4: avoid panic during forced reboot
    ext4: fix data corruption caused by unaligned direct AIO
    ext4: fix NULL pointer dereference while journal is aborted

    Linus Torvalds
     
  • Pull scheduler updates from Thomas Gleixner:
    "Third more careful attempt for this set of fixes:

    - Prevent a 32bit math overflow in the cpufreq code

    - Fix a buffer overflow when scanning the cgroup2 cpu.max property

    - A set of fixes for the NOHZ scheduler logic to prevent waking up
    CPUs even if the capacity of the busy CPUs is sufficient along with
    other tweaks optimizing the behaviour for asymmetric systems
    (big/little)"

    * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    sched/fair: Skip LLC NOHZ logic for asymmetric systems
    sched/fair: Tune down misfit NOHZ kicks
    sched/fair: Comment some nohz_balancer_kick() kick conditions
    sched/core: Fix buffer overflow in cgroup2 property cpu.max
    sched/cpufreq: Fix 32-bit math overflow

    Linus Torvalds
     
  • Pull perf updates from Thomas Gleixner:
    "A larger set of perf updates.

    Not all of them are strictly fixes, but that's solely the tip
    maintainers fault as they let the timely -rc1 pull request fall
    through the cracks for various reasons including travel. So I'm
    sending this nevertheless because rebasing and distangling fixes and
    updates would be a mess and risky as well. As of tomorrow, a strict
    fixes separation is happening again. Sorry for the slip-up.

    Kernel:

    - Handle RECORD_MMAP vs. RECORD_MMAP2 correctly so different
    consumers of the mmap event get what they requested.

    Tools:

    - A larger set of updates to perf record/report/scripts vs. time
    stamp handling

    - More Python3 fixups

    - A pile of memory leak plumbing

    - perf BPF improvements and fixes

    - Finalize the perf.data directory storage"

    [ Note: the kernel part is strictly a fix, the updates are purely to
    tooling - Linus ]

    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (75 commits)
    perf bpf: Show more BPF program info in print_bpf_prog_info()
    perf bpf: Extract logic to create program names from perf_event__synthesize_one_bpf_prog()
    perf tools: Save bpf_prog_info and BTF of new BPF programs
    perf evlist: Introduce side band thread
    perf annotate: Enable annotation of BPF programs
    perf build: Check what binutils's 'disassembler()' signature to use
    perf bpf: Process PERF_BPF_EVENT_PROG_LOAD for annotation
    perf symbols: Introduce DSO_BINARY_TYPE__BPF_PROG_INFO
    perf feature detection: Add -lopcodes to feature-libbfd
    perf top: Add option --no-bpf-event
    perf bpf: Save BTF information as headers to perf.data
    perf bpf: Save BTF in a rbtree in perf_env
    perf bpf: Save bpf_prog_info information as headers to perf.data
    perf bpf: Save bpf_prog_info in a rbtree in perf_env
    perf bpf: Make synthesize_bpf_events() receive perf_session pointer instead of perf_tool
    perf bpf: Synthesize bpf events with bpf_program__get_prog_info_linear()
    bpftool: use bpf_program__get_prog_info_linear() in prog.c:do_dump()
    tools lib bpf: Introduce bpf_program__get_prog_info_linear()
    perf record: Replace option --bpf-event with --no-bpf-event
    perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test()
    ...

    Linus Torvalds
     
  • Pull x86 fixes from Thomas Gleixner:
    "A set of x86 fixes:

    - Prevent potential NULL pointer dereferences in the HPET and HyperV
    code

    - Exclude the GART aperture from /proc/kcore to prevent kernel
    crashes on access

    - Use the correct macros for Cyrix I/O on Geode processors

    - Remove yet another kernel address printk leak

    - Announce microcode reload completion as requested by quite some
    people. Microcode loading has become popular recently.

    - Some 'Make Clang' happy fixlets

    - A few cleanups for recently added code"

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/gart: Exclude GART aperture from kcore
    x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error
    x86/mm/pti: Make local symbols static
    x86/cpu/cyrix: Remove {get,set}Cx86_old macros used for Cyrix processors
    x86/cpu/cyrix: Use correct macros for Cyrix calls on Geode processors
    x86/microcode: Announce reload operation's completion
    x86/hyperv: Prevent potential NULL pointer dereference
    x86/hpet: Prevent potential NULL pointer dereference
    x86/lib: Fix indentation issue, remove extra tab
    x86/boot: Restrict header scope to make Clang happy
    x86/mm: Don't leak kernel addresses
    x86/cpufeature: Fix various quality problems in the header

    Linus Torvalds
     
  • Pull timer fixes from Thomas Gleixner:
    "A set of small fixes plus the removal of stale board support code:

    - Remove the board support code from the clpx711x clocksource driver.
    This change had fallen through the cracks and I'm sending it now
    rather than dealing with people who want to improve that stale code
    for 3 month.

    - Use the proper clocksource mask on RICSV

    - Make local scope functions and variables static"

    * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    clocksource/drivers/clps711x: Remove board support
    clocksource/drivers/riscv: Fix clocksource mask
    clocksource/drivers/mips-gic-timer: Make gic_compare_irqaction static
    clocksource/drivers/timer-ti-dm: Make omap_dm_timer_set_load_start() static
    clocksource/drivers/tcb_clksrc: Make tc_clksrc_suspend/resume() static
    clocksource/drivers/clps711x: Make clps711x_clksrc_init() static
    time/jiffies: Make refined_jiffies static

    Linus Torvalds
     
  • Pull locking fixes from Thomas Gleixner:
    "Two small fixes:

    - Cure a recently introduces error path hickup which tries to
    unregister a not registered lockdep key in te workqueue code

    - Prevent unaligned cmpxchg() crashes in the robust list handling
    code by sanity checking the user space supplied futex pointer"

    * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    futex: Ensure that futex address is aligned in handle_futex_death()
    workqueue: Only unregister a registered lockdep key

    Linus Torvalds
     
  • Pull irq fixes from Thomas Gleixner:
    "A set of fixes for the interrupt subsystem:

    - Remove secondary GIC support on systems w/o device-tree support

    - A set of small fixlets in various irqchip drivers

    - static and fall-through annotations

    - Kernel doc and typo fixes"

    * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    genirq: Mark expected switch case fall-through
    genirq/devres: Remove excess parameter from kernel doc
    irqchip/irq-mvebu-sei: Make mvebu_sei_ap806_caps static
    irqchip/mbigen: Don't clear eventid when freeing an MSI
    irqchip/stm32: Don't set rising configuration registers at init
    irqchip/stm32: Don't clear rising/falling config registers at init
    dt-bindings: irqchip: renesas-irqc: Document r8a774c0 support
    irqchip/mmp: Make mmp_irq_domain_ops static
    irqchip/brcmstb-l2: Make two init functions static
    genirq: Fix typo in comment of IRQD_MOVE_PCNTXT
    irqchip/gic-v3-its: Fix comparison logic in lpi_range_cmp
    irqchip/gic: Drop support for secondary GIC in non-DT systems
    irqchip/imx-irqsteer: Fix of_property_read_u32() error handling

    Linus Torvalds
     
  • Pull core fixes from Thomas Gleixner:
    "Two small fixes:

    - Move the large objtool_file struct off the stack so objtool works
    in setups with a tight stack limit.

    - Make a few variables static in the watchdog core code"

    * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    watchdog/core: Make variables static
    objtool: Move objtool_file struct off the stack

    Linus Torvalds
     
  • Pull thermal management fixes from Zhang Rui:

    - Fix a wrong __percpu structure declaration in intel_powerclamp driver
    (Luc Van Oostenryck)

    - Fix truncated name of the idle injection kthreads created by
    intel_powerclamp driver (Zhang Rui)

    - Fix the missing UUID supports in int3400 thermal driver (Matthew
    Garrett)

    - Fix a crash when accessing the debugfs of bcm2835 SoC thermal driver
    (Phil Elwell)

    - A couple of trivial fixes/cleanups in some SoC thermal drivers

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux:
    thermal/intel_powerclamp: fix truncated kthread name
    thermal: mtk: Allocate enough space for mtk_thermal.
    thermal/int340x_thermal: fix mode setting
    thermal/int340x_thermal: Add additional UUIDs
    thermal: cpu_cooling: Remove unused cur_freq variable
    thermal: bcm2835: Fix crash in bcm2835_thermal_debugfs
    thermal: samsung: Fix incorrect check after code merge
    thermal/intel_powerclamp: fix __percpu declaration of worker_data

    Linus Torvalds
     
  • Pull smb3 fixes from Steve French:

    - two fixes for stable for guest mount problems with smb3.1.1

    - two fixes for crediting (SMB3 flow control) on resent requests

    - a byte range lock leak fix

    - two fixes for incorrect rc mappings

    * tag '5.1-rc1-cifs-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6:
    cifs: update internal module version number
    SMB3: Fix SMB3.1.1 guest mounts to Samba
    cifs: Fix slab-out-of-bounds when tracing SMB tcon
    cifs: allow guest mounts to work for smb3.11
    fix incorrect error code mapping for OBJECTID_NOT_FOUND
    cifs: fix that return -EINVAL when do dedupe operation
    CIFS: Fix an issue with re-sending rdata when transport returning -EAGAIN
    CIFS: Fix an issue with re-sending wdata when transport returning -EAGAIN

    Linus Torvalds
     
  • Pull auxdisplay updates from Miguel Ojeda:
    "A few fixes and improvements for auxdisplay:

    - Series to fix a memory leak in hd44780 while introducing
    charlcd_free(). From Andy Shevchenko

    - Series to clean up the Kconfig menus and a couple of improvements
    for charlcd. From Mans Rullgard"

    * tag 'auxdisplay-for-linus-v5.1-rc2' of git://github.com/ojeda/linux:
    auxdisplay: charlcd: make backlight initial state configurable
    auxdisplay: charlcd: simplify init message display
    auxdisplay: deconfuse configuration
    auxdisplay: hd44780: Convert to use charlcd_free()
    auxdisplay: panel: Convert to use charlcd_free()
    auxdisplay: charlcd: Introduce charlcd_free() helper
    auxdisplay: charlcd: Move to_priv() to charlcd namespace
    auxdisplay: hd44780: Fix memory leak on ->remove()

    Linus Torvalds
     
  • Pull SCSI fixes from James Bottomley:
    "Six fixes to four drivers and two core fixes.

    One core fix simply corrects a missed destroy_rcu_head() but the other
    is hopefully the end of an ongoing effort to make suspend/resume play
    nicely with scsi quiesce"

    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
    scsi: ibmvscsi: Fix empty event pool access during host removal
    scsi: ibmvscsi: Protect ibmvscsi_head from concurrent modificaiton
    scsi: hisi_sas: Add softreset in hisi_sas_I_T_nexus_reset()
    scsi: qla2xxx: Fix NULL pointer crash due to stale CPUID
    scsi: qla2xxx: Fix FC-AL connection target discovery
    scsi: core: Avoid that a kernel warning appears during system resume
    scsi: core: Also call destroy_rcu_head() for passthrough requests
    scsi: iscsi: flush running unbind operations when removing a session

    Linus Torvalds
     

24 Mar, 2019

5 commits

  • Since board support for the CLPS711X platform was removed,
    remove the board support from the clps711x-timer driver.

    Signed-off-by: Alexander Shiyan
    Signed-off-by: Thomas Gleixner
    Acked-by: Arnd Bergmann
    Cc: Daniel Lezcano
    Link: https://lkml.kernel.org/r/20181220111626.17140-1-shc_work@mail.ru

    Alexander Shiyan
     
  • Pull io_uring fixes and improvements from Jens Axboe:
    "The first five in this series are heavily inspired by the work Al did
    on the aio side to fix the races there.

    The last two re-introduce a feature that was in io_uring before it got
    merged, but which I pulled since we didn't have a good way to have
    BVEC iters that already have a stable reference. These aren't
    necessarily related to block, it's just how io_uring pins fixed
    buffers"

    * tag 'io_uring-20190323' of git://git.kernel.dk/linux-block:
    block: add BIO_NO_PAGE_REF flag
    iov_iter: add ITER_BVEC_FLAG_NO_REF flag
    io_uring: mark me as the maintainer
    io_uring: retry bulk slab allocs as single allocs
    io_uring: fix poll races
    io_uring: fix fget/fput handling
    io_uring: add prepped flag
    io_uring: make io_read/write return an integer
    io_uring: use regular request ref counts

    Linus Torvalds
     
  • Pull block fixes from Jens Axboe:
    "A set of fixes/changes that should go into this series. This contains:

    - Kernel doc / comment updates (Bart, Shenghui)

    - Un-export of core-only used function (Bart)

    - Fix race on loop file access (Dongli)

    - pf/pcd queue cleanup fixes (me)

    - Use appropriate helper for RESTART bit set (Yufen)

    - Use named identifier for classic poll (Yufen)"

    * tag 'for-linus-20190323' of git://git.kernel.dk/linux-block:
    sbitmap: trivial - update comment for sbitmap_deferred_clear_bit
    blkcg: Fix kernel-doc warnings
    blk-iolatency: #include "blk.h"
    block: Unexport blk_mq_add_to_requeue_list()
    block: add BLK_MQ_POLL_CLASSIC for hybrid poll and return EINVAL for unexpected value
    blk-mq: remove unused 'nr_expired' from blk_mq_hw_ctx
    loop: access lo_backing_file only when the loop device is Lo_bound
    blk-mq: use blk_mq_sched_mark_restart_hctx to set RESTART
    paride/pcd: cleanup queues when detection fails
    paride/pf: cleanup queues when detection fails

    Linus Torvalds
     
  • Pull ceph fixes from Ilya Dryomov:
    "A follow up for the new alloc_size logic and a blacklisting fix,
    marked for stable"

    * tag 'ceph-for-5.1-rc2' of git://github.com/ceph/ceph-client:
    rbd: drop wait_for_latest_osdmap()
    libceph: wait for latest osdmap in ceph_monc_blacklist_add()
    rbd: set io_min, io_opt and discard_granularity to alloc_size

    Linus Torvalds
     
  • The ext4 fstrim implementation uses the block bitmaps to find free space
    that can be discarded. If we haven't replayed the journal, the bitmaps
    will be stale and we absolutely *cannot* use stale metadata to zap the
    underlying storage.

    Signed-off-by: Darrick J. Wong
    Signed-off-by: Theodore Ts'o

    Darrick J. Wong