1. 23 Oct, 2019 1 commit
    • Peng Ma's avatar
      dmaengine: fsl-dpaa2-qdma: export the symbols · 53596dfa
      Peng Ma authored
      The symbols were not exported leading to error:
      
      WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/fsl-dpaa2-qdma/dpdmai.o
      see include/linux/module.h for more information
      GZIP    arch/arm64/boot/Image.gz
      ERROR: "dpdmai_enable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_set_rx_queue" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_get_tx_queue" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_get_rx_queue" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_get_attributes" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_open" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_close" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_disable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      ERROR: "dpdmai_reset" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
      WARNING: "HYPERVISOR_platform_op" [vmlinux] is a static EXPORT_SYMBOL_GPL
      make[2]: *** [__modpost] Error 1
      make[1]: *** [modules] Error 2
      make[1]: *** Waiting for unfinished jobs....
      make: *** [sub-make] Error 2
      
      So export it.
      Signed-off-by: default avatarPeng Ma <peng.ma@nxp.com>
      Reported-by: default avatarAnders Roxell <anders.roxell@linaro.org>
      Link: https://lore.kernel.org/r/20191023045617.22764-1-peng.ma@nxp.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
      53596dfa
  2. 20 Oct, 2019 7 commits
  3. 18 Oct, 2019 4 commits
  4. 17 Oct, 2019 2 commits
    • Peng Ma's avatar
      dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs · 7fdf9b05
      Peng Ma authored
      DPPA2(Data Path Acceleration Architecture 2) qDMA supports
      virtualized channel by allowing DMA jobs to be enqueued into
      different work queues. Core can initiate a DMA transaction by
      preparing a frame descriptor(FD) for each DMA job and enqueuing
      this job through a hardware portal. DPAA2 components can also
      prepare a FD and enqueue a DMA job through a hardware portal.
      The qDMA prefetches DMA jobs through DPAA2 hardware portal. It
      then schedules and dispatches to internal DMA hardware engines,
      which generate read and write requests. Both qDMA source data and
      destination data can be either contiguous or non-contiguous using
      one or more scatter/gather tables.
      The qDMA supports global bandwidth flow control where all DMA
      transactions are stalled if the bandwidth threshold has been reached.
      Also supported are transaction based read throttling.
      
      Add NXP dppa2 qDMA to support some of Layerscape SoCs.
      such as: LS1088A, LS208xA, LX2, etc.
      Signed-off-by: default avatarPeng Ma <peng.ma@nxp.com>
      Link: https://lore.kernel.org/r/20190930020440.7754-2-peng.ma@nxp.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
      7fdf9b05
    • Peng Ma's avatar
      dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support · f2835adf
      Peng Ma authored
      The MC(Management Complex) exports the DPDMAI(Data Path DMA Interface)
      object as an interface to operate the DPAA2(Data Path Acceleration
      Architecture 2) qDMA Engine. The DPDMAI enables sending frame-based
      requests to qDMA and receiving back confirmation response on transaction
      completion, utilizing the DPAA2 QBMan(Queue Manager and Buffer Manager
      hardware) infrastructure. DPDMAI object provides up to two priorities for
      processing qDMA requests.
      The following list summarizes the DPDMAI main features and capabilities:
      	1. Supports up to two scheduling priorities for processing
      	service requests.
      	- Each DPDMAI transmit queue is mapped to one of two service
      	priorities, allowing further prioritization in hardware between
      	requests from different DPDMAI objects.
      	2. Supports up to two receive queues for incoming transaction
      	completion confirmations.
      	- Each DPDMAI receive queue is mapped to one of two receive
      	priorities, allowing further prioritization between other
      	interfaces when associating the DPDMAI receive queues to DPIO
      	or DPCON(Data Path Concentrator) objects.
      	3. Supports different scheduling options for processing received
      	packets:
      	- Queues can be configured either in 'parked' mode (default),
      	or attached to a DPIO object, or attached to DPCON object.
      	4. Allows interaction with one or more DPIO objects for
      	dequeueing/enqueueing frame descriptors(FD) and for
      	acquiring/releasing buffers.
      	5. Supports enable, disable, and reset operations.
      
      Add dpdmai to support some platforms with dpaa2 qdma engine.
      Signed-off-by: default avatarPeng Ma <peng.ma@nxp.com>
      Link: https://lore.kernel.org/r/20190930020440.7754-1-peng.ma@nxp.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
      f2835adf
  5. 15 Oct, 2019 4 commits
  6. 14 Oct, 2019 12 commits
  7. 11 Oct, 2019 2 commits
  8. 30 Sep, 2019 8 commits
    • Linus Torvalds's avatar
      Linux 5.4-rc1 · 54ecb8f7
      Linus Torvalds authored
      54ecb8f7
    • Linus Torvalds's avatar
      Merge tag 'for-5.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · bb48a591
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
       "A bunch of fixes that accumulated in recent weeks, mostly material for
        stable.
      
        Summary:
      
         - fix for regression from 5.3 that prevents to use balance convert
           with single profile
      
         - qgroup fixes: rescan race, accounting leak with multiple writers,
           potential leak after io failure recovery
      
         - fix for use after free in relocation (reported by KASAN)
      
         - other error handling fixups"
      
      * tag 'for-5.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls
        btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
        btrfs: Fix a regression which we can't convert to SINGLE profile
        btrfs: relocation: fix use-after-free on dead relocation roots
        Btrfs: fix race setting up and completing qgroup rescan workers
        Btrfs: fix missing error return if writeback for extent buffer never started
        btrfs: adjust dirty_metadata_bytes after writeback failure of extent buffer
        Btrfs: fix selftests failure due to uninitialized i_mode in test inodes
      bb48a591
    • Linus Torvalds's avatar
      Merge tag 'csky-for-linus-5.4-rc1' of git://github.com/c-sky/csky-linux · 80b29b6b
      Linus Torvalds authored
      Pull csky updates from Guo Ren:
       "This round of csky subsystem just some fixups:
      
         - Fix mb() synchronization problem
      
         - Fix dma_alloc_coherent with PAGE_SO attribute
      
         - Fix cache_op failed when cross memory ZONEs
      
         - Optimize arch_sync_dma_for_cpu/device with dma_inv_range
      
         - Fix ioremap function losing
      
         - Fix arch_get_unmapped_area() implementation
      
         - Fix defer cache flush for 610
      
         - Support kernel non-aligned access
      
         - Fix 610 vipt cache flush mechanism
      
         - Fix add zero_fp fixup perf backtrace panic
      
         - Move static keyword to the front of declaration
      
         - Fix csky_pmu.max_period assignment
      
         - Use generic free_initrd_mem()
      
         - entry: Remove unneeded need_resched() loop"
      
      * tag 'csky-for-linus-5.4-rc1' of git://github.com/c-sky/csky-linux:
        csky: Move static keyword to the front of declaration
        csky: entry: Remove unneeded need_resched() loop
        csky: Fixup csky_pmu.max_period assignment
        csky: Fixup add zero_fp fixup perf backtrace panic
        csky: Use generic free_initrd_mem()
        csky: Fixup 610 vipt cache flush mechanism
        csky: Support kernel non-aligned access
        csky: Fixup defer cache flush for 610
        csky: Fixup arch_get_unmapped_area() implementation
        csky: Fixup ioremap function losing
        csky: Optimize arch_sync_dma_for_cpu/device with dma_inv_range
        csky/dma: Fixup cache_op failed when cross memory ZONEs
        csky: Fixup dma_alloc_coherent with PAGE_SO attribute
        csky: Fixup mb() synchronization problem
      80b29b6b
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · cef0aa0c
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "A few fixes that have trickled in through the merge window:
      
         - Video fixes for OMAP due to panel-dpi driver removal
      
         - Clock fixes for OMAP that broke no-idle quirks + nfsroot on DRA7
      
         - Fixing arch version on ASpeed ast2500
      
         - Two fixes for reset handling on ARM SCMI"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: aspeed: ast2500 is ARMv6K
        reset: reset-scmi: add missing handle initialisation
        firmware: arm_scmi: reset: fix reset_state assignment in scmi_domain_reset
        bus: ti-sysc: Remove unpaired sysc_clkdm_deny_idle()
        ARM: dts: logicpd-som-lv: Fix i2c2 and i2c3 Pin mux
        ARM: dts: am3517-evm: Fix missing video
        ARM: dts: logicpd-torpedo-baseboard: Fix missing video
        ARM: omap2plus_defconfig: Fix missing video
        bus: ti-sysc: Fix handling of invalid clocks
        bus: ti-sysc: Fix clock handling for no-idle quirks
      cef0aa0c
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · cf4f493b
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
       "A few more tracing fixes:
      
         - Fix a buffer overflow by checking nr_args correctly in probes
      
         - Fix a warning that is reported by clang
      
         - Fix a possible memory leak in error path of filter processing
      
         - Fix the selftest that checks for failures, but wasn't failing
      
         - Minor clean up on call site output of a memory trace event"
      
      * tag 'trace-v5.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        selftests/ftrace: Fix same probe error test
        mm, tracing: Print symbol name for call_site in trace events
        tracing: Have error path in predicate_parse() free its allocated memory
        tracing: Fix clang -Wint-in-bool-context warnings in IF_ASSIGN macro
        tracing/probe: Fix to check the difference of nr_args before adding probe
      cf4f493b
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · c710364f
      Linus Torvalds authored
      Pull more MMC updates from Ulf Hansson:
       "A couple more updates/fixes for MMC:
      
         - sdhci-pci: Add Genesys Logic GL975x support
      
         - sdhci-tegra: Recover loss in throughput for DMA
      
         - sdhci-of-esdhc: Fix DMA bug"
      
      * tag 'mmc-v5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: host: sdhci-pci: Add Genesys Logic GL975x support
        mmc: tegra: Implement ->set_dma_mask()
        mmc: sdhci: Let drivers define their DMA mask
        mmc: sdhci-of-esdhc: set DMA snooping based on DMA coherence
        mmc: sdhci: improve ADMA error reporting
      c710364f
    • Krzysztof Wilczynski's avatar
      csky: Move static keyword to the front of declaration · 9af032a3
      Krzysztof Wilczynski authored
      Move the static keyword to the front of declaration of
      csky_pmu_of_device_ids, and resolve the following compiler
      warning that can be seen when building with warnings
      enabled (W=1):
      
      arch/csky/kernel/perf_event.c:1340:1: warning:
        ‘static’ is not at beginning of declaration [-Wold-style-declaration]
      Signed-off-by: default avatarKrzysztof Wilczynski <kw@linux.com>
      Signed-off-by: default avatarGuo Ren <guoren@kernel.org>
      9af032a3
    • Valentin Schneider's avatar
      csky: entry: Remove unneeded need_resched() loop · a2139d3b
      Valentin Schneider authored
      Since the enabling and disabling of IRQs within preempt_schedule_irq()
      is contained in a need_resched() loop, we don't need the outer arch
      code loop.
      Signed-off-by: default avatarValentin Schneider <valentin.schneider@arm.com>
      Signed-off-by: default avatarGuo Ren <guoren@kernel.org>
      a2139d3b