1. 19 10月, 2021 4 次提交
    • G
      Merge tag 'misc-habanalabs-next-2021-10-18' of... · be24dd48
      Greg Kroah-Hartman 提交于
      Merge tag 'misc-habanalabs-next-2021-10-18' of https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux into char-misc-next
      
      Oded writes:
      
      This tag contains habanalabs driver changes for v5.16:
      
      - Add a new uAPI (under the memory ioctl) to request from the driver
        to export a DMA-BUF object that represents a memory region on
        the device's DRAM. This is needed to enable peer-to-peer over PCIe
        between habana device and an RDMA adapter (e.g. mlnx5 or efa
        rdma adapter).
      
      - Add debugfs node to dynamically configure CS timeout. Up until now,
        it was only configurable through kernel module parameter.
      
      - Fetch more comprehensive power information from the firmware.
      
      - Always take timestamp when waiting for user interrupt, as the user
        needs that information to optimize the graph runtime compilation.
      
      - Modify user interrupt to look on 64-bit user value as fence, instead
        of 32-bit.
      
      - Bypass reset in case of repeated h/w error event after device reset.
        This is to prevent endless loop of resets to the device.
      
      - Fix several bugs in multi CS completion code.
      
      - Fix race condition in fd close/open.
      
      - Update to latest firmware headers
      
      - Add select CRC32 in kconfig
      
      - Small fixes, cosmetics
      
      * tag 'misc-habanalabs-next-2021-10-18' of https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux: (25 commits)
        habanalabs: refactor fence handling in hl_cs_poll_fences
        habanalabs: context cleanup cosmetics
        habanalabs: simplify wait for interrupt with timestamp flow
        habanalabs: initialize hpriv fields before adding new node
        habanalabs: Unify frequency set/get functionality
        habanalabs: select CRC32
        habanalabs: add support for dma-buf exporter
        habanalabs: define uAPI to export FD for DMA-BUF
        habanalabs: fix NULL pointer dereference
        habanalabs: fix race condition in multi CS completion
        habanalabs: use only u32
        habanalabs: update firmware files
        habanalabs: bypass reset for continuous h/w error event
        habanalabs: take timestamp on wait for interrupt
        habanalabs: prevent race between fd close/open
        habanalabs: refactor reset log message
        habanalabs: define soft-reset as inference op
        habanalabs: fix debugfs device memory MMU VA translation
        habanalabs: add support for a long interrupt target value
        habanalabs: remove redundant cs validity checks
        ...
      be24dd48
    • G
      Merge tag 'counter-for-5.16a-take2' of... · 2b74240b
      Greg Kroah-Hartman 提交于
      Merge tag 'counter-for-5.16a-take2' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next
      
      Jonathan writes:
      
      First set of counter subsystem new feature support for the 5.16 cycle
      
      Most interesting element this time is the new chrdev based interface
      for the counter subsystem.  Affects all drivers. Some minor precursor
      patches.
      
      Major parts:
      * Bring all the sysfs attribute setup into the counter core rather than
        leaving it to individual drivers.  Docs updates accompany these changes.
      * Move various definitions to a uapi header as now needed from userspace.
      * Add the chardev interface + extensive documentation and example tool
      * Add new ABI needed to identify indexes needed for chrdev interface
      * Implement new interface for the 104-quad-8
      * Follow up deals with wrong path for documentation build
      * Various trivial cleanups and missing feature additions related to this
        series
      
      * tag 'counter-for-5.16a-take2' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio:
        docs: counter: Include counter-chrdev kernel-doc to generic-counter.rst
        counter: fix docum. build problems after filename change
        counter: microchip-tcb-capture: Tidy up a false kernel-doc /** marking.
        counter: 104-quad-8: Add IRQ support for the ACCES 104-QUAD-8
        counter: 104-quad-8: Replace mutex with spinlock
        counter: Implement events_queue_size sysfs attribute
        counter: Implement *_component_id sysfs attributes
        counter: Implement signalZ_action_component_id sysfs attribute
        tools/counter: Create Counter tools
        docs: counter: Document character device interface
        counter: Add character device interface
        counter: Move counter enums to uapi header
        docs: counter: Update to reflect sysfs internalization
        counter: Update counter.h comments to reflect sysfs internalization
        counter: Internalize sysfs interface code
        counter: stm32-timer-cnt: Provide defines for slave mode selection
        counter: stm32-lptimer-cnt: Provide defines for clock polarities
      2b74240b
    • W
    • R
      counter: fix docum. build problems after filename change · 7110acbd
      Randy Dunlap 提交于
      Fix documentation build warnings due to a source file being
      renamed.
      
      WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -sphinx-version 1.8.5 -export ../drivers/counter/counter.c' failed with return code 2
      
      Error: Cannot open file ../drivers/counter/counter.c
      
      Fixes: aaec1a0f ("counter: Internalize sysfs interface code")
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Cc: William Breathitt Gray <vilhelm.gray@gmail.com>
      Cc: linux-iio@vger.kernel.org
      Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: linux-doc@vger.kernel.org
      Acked-by: NWilliam Breathitt Gray <vilhelm.gray@gmail.com>
      Link: https://lore.kernel.org/r/20211005055157.22937-1-rdunlap@infradead.orgSigned-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
      7110acbd
  2. 18 10月, 2021 36 次提交