1. 31 Oct, 2018 30 commits
  2. 30 Oct, 2018 9 commits
    • Linus Torvalds's avatar
      Merge tag 'trace-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 343a9f35
      Linus Torvalds authored
      Pull tracing updates from Steven Rostedt:
       "The biggest change here is the updates to kprobes
      
        Back in January I posted patches to create function based events.
        These were the events that you suggested I make to allow developers to
        easily create events in code where no trace event exists. After
        posting those changes for review, it was suggested that we implement
        this instead with kprobes.
      
        The problem with kprobes is that the interface is too complex and
        needs to be simplified. Masami Hiramatsu posted patches in March and
        I've been playing with them a bit. There's been a bit of clean up in
        the kprobe code that was inspired by the function based event patches,
        and a couple of enhancements to the kprobe event interface.
      
         - If the arch supports it (we added support for x86), you can place a
           kprobe event at the start of a function and use $arg1, $arg2, etc
           to reference the arguments of a function. (Before you needed to
           know what register or where on the stack the argument was).
      
         - The second is a way to see array of events. For example, if you
           reference a mac address, you can add:
      
      	echo 'p:mac ip_rcv perm_addr=+574($arg2):x8[6]' > kprobe_events
      
           And this will produce:
      
      	mac: (ip_rcv+0x0/0x140) perm_addr={0x52,0x54,0x0,0xc0,0x76,0xec}
      
        Other changes include
      
         - Exporting trace_dump_stack to modules
      
         - Have the stack tracer trace the entire stack (stop trying to remove
           tracing itself, as we keep removing too much).
      
         - Added support for SDT in uprobes"
      
      [ SDT - "Statically Defined Tracing" are userspace markers for tracing.
        Let's not use random TLA's in explanations unless they are fairly
        well-established as generic (at least for kernel people) - Linus ]
      
      * tag 'trace-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (24 commits)
        tracing: Have stack tracer trace full stack
        tracing: Export trace_dump_stack to modules
        tracing: probeevent: Fix uninitialized used of offset in parse args
        tracing/kprobes: Allow kprobe-events to record module symbol
        tracing/kprobes: Check the probe on unloaded module correctly
        tracing/uprobes: Fix to return -EFAULT if copy_from_user failed
        tracing: probeevent: Add $argN for accessing function args
        x86: ptrace: Add function argument access API
        tracing: probeevent: Add array type support
        tracing: probeevent: Add symbol type
        tracing: probeevent: Unify fetch_insn processing common part
        tracing: probeevent: Append traceprobe_ for exported function
        tracing: probeevent: Return consumed bytes of dynamic area
        tracing: probeevent: Unify fetch type tables
        tracing: probeevent: Introduce new argument fetching code
        tracing: probeevent: Remove NOKPROBE_SYMBOL from print functions
        tracing: probeevent: Cleanup argument field definition
        tracing: probeevent: Cleanup print argument functions
        trace_uprobe: support reference counter in fd-based uprobe
        perf probe: Support SDT markers having reference counter (semaphore)
        ...
      343a9f35
    • Linus Torvalds's avatar
      Merge tag 'trace-v4.19-rc8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · f4267b36
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
       "Masami had a couple more fixes to the synthetic events. One was a
        proper error return value, and the other is for the self tests"
      
      * tag 'trace-v4.19-rc8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        selftests/ftrace: Fix synthetic event test to delete event correctly
        tracing: Return -ENOENT if there is no target synthetic event
      f4267b36
    • Linus Torvalds's avatar
      Merge tag 'for-linus-4.20a-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 5b4c0d87
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
       "Only several small fixes and cleanups this time"
      
      * tag 'for-linus-4.20a-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen: drop writing error messages to xenstore
        xen/pvh: don't try to unplug emulated devices
        add myself as reviewer for Xen support in Linux
        xen: remove redundant 'default n' from Kconfig
        xen/balloon: Support xend-based toolstack
        xen/pvh: increase early stack size
        xen: make xen_qlock_wait() nestable
        xen: fix race in xen_qlock_wait()
        xen/balloon: Grammar s/Is it/It is/
        xen: Make XEN_BACKEND selectable by DomU
      5b4c0d87
    • Linus Torvalds's avatar
      Merge tag 'acpi-4.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · c2101d01
      Linus Torvalds authored
      Pull more ACPI updates from Rafael Wysocki:
       "Rework the handling of the P-unit semaphore on Intel Baytrail and
        Cherrytrail systems to avoid race conditions and excessive overhead
        related to it (Hans de Goede)"
      
      * tag 'acpi-4.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI / PMIC: xpower: Add depends on IOSF_MBI to Kconfig entry
        i2c: designware: Cleanup bus lock handling
        ACPI / PMIC: xpower: Block P-Unit I2C access during read-modify-write
        x86: baytrail/cherrytrail: Rework and move P-Unit PMIC bus semaphore code
      c2101d01
    • Linus Torvalds's avatar
      Merge tag 'pm-4.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 6ef74676
      Linus Torvalds authored
      Pull more power management updates from Rafael Wysocki:
       "These remove a questionable heuristic from the menu cpuidle governor,
        fix a recent build regression in the intel_pstate driver, clean up ARM
        big-Little support in cpufreq and fix up hung task watchdog's
        interaction with system-wide power management transitions.
      
        Specifics:
      
         - Fix build regression in the intel_pstate driver that doesn't build
           without CONFIG_ACPI after recent changes (Dominik Brodowski).
      
         - One of the heuristics in the menu cpuidle governor is based on a
           function returning 0 most of the time, so drop it and clean up the
           scheduler code related to it (Daniel Lezcano).
      
         - Prevent the arm_big_little cpufreq driver from being used on ARM64
           which is not suitable for it and drop the arm_big_little_dt driver
           that is not used any more (Sudeep Holla).
      
         - Prevent the hung task watchdog from triggering during resume from
           system-wide sleep states by disabling it before freezing tasks and
           enabling it again after they have been thawed (Vitaly Kuznetsov)"
      
      * tag 'pm-4.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        kernel: hung_task.c: disable on suspend
        cpufreq: remove unused arm_big_little_dt driver
        cpufreq: drop ARM_BIG_LITTLE_CPUFREQ support for ARM64
        cpufreq: intel_pstate: Fix compilation for !CONFIG_ACPI
        cpuidle: menu: Remove get_loadavg() from the performance multiplier
        sched: Factor out nr_iowait and nr_iowait_cpu
      6ef74676
    • Linus Torvalds's avatar
      Merge tag 'for-4.20-part2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 85b5d4bc
      Linus Torvalds authored
      Pull more btrfs updates from David Sterba:
       "This contains a few minor updates and fixes that were under testing or
        arrived shortly after the merge window freeze, mostly stable material"
      
      * tag 'for-4.20-part2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        Btrfs: fix use-after-free when dumping free space
        Btrfs: fix use-after-free during inode eviction
        btrfs: move the dio_sem higher up the callchain
        btrfs: don't run delayed_iputs in commit
        btrfs: fix insert_reserved error handling
        btrfs: only free reserved extent if we didn't insert it
        btrfs: don't use ctl->free_space for max_extent_size
        btrfs: set max_extent_size properly
        btrfs: reset max_extent_size properly
        MAINTAINERS: update my email address for btrfs
        btrfs: delayed-ref: extract find_first_ref_head from find_ref_head
        Btrfs: fix deadlock when writing out free space caches
        Btrfs: fix assertion on fsync of regular file when using no-holes feature
        Btrfs: fix null pointer dereference on compressed write path error
      85b5d4bc
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpuidle' and 'pm-cpufreq' · c4ac6889
      Rafael J. Wysocki authored
      * pm-cpuidle:
        cpuidle: menu: Remove get_loadavg() from the performance multiplier
        sched: Factor out nr_iowait and nr_iowait_cpu
      
      * pm-cpufreq:
        cpufreq: remove unused arm_big_little_dt driver
        cpufreq: drop ARM_BIG_LITTLE_CPUFREQ support for ARM64
        cpufreq: intel_pstate: Fix compilation for !CONFIG_ACPI
      c4ac6889
    • Linus Torvalds's avatar
      Merge tag 'rpmsg-v4.20' of git://github.com/andersson/remoteproc · 11743c56
      Linus Torvalds authored
      Pull rpmsg updates from Bjorn Andersson:
       "This migrates rpmsg_char to use read/write_iter to allow being
        operated using aio, removes the message size alignment requirements
        from glink, closes a potential memory leak in SMD and switches to
        %pOFn for printing device_node names"
      
      * tag 'rpmsg-v4.20' of git://github.com/andersson/remoteproc:
        rpmsg: glink: smem: Support rx peak for size less than 4 bytes
        rpmsg: smd: fix memory leak on channel create
        rpmsg: glink: Remove chunk size word align warning
        rpmsg: Convert to using %pOFn instead of device_node.name
        rpmsg: char: Migrate to iter versions of read and write
      11743c56
    • Linus Torvalds's avatar
      Merge tag 'rproc-v4.20' of git://github.com/andersson/remoteproc · 929e134c
      Linus Torvalds authored
      Pull remoteproc updates from Bjorn Andersson:
       "This contains a series of patches that reworks the memory carveout
        handling in remoteproc, in order to allow this to be reused for
        statically allocated memory regions to be used for e.g. firmware.
      
        It adds support for audio DSP (both TZ-assisted and non-TZ assisted)
        and compute DSP on Qualcomm SDM845, TZ-assisted audio DSP, compute DSP
        and WiFi processor on Qualcomm QCS404 and through some renaming of the
        drivers cleans up the naming situation.
      
        Finally support for custom coreudmp segment handlers is added and is
        used in the Qualcomm modem remoteproc driver to gather memory dumps of
        the firmware"
      
      * tag 'rproc-v4.20' of git://github.com/andersson/remoteproc: (36 commits)
        remoteproc: qcom: q6v5-mss: Register segments/dumpfn for coredump
        remoteproc: qcom: q6v5-mss: Add custom dump function for modem
        remoteproc: qcom: q6v5-mss: Refactor mba load/unload sequence
        remoteproc: Add mechanism for custom dump function assignment
        remoteproc: Introduce custom dump function for each remoteproc segment
        remoteproc: modify vring allocation to rely on centralized carveout allocator
        remoteproc: qcom: q6v5: shore up resource probe handling
        remoteproc: qcom: qcom_q6v5_adsp: Fix some return value check
        remoteproc: modify rproc_handle_carveout to support pre-registered region
        remoteproc: add helper function to check carveout device address
        remoteproc: add helper function to allocate rproc_mem_entry from reserved memory
        remoteproc: add alloc ops in rproc_mem_entry struct
        remoteproc: introduce rproc_find_carveout_by_name function
        remoteproc: introduce rproc_add_carveout function
        remoteproc: add helper function to allocate and init rproc_mem_entry struct
        remoteproc: add name in rproc_mem_entry struct
        remoteproc: add release ops in rproc_mem_entry struct
        remoteproc: add rproc_va_to_pa function
        remoteproc: configure IOMMU only if device address requested
        remoteproc: qcom: q6v5-mss: add SCM probe dependency
        ...
      929e134c
  3. 29 Oct, 2018 1 commit
    • Linus Torvalds's avatar
      Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 4b427452
      Linus Torvalds authored
      Pull ARM SoC platform updates from Arnd Bergmann:
       "A couple of platforms change hands in the MAINTAINERS file:
      
         - Linus Walleij lists himself for the ARM Reference platforms:
           versatile, vexpress, integrator and realview. He has been the main
           contributor for these for a while, and makes it official now.
      
         - Vladimir Zapolskiy takes over the LPC18xx platform from Joachim
           Eastwood
      
         - Manivannan Sadhasivam becomes a secondary maintainer for the
           Actions Semi machines
      
         - Nicolas Ferre lists updates the MAINTAINER listing for the AT91
           platform: Ludovic Desroches is now a co-maintainer for the
           platform, and several other people (Claudiu Beznea, Cristian
           Birsan, Eugen Hristev, Codrin Ciubotariu) take over individual
           device drivers.
      
        Thanks everyone for working on this, and welcome to the new
        maintainers!
      
        The "virt" platform on qemy or kvm can now be used in big-endian mode
        without additional tricks, thanks to Jason Donenfeld.
      
        Once again, we gain support for another NXP i.MX6 variant, this time
        it's the i.MX 6ULZ 32-bit single-core version.
      
        On arm64, we add support for two SoCs from Renesas: RZ/G2E (r8a774c0)
        and RZ/G2M (r8a774a1). These are described as microcontrollers on the
        manufacturer website, but appear to be rather powerful. The RZ/G2M is
        used on the reference board for the CIP Super Long Term Support (SLTS)
        Linux Kernels"
      
      * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (54 commits)
        MAINTAINERS: Assign myself as a maintainer of ARM/LPC18XX architecture
        arm64: exynos: Enable generic power domain support
        MAINTAINERS: remove non-exsiting email address of Baoyou
        MAINTAINERS: fix pattern in ARM/Synaptics berlin SoC section
        MAINTAINERS: Drop dt-bindings/genpd/k2g.h
        ARM: samsung: Limit SAMSUNG_PM_CHECK config option to non-Exynos platforms
        arm64: actions: Enable PINCTRL in platforms Kconfig
        MAINTAINERS: Add entry for Actions Semi Owl SoCs DMA driver
        MAINTAINERS: Add entry for Actions Semiconductor Owl I2C driver
        MAINTAINERS: Update clock binding entry for Actions Semi Owl SoCs
        ARM: imx: add i.mx6ulz msl support
        ARM: Assume maintainership of ARM reference designs
        ARM: support big-endian for the virt architecture
        MAINTAINERS: sdhci: move the Microchip entry to proper location
        MAINTAINERS: move former ATMEL entries to proper MICROCHIP location
        MAINTAINERS: remove the / ATMEL string from MICROCHIP entries
        MAINTAINERS: iio: add co-maintainer to SAMA5D2-compatible ADC driver
        MAINTAINERS: pwm: add entry for Microchip pwm driver
        MAINTAINERS: dmaengine: add files to Microchip dma entry
        MAINTAINERS: USB: change maintainer for Microchip USBA gadget driver
        ...
      4b427452