14 Aug, 2020

1 commit

  • Pull documentation fixes from Jonathan Corbet:
    "A handful of obvious fixes that wandered in during the merge window"

    * tag 'docs-5.9-2' of git://git.lwn.net/linux:
    Documentation/locking/locktypes: fix the typo
    doc/zh_CN: resolve undefined label warning in admin-guide index
    doc/zh_CN: fix title heading markup in admin-guide cpu-load
    docs: remove the 2.6 "Upgrading I2C Drivers" guide
    docs: Correct the release date of 5.2 stable
    mailmap: Update comments for with format and more detalis
    docs: cdrom: Fix a typo and rst markup
    Doc: admin-guide: use correct legends in kernel-parameters.txt
    Documentation/features: refresh RISC-V arch support files
    documentation: coccinelle: Improve command example for make C={1,2}
    Core-api: Documentation: Replace deprecated :c:func: Usage
    Dev-tools: Documentation: Replace deprecated :c:func: Usage
    Filesystems: Documentation: Replace deprecated :c:func: Usage
    docs: trace: fix a typo

    Linus Torvalds
     

12 Aug, 2020

1 commit


05 Aug, 2020

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "It's been a busy cycle for documentation - hopefully the busiest for a
    while to come. Changes include:

    - Some new Chinese translations

    - Progress on the battle against double words words and non-HTTPS
    URLs

    - Some block-mq documentation

    - More RST conversions from Mauro. At this point, that task is
    essentially complete, so we shouldn't see this kind of churn again
    for a while. Unless we decide to switch to asciidoc or
    something...:)

    - Lots of typo fixes, warning fixes, and more"

    * tag 'docs-5.9' of git://git.lwn.net/linux: (195 commits)
    scripts/kernel-doc: optionally treat warnings as errors
    docs: ia64: correct typo
    mailmap: add entry for
    doc/zh_CN: add cpu-load Chinese version
    Documentation/admin-guide: tainted-kernels: fix spelling mistake
    MAINTAINERS: adjust kprobes.rst entry to new location
    devices.txt: document rfkill allocation
    PCI: correct flag name
    docs: filesystems: vfs: correct flag name
    docs: filesystems: vfs: correct sync_mode flag names
    docs: path-lookup: markup fixes for emphasis
    docs: path-lookup: more markup fixes
    docs: path-lookup: fix HTML entity mojibake
    CREDITS: Replace HTTP links with HTTPS ones
    docs: process: Add an example for creating a fixes tag
    doc/zh_CN: add Chinese translation prefer section
    doc/zh_CN: add clearing-warn-once Chinese version
    doc/zh_CN: add admin-guide index
    doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label
    futex: MAINTAINERS: Re-add selftests directory
    ...

    Linus Torvalds
     

24 Jul, 2020

2 commits

  • Fix the following warning:

    Documentation/trace/histogram-design.rst:
    WARNING: document isn't included in any toctree

    By adding 'histogram-design.rst' to the index.

    Signed-off-by: Daniel W. S. Almeida
    Link: https://lore.kernel.org/r/20200718165107.625847-12-dwlsalmeida@gmail.com
    Signed-off-by: Jonathan Corbet

    Daniel W. S. Almeida
     
  • Kprobes contitutes a dynamic tracing technology and as such can be
    moved alongside documentation of other tracing technologies.

    Signed-off-by: Naveen N. Rao
    Acked-by: Masami Hiramatsu
    Link: https://lore.kernel.org/r/8a09c01c64b2e003d5486c4f0c89740618f1bae4.1595331824.git.naveen.n.rao@linux.vnet.ibm.com
    Signed-off-by: Jonathan Corbet

    Naveen N. Rao
     

06 Jul, 2020

4 commits


01 Jul, 2020

1 commit


27 Jun, 2020

1 commit

  • - Just like some media documents, this file is dual licensed
    with GPL and GFDL. As right now the GFDL SPDX definition is
    bogus (as it doesn't tell anything about invariant parts),
    let's not use SPDX here. Let's use, instead, the same test
    as we have on media.
    - Convert title to ReST format;
    - use :field: markup;
    - Proper mark literal blocks as such;
    - Add it to trace/index.rst file.

    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/d350be9b666ca0de441b684b2282ddd76bd7b397.1592918949.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

20 Jun, 2020

1 commit

  • There are several files that I was unable to find a proper place
    for them, and 3 ones that are still in plain old text format.

    Let's place those stuff behind the carpet, as we'd like to keep the
    root directory clean.

    We can later discuss and move those into better places.

    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/11bd0d75e65a874f7c276a0aeab0fe13f3376f5f.1592203650.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

11 Jun, 2020

1 commit

  • Pull more documentation updates from Jonathan Corbet:
    "A handful of late-arriving docs fixes, along with a patch changing a
    lot of HTTP links to HTTPS that had to be yanked and redone before the
    first pull"

    * tag 'docs-5.8-2' of git://git.lwn.net/linux:
    docs/memory-barriers.txt/kokr: smp_mb__{before,after}_atomic(): update Documentation
    Documentation: devres: add missing entry for devm_platform_get_and_ioremap_resource()
    Replace HTTP links with HTTPS ones: documentation
    docs: it_IT: address invalid reference warnings
    doc: zh_CN: use doc reference to resolve undefined label warning
    docs: Update the location of the LF NDA program
    docs: dev-tools: coccinelle: underlines

    Linus Torvalds
     

10 Jun, 2020

1 commit

  • Pull tracing updates from Steven Rostedt:
    "No new features this release. Mostly clean ups, restructuring and
    documentation.

    - Have ftrace_bug() show ftrace errors before the WARN, as the WARN
    will reboot the box before the error messages are printed if
    panic_on_warn is set.

    - Have traceoff_on_warn disable tracing sooner (before prints)

    - Write a message to the trace buffer that its being disabled when
    disable_trace_on_warning() is set.

    - Separate out synthetic events from histogram code to let it be used
    by other parts of the kernel.

    - More documentation on histogram design.

    - Other small fixes and clean ups"

    * tag 'trace-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
    tracing: Remove obsolete PREEMPTIRQ_EVENTS kconfig option
    tracing/doc: Fix ascii-art in histogram-design.rst
    tracing: Add a trace print when traceoff_on_warning is triggered
    ftrace,bug: Improve traceoff_on_warn
    selftests/ftrace: Distinguish between hist and synthetic event checks
    tracing: Move synthetic events to a separate file
    tracing: Fix events.rst section numbering
    tracing/doc: Fix typos in histogram-design.rst
    tracing: Add hist_debug trace event files for histogram debugging
    tracing: Add histogram-design document
    tracing: Check state.disabled in synth event trace functions
    tracing/probe: reverse arguments to list_add
    tools/bootconfig: Add a summary of test cases and return error
    ftrace: show debugging information when panic_on_warn set

    Linus Torvalds
     

08 Jun, 2020

2 commits

  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200526060544.25127-1-grandmaster@al2klimov.de
    Signed-off-by: Jonathan Corbet

    Alexander A. Klimov
     
  • Pull char/misc driver updates from Greg KH:
    "Here is the large set of char/misc driver patches for 5.8-rc1

    Included in here are:

    - habanalabs driver updates, loads

    - mhi bus driver updates

    - extcon driver updates

    - clk driver updates (approved by the clock maintainer)

    - firmware driver updates

    - fpga driver updates

    - gnss driver updates

    - coresight driver updates

    - interconnect driver updates

    - parport driver updates (it's still alive!)

    - nvmem driver updates

    - soundwire driver updates

    - visorbus driver updates

    - w1 driver updates

    - various misc driver updates

    In short, loads of different driver subsystem updates along with the
    drivers as well.

    All have been in linux-next for a while with no reported issues"

    * tag 'char-misc-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (233 commits)
    habanalabs: correctly cast u64 to void*
    habanalabs: initialize variable to default value
    extcon: arizona: Fix runtime PM imbalance on error
    extcon: max14577: Add proper dt-compatible strings
    extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()'
    extcon: remove redundant assignment to variable idx
    w1: omap-hdq: print dev_err if irq flags are not cleared
    w1: omap-hdq: fix interrupt handling which did show spurious timeouts
    w1: omap-hdq: fix return value to be -1 if there is a timeout
    w1: omap-hdq: cleanup to add missing newline for some dev_dbg
    /dev/mem: Revoke mappings when a driver claims the region
    misc: xilinx-sdfec: convert get_user_pages() --> pin_user_pages()
    misc: xilinx-sdfec: cleanup return value in xsdfec_table_write()
    misc: xilinx-sdfec: improve get_user_pages_fast() error handling
    nvmem: qfprom: remove incorrect write support
    habanalabs: handle MMU cache invalidation timeout
    habanalabs: don't allow hard reset with open processes
    habanalabs: GAUDI does not support soft-reset
    habanalabs: add print for soft reset due to event
    habanalabs: improve MMU cache invalidation code
    ...

    Linus Torvalds
     

05 Jun, 2020

1 commit

  • Pull execve updates from Eric Biederman:
    "Last cycle for the Nth time I ran into bugs and quality of
    implementation issues related to exec that could not be easily be
    fixed because of the way exec is implemented. So I have been digging
    into exec and cleanup up what I can.

    I don't think I have exec sorted out enough to fix the issues I
    started with but I have made some headway this cycle with 4 sets of
    changes.

    - promised cleanups after introducing exec_update_mutex

    - trivial cleanups for exec

    - control flow simplifications

    - remove the recomputation of bprm->cred

    The net result is code that is a bit easier to understand and work
    with and a decrease in the number of lines of code (if you don't count
    the added tests)"

    * 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: (24 commits)
    exec: Compute file based creds only once
    exec: Add a per bprm->file version of per_clear
    binfmt_elf_fdpic: fix execfd build regression
    selftests/exec: Add binfmt_script regression test
    exec: Remove recursion from search_binary_handler
    exec: Generic execfd support
    exec/binfmt_script: Don't modify bprm->buf and then return -ENOEXEC
    exec: Move the call of prepare_binprm into search_binary_handler
    exec: Allow load_misc_binary to call prepare_binprm unconditionally
    exec: Convert security_bprm_set_creds into security_bprm_repopulate_creds
    exec: Factor security_bprm_creds_for_exec out of security_bprm_set_creds
    exec: Teach prepare_exec_creds how exec treats uids & gids
    exec: Set the point of no return sooner
    exec: Move handling of the point of no return to the top level
    exec: Run sync_mm_rss before taking exec_update_mutex
    exec: Fix spelling of search_binary_handler in a comment
    exec: Move the comment from above de_thread to above unshare_sighand
    exec: Rename flush_old_exec begin_new_exec
    exec: Move most of setup_new_exec into flush_old_exec
    exec: In setup_new_exec cache current in the local variable me
    ...

    Linus Torvalds
     

04 Jun, 2020

1 commit

  • This fixes the Sphinx parallel build error when building htmldocs:

    docutils.utils.SystemMessage: /home/sfr/next/next/Documentation/trace/histogram-design.rst:219: (SEVERE/4) Unexpected section title.

    It also fixes a bunch of other warnings I noticed when fixing the
    above, caused by mixing ascii-art and text.

    Link: https://lkml.kernel.org/r/69c291c76964642a417e5dd170d183ba6b552010.camel@kernel.org

    Reported-by: Stephen Rothwell
    Tested-by: Stephen Rothwell
    Signed-off-by: Tom Zanussi
    Signed-off-by: Steven Rostedt (VMware)

    Tom Zanussi
     

02 Jun, 2020

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "A fair amount of stuff this time around, dominated by yet another
    massive set from Mauro toward the completion of the RST conversion. I
    *really* hope we are getting close to the end of this. Meanwhile,
    those patches reach pretty far afield to update document references
    around the tree; there should be no actual code changes there. There
    will be, alas, more of the usual trivial merge conflicts.

    Beyond that we have more translations, improvements to the sphinx
    scripting, a number of additions to the sysctl documentation, and lots
    of fixes"

    * tag 'docs-5.8' of git://git.lwn.net/linux: (130 commits)
    Documentation: fixes to the maintainer-entry-profile template
    zswap: docs/vm: Fix typo accept_threshold_percent in zswap.rst
    tracing: Fix events.rst section numbering
    docs: acpi: fix old http link and improve document format
    docs: filesystems: add info about efivars content
    Documentation: LSM: Correct the basic LSM description
    mailmap: change email for Ricardo Ribalda
    docs: sysctl/kernel: document unaligned controls
    Documentation: admin-guide: update bug-hunting.rst
    docs: sysctl/kernel: document ngroups_max
    nvdimm: fixes to maintainter-entry-profile
    Documentation/features: Correct RISC-V kprobes support entry
    Documentation/features: Refresh the arch support status files
    Revert "docs: sysctl/kernel: document ngroups_max"
    docs: move locking-specific documents to locking/
    docs: move digsig docs to the security book
    docs: move the kref doc into the core-api book
    docs: add IRQ documentation at the core-api book
    docs: debugging-via-ohci1394.txt: add it to the core-api book
    docs: fix references for ipmi.rst file
    ...

    Linus Torvalds
     

01 Jun, 2020

3 commits

  • The in-kernel trace event API should have its own section, and the
    duplicate section numbers need fixing as well.

    Link: https://lkml.kernel.org/r/90ea854dfb728390b50ddf8a8675238973ee014a.camel@kernel.org

    Reported-by: Li Xinhai
    Reviewed-by: Li Xinhai
    Signed-off-by: Tom Zanussi
    Signed-off-by: Steven Rostedt (VMware)

    Tom Zanussi
     
  • There's a few typos in the histogram-design.rst document that need need to
    be fixed.

    Cc: Tom Zanussi
    Acked-by: Randy Dunlap
    Signed-off-by: Steven Rostedt (VMware)

    Steven Rostedt (VMware)
     
  • Add a new Documentation/trace/histogram-design.rst file describing the
    ftrace histogram low-level design, meant to help developers trying to
    understand the internals when extending or making use of the hist
    triggers for higher-level tools.

    This documentation refers to the hist_debug files implemented by
    'tracing: Add hist_debug trace event files for histogram debugging' so
    users wishing to try out the test examples here should make sure
    CONFIG_HIST_TRIGGERS_DEBUG is enabled.

    Link: http://lkml.kernel.org/r/256b29c3274bb89a10157c4a8d1a8bce7e74849e.1585941485.git.zanussi@kernel.org

    Signed-off-by: Tom Zanussi
    Signed-off-by: Steven Rostedt (VMware)

    Tom Zanussi
     

26 May, 2020

1 commit

  • The in-kernel trace event API should have its own section, and the
    duplicate section numbers need fixing as well.

    Reported-by: Li Xinhai
    Signed-off-by: Tom Zanussi
    Acked-by: Steven Rostedt (VMware)
    Link: https://lore.kernel.org/r/90ea854dfb728390b50ddf8a8675238973ee014a.camel@kernel.org
    Signed-off-by: Jonathan Corbet

    Tom Zanussi
     

19 May, 2020

3 commits

  • Sphinx wants a line after "..", as otherwise it complains with:

    Documentation/trace/coresight/coresight-ect.rst:2: WARNING: Explicit markup ends without a blank line; unexpected unindent.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Mathieu Poirier
    Link: https://lore.kernel.org/r/20200518180242.7916-8-mathieu.poirier@linaro.org
    Signed-off-by: Greg Kroah-Hartman

    Mauro Carvalho Chehab
     
  • Update the CoreSight documents to describe the new connections directory
    and the links between CoreSight devices in this directory.

    Signed-off-by: Mike Leach
    Signed-off-by: Mathieu Poirier
    Link: https://lore.kernel.org/r/20200518180242.7916-7-mathieu.poirier@linaro.org
    Signed-off-by: Greg Kroah-Hartman

    Mike Leach
     
  • SuperH is the last remaining user of arch_ftrace_nmi_{enter,exit}(),
    remove it from the generic code and into the SuperH code.

    Signed-off-by: Peter Zijlstra (Intel)
    Signed-off-by: Thomas Gleixner
    Reviewed-by: Alexandre Chartre
    Acked-by: Steven Rostedt (VMware)
    Cc: Rich Felker
    Cc: Yoshinori Sato
    Link: https://lkml.kernel.org/r/20200505134101.248881738@linutronix.de

    Peter Zijlstra
     

08 May, 2020

1 commit

  • There is and has been for a very long time been a lot more going on in
    flush_old_exec than just flushing the old state. After the movement
    of code from setup_new_exec there is a whole lot more going on than
    just flushing the old executables state.

    Rename flush_old_exec to begin_new_exec to more accurately reflect
    what this function does.

    Reviewed-by: Kees Cook
    Reviewed-by: Greg Ungerer
    Signed-off-by: "Eric W. Biederman"

    Eric W. Biederman
     

05 May, 2020

1 commit

  • Fix `make htmldocs` warning:

    Documentation/trace/coresight/coresight-ect.rst:2: WARNING: Explicit markup ends without a blank line; unexpected unindent.

    Signed-off-by: Vitor Massaru Iha
    Link: https://lore.kernel.org/r/20200430203612.90404-1-vitor@massaru.org
    Signed-off-by: Jonathan Corbet

    Vitor Massaru Iha
     

06 Apr, 2020

1 commit

  • Pull tracing updates from Steven Rostedt:
    "New tracing features:

    - The ring buffer is no longer disabled when reading the trace file.

    The trace_pipe file was made to be used for live tracing and
    reading as it acted like the normal producer/consumer. As the trace
    file would not consume the data, the easy way of handling it was to
    just disable writes to the ring buffer.

    This came to a surprise to the BPF folks who complained about lost
    events due to reading. This is no longer an issue. If someone wants
    to keep the old disabling there's a new option "pause-on-trace"
    that can be set.

    - New set_ftrace_notrace_pid file. PIDs in this file will not be
    traced by the function tracer.

    Similar to set_ftrace_pid, which makes the function tracer only
    trace those tasks with PIDs in the file, the set_ftrace_notrace_pid
    does the reverse.

    - New set_event_notrace_pid file. PIDs in this file will cause events
    not to be traced if triggered by a task with a matching PID.

    Similar to the set_event_pid file but will not be traced. Note,
    sched_waking and sched_switch events may still be traced if one of
    the tasks referenced by those events contains a PID that is allowed
    to be traced.

    Tracing related features:

    - New bootconfig option, that is attached to the initrd file.

    If bootconfig is on the command line, then the initrd file is
    searched looking for a bootconfig appended at the end.

    - New GPU tracepoint infrastructure to help the gfx drivers to get
    off debugfs (acked by Greg Kroah-Hartman)

    And other minor updates and fixes"

    * tag 'trace-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (27 commits)
    tracing: Do not allocate buffer in trace_find_next_entry() in atomic
    tracing: Add documentation on set_ftrace_notrace_pid and set_event_notrace_pid
    selftests/ftrace: Add test to test new set_event_notrace_pid file
    selftests/ftrace: Add test to test new set_ftrace_notrace_pid file
    tracing: Create set_event_notrace_pid to not trace tasks
    ftrace: Create set_ftrace_notrace_pid to not trace tasks
    ftrace: Make function trace pid filtering a bit more exact
    ftrace/kprobe: Show the maxactive number on kprobe_events
    tracing: Have the document reflect that the trace file keeps tracing enabled
    ring-buffer/tracing: Have iterator acknowledge dropped events
    tracing: Do not disable tracing when reading the trace file
    ring-buffer: Do not disable recording when there is an iterator
    ring-buffer: Make resize disable per cpu buffer instead of total buffer
    ring-buffer: Optimize rb_iter_head_event()
    ring-buffer: Do not die if rb_iter_peek() fails more than thrice
    ring-buffer: Have rb_iter_head_event() handle concurrent writer
    ring-buffer: Add page_stamp to iterator for synchronization
    ring-buffer: Rename ring_buffer_read() to read_buffer_iter_advance()
    ring-buffer: Have ring_buffer_empty() not depend on tracing stopped
    tracing: Save off entry when peeking at next entry
    ...

    Linus Torvalds
     

04 Apr, 2020

1 commit

  • Pull char/misc driver updates from Greg KH:
    "Here is the big set of char/misc/other driver patches for 5.7-rc1.

    Lots of things in here, and it's later than expected due to some
    reverts to resolve some reported issues. All is now clean with no
    reported problems in linux-next.

    Included in here is:
    - interconnect updates
    - mei driver updates
    - uio updates
    - nvmem driver updates
    - soundwire updates
    - binderfs updates
    - coresight updates
    - habanalabs updates
    - mhi new bus type and core
    - extcon driver updates
    - some Kconfig cleanups
    - other small misc driver cleanups and updates

    As mentioned, all have been in linux-next for a while, and with the
    last two reverts, all is calm and good"

    * tag 'char-misc-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (174 commits)
    Revert "driver core: platform: Initialize dma_parms for platform devices"
    Revert "amba: Initialize dma_parms for amba devices"
    amba: Initialize dma_parms for amba devices
    driver core: platform: Initialize dma_parms for platform devices
    bus: mhi: core: Drop the references to mhi_dev in mhi_destroy_device()
    bus: mhi: core: Initialize bhie field in mhi_cntrl for RDDM capture
    bus: mhi: core: Add support for reading MHI info from device
    misc: rtsx: set correct pcr_ops for rts522A
    speakup: misc: Use dynamic minor numbers for speakup devices
    mei: me: add cedar fork device ids
    coresight: do not use the BIT() macro in the UAPI header
    Documentation: provide IBM contacts for embargoed hardware
    nvmem: core: remove nvmem_sysfs_get_groups()
    nvmem: core: use is_bin_visible for permissions
    nvmem: core: use device_register and device_unregister
    nvmem: core: add root_only member to nvmem device struct
    extcon: axp288: Add wakeup support
    extcon: Mark extcon_get_edev_name() function as exported symbol
    extcon: palmas: Hide error messages if gpio returns -EPROBE_DEFER
    dt-bindings: extcon: usbc-cros-ec: convert extcon-usbc-cros-ec.txt to yaml format
    ...

    Linus Torvalds
     

31 Mar, 2020

1 commit

  • Pull power management updates from Rafael Wysocki:
    "These clean up and rework the PM QoS API, address a suspend-to-idle
    wakeup regression on some ACPI-based platforms, clean up and extend a
    few cpuidle drivers, update multiple cpufreq drivers and cpufreq
    documentation, and fix a number of issues in devfreq and several other
    things all over.

    Specifics:

    - Clean up and rework the PM QoS API to simplify the code and reduce
    the size of it (Rafael Wysocki).

    - Fix a suspend-to-idle wakeup regression on Dell XPS13 9370 and
    similar platforms where the USB plug/unplug events are handled by
    the EC (Rafael Wysocki).

    - CLean up the intel_idle and PSCI cpuidle drivers (Rafael Wysocki,
    Ulf Hansson).

    - Extend the haltpoll cpuidle driver so that it can be forced to run
    on some systems where it refused to load (Maciej Szmigiero).

    - Convert several cpufreq documents to the .rst format and move the
    legacy driver documentation into one common file (Mauro Carvalho
    Chehab, Rafael Wysocki).

    - Update several cpufreq drivers:

    * Extend and fix the imx-cpufreq-dt driver (Anson Huang).

    * Improve the -EPROBE_DEFER handling and fix unwanted CPU
    overclocking on i.MX6ULL in imx6q-cpufreq (Anson Huang,
    Christoph Niedermaier).

    * Add support for Krait based SoCs to the qcom driver (Ansuel
    Smith).

    * Add support for OPP_PLUS to ti-cpufreq (Lokesh Vutla).

    * Add platform specific intermediate callbacks support to
    cpufreq-dt and update the imx6q driver (Peng Fan).

    * Simplify and consolidate some pieces of the intel_pstate
    driver and update its documentation (Rafael Wysocki, Alex
    Hung).

    - Fix several devfreq issues:

    * Remove unneeded extern keyword from a devfreq header file and
    use the DEVFREQ_GOV_UPDATE_INTERNAL event name instead of
    DEVFREQ_GOV_INTERNAL (Chanwoo Choi).

    * Fix the handling of dev_pm_qos_remove_request() result
    (Leonard Crestez).

    * Use constant name for userspace governor (Pierre Kuo).

    * Get rid of doc warnings and fix a typo (Christophe JAILLET).

    - Use built-in RCU list checking in some places in the PM core to
    avoid false-positive RCU usage warnings (Madhuparna Bhowmik).

    - Add explicit READ_ONCE()/WRITE_ONCE() annotations to low-level PM
    QoS routines (Qian Cai).

    - Fix removal of wakeup sources to avoid NULL pointer dereferences in
    a corner case (Neeraj Upadhyay).

    - Clean up the handling of hibernate compat ioctls and fix the
    related documentation (Eric Biggers).

    - Update the idle_inject power capping driver to use variable-length
    arrays instead of zero-length arrays (Gustavo Silva).

    - Fix list format in a PM QoS document (Randy Dunlap).

    - Make the cpufreq stats module use scnprintf() to avoid potential
    buffer overflows (Takashi Iwai).

    - Add pm_runtime_get_if_active() to PM-runtime API (Sakari Ailus).

    - Allow no domain-idle-states DT property in generic PM domains (Ulf
    Hansson).

    - Fix a broken y-axis scale in the intel_pstate_tracer utility (Doug
    Smythies)"

    * tag 'pm-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (78 commits)
    cpufreq: intel_pstate: Simplify intel_pstate_cpu_init()
    tools/power/x86/intel_pstate_tracer: fix a broken y-axis scale
    ACPI: PM: s2idle: Refine active GPEs check
    ACPICA: Allow acpi_any_gpe_status_set() to skip one GPE
    PM: sleep: wakeup: Skip wakeup_source_sysfs_remove() if device is not there
    PM / devfreq: Get rid of some doc warnings
    PM / devfreq: Fix handling dev_pm_qos_remove_request result
    PM / devfreq: Fix a typo in a comment
    PM / devfreq: Change to DEVFREQ_GOV_UPDATE_INTERVAL event name
    PM / devfreq: Remove unneeded extern keyword
    PM / devfreq: Use constant name of userspace governor
    ACPI: PM: s2idle: Fix comment in acpi_s2idle_prepare_late()
    cpufreq: qcom: Add support for krait based socs
    cpufreq: imx6q-cpufreq: Improve the logic of -EPROBE_DEFER handling
    cpufreq: Use scnprintf() for avoiding potential buffer overflow
    cpuidle: psci: Split psci_dt_cpu_init_idle()
    PM / Domains: Allow no domain-idle-states DT property in genpd when parsing
    PM / hibernate: Remove unnecessary compat ioctl overrides
    PM: hibernate: fix docs for ioctls that return loff_t via pointer
    Documentation: intel_pstate: update links for references
    ...

    Linus Torvalds
     

28 Mar, 2020

3 commits


21 Mar, 2020

1 commit

  • Add new document covering CTI / CTM usage in CoreSight.

    Add section in coresight.rst introducing CTI and CTM modules with link
    to new document.

    Signed-off-by: Mike Leach
    Reviewed-by: Suzuki K Poulose
    Reviewed-by: Randy Dunlap
    Signed-off-by: Mathieu Poirier
    Link: https://lore.kernel.org/r/20200320165303.13681-11-mathieu.poirier@linaro.org
    Signed-off-by: Greg Kroah-Hartman

    Mike Leach
     

11 Mar, 2020

1 commit

  • Some new chapters were added to the documentation. This caused
    Sphinx to complain, as the literal blocks there are not properly
    tagged as such. Also, a new note added there doesn't follow
    the ReST format.

    This fixes the following warnings:

    Documentation/trace/events.rst:589: WARNING: Definition list ends without a blank line; unexpected unindent.
    Documentation/trace/events.rst:620: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:623: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:626: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:703: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:697: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:722: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:775: WARNING: Definition list ends without a blank line; unexpected unindent.
    Documentation/trace/events.rst:814: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:817: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:820: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:823: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:826: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:829: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:832: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:844: WARNING: Unexpected indentation.
    Documentation/trace/events.rst:845: WARNING: Block quote ends without a blank line; unexpected unindent.
    Documentation/trace/events.rst:849: WARNING: Unexpected indentation.
    Documentation/trace/events.rst:850: WARNING: Block quote ends without a blank line; unexpected unindent.
    Documentation/trace/events.rst:883: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:886: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:889: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:895: WARNING: Bullet list ends without a blank line; unexpected unindent.
    Documentation/trace/events.rst:895: WARNING: Inline emphasis start-string without end-string.
    Documentation/trace/events.rst:968: WARNING: Inline emphasis start-string without end-string.

    Fixes: 34ed63573b66 ("tracing: Documentation for in-kernel synthetic event API")
    Signed-off-by: Mauro Carvalho Chehab
    Reviewed-by: Tom Zanussi
    Acked-by: Steven Rostedt (VMware)
    Link: https://lore.kernel.org/r/afbe367ccb7b9abcb9fab7bc5cb5e0686c105a53.1583250595.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

04 Mar, 2020

1 commit

  • The hwlat tracer runs a loop of width time during a given window. It then
    reports the max latency over a given threshold and records a timestamp. But
    this timestamp is the time after the width has finished, and not the time it
    actually triggered.

    Record the actual time when the latency was greater than the threshold as
    well as the number of times it was greater in a given width per window.

    Signed-off-by: Steven Rostedt (VMware)

    Steven Rostedt (VMware)
     

13 Feb, 2020

2 commits

  • Modify the definitions of the CPU latency QoS trace events to take
    one argument (since PM_QOS_CPU_DMA_LATENCY is always passed as the
    pm_qos_class argument to them) and update the documentation of them
    accordingly (while at it, make it explicitly mention CPU latency QoS
    and relocate it after the device PM QoS trace events documentation).

    The names and output format of the trace events do not change to
    preserve user space compatibility.

    No intentional functional impact.

    Signed-off-by: Rafael J. Wysocki
    Reviewed-by: Ulf Hansson
    Reviewed-by: Amit Kucheria
    Tested-by: Amit Kucheria

    Rafael J. Wysocki
     
  • The pm_qos_update_request_timeout() function is not called from
    anywhere, so drop it along with the work member in struct
    pm_qos_request needed by it.

    Also drop the useless pm_qos_update_request_timeout trace event
    that is only triggered by that function (so it never triggers at
    all) and update the trace events documentation accordingly.

    Signed-off-by: Rafael J. Wysocki
    Reviewed-by: Ulf Hansson
    Reviewed-by: Amit Kucheria
    Tested-by: Amit Kucheria

    Rafael J. Wysocki
     

08 Feb, 2020

1 commit

  • Pull Documentation fixes from Jonathan Corbet:
    "A handful of small documentation fixes that wandered in"

    * tag 'docs-5.6-2' of git://git.lwn.net/linux:
    Allow git builds of Sphinx
    Documentation: changes.rst: update several outdated project URLs
    Documentation: build warnings related to missing blank lines after explicit markups has been fixed
    mailmap: add entry for Tiezhu Yang
    Documentation/ko_KR/howto: Update a broken link
    Documentation/ko_KR/howto: Update broken web addresses
    docs/locking: Fix outdated section names

    Linus Torvalds