08 Mar, 2020

1 commit

  • Merge Linux stable release v5.4.24 into imx_5.4.y

    * tag 'v5.4.24': (3306 commits)
    Linux 5.4.24
    blktrace: Protect q->blk_trace with RCU
    kvm: nVMX: VMWRITE checks unsupported field before read-only field
    ...

    Signed-off-by: Jason Liu

    Conflicts:
    arch/arm/boot/dts/imx6sll-evk.dts
    arch/arm/boot/dts/imx7ulp.dtsi
    arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
    drivers/clk/imx/clk-composite-8m.c
    drivers/gpio/gpio-mxc.c
    drivers/irqchip/Kconfig
    drivers/mmc/host/sdhci-of-esdhc.c
    drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
    drivers/net/can/flexcan.c
    drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
    drivers/net/ethernet/mscc/ocelot.c
    drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
    drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
    drivers/net/phy/realtek.c
    drivers/pci/controller/mobiveil/pcie-mobiveil-host.c
    drivers/perf/fsl_imx8_ddr_perf.c
    drivers/tee/optee/shm_pool.c
    drivers/usb/cdns3/gadget.c
    kernel/sched/cpufreq.c
    net/core/xdp.c
    sound/soc/fsl/fsl_esai.c
    sound/soc/fsl/fsl_sai.c
    sound/soc/sof/core.c
    sound/soc/sof/imx/Kconfig
    sound/soc/sof/loader.c

    Jason Liu
     

06 Feb, 2020

1 commit

  • commit 2fee1a7cc6b1ce6634bb0f025be2c94a58dfa34d upstream.

    The commit 4585fbcb5331 ("PM / devfreq: Modify the device name as devfreq(X) for
    sysfs") changed the node name to devfreq(x). After this commit, it is not
    possible to get the device name through /sys/class/devfreq/devfreq(X)/*.

    Add new name attribute in order to get device name.

    Cc: stable@vger.kernel.org
    Fixes: 4585fbcb5331 ("PM / devfreq: Modify the device name as devfreq(X) for sysfs")
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Greg Kroah-Hartman

    Chanwoo Choi
     

18 Jan, 2020

3 commits

  • commit 73668309215285366c433489de70d31362987be9 upstream.

    mei client bus added the client protocol version to the device alias,
    but ABI documentation was not updated.

    Fixes: b26864cad1c9 (mei: bus: add client protocol version to the device alias)
    Signed-off-by: Alexander Usyskin
    Signed-off-by: Tomas Winkler
    Link: https://lore.kernel.org/r/20191008005735.12707-1-tomas.winkler@intel.com
    Signed-off-by: Greg Kroah-Hartman

    Alexander Usyskin
     
  • commit f3efc406d67e6236b513c4302133b0c9be74fd99 upstream.

    Add missed "cpld4_version" attribute.

    Fixes: 52675da1d087 ("Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces")
    Signed-off-by: Vadim Pasternak
    Signed-off-by: Andy Shevchenko
    Signed-off-by: Greg Kroah-Hartman

    Vadim Pasternak
     
  • commit f4094826779dcafe7087e80850513b923eeefdeb upstream.

    Fix attribute name from "jtag_enable", which described twice to
    "cpld3_version", which is expected to be instead of second appearance
    of "jtag_enable".

    Fixes: 2752e34442b5 ("Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces")
    Signed-off-by: Vadim Pasternak
    Signed-off-by: Andy Shevchenko
    Signed-off-by: Greg Kroah-Hartman

    Vadim Pasternak
     

02 Dec, 2019

4 commits


25 Nov, 2019

3 commits


04 Nov, 2019

1 commit

  • Some processors may incur a machine check error possibly resulting in an
    unrecoverable CPU lockup when an instruction fetch encounters a TLB
    multi-hit in the instruction TLB. This can occur when the page size is
    changed along with either the physical address or cache type. The relevant
    erratum can be found here:

    https://bugzilla.kernel.org/show_bug.cgi?id=205195

    There are other processors affected for which the erratum does not fully
    disclose the impact.

    This issue affects both bare-metal x86 page tables and EPT.

    It can be mitigated by either eliminating the use of large pages or by
    using careful TLB invalidations when changing the page size in the page
    tables.

    Just like Spectre, Meltdown, L1TF and MDS, a new bit has been allocated in
    MSR_IA32_ARCH_CAPABILITIES (PSCHANGE_MC_NO) and will be set on CPUs which
    are mitigated against this issue.

    Signed-off-by: Vineela Tummalapalli
    Co-developed-by: Pawan Gupta
    Signed-off-by: Pawan Gupta
    Signed-off-by: Paolo Bonzini
    Signed-off-by: Thomas Gleixner

    Vineela Tummalapalli
     

28 Oct, 2019

1 commit

  • Add the documenation for TSX Async Abort. Include the description of
    the issue, how to check the mitigation state, control the mitigation,
    guidance for system administrators.

    [ bp: Add proper SPDX tags, touch ups by Josh and me. ]

    Co-developed-by: Antonio Gomez Iglesias

    Signed-off-by: Pawan Gupta
    Signed-off-by: Antonio Gomez Iglesias
    Signed-off-by: Borislav Petkov
    Signed-off-by: Thomas Gleixner
    Reviewed-by: Mark Gross
    Reviewed-by: Tony Luck
    Reviewed-by: Josh Poimboeuf

    Pawan Gupta
     

28 Sep, 2019

2 commits

  • Pull integrity updates from Mimi Zohar:
    "The major feature in this time is IMA support for measuring and
    appraising appended file signatures. In addition are a couple of bug
    fixes and code cleanup to use struct_size().

    In addition to the PE/COFF and IMA xattr signatures, the kexec kernel
    image may be signed with an appended signature, using the same
    scripts/sign-file tool that is used to sign kernel modules.

    Similarly, the initramfs may contain an appended signature.

    This contained a lot of refactoring of the existing appended signature
    verification code, so that IMA could retain the existing framework of
    calculating the file hash once, storing it in the IMA measurement list
    and extending the TPM, verifying the file's integrity based on a file
    hash or signature (eg. xattrs), and adding an audit record containing
    the file hash, all based on policy. (The IMA support for appended
    signatures patch set was posted and reviewed 11 times.)

    The support for appended signature paves the way for adding other
    signature verification methods, such as fs-verity, based on a single
    system-wide policy. The file hash used for verifying the signature and
    the signature, itself, can be included in the IMA measurement list"

    * 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
    ima: ima_api: Use struct_size() in kzalloc()
    ima: use struct_size() in kzalloc()
    sefltest/ima: support appended signatures (modsig)
    ima: Fix use after free in ima_read_modsig()
    MODSIGN: make new include file self contained
    ima: fix freeing ongoing ahash_request
    ima: always return negative code for error
    ima: Store the measurement again when appraising a modsig
    ima: Define ima-modsig template
    ima: Collect modsig
    ima: Implement support for module-style appended signatures
    ima: Factor xattr_verify() out of ima_appraise_measurement()
    ima: Add modsig appraise_type option for module-style appended signatures
    integrity: Select CONFIG_KEYS instead of depending on it
    PKCS#7: Introduce pkcs7_get_digest()
    PKCS#7: Refactor verify_pkcs7_signature()
    MODSIGN: Export module signature definitions
    ima: initialize the "template" field with the default template

    Linus Torvalds
     
  • Pull watchdog updates from Wim Van Sebroeck:

    - addition of AST2600, i.MX7ULP and F81803 watchdog support

    - removal of the w90x900 and ks8695 drivers

    - ziirave_wdt improvements

    - small fixes and improvements

    * tag 'linux-watchdog-5.4-rc1' of git://www.linux-watchdog.org/linux-watchdog: (51 commits)
    watchdog: f71808e_wdt: Add F81803 support
    watchdog: qcom: remove unnecessary variable from private storage
    watchdog: qcom: support pre-timeout when the bark irq is available
    watchdog: imx_sc: this patch just fixes whitespaces
    watchdog: apseed: Add access_cs0 option for alt-boot
    watchdog: aspeed: add support for dual boot
    watchdog: orion_wdt: use timer1 as a pretimeout
    watchdog: Add i.MX7ULP watchdog support
    dt-bindings: watchdog: Add i.MX7ULP bindings
    dt-bindings: watchdog: sun4i: Add the watchdog clock
    dt-bindings: watchdog: sun4i: Add the watchdog interrupts
    dt-bindings: watchdog: Convert Allwinner watchdog to a schema
    dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings
    watchdog: aspeed: Add support for AST2600
    dt-bindings: watchdog: Add ast2600 compatible
    watchdog: ziirave_wdt: Update checked I2C functionality mask
    watchdog: ziirave_wdt: Drop ziirave_firm_write_block_data()
    watchdog: ziirave_wdt: Fix DOWNLOAD_START payload
    watchdog: ziirave_wdt: Drop status polling code
    watchdog: ziirave_wdt: Fix RESET_PROCESSOR payload
    ...

    Linus Torvalds
     

25 Sep, 2019

2 commits

  • Merge updates from Andrew Morton:

    - a few hot fixes

    - ocfs2 updates

    - almost all of -mm (slab-generic, slab, slub, kmemleak, kasan,
    cleanups, debug, pagecache, memcg, gup, pagemap, memory-hotplug,
    sparsemem, vmalloc, initialization, z3fold, compaction, mempolicy,
    oom-kill, hugetlb, migration, thp, mmap, madvise, shmem, zswap,
    zsmalloc)

    * emailed patches from Andrew Morton : (132 commits)
    mm/zsmalloc.c: fix a -Wunused-function warning
    zswap: do not map same object twice
    zswap: use movable memory if zpool support allocate movable memory
    zpool: add malloc_support_movable to zpool_driver
    shmem: fix obsolete comment in shmem_getpage_gfp()
    mm/madvise: reduce code duplication in error handling paths
    mm: mmap: increase sockets maximum memory size pgoff for 32bits
    mm/mmap.c: refine find_vma_prev() with rb_last()
    riscv: make mmap allocation top-down by default
    mips: use generic mmap top-down layout and brk randomization
    mips: replace arch specific way to determine 32bit task with generic version
    mips: adjust brk randomization offset to fit generic version
    mips: use STACK_TOP when computing mmap base address
    mips: properly account for stack randomization and stack guard gap
    arm: use generic mmap top-down layout and brk randomization
    arm: use STACK_TOP when computing mmap base address
    arm: properly account for stack randomization and stack guard gap
    arm64, mm: make randomization selected by generic topdown mmap layout
    arm64, mm: move generic mmap layout functions to mm
    arm64: consider stack randomization for mmap base only when necessary
    ...

    Linus Torvalds
     
  • Currently, a value of '1" is written to /sys/kernel/slab//shrink
    file to shrink the slab by flushing out all the per-cpu slabs and free
    slabs in partial lists. This can be useful to squeeze out a bit more
    memory under extreme condition as well as making the active object counts
    in /proc/slabinfo more accurate.

    This usually applies only to the root caches, as the SLUB_MEMCG_SYSFS_ON
    option is usually not enabled and "slub_memcg_sysfs=1" not set. Even if
    memcg sysfs is turned on, it is too cumbersome and impractical to manage
    all those per-memcg sysfs files in a real production system.

    So there is no practical way to shrink memcg caches. Fix this by enabling
    a proper write to the shrink sysfs file of the root cache to scan all the
    available memcg caches and shrink them as well. For a non-root memcg
    cache (when SLUB_MEMCG_SYSFS_ON or slub_memcg_sysfs is on), only that
    cache will be shrunk when written.

    On a 2-socket 64-core 256-thread arm64 system with 64k page after
    a parallel kernel build, the the amount of memory occupied by slabs
    before shrinking slabs were:

    # grep task_struct /proc/slabinfo
    task_struct 53137 53192 4288 61 4 : tunables 0 0
    0 : slabdata 872 872 0
    # grep "^S[lRU]" /proc/meminfo
    Slab: 3936832 kB
    SReclaimable: 399104 kB
    SUnreclaim: 3537728 kB

    After shrinking slabs (by echoing "1" to all shrink files):

    # grep "^S[lRU]" /proc/meminfo
    Slab: 1356288 kB
    SReclaimable: 263296 kB
    SUnreclaim: 1092992 kB
    # grep task_struct /proc/slabinfo
    task_struct 2764 6832 4288 61 4 : tunables 0 0
    0 : slabdata 112 112 0

    Link: http://lkml.kernel.org/r/20190723151445.7385-1-longman@redhat.com
    Signed-off-by: Waiman Long
    Acked-by: Roman Gushchin
    Acked-by: Christoph Lameter
    Cc: Pekka Enberg
    Cc: David Rientjes
    Cc: Joonsoo Kim
    Cc: Michal Hocko
    Cc: Johannes Weiner
    Cc: Shakeel Butt
    Cc: Vladimir Davydov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Waiman Long
     

24 Sep, 2019

1 commit

  • Pull backlight updates from Lee Jones:
    "Core Frameworks
    - Obtain scale type through sysfs

    New Functionality:
    - Provide Device Tree functionality in rave-sp-backlight
    - Calculate if scale type is (non-)linear in pwm_bl

    Fix-ups:
    - Simplify code in lm3630a_bl
    - Trivial rename/whitespace/typo fixes in lms283gf05
    - Remove superfluous NULL check in tosa_lcd
    - Fix power state initialisation in gpio_backlight
    - List supported file in MAINTAINERS

    Bug Fixes:
    - Kconfig - default to not building unless requested in
    {LED,BACKLIGHT}_CLASS_DEVICE"

    * tag 'backlight-next-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
    backlight: pwm_bl: Set scale type for brightness curves specified in the DT
    backlight: pwm_bl: Set scale type for CIE 1931 curves
    backlight: Expose brightness curve type through sysfs
    MAINTAINERS: Add entry for stable backlight sysfs ABI documentation
    backlight: gpio-backlight: Correct initial power state handling
    video: backlight: tosa_lcd: drop check because i2c_unregister_device() is NULL safe
    video: backlight: Drop default m for {LCD,BACKLIGHT_CLASS_DEVICE}
    backlight: lms283gf05: Fix a typo in the description passed to 'devm_gpio_request_one()'
    backlight: lm3630a: Switch to use fwnode_property_count_uXX()
    backlight: rave-sp: Leave initial state and register with correct device

    Linus Torvalds
     

23 Sep, 2019

1 commit

  • Pull remoteproc updates from Bjorn Andersson:
    "This exposes the remoteproc's name in sysfs, allows stm32 to enter
    platform standby and provides bug fixes for stm32 and Qualcomm's modem
    remoteproc drivers. Finally it updates MAINTAINERS to reflect the move
    to kernel.org"

    * tag 'rproc-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc:
    MAINTAINERS: remoteproc: update git tree location
    remoteproc: Remove dev_err() usage after platform_get_irq()
    remoteproc: stm32: manage the get_irq probe defer case
    remoteproc: stm32: clear MCU PDDS at firmware start
    remoteproc: qcom: q6v5-mss: fixup q6v5_pds_enable error handling
    remoteproc: Add a sysfs interface for name
    remoteproc: qcom: Move glink_ssr notification after stop

    Linus Torvalds
     

22 Sep, 2019

2 commits

  • Pull f2fs updates from Jaegeuk Kim:
    "In this round, we introduced casefolding support in f2fs, and fixed
    various bugs in individual features such as IO alignment,
    checkpoint=disable, quota, and swapfile.

    Enhancement:
    - support casefolding w/ enhancement in ext4
    - support fiemap for directory
    - support FS_IO_GET|SET_FSLABEL

    Bug fix:
    - fix IO stuck during checkpoint=disable
    - avoid infinite GC loop
    - fix panic/overflow related to IO alignment feature
    - fix livelock in swap file
    - fix discard command leak
    - disallow dio for atomic_write"

    * tag 'f2fs-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (51 commits)
    f2fs: add a condition to detect overflow in f2fs_ioc_gc_range()
    f2fs: fix to add missing F2FS_IO_ALIGNED() condition
    f2fs: fix to fallback to buffered IO in IO aligned mode
    f2fs: fix to handle error path correctly in f2fs_map_blocks
    f2fs: fix extent corrupotion during directIO in LFS mode
    f2fs: check all the data segments against all node ones
    f2fs: Add a small clarification to CONFIG_FS_F2FS_FS_SECURITY
    f2fs: fix inode rwsem regression
    f2fs: fix to avoid accessing uninitialized field of inode page in is_alive()
    f2fs: avoid infinite GC loop due to stale atomic files
    f2fs: Fix indefinite loop in f2fs_gc()
    f2fs: convert inline_data in prior to i_size_write
    f2fs: fix error path of f2fs_convert_inline_page()
    f2fs: add missing documents of reserve_root/resuid/resgid
    f2fs: fix flushing node pages when checkpoint is disabled
    f2fs: enhance f2fs_is_checkpoint_ready()'s readability
    f2fs: clean up __bio_alloc()'s parameter
    f2fs: fix wrong error injection path in inc_valid_block_count()
    f2fs: fix to writeout dirty inode during node flush
    f2fs: optimize case-insensitive lookups
    ...

    Linus Torvalds
     
  • Pull printk updates from Petr Mladek:

    - Fix off-by-one error when calculating messages that might fit into
    kmsg buffer. It causes occasional omitting of the last message.

    - Add missing pointer check in %pD format modifier handling.

    - Some clean up

    * tag 'printk-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk:
    ABI: Update dev-kmsg documentation to match current kernel behaviour
    printk: Replace strncmp() with str_has_prefix()
    lib/test_printf: Remove obvious comments from %pd and %pD tests
    lib/test_printf: Add test of null/invalid pointer dereference for dentry
    vsprintf: Prevent crash when dereferencing invalid pointers for %pD
    printk: Do not lose last line in kmsg buffer dump

    Linus Torvalds
     

21 Sep, 2019

1 commit

  • Pull powerpc updates from Michael Ellerman:
    "This is a bit late, partly due to me travelling, and partly due to a
    power outage knocking out some of my test systems *while* I was
    travelling.

    - Initial support for running on a system with an Ultravisor, which
    is software that runs below the hypervisor and protects guests
    against some attacks by the hypervisor.

    - Support for building the kernel to run as a "Secure Virtual
    Machine", ie. as a guest capable of running on a system with an
    Ultravisor.

    - Some changes to our DMA code on bare metal, to allow devices with
    medium sized DMA masks (> 32 && < 59 bits) to use more than 2GB of
    DMA space.

    - Support for firmware assisted crash dumps on bare metal (powernv).

    - Two series fixing bugs in and refactoring our PCI EEH code.

    - A large series refactoring our exception entry code to use gas
    macros, both to make it more readable and also enable some future
    optimisations.

    As well as many cleanups and other minor features & fixups.

    Thanks to: Adam Zerella, Alexey Kardashevskiy, Alistair Popple, Andrew
    Donnellan, Aneesh Kumar K.V, Anju T Sudhakar, Anshuman Khandual,
    Balbir Singh, Benjamin Herrenschmidt, Cédric Le Goater, Christophe
    JAILLET, Christophe Leroy, Christopher M. Riedl, Christoph Hellwig,
    Claudio Carvalho, Daniel Axtens, David Gibson, David Hildenbrand,
    Desnes A. Nunes do Rosario, Ganesh Goudar, Gautham R. Shenoy, Greg
    Kurz, Guerney Hunt, Gustavo Romero, Halil Pasic, Hari Bathini, Joakim
    Tjernlund, Jonathan Neuschafer, Jordan Niethe, Leonardo Bras, Lianbo
    Jiang, Madhavan Srinivasan, Mahesh Salgaonkar, Mahesh Salgaonkar,
    Masahiro Yamada, Maxiwell S. Garcia, Michael Anderson, Nathan
    Chancellor, Nathan Lynch, Naveen N. Rao, Nicholas Piggin, Oliver
    O'Halloran, Qian Cai, Ram Pai, Ravi Bangoria, Reza Arbab, Ryan Grimm,
    Sam Bobroff, Santosh Sivaraj, Segher Boessenkool, Sukadev Bhattiprolu,
    Thiago Bauermann, Thiago Jung Bauermann, Thomas Gleixner, Tom
    Lendacky, Vasant Hegde"

    * tag 'powerpc-5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (264 commits)
    powerpc/mm/mce: Keep irqs disabled during lockless page table walk
    powerpc: Use ftrace_graph_ret_addr() when unwinding
    powerpc/ftrace: Enable HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
    ftrace: Look up the address of return_to_handler() using helpers
    powerpc: dump kernel log before carrying out fadump or kdump
    docs: powerpc: Add missing documentation reference
    powerpc/xmon: Fix output of XIVE IPI
    powerpc/xmon: Improve output of XIVE interrupts
    powerpc/mm/radix: remove useless kernel messages
    powerpc/fadump: support holes in kernel boot memory area
    powerpc/fadump: remove RMA_START and RMA_END macros
    powerpc/fadump: update documentation about option to release opalcore
    powerpc/fadump: consider f/w load area
    powerpc/opalcore: provide an option to invalidate /sys/firmware/opal/core file
    powerpc/opalcore: export /sys/firmware/opal/core for analysing opal crashes
    powerpc/fadump: update documentation about CONFIG_PRESERVE_FA_DUMP
    powerpc/fadump: add support to preserve crash data on FADUMP disabled kernel
    powerpc/fadump: improve how crashed kernel's memory is reserved
    powerpc/fadump: consider reserved ranges while releasing memory
    powerpc/fadump: make crash memory ranges array allocation generic
    ...

    Linus Torvalds
     

19 Sep, 2019

4 commits

  • Pull networking updates from David Miller:

    1) Support IPV6 RA Captive Portal Identifier, from Maciej Żenczykowski.

    2) Use bio_vec in the networking instead of custom skb_frag_t, from
    Matthew Wilcox.

    3) Make use of xmit_more in r8169 driver, from Heiner Kallweit.

    4) Add devmap_hash to xdp, from Toke Høiland-Jørgensen.

    5) Support all variants of 5750X bnxt_en chips, from Michael Chan.

    6) More RTNL avoidance work in the core and mlx5 driver, from Vlad
    Buslov.

    7) Add TCP syn cookies bpf helper, from Petar Penkov.

    8) Add 'nettest' to selftests and use it, from David Ahern.

    9) Add extack support to drop_monitor, add packet alert mode and
    support for HW drops, from Ido Schimmel.

    10) Add VLAN offload to stmmac, from Jose Abreu.

    11) Lots of devm_platform_ioremap_resource() conversions, from
    YueHaibing.

    12) Add IONIC driver, from Shannon Nelson.

    13) Several kTLS cleanups, from Jakub Kicinski.

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (1930 commits)
    mlxsw: spectrum_buffers: Add the ability to query the CPU port's shared buffer
    mlxsw: spectrum: Register CPU port with devlink
    mlxsw: spectrum_buffers: Prevent changing CPU port's configuration
    net: ena: fix incorrect update of intr_delay_resolution
    net: ena: fix retrieval of nonadaptive interrupt moderation intervals
    net: ena: fix update of interrupt moderation register
    net: ena: remove all old adaptive rx interrupt moderation code from ena_com
    net: ena: remove ena_restore_ethtool_params() and relevant fields
    net: ena: remove old adaptive interrupt moderation code from ena_netdev
    net: ena: remove code duplication in ena_com_update_nonadaptive_moderation_interval _*()
    net: ena: enable the interrupt_moderation in driver_supported_features
    net: ena: reimplement set/get_coalesce()
    net: ena: switch to dim algorithm for rx adaptive interrupt moderation
    net: ena: add intr_moder_rx_interval to struct ena_com_dev and use it
    net: phy: adin: implement Energy Detect Powerdown mode via phy-tunable
    ethtool: implement Energy Detect Powerdown support via phy-tunable
    xen-netfront: do not assume sk_buff_head list is empty in error handling
    s390/ctcm: Delete unnecessary checks before the macro call “dev_kfree_skb”
    net: ena: don't wake up tx queue when down
    drop_monitor: Better sanitize notified packets
    ...

    Linus Torvalds
     
  • Pull crypto updates from Herbert Xu:
    "API:
    - Add the ability to abort a skcipher walk.

    Algorithms:
    - Fix XTS to actually do the stealing.
    - Add library helpers for AES and DES for single-block users.
    - Add library helpers for SHA256.
    - Add new DES key verification helper.
    - Add surrounding bits for ESSIV generator.
    - Add accelerations for aegis128.
    - Add test vectors for lzo-rle.

    Drivers:
    - Add i.MX8MQ support to caam.
    - Add gcm/ccm/cfb/ofb aes support in inside-secure.
    - Add ofb/cfb aes support in media-tek.
    - Add HiSilicon ZIP accelerator support.

    Others:
    - Fix potential race condition in padata.
    - Use unbound workqueues in padata"

    * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (311 commits)
    crypto: caam - Cast to long first before pointer conversion
    crypto: ccree - enable CTS support in AES-XTS
    crypto: inside-secure - Probe transform record cache RAM sizes
    crypto: inside-secure - Base RD fetchcount on actual RD FIFO size
    crypto: inside-secure - Base CD fetchcount on actual CD FIFO size
    crypto: inside-secure - Enable extended algorithms on newer HW
    crypto: inside-secure: Corrected configuration of EIP96_TOKEN_CTRL
    crypto: inside-secure - Add EIP97/EIP197 and endianness detection
    padata: remove cpu_index from the parallel_queue
    padata: unbind parallel jobs from specific CPUs
    padata: use separate workqueues for parallel and serial work
    padata, pcrypt: take CPU hotplug lock internally in padata_alloc_possible
    crypto: pcrypt - remove padata cpumask notifier
    padata: make padata_do_parallel find alternate callback CPU
    workqueue: require CPU hotplug read exclusion for apply_workqueue_attrs
    workqueue: unconfine alloc/apply/free_workqueue_attrs()
    padata: allocate workqueue internally
    arm64: dts: imx8mq: Add CAAM node
    random: Use wait_event_freezable() in add_hwgenerator_randomness()
    crypto: ux500 - Fix COMPILE_TEST warnings
    ...

    Linus Torvalds
     
  • Pull char/misc driver updates from Greg KH:
    "Here is the big char/misc driver pull request for 5.4-rc1.

    As has been happening in previous releases, more and more individual
    driver subsystem trees are ending up in here. Now if that is good or
    bad I can't tell, but hopefully it makes your life easier as it's more
    of an aggregation of trees together to one merge point for you.

    Anyway, lots of stuff in here:
    - habanalabs driver updates
    - thunderbolt driver updates
    - misc driver updates
    - coresight and intel_th hwtracing driver updates
    - fpga driver updates
    - extcon driver updates
    - some dma driver updates
    - char driver updates
    - android binder driver updates
    - nvmem driver updates
    - phy driver updates
    - parport driver fixes
    - pcmcia driver fix
    - uio driver updates
    - w1 driver updates
    - configfs fixes
    - other assorted driver updates

    All of these have been in linux-next for a long time with no reported
    issues"

    * tag 'char-misc-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (200 commits)
    misc: mic: Use PTR_ERR_OR_ZERO rather than its implementation
    habanalabs: correctly cast variable to __le32
    habanalabs: show correct id in error print
    habanalabs: stop using the acronym KMD
    habanalabs: display card name as sensors header
    habanalabs: add uapi to retrieve aggregate H/W events
    habanalabs: add uapi to retrieve device utilization
    habanalabs: Make the Coresight timestamp perpetual
    habanalabs: explicitly set the queue-id enumerated numbers
    habanalabs: print to kernel log when reset is finished
    habanalabs: replace __le32_to_cpu with le32_to_cpu
    habanalabs: replace __cpu_to_le32/64 with cpu_to_le32/64
    habanalabs: Handle HW_IP_INFO if device disabled or in reset
    habanalabs: Expose devices after initialization is done
    habanalabs: improve security in Debug IOCTL
    habanalabs: use default structure for user input in Debug IOCTL
    habanalabs: Add descriptive name to PSOC app status register
    habanalabs: Add descriptive names to PSOC scratch-pad registers
    habanalabs: create two char devices per ASIC
    habanalabs: change device_setup_cdev() to be more generic
    ...

    Linus Torvalds
     
  • Pull staging and IIO driver updates from Greg KH:
    "Here is the big staging/iio driver update for 5.4-rc1.

    Lots of churn here, with a few driver/filesystems moving out of
    staging finally:

    - erofs moved out of staging

    - greybus core code moved out of staging

    Along with that, a new filesytem has been added:

    - extfat

    to provide support for those devices requiring that filesystem (i.e.
    transfer devices to/from windows systems or printers)

    Other than that, there a number of new IIO drivers, and lots and lots
    and lots of staging driver cleanups and minor fixes as people continue
    to dig into those for easy changes.

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

    * tag 'staging-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (453 commits)
    Staging: gasket: Use temporaries to reduce line length.
    Staging: octeon: Avoid several usecases of strcpy
    staging: vhciq_core: replace snprintf with scnprintf
    staging: wilc1000: avoid twice IRQ handler execution for each single interrupt
    staging: wilc1000: remove unused interrupt status handling code
    staging: fbtft: make several arrays static const, makes object smaller
    staging: rtl8188eu: make two arrays static const, makes object smaller
    staging: rtl8723bs: core: Remove Macro "IS_MAC_ADDRESS_BROADCAST"
    dt-bindings: anybus-controller: move to staging/ tree
    staging: emxx_udc: remove local TRUE/FALSE definition
    staging: wilc1000: look for rtc_clk clock
    staging: dt-bindings: wilc1000: add optional rtc_clk property
    staging: nvec: make use of devm_platform_ioremap_resource
    staging: exfat: drop unused function parameter
    Staging: exfat: Avoid use of strcpy
    staging: exfat: use integer constants
    staging: exfat: cleanup spacing for casts
    staging: exfat: cleanup spacing for operators
    staging: rtl8723bs: hal: remove redundant variable n
    staging: pi433: Fix typo in documentation
    ...

    Linus Torvalds
     

18 Sep, 2019

2 commits

  • Pull power management updates from Rafael Wysocki:
    "These include a rework of the main suspend-to-idle code flow (related
    to the handling of spurious wakeups), a switch over of several users
    of cpufreq notifiers to QoS-based limits, a new devfreq driver for
    Tegra20, a new cpuidle driver and governor for virtualized guests, an
    extension of the wakeup sources framework to expose wakeup sources as
    device objects in sysfs, and more.

    Specifics:

    - Rework the main suspend-to-idle control flow to avoid repeating
    "noirq" device resume and suspend operations in case of spurious
    wakeups from the ACPI EC and decouple the ACPI EC wakeups support
    from the LPS0 _DSM support (Rafael Wysocki).

    - Extend the wakeup sources framework to expose wakeup sources as
    device objects in sysfs (Tri Vo, Stephen Boyd).

    - Expose system suspend statistics in sysfs (Kalesh Singh).

    - Introduce a new haltpoll cpuidle driver and a new matching governor
    for virtualized guests wanting to do guest-side polling in the idle
    loop (Marcelo Tosatti, Joao Martins, Wanpeng Li, Stephen Rothwell).

    - Fix the menu and teo cpuidle governors to allow the scheduler tick
    to be stopped if PM QoS is used to limit the CPU idle state exit
    latency in some cases (Rafael Wysocki).

    - Increase the resolution of the play_idle() argument to microseconds
    for more fine-grained injection of CPU idle cycles (Daniel
    Lezcano).

    - Switch over some users of cpuidle notifiers to the new QoS-based
    frequency limits and drop the CPUFREQ_ADJUST and CPUFREQ_NOTIFY
    policy notifier events (Viresh Kumar).

    - Add new cpufreq driver based on nvmem for sun50i (Yangtao Li).

    - Add support for MT8183 and MT8516 to the mediatek cpufreq driver
    (Andrew-sh.Cheng, Fabien Parent).

    - Add i.MX8MN support to the imx-cpufreq-dt cpufreq driver (Anson
    Huang).

    - Add qcs404 to cpufreq-dt-platdev blacklist (Jorge Ramirez-Ortiz).

    - Update the qcom cpufreq driver (among other things, to make it
    easier to extend and to use kryo cpufreq for other nvmem-based
    SoCs) and add qcs404 support to it (Niklas Cassel, Douglas
    RAILLARD, Sibi Sankar, Sricharan R).

    - Fix assorted issues and make assorted minor improvements in the
    cpufreq code (Colin Ian King, Douglas RAILLARD, Florian Fainelli,
    Gustavo Silva, Hariprasad Kelam).

    - Add new devfreq driver for NVidia Tegra20 (Dmitry Osipenko, Arnd
    Bergmann).

    - Add new Exynos PPMU events to devfreq events and extend that
    mechanism (Lukasz Luba).

    - Fix and clean up the exynos-bus devfreq driver (Kamil Konieczny).

    - Improve devfreq documentation and governor code, fix spelling typos
    in devfreq (Ezequiel Garcia, Krzysztof Kozlowski, Leonard Crestez,
    MyungJoo Ham, Gaël PORTAY).

    - Add regulators enable and disable to the OPP (operating performance
    points) framework (Kamil Konieczny).

    - Update the OPP framework to support multiple opp-suspend properties
    (Anson Huang).

    - Fix assorted issues and make assorted minor improvements in the OPP
    code (Niklas Cassel, Viresh Kumar, Yue Hu).

    - Clean up the generic power domains (genpd) framework (Ulf Hansson).

    - Clean up assorted pieces of power management code and documentation
    (Akinobu Mita, Amit Kucheria, Chuhong Yuan).

    - Update the pm-graph tool to version 5.5 including multiple fixes
    and improvements (Todd Brandt).

    - Update the cpupower utility (Benjamin Weis, Geert Uytterhoeven,
    Sébastien Szymanski)"

    * tag 'pm-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (126 commits)
    cpuidle-haltpoll: Enable kvm guest polling when dedicated physical CPUs are available
    cpuidle-haltpoll: do not set an owner to allow modunload
    cpuidle-haltpoll: return -ENODEV on modinit failure
    cpuidle-haltpoll: set haltpoll as preferred governor
    cpuidle: allow governor switch on cpuidle_register_driver()
    PM: runtime: Documentation: add runtime_status ABI document
    pm-graph: make setVal unbuffered again for python2 and python3
    powercap: idle_inject: Use higher resolution for idle injection
    cpuidle: play_idle: Increase the resolution to usec
    cpuidle-haltpoll: vcpu hotplug support
    cpufreq: Add qcs404 to cpufreq-dt-platdev blacklist
    cpufreq: qcom: Add support for qcs404 on nvmem driver
    cpufreq: qcom: Refactor the driver to make it easier to extend
    cpufreq: qcom: Re-organise kryo cpufreq to use it for other nvmem based qcom socs
    dt-bindings: opp: Add qcom-opp bindings with properties needed for CPR
    dt-bindings: opp: qcom-nvmem: Support pstates provided by a power domain
    Documentation: cpufreq: Update policy notifier documentation
    cpufreq: Remove CPUFREQ_ADJUST and CPUFREQ_NOTIFY policy notifier events
    PM / Domains: Verify PM domain type in dev_pm_genpd_set_performance_state()
    PM / Domains: Simplify genpd_lookup_dev()
    ...

    Linus Torvalds
     
  • Pull documentation updates from Jonathan Corbet:
    "It's a somewhat calmer cycle for docs this time, as the churn of the
    mass RST conversion is happily mostly behind us.

    - A new document on reproducible builds.

    - We finally got around to zapping the documentation for hardware
    support that was removed in 2004; one doesn't want to rush these
    things.

    - The usual assortment of fixes, typo corrections, etc"

    * tag 'docs-5.4' of git://git.lwn.net/linux: (67 commits)
    Documentation: kbuild: Add document about reproducible builds
    docs: printk-formats: Stop encouraging use of unnecessary %h[xudi] and %hh[xudi]
    Documentation: Add "earlycon=sbi" to the admin guide
    doc:lock: remove reference to clever use of read-write lock
    devices.txt: improve entry for comedi (char major 98)
    docs: mtd: Update spi nor reference driver
    doc: arm64: fix grammar dtb placed in no attributes region
    Documentation: sysrq: don't recommend 'S' 'U' before 'B'
    mailmap: Update email address for Quentin Perret
    docs: ftrace: clarify when tracing is disabled by the trace file
    docs: process: fix broken link
    Documentation/arm/samsung-s3c24xx: Remove stray U+FEFF character to fix title
    Documentation/arm/sa1100/assabet: Fix 'make assabet_defconfig' command
    Documentation/arm/sa1100: Remove some obsolete documentation
    docs/zh_CN: update Chinese howto.rst for latexdocs making
    Documentation: virt: Fix broken reference to virt tree's index
    docs: Fix typo on pull requests guide
    kernel-doc: Allow anonymous enum
    Documentation: sphinx: Don't parse socket() as identifier reference
    Documentation: sphinx: Add missing comma to list of strings
    ...

    Linus Torvalds
     

17 Sep, 2019

3 commits

  • * pm-sleep: (29 commits)
    ACPI: PM: s2idle: Always set up EC GPE for system wakeup
    ACPI: PM: s2idle: Avoid rearming SCI for wakeup unnecessarily
    PM / wakeup: Unexport wakeup_source_sysfs_{add,remove}()
    PM / wakeup: Register wakeup class kobj after device is added
    PM / wakeup: Fix sysfs registration error path
    PM / wakeup: Show wakeup sources stats in sysfs
    PM / wakeup: Use wakeup_source_register() in wakelock.c
    PM / wakeup: Drop wakeup_source_init(), wakeup_source_prepare()
    PM: sleep: Replace strncmp() with str_has_prefix()
    PM: suspend: Fix platform_suspend_prepare_noirq()
    intel-hid: Disable button array during suspend-to-idle
    intel-hid: intel-vbtn: Avoid leaking wakeup_mode set
    ACPI: PM: s2idle: Execute LPS0 _DSM functions with suspended devices
    ACPI: EC: PM: Make acpi_ec_dispatch_gpe() print debug message
    ACPI: EC: PM: Consolidate some code depending on PM_SLEEP
    ACPI: PM: s2idle: Eliminate acpi_sleep_no_ec_events()
    ACPI: PM: s2idle: Switch EC over to polling during "noirq" suspend
    ACPI: PM: s2idle: Add acpi.sleep_no_lps0 module parameter
    ACPI: PM: s2idle: Rearrange lps0_device_attach()
    PM/sleep: Expose suspend stats in sysfs
    ...

    Rafael J. Wysocki
     
  • The option for the ast2400/2500 to get access to CS0 at runtime.

    Signed-off-by: Ivan Mikhaylov
    Reviewed-by: Guenter Roeck
    Link: https://lore.kernel.org/r/20190828102402.13155-5-i.mikhaylov@yadro.com
    Signed-off-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Ivan Mikhaylov
     
  • Pull EFI updates from Ingo Molnar:

    - refactor the EFI config table handling across architectures

    - add support for the Dell EMC OEM config table

    - include AER diagnostic output to CPER handling of fatal PCIe errors

    * 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    efi: cper: print AER info of PCIe fatal error
    efi: Export Runtime Configuration Interface table to sysfs
    efi: ia64: move SAL systab handling out of generic EFI code
    efi/x86: move UV_SYSTAB handling into arch/x86
    efi: x86: move efi_is_table_address() into arch/x86

    Linus Torvalds
     

12 Sep, 2019

1 commit

  • …t/qcom/linux into arm/drivers

    Qualcomm ARM Based Driver Updates for v5.4

    * Add AOSS QMP support
    * Various fixups for Qualcomm SCM
    * Add socinfo driver
    * Add SoC serial number attribute and associated APIs
    * Add SM8150 and SC7180 support in Qualcomm SCM
    * Fixup max processor count in SMEM

    * tag 'qcom-drivers-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
    soc: qcom: aoss: Add AOSS QMP support
    dt-bindings: soc: qcom: aoss: Add SM8150 and SC7180 support
    dt-bindings: firmware: scm: Add SM8150 and SC7180 support
    dt-bindings: firmware: scm: re-order compatible list
    soc: qcom: smem: Update max processor count
    soc: qcom: socinfo: Annotate switch cases with fall through
    soc: qcom: Extend AOSS QMP driver to support resources that are used to wake up the SoC.
    soc: qcom: socinfo: Expose image information
    soc: qcom: socinfo: Expose custom attributes
    soc: qcom: Add socinfo driver
    base: soc: Export soc_device_register/unregister APIs
    base: soc: Add serial_number attribute to soc
    firmware: qcom_scm: Cleanup code in qcom_scm_assign_mem()
    firmware: qcom_scm: Fix some typos in docs and printks
    firmware: qcom_scm: Use proper types for dma mappings

    Arnd Bergmann
     

06 Sep, 2019

2 commits

  • Commit 5aa068ea4082 ("printk: remove games with previous record flags")
    abolished the practice of setting the log flag to 'c' for the first
    continuation line and '+' for subsequent lines. Now all continuation
    lines are flagged with 'c' and '+' is never used.

    Update the 'dev-kmsg' documentation to remove the reference to the
    obsolete '+' flag. In addition, state explicitly that only 8 bits of the
    syslog prefix are used for the facility number when writing to
    /dev/kmsg.

    Link: http://lkml.kernel.org/r/0102016cf1b26630-8e9b337b-da49-43c6-b028-4250c2fac3ef-000000@eu-west-1.amazonses.com
    Cc: Steven Rostedt
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: James Byrne
    Reviewed-by: Sergey Senozhatsky
    Signed-off-by: Petr Mladek

    James Byrne
     
  • /sys/devices/.../power/runtime_status is introduced by commit c92445fadb91
    ("PM / Runtime: Add sysfs debug files"). Then commit 0fcb4eef8294 ("PM /
    Runtime: Make runtime_status attribute not debug-only (v. 2)") made the
    runtime_status attribute available without CONFIG_PM_ADVANCED_DEBUG.

    This adds missing runtime_status ABI document.

    Signed-off-by: Akinobu Mita
    Signed-off-by: Rafael J. Wysocki

    Akinobu Mita
     

05 Sep, 2019

2 commits


04 Sep, 2019

3 commits

  • Add sysfs ABI documentation for the sysfs files created by the
    turris-mox-rwtm driver.

    Link: https://lore.kernel.org/r/20190822014318.19478-4-marek.behun@nic.cz
    Signed-off-by: Marek Behún
    Signed-off-by: Arnd Bergmann

    Marek Behún
     
  • Describe Intel Stratix10 Remote System Update (RSU) device attributes

    Signed-off-by: Richard Gong
    Reviewed-by: Alan Tull
    Link: https://lore.kernel.org/r/1567516701-26026-4-git-send-email-richard.gong@linux.intel.com
    Signed-off-by: Greg Kroah-Hartman

    Richard Gong
     
  • This patch adds support for global error reporting for FPGA
    Management Engine (FME), it introduces sysfs interfaces to
    report different error detected by the hardware, and allow
    user to clear errors or inject error for testing purpose.

    Signed-off-by: Luwei Kang
    Signed-off-by: Ananda Ravuri
    Signed-off-by: Xu Yilun
    Signed-off-by: Wu Hao
    Acked-by: Alan Tull
    Signed-off-by: Moritz Fischer

    Wu Hao