13 Oct, 2020

1 commit

  • Pull x86 PASID updates from Borislav Petkov:
    "Initial support for sharing virtual addresses between the CPU and
    devices which doesn't need pinning of pages for DMA anymore.

    Add support for the command submission to devices using new x86
    instructions like ENQCMD{,S} and MOVDIR64B. In addition, add support
    for process address space identifiers (PASIDs) which are referenced by
    those command submission instructions along with the handling of the
    PASID state on context switch as another extended state.

    Work by Fenghua Yu, Ashok Raj, Yu-cheng Yu and Dave Jiang"

    * tag 'x86_pasid_for_5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/asm: Add an enqcmds() wrapper for the ENQCMDS instruction
    x86/asm: Carve out a generic movdir64b() helper for general usage
    x86/mmu: Allocate/free a PASID
    x86/cpufeatures: Mark ENQCMD as disabled when configured out
    mm: Add a pasid member to struct mm_struct
    x86/msr-index: Define an IA32_PASID MSR
    x86/fpu/xstate: Add supervisor PASID state for ENQCMD
    x86/cpufeatures: Enumerate ENQCMD and ENQCMDS instructions
    Documentation/x86: Add documentation for SVA (Shared Virtual Addressing)
    iommu/vt-d: Change flags type to unsigned int in binding mm
    drm, iommu: Change type of pasid to u32

    Linus Torvalds
     

07 Oct, 2020

3 commits

  • Add Copyrights to those files that have been updated for UV5 changes.

    Signed-off-by: Mike Travis
    Signed-off-by: Borislav Petkov
    Link: https://lkml.kernel.org/r/20201005203929.148656-14-mike.travis@hpe.com

    Mike Travis
     
  • Update UV MMRs in uv_mmrs.h for UV5 based on Verilog output from the
    UV Hub hardware design files. This is the next UV architecture with
    a new class (UVY) being defined for 52 bit physical address masks.
    Uses a bitmask for UV arch identification so a single test can cover
    multiple versions. Includes other adjustments to match the uv_mmrs.h
    file to keep from encountering compile errors. New UV5 functionality
    is added in the patches that follow.

    [ Fix W=1 build warnings. ]
    Reported-by: kernel test robot
    Signed-off-by: Mike Travis
    Signed-off-by: Borislav Petkov
    Reviewed-by: Steve Wahl
    Link: https://lkml.kernel.org/r/20201005203929.148656-5-mike.travis@hpe.com

    Mike Travis
     
  • Remove the define is_uv() is_uv_system and just use the latter as is.
    This removes a conflict with a new symbol in the generated uv_mmrs.h
    file (is_uv()).

    Signed-off-by: Mike Travis
    Signed-off-by: Borislav Petkov
    Reviewed-by: Dimitri Sivanich
    Reviewed-by: Steve Wahl
    Link: https://lkml.kernel.org/r/20201005203929.148656-4-mike.travis@hpe.com

    Mike Travis
     

18 Sep, 2020

1 commit

  • PASID is defined as a few different types in iommu including "int",
    "u32", and "unsigned int". To be consistent and to match with uapi
    definitions, define PASID and its variations (e.g. max PASID) as "u32".
    "u32" is also shorter and a little more explicit than "unsigned int".

    No PASID type change in uapi although it defines PASID as __u64 in
    some places.

    Suggested-by: Thomas Gleixner
    Signed-off-by: Fenghua Yu
    Signed-off-by: Borislav Petkov
    Reviewed-by: Tony Luck
    Reviewed-by: Lu Baolu
    Acked-by: Felix Kuehling
    Acked-by: Joerg Roedel
    Link: https://lkml.kernel.org/r/1600187413-163670-2-git-send-email-fenghua.yu@intel.com

    Fenghua Yu
     

13 Sep, 2020

1 commit

  • Pull char / misc driver fixes from Greg KH:
    "Here are a number of small driver fixes for 5.9-rc5

    Included in here are:

    - habanalabs driver fixes

    - interconnect driver fixes

    - soundwire driver fixes

    - dyndbg fixes for reported issues, and then reverts to fix it all up
    to a sane state.

    - phy driver fixes

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

    * tag 'char-misc-5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
    Revert "dyndbg: accept query terms like file=bar and module=foo"
    Revert "dyndbg: fix problem parsing format="foo bar""
    scripts/tags.sh: exclude tools directory from tags generation
    video: fbdev: fix OOB read in vga_8planes_imageblit()
    dyndbg: fix problem parsing format="foo bar"
    dyndbg: refine export, rename to dynamic_debug_exec_queries()
    dyndbg: give %3u width in pr-format, cosmetic only
    interconnect: qcom: Fix small BW votes being truncated to zero
    soundwire: fix double free of dangling pointer
    interconnect: Show bandwidth for disabled paths as zero in debugfs
    habanalabs: fix report of RAZWI initiator coordinates
    habanalabs: prevent user buff overflow
    phy: omap-usb2-phy: disable PHY charger detect
    phy: qcom-qmp: Use correct values for ipq8074 PCIe Gen2 PHY init
    soundwire: bus: fix typo in comment on INTSTAT registers
    phy: qualcomm: fix return value check in qcom_ipq806x_usb_phy_probe()
    phy: qualcomm: fix platform_no_drv_owner.cocci warnings

    Linus Torvalds
     

09 Sep, 2020

1 commit


01 Sep, 2020

1 commit

  • During nvmem_register() the nvmem core sends notifications when:

    - cell added
    - nvmem added

    and during these notifications some callback func may access the nvmem
    device, which will fail in case of at24 eeprom because regulator and pm
    are enabled after nvmem_register().

    Fixes: cd5676db0574 ("misc: eeprom: at24: support pm_runtime control")
    Fixes: b20eb4c1f026 ("eeprom: at24: drop unnecessary label")
    Cc: stable@vger.kernel.org
    Signed-off-by: Vadym Kochan
    Signed-off-by: Bartosz Golaszewski

    Vadym Kochan
     

31 Aug, 2020

2 commits

  • All initiator coordinates received upon an 'MMU page fault RAZWI
    event' should be the routers coordinates, the only exception is the
    DMA initiators for which the reported coordinates correspond to
    their actual location.

    Signed-off-by: Ofir Bitton
    Reviewed-by: Oded Gabbay
    Signed-off-by: Oded Gabbay

    Ofir Bitton
     
  • This commit fixes a potential debugfs issue that may occur when
    reading the clock gating mask into the user buffer since the
    user buffer size was not taken into consideration.

    Signed-off-by: Moti Haimovski
    Reviewed-by: Oded Gabbay
    Signed-off-by: Oded Gabbay

    Moti Haimovski
     

27 Aug, 2020

1 commit

  • Pull char/misc driver fixes from Greg KH:
    "Here are some small char and misc and other driver subsystem fixes for
    5.9-rc3.

    The majority of these are tiny habanalabs driver fixes, but also in
    here are:

    - speakup build fixes now that it is out of staging and got exposed
    to more build systems all of a sudden

    - mei driver fix

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

    * tag 'char-misc-5.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
    habanalabs: correctly report inbound pci region cfg error
    habanalabs: check correct vmalloc return code
    habanalabs: validate FW file size
    habanalabs: fix incorrect check on failed workqueue create
    habanalabs: set max power according to card type
    habanalabs: proper handling of alloc size in coresight
    habanalabs: set clock gating according to mask
    habanalabs: verify user input in cs_ioctl_signal_wait
    habanalabs: Fix a loop in gaudi_extract_ecc_info()
    habanalabs: Fix memory corruption in debugfs
    habanalabs: validate packet id during CB parse
    habanalabs: Validate user address before mapping
    habanalabs: unmap PCI bars upon iATU failure
    mei: hdcp: fix mei_hdcp_verify_mprime() input parameter
    speakup: only build serialio when ISA is enabled
    speakup: Fix wait_for_xmitr for ttyio case

    Linus Torvalds
     

24 Aug, 2020

1 commit

  • Replace the existing /* fall through */ comments and its variants with
    the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
    fall-through markings when it is the case.

    [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

    Signed-off-by: Gustavo A. R. Silva

    Gustavo A. R. Silva
     

22 Aug, 2020

13 commits


18 Aug, 2020

1 commit

  • wired_cmd_repeater_auth_stream_req_in has a variable
    length array at the end. we use struct_size() overflow
    macro to determine the size for the allocation and sending
    size.
    This also fixes bug in case number of streams is > 0 in the original
    submission. This bug was not triggered as the number of streams is
    always one.

    Fixes: c56967d674e3 (mei: hdcp: Replace one-element array with flexible-array member)
    Fixes: 0a1af1b5c18d (misc/mei/hdcp: Verify M_prime)
    Cc: # v5.1+: c56967d674e3 (mei: hdcp: Replace one-element array with flexible-array member)
    Signed-off-by: Tomas Winkler
    Reviewed-by: Gustavo A. R. Silva
    Link: https://lore.kernel.org/r/20200818075406.2532605-1-tomas.winkler@intel.com
    Signed-off-by: Greg Kroah-Hartman

    Tomas Winkler
     

08 Aug, 2020

5 commits

  • Pull misc vfs updates from Al Viro:
    "No common topic whatsoever in those, sorry"

    * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
    fs: define inode flags using bit numbers
    iov_iter: Move unnecessary inclusion of crypto/hash.h
    dlmfs: clean up dlmfs_file_{read,write}() a bit

    Linus Torvalds
     
  • Pull PCI updates from Bjorn Helgaas:
    "Enumeration:
    - Fix pci_cfg_wait queue locking problem (Bjorn Helgaas)
    - Convert PCIe capability PCIBIOS errors to errno (Bolarinwa Olayemi
    Saheed)
    - Align PCIe capability and PCI accessor return values (Bolarinwa
    Olayemi Saheed)
    - Fix pci_create_slot() reference count leak (Qiushi Wu)
    - Announce device after early fixups (Tiezhu Yang)

    PCI device hotplug:
    - Make rpadlpar functions static (Wei Yongjun)

    Driver binding:
    - Add device even if driver attach failed (Rajat Jain)

    Virtualization:
    - xen: Remove redundant initialization of irq (Colin Ian King)

    IOMMU:
    - Add pci_pri_supported() to check device or associated PF (Ashok Raj)
    - Release IVRS table in AMD ACS quirk (Hanjun Guo)
    - Mark AMD Navi10 GPU rev 0x00 ATS as broken (Kai-Heng Feng)
    - Treat "external-facing" devices themselves as internal (Rajat Jain)

    MSI:
    - Forward MSI-X error code in pci_alloc_irq_vectors_affinity() (Piotr
    Stankiewicz)

    Error handling:
    - Clear PCIe Device Status errors only if OS owns AER (Jonathan
    Cameron)
    - Log correctable errors as warning, not error (Matt Jolly)
    - Use 'pci_channel_state_t' instead of 'enum pci_channel_state' (Luc
    Van Oostenryck)

    Peer-to-peer DMA:
    - Allow P2PDMA on AMD Zen and newer CPUs (Logan Gunthorpe)

    ASPM:
    - Add missing newline in sysfs 'policy' (Xiongfeng Wang)

    Native PCIe controllers:
    - Convert to devm_platform_ioremap_resource_byname() (Dejin Zheng)
    - Convert to devm_platform_ioremap_resource() (Dejin Zheng)
    - Remove duplicate error message from devm_pci_remap_cfg_resource()
    callers (Dejin Zheng)
    - Fix runtime PM imbalance on error (Dinghao Liu)
    - Remove dev_err() when handing an error from platform_get_irq()
    (Krzysztof Wilczyński)
    - Use pci_host_bridge.windows list directly instead of splicing in a
    temporary list for cadence, mvebu, host-common (Rob Herring)
    - Use pci_host_probe() instead of open-coding all the pieces for
    altera, brcmstb, iproc, mobiveil, rcar, rockchip, tegra, v3,
    versatile, xgene, xilinx, xilinx-nwl (Rob Herring)
    - Default host bridge parent device to the platform device (Rob
    Herring)
    - Use pci_is_root_bus() instead of tracking root bus number
    separately in aardvark, designware (imx6, keystone,
    designware-host), mobiveil, xilinx-nwl, xilinx, rockchip, rcar (Rob
    Herring)
    - Set host bridge bus number in pci_scan_root_bus_bridge() instead of
    each driver for aardvark, designware-host, host-common, mediatek,
    rcar, tegra, v3-semi (Rob Herring)
    - Move DT resource setup into devm_pci_alloc_host_bridge() (Rob
    Herring)
    - Set bridge map_irq and swizzle_irq to default functions; drivers
    that don't support legacy IRQs (iproc) need to undo this (Rob
    Herring)

    ARM Versatile PCIe controller driver:
    - Drop flag PCI_ENABLE_PROC_DOMAINS (Rob Herring)

    Cadence PCIe controller driver:
    - Use "dma-ranges" instead of "cdns,no-bar-match-nbits" property
    (Kishon Vijay Abraham I)
    - Remove "mem" from reg binding (Kishon Vijay Abraham I)
    - Fix cdns_pcie_{host|ep}_setup() error path (Kishon Vijay Abraham I)
    - Convert all r/w accessors to perform only 32-bit accesses (Kishon
    Vijay Abraham I)
    - Add support to start link and verify link status (Kishon Vijay
    Abraham I)
    - Allow pci_host_bridge to have custom pci_ops (Kishon Vijay Abraham I)
    - Add new *ops* for CPU addr fixup (Kishon Vijay Abraham I)
    - Fix updating Vendor ID and Subsystem Vendor ID register (Kishon
    Vijay Abraham I)
    - Use bridge resources for outbound window setup (Rob Herring)
    - Remove private bus number and range storage (Rob Herring)

    Cadence PCIe endpoint driver:
    - Add MSI-X support (Alan Douglas)

    HiSilicon PCIe controller driver:
    - Remove non-ECAM HiSilicon hip05/hip06 driver (Rob Herring)

    Intel VMD host bridge driver:
    - Use Shadow MEMBAR registers for QEMU/KVM guests (Jon Derrick)

    Loongson PCIe controller driver:
    - Use DECLARE_PCI_FIXUP_EARLY for bridge_class_quirk() (Tiezhu Yang)

    Marvell Aardvark PCIe controller driver:
    - Indicate error in 'val' when config read fails (Pali Rohár)
    - Don't touch PCIe registers if no card connected (Pali Rohár)

    Marvell MVEBU PCIe controller driver:
    - Setup BAR0 in order to fix MSI (Shmuel Hazan)

    Microsoft Hyper-V host bridge driver:
    - Fix a timing issue which causes kdump to fail occasionally (Wei Hu)
    - Make some functions static (Wei Yongjun)

    NVIDIA Tegra PCIe controller driver:
    - Revert tegra124 raw_violation_fixup (Nicolas Chauvet)
    - Remove PLL power supplies (Thierry Reding)

    Qualcomm PCIe controller driver:
    - Change duplicate PCI reset to phy reset (Abhishek Sahu)
    - Add missing ipq806x clocks in PCIe driver (Ansuel Smith)
    - Add missing reset for ipq806x (Ansuel Smith)
    - Add ext reset (Ansuel Smith)
    - Use bulk clk API and assert on error (Ansuel Smith)
    - Add support for tx term offset for rev 2.1.0 (Ansuel Smith)
    - Define some PARF params needed for ipq8064 SoC (Ansuel Smith)
    - Add ipq8064 rev2 variant (Ansuel Smith)
    - Support PCI speed set for ipq806x (Sham Muthayyan)

    Renesas R-Car PCIe controller driver:
    - Use devm_pci_alloc_host_bridge() (Rob Herring)
    - Use struct pci_host_bridge.windows list directly (Rob Herring)
    - Convert rcar-gen2 to use modern host bridge probe functions (Rob
    Herring)

    TI J721E PCIe driver:
    - Add TI J721E PCIe host and endpoint driver (Kishon Vijay Abraham I)

    Xilinx Versal CPM PCIe controller driver:
    - Add Versal CPM Root Port driver and YAML schema (Bharat Kumar
    Gogada)

    MicroSemi Switchtec management driver:
    - Add missing __iomem and __user tags to fix sparse warnings (Logan
    Gunthorpe)

    Miscellaneous:
    - Replace http:// links with https:// (Alexander A. Klimov)
    - Replace lkml.org, spinics, gmane with lore.kernel.org (Bjorn
    Helgaas)
    - Remove unused pci_lost_interrupt() (Heiner Kallweit)
    - Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h (Huacai Chen)
    - Fix kerneldoc warnings (Krzysztof Kozlowski)"

    * tag 'pci-v5.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (113 commits)
    PCI: Fix kerneldoc warnings
    PCI: xilinx-cpm: Add Versal CPM Root Port driver
    PCI: xilinx-cpm: Add YAML schemas for Versal CPM Root Port
    PCI: Set bridge map_irq and swizzle_irq to default functions
    PCI: Move DT resource setup into devm_pci_alloc_host_bridge()
    PCI: rcar-gen2: Convert to use modern host bridge probe functions
    PCI: Remove dev_err() when handing an error from platform_get_irq()
    MAINTAINERS: Add Kishon Vijay Abraham I for TI J721E SoC PCIe
    misc: pci_endpoint_test: Add J721E in pci_device_id table
    PCI: j721e: Add TI J721E PCIe driver
    PCI: switchtec: Add missing __iomem tag to fix sparse warnings
    PCI: switchtec: Add missing __iomem and __user tags to fix sparse warnings
    PCI: rpadlpar: Make functions static
    PCI/P2PDMA: Allow P2PDMA on AMD Zen and newer CPUs
    PCI: Release IVRS table in AMD ACS quirk
    PCI: Announce device after early fixups
    PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken
    PCI: Remove unused pci_lost_interrupt()
    dt-bindings: PCI: Add EP mode dt-bindings for TI's J721E SoC
    dt-bindings: PCI: Add host mode dt-bindings for TI's J721E SoC
    ...

    Linus Torvalds
     
  • Merge misc updates from Andrew Morton:

    - a few MM hotfixes

    - kthread, tools, scripts, ntfs and ocfs2

    - some of MM

    Subsystems affected by this patch series: kthread, tools, scripts, ntfs,
    ocfs2 and mm (hofixes, pagealloc, slab-generic, slab, slub, kcsan,
    debug, pagecache, gup, swap, shmem, memcg, pagemap, mremap, mincore,
    sparsemem, vmalloc, kasan, pagealloc, hugetlb and vmscan).

    * emailed patches from Andrew Morton : (162 commits)
    mm: vmscan: consistent update to pgrefill
    mm/vmscan.c: fix typo
    khugepaged: khugepaged_test_exit() check mmget_still_valid()
    khugepaged: retract_page_tables() remember to test exit
    khugepaged: collapse_pte_mapped_thp() protect the pmd lock
    khugepaged: collapse_pte_mapped_thp() flush the right range
    mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible
    mm: thp: replace HTTP links with HTTPS ones
    mm/page_alloc: fix memalloc_nocma_{save/restore} APIs
    mm/page_alloc.c: skip setting nodemask when we are in interrupt
    mm/page_alloc: fallbacks at most has 3 elements
    mm/page_alloc: silence a KASAN false positive
    mm/page_alloc.c: remove unnecessary end_bitidx for [set|get]_pfnblock_flags_mask()
    mm/page_alloc.c: simplify pageblock bitmap access
    mm/page_alloc.c: extract the common part in pfn_to_bitidx()
    mm/page_alloc.c: replace the definition of NR_MIGRATETYPE_BITS with PB_migratetype_bits
    mm/shuffle: remove dynamic reconfiguration
    mm/memory_hotplug: document why shuffle_zone() is relevant
    mm/page_alloc: remove nr_free_pagecache_pages()
    mm: remove vm_total_pages
    ...

    Linus Torvalds
     
  • As said by Linus:

    A symmetric naming is only helpful if it implies symmetries in use.
    Otherwise it's actively misleading.

    In "kzalloc()", the z is meaningful and an important part of what the
    caller wants.

    In "kzfree()", the z is actively detrimental, because maybe in the
    future we really _might_ want to use that "memfill(0xdeadbeef)" or
    something. The "zero" part of the interface isn't even _relevant_.

    The main reason that kzfree() exists is to clear sensitive information
    that should not be leaked to other future users of the same memory
    objects.

    Rename kzfree() to kfree_sensitive() to follow the example of the recently
    added kvfree_sensitive() and make the intention of the API more explicit.
    In addition, memzero_explicit() is used to clear the memory to make sure
    that it won't get optimized away by the compiler.

    The renaming is done by using the command sequence:

    git grep -w --name-only kzfree |\
    xargs sed -i 's/kzfree/kfree_sensitive/'

    followed by some editing of the kfree_sensitive() kerneldoc and adding
    a kzfree backward compatibility macro in slab.h.

    [akpm@linux-foundation.org: fs/crypto/inline_crypt.c needs linux/slab.h]
    [akpm@linux-foundation.org: fix fs/crypto/inline_crypt.c some more]

    Suggested-by: Joe Perches
    Signed-off-by: Waiman Long
    Signed-off-by: Andrew Morton
    Acked-by: David Howells
    Acked-by: Michal Hocko
    Acked-by: Johannes Weiner
    Cc: Jarkko Sakkinen
    Cc: James Morris
    Cc: "Serge E. Hallyn"
    Cc: Joe Perches
    Cc: Matthew Wilcox
    Cc: David Rientjes
    Cc: Dan Carpenter
    Cc: "Jason A . Donenfeld"
    Link: http://lkml.kernel.org/r/20200616154311.12314-3-longman@redhat.com
    Signed-off-by: Linus Torvalds

    Waiman Long
     
  • Pull powerpc updates from Michael Ellerman:

    - Add support for (optionally) using queued spinlocks & rwlocks.

    - Support for a new faster system call ABI using the scv instruction on
    Power9 or later.

    - Drop support for the PROT_SAO mmap/mprotect flag as it will be
    unsupported on Power10 and future processors, leaving us with no way
    to implement the functionality it requests. This risks breaking
    userspace, though we believe it is unused in practice.

    - A bug fix for, and then the removal of, our custom stack expansion
    checking. We now allow stack expansion up to the rlimit, like other
    architectures.

    - Remove the remnants of our (previously disabled) topology update
    code, which tried to react to NUMA layout changes on virtualised
    systems, but was prone to crashes and other problems.

    - Add PMU support for Power10 CPUs.

    - A change to our signal trampoline so that we don't unbalance the link
    stack (branch return predictor) in the signal delivery path.

    - Lots of other cleanups, refactorings, smaller features and so on as
    usual.

    Thanks to: Abhishek Goel, Alastair D'Silva, Alexander A. Klimov, Alexey
    Kardashevskiy, Alistair Popple, Andrew Donnellan, Aneesh Kumar K.V, Anju
    T Sudhakar, Anton Blanchard, Arnd Bergmann, Athira Rajeev, Balamuruhan
    S, Bharata B Rao, Bill Wendling, Bin Meng, Cédric Le Goater, Chris
    Packham, Christophe Leroy, Christoph Hellwig, Daniel Axtens, Dan
    Williams, David Lamparter, Desnes A. Nunes do Rosario, Erhard F., Finn
    Thain, Frederic Barrat, Ganesh Goudar, Gautham R. Shenoy, Geoff Levand,
    Greg Kurz, Gustavo A. R. Silva, Hari Bathini, Harish, Imre Kaloz, Joel
    Stanley, Joe Perches, John Crispin, Jordan Niethe, Kajol Jain, Kamalesh
    Babulal, Kees Cook, Laurent Dufour, Leonardo Bras, Li RongQing, Madhavan
    Srinivasan, Mahesh Salgaonkar, Mark Cave-Ayland, Michal Suchanek, Milton
    Miller, Mimi Zohar, Murilo Opsfelder Araujo, Nathan Chancellor, Nathan
    Lynch, Naveen N. Rao, Nayna Jain, Nicholas Piggin, Oliver O'Halloran,
    Palmer Dabbelt, Pedro Miraglia Franco de Carvalho, Philippe Bergheaud,
    Pingfan Liu, Pratik Rajesh Sampat, Qian Cai, Qinglang Miao, Randy
    Dunlap, Ravi Bangoria, Sachin Sant, Sam Bobroff, Sandipan Das, Santosh
    Sivaraj, Satheesh Rajendran, Shirisha Ganta, Sourabh Jain, Srikar
    Dronamraju, Stan Johnson, Stephen Rothwell, Thadeu Lima de Souza
    Cascardo, Thiago Jung Bauermann, Tom Lane, Vaibhav Jain, Vladis Dronov,
    Wei Yongjun, Wen Xiong, YueHaibing.

    * tag 'powerpc-5.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (337 commits)
    selftests/powerpc: Fix pkey syscall redefinitions
    powerpc: Fix circular dependency between percpu.h and mmu.h
    powerpc/powernv/sriov: Fix use of uninitialised variable
    selftests/powerpc: Skip vmx/vsx/tar/etc tests on older CPUs
    powerpc/40x: Fix assembler warning about r0
    powerpc/papr_scm: Add support for fetching nvdimm 'fuel-gauge' metric
    powerpc/papr_scm: Fetch nvdimm performance stats from PHYP
    cpuidle: pseries: Fixup exit latency for CEDE(0)
    cpuidle: pseries: Add function to parse extended CEDE records
    cpuidle: pseries: Set the latency-hint before entering CEDE
    selftests/powerpc: Fix online CPU selection
    powerpc/perf: Consolidate perf_callchain_user_[64|32]()
    powerpc/pseries/hotplug-cpu: Remove double free in error path
    powerpc/pseries/mobility: Add pr_debug() for device tree changes
    powerpc/pseries/mobility: Set pr_fmt()
    powerpc/cacheinfo: Warn if cache object chain becomes unordered
    powerpc/cacheinfo: Improve diagnostics about malformed cache lists
    powerpc/cacheinfo: Use name@unit instead of full DT path in debug messages
    powerpc/cacheinfo: Set pr_fmt()
    powerpc: fix function annotations to avoid section mismatch warnings with gcc-10
    ...

    Linus Torvalds
     

06 Aug, 2020

2 commits

  • - Convert cadence to use standard "dma-ranges" DT property instead of its
    own "cdns,no-bar-match-nbits" (Kishon Vijay Abraham I)

    - Fix pm_runtime_put_sync() issues in cadence error paths (Kishon Vijay
    Abraham I)

    - Add PTR_ALIGN_DOWN macro (Kishon Vijay Abraham I)

    - Convert cadence r/w accessors to only 32-bit accesses (Kishon Vijay
    Abraham I)

    - Add cadence support to start Link and check Link status (Kishon Vijay
    Abraham I)

    - Allow custom PCI ops for cadence-based drivers (Kishon Vijay Abraham I)

    - Remove "mem" from cadence reg binding since it's not memory and it
    overlaps the PCIe config and memory region (Kishon Vijay Abraham I)

    - Add cadence ->cpu_addr_fixup() for platforms that require absolute
    addresses in the ATU, not just offsets (Kishon Vijay Abraham I)

    - Update cadence Vendor IDs using local management registers, not
    architected config space (Kishon Vijay Abraham I)

    - Add cadence endpoint driver MSI-X support (Kishon Vijay Abraham I)

    - Add bindings and driver for TI J721E SoC, supporting both host and
    endpoint mode (Kishon Vijay Abraham I)

    * remotes/lorenzo/pci/cadence:
    MAINTAINERS: Add Kishon Vijay Abraham I for TI J721E SoC PCIe
    misc: pci_endpoint_test: Add J721E in pci_device_id table
    PCI: j721e: Add TI J721E PCIe driver
    dt-bindings: PCI: Add EP mode dt-bindings for TI's J721E SoC
    dt-bindings: PCI: Add host mode dt-bindings for TI's J721E SoC
    PCI: cadence: Add MSI-X support to Endpoint driver
    PCI: cadence: Fix updating Vendor ID and Subsystem Vendor ID register
    PCI: cadence: Add new *ops* for CPU addr fixup
    dt-bindings: PCI: cadence: Remove "mem" from reg binding
    PCI: cadence: Allow pci_host_bridge to have custom pci_ops
    PCI: cadence: Add support to start link and verify link status
    PCI: cadence: Convert all r/w accessors to perform only 32-bit accesses
    linux/kernel.h: Add PTR_ALIGN_DOWN macro
    PCI: cadence: Fix cdns_pcie_{host|ep}_setup() error path
    PCI: cadence: Use "dma-ranges" instead of "cdns,no-bar-match-nbits" property

    Bjorn Helgaas
     
  • Pull char/misc driver updates from Greg KH:
    "Here is the large set of char and misc and other driver subsystem
    patches for 5.9-rc1. Lots of new driver submissions in here, and
    cleanups and features for existing drivers.

    Highlights are:
    - habanalabs driver updates
    - coresight driver updates
    - nvmem driver updates
    - huge number of "W=1" build warning cleanups from Lee Jones
    - dyndbg updates
    - virtbox driver fixes and updates
    - soundwire driver updates
    - mei driver updates
    - phy driver updates
    - fpga driver updates
    - lots of smaller individual misc/char driver cleanups and fixes

    Full details are in the shortlog.

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

    * tag 'char-misc-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (322 commits)
    habanalabs: remove unused but set variable 'ctx_asid'
    nvmem: qcom-spmi-sdam: Enable multiple devices
    dt-bindings: nvmem: SID: add binding for A100's SID controller
    nvmem: update Kconfig description
    nvmem: qfprom: Add fuse blowing support
    dt-bindings: nvmem: Add properties needed for blowing fuses
    dt-bindings: nvmem: qfprom: Convert to yaml
    nvmem: qfprom: use NVMEM_DEVID_AUTO for multiple instances
    nvmem: core: add support to auto devid
    nvmem: core: Add nvmem_cell_read_u8()
    nvmem: core: Grammar fixes for help text
    nvmem: sc27xx: add sc2730 efuse support
    nvmem: Enforce nvmem stride in the sysfs interface
    MAINTAINERS: Add git tree for NVMEM FRAMEWORK
    nvmem: sprd: Fix return value of sprd_efuse_probe()
    drivers: android: Fix the SPDX comment style
    drivers: android: Fix a variable declaration coding style issue
    drivers: android: Remove braces for a single statement if-else block
    drivers: android: Remove the use of else after return
    drivers: android: Fix a variable declaration coding style issue
    ...

    Linus Torvalds
     

05 Aug, 2020

2 commits

  • 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
     
  • Pull dma-mapping updates from Christoph Hellwig:

    - make support for dma_ops optional

    - move more code out of line

    - add generic support for a dma_ops bypass mode

    - misc cleanups

    * tag 'dma-mapping-5.9' of git://git.infradead.org/users/hch/dma-mapping:
    dma-contiguous: cleanup dma_alloc_contiguous
    dma-debug: use named initializers for dir2name
    powerpc: use the generic dma_ops_bypass mode
    dma-mapping: add a dma_ops_bypass flag to struct device
    dma-mapping: make support for dma ops optional
    dma-mapping: inline the fast path dma-direct calls
    dma-mapping: move the remaining DMA API calls out of line

    Linus Torvalds
     

03 Aug, 2020

1 commit


30 Jul, 2020

1 commit

  • Gcc report warning as follows:

    drivers/misc/habanalabs/common/command_submission.c:373:6: warning:
    variable 'ctx_asid' set but not used [-Wunused-but-set-variable]
    373 | int ctx_asid, rc;
    | ^~~~~~~~

    This variable is not used in function cs_timedout(), this commit
    remove it to fix the warning.

    Reported-by: Hulk Robot
    Signed-off-by: Wei Yongjun
    Link: https://lore.kernel.org/r/20200729155902.33976-1-weiyongjun1@huawei.com
    Signed-off-by: Greg Kroah-Hartman

    Wei Yongjun
     

29 Jul, 2020

3 commits

  • Some of the mei device heads are not generic and have
    a specific purpose, we need to announce it to the user space
    so it is possible to detect the correct device node via
    matching attributes.

    Generic heads are marked as 'mei' while special purpose heads
    have their own names. Currently we are adding 'itouch' string
    for Intel IPTS 1.0, 2.0 devices.

    This is done via new sysfs attribute 'kind'.

    Signed-off-by: Alexander Usyskin
    Signed-off-by: Tomas Winkler
    Link: https://lore.kernel.org/r/20200728192242.3117779-1-tomas.winkler@intel.com
    Signed-off-by: Greg Kroah-Hartman

    Alexander Usyskin
     
  • This patch addresses warnings and errors from the kernel doc scripts for
    the OpenCAPI driver.

    It also makes minor tweaks to make the docs more consistent.

    Signed-off-by: Alastair D'Silva
    Acked-by: Andrew Donnellan
    Signed-off-by: Michael Ellerman
    Link: https://lore.kernel.org/r/20200415012343.919255-3-alastair@d-silva.org

    Alastair D'Silva
     
  • Signed-off-by: kernel test robot
    Link: https://lore.kernel.org/r/20200729000313.GA14680@e442e3f624c4
    Signed-off-by: Greg Kroah-Hartman

    kernel test robot