10 Apr, 2020

1 commit


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
     

05 Mar, 2020

1 commit

  • commit ca4b43c14cd88d28cfc6467d2fa075aad6818f1d upstream.

    To work properly on every architectures and compilers, the enum value
    needs to be specific numbers.

    Suggested-by: Greg KH
    Signed-off-by: Peter Chen
    Link: https://lore.kernel.org/r/1580537624-10179-1-git-send-email-peter.chen@nxp.com
    Signed-off-by: Sasha Levin
    Signed-off-by: Greg Kroah-Hartman

    Peter Chen
     

26 Feb, 2020

2 commits

  • Typically a MAC PCS auto-configures itself after it receives the
    negotiated copper-side link settings from the PHY, but some MAC devices
    are more special and need manual interpretation of the SGMII AN result.

    In other cases, the PCS exposes the entire tx_config_reg base page as it
    is transmitted on the wire during auto-negotiation, so it makes sense to
    be able to decode the equivalent lp_advertised bit mask from the raw u16
    (of course, "lp" considering the PCS to be the local PHY).

    Therefore, add the bit definitions for the SGMII registers 4 and 5
    (local device ability, link partner ability), as well as a link_mode
    conversion helper that can be used to feed the AN results into
    phy_resolve_aneg_linkmode.

    Signed-off-by: Vladimir Oltean
    (cherry picked from commit 25138e7b9463c07eebbbcd1523b94d7e0d2d1649)

    Vladimir Oltean
     
  • This reverts commit de81e3c1ccbf27eda7584e23c713705a221a57da.

    Signed-off-by: Vladimir Oltean
    (cherry picked from commit a8e166166e9f1817b8df9040cb06a6a9a7e0fad7)

    Vladimir Oltean
     

18 Jan, 2020

1 commit

  • commit 949b452f9cfef17e78055239f978d95ba729eee1 upstream.

    This was missed when nes was removed.

    Fixes: 2d3c72ed5041 ("rdma: Remove nes")
    Link: https://lore.kernel.org/r/20191024135059.GA20084@ziepe.ca
    Signed-off-by: Jason Gunthorpe
    Signed-off-by: Greg Kroah-Hartman

    Jason Gunthorpe
     

15 Jan, 2020

1 commit

  • commit f729a1b0f8df7091cea3729fc0e414f5326e1163 upstream.

    Going through all uses of timeval, I noticed that we screwed up
    input_event in the previous attempts to fix it:

    The time fields now match between kernel and user space, but all following
    fields are in the wrong place.

    Add the required padding that is implied by the glibc timeval definition
    to fix the layout, and use a struct initializer to avoid leaking kernel
    stack data.

    Fixes: 141e5dcaa735 ("Input: input_event - fix the CONFIG_SPARC64 mixup")
    Fixes: 2e746942ebac ("Input: input_event - provide override for sparc64")
    Signed-off-by: Arnd Bergmann
    Link: https://lore.kernel.org/r/20191213204936.3643476-2-arnd@arndb.de
    Cc: stable@vger.kernel.org
    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Greg Kroah-Hartman

    Arnd Bergmann
     

12 Jan, 2020

1 commit


31 Dec, 2019

1 commit

  • [ Upstream commit 9b211f9c5a0b67afc435b86f75d78273b97db1c5 ]

    The CEC_MSG_GIVE_DECK_STATUS and CEC_MSG_GIVE_TUNER_DEVICE_STATUS commands
    both have a status_req argument: ON, OFF, ONCE. If ON or ONCE, then the
    follower will reply with a STATUS message. Either once or whenever the
    status changes (status_req == ON).

    If status_req == OFF, then it will stop sending continuous status updates,
    but the follower will *not* send a STATUS message in that case.

    This means that if status_req == OFF, then msg->reply should be 0 as well
    since no reply is expected in that case.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Sasha Levin

    Hans Verkuil
     

18 Dec, 2019

1 commit

  • commit 806e0cdfee0b99efbb450f9f6e69deb7118602fc upstream.

    CEC_OP_REC_FLAG_NOT_USED is 0 and CEC_OP_REC_FLAG_USED is 1, not the
    other way around.

    Signed-off-by: Hans Verkuil
    Reported-by: Jiunn Chang
    Cc: # for v4.10 and up
    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Greg Kroah-Hartman

    Hans Verkuil
     

02 Dec, 2019

21 commits

  • * vfio/next: (10 commits)
    vfio/fsl-mc: Map the VFIO region according to the flags received from mc firmware
    vfio/fsl-mc: Add read/write support for fsl-mc devices
    vfio/fsl-mc: trigger an interrupt via eventfd
    vfio/fsl-mc: Add irq infrastructure for fsl-mc devices
    vfio/fsl-mc: Added lock support in preparation for interrupt handling
    ...

    Dong Aisheng
     
  • * sensor/next: (29 commits)
    LF-99 hwmon: mag3110: correct processing order after probe error
    MLK-22296-4 misc: mpl3115: Fix build warning when CONFIG_PM_SLEEP=n
    MLK-17061-1 sensor: set sensor interrupt pins as open-drain
    hwmon: mma8451: Add regulator_disable to avoid WARN_ON
    hwmon: mag3110: Add regulator_disable to avoid WARN_ON
    ...

    Dong Aisheng
     
  • After commit
    622445541b75 ("kbuild: detect missing "WITH Linux-syscall-note" for uapi headers")
    the headfile must explicitly include "WITH Linux-syscall-note".

    Signed-off-by: Dong Aisheng

    Dong Aisheng
     
  • This patch provids netlink method to configure the TSN protocols hardwares.
    TSN guaranteed packet transport with bounded low latency, low packet delay
    variation, and low packet loss by hardware and software methods.

    The three basic components of TSN are:

    1. Time synchronization: This was implement by 8021AS which base on the
    IEEE1588 precision Time Protocol. This is configured by the other way
    in kernel.
    8021AS not included in this patch.

    2. Scheduling and traffic shaping and per-stream filter policing:
    This patch support Qbv/Qci/Qbu/8021CB/Qav etc.

    3. Selection of communication paths:
    This patch not support the pure software only TSN protocols(like Qcc)
    but hardware related configuration.

    TSN Protocols supports by this patch: Qbv/Qci/Qbu/Credit-base Shaper(Qav).
    This patch verified on NXP ls1028ardb board.

    Signed-off-by: Po Liu

    Po Liu
     
  • Typically a MAC PCS auto-configures itself after it receives the
    negotiated link settings from the PHY, but some MAC devices are more
    special and need manual manipulation of the SGMII AN result.

    Therefore, add the bit definitions for the SGMII registers 4 and 5
    (local device ability, link partner ability), as well as a link_mode
    conversion helper that can be used to feed the AN results into
    phy_resolve_aneg_linkmode.

    Signed-off-by: Vladimir Oltean

    Vladimir Oltean
     
  • Adding userspace support for the MC (Management Complex) means exporting
    an ioctl capable device file representing the root resource container.

    This new functionality in the fsl-mc bus driver intends to provide
    userspace applications an interface to interact with the MC firmware.

    Commands that are composed in userspace are sent to the MC firmware
    through the FSL_MC_SEND_MC_COMMAND ioctl. By default the implicit MC
    I/O portal is used for this operation, but if the implicit one is busy,
    a dynamic portal is allocated and then freed upon execution.

    Signed-off-by: Ioana Ciornei

    Ioana Ciornei
     
  • Define "struct fsl_mc_command" as a structure that can cross the
    user/kernel boundary.

    Signed-off-by: Ioana Ciornei

    Ioana Ciornei
     
  • Signed-off-by: Iordache Florinel-R70177

    Iordache Florinel-R70177
     
  • Signed-off-by: Madalin Bucur

    Madalin Bucur
     
  • * mxc/next: (119 commits)
    mxc: hdmi-cec: Add imx6 hdmi cec driver
    driver: mfd: hdmi: Add hdmi core driver
    MLK-22399 mxc IPUv3: cpmem: Get 0 u/v_offset in __ipu_ch_offset_calc() for some pfmts
    mxc: IPU3: Fix not including uapi/linux/sched/types.h
    media: platform: mxc: output: Forward IPUv3 V4L2 output driver from imx_4.19.y
    ...

    Dong Aisheng
     
  • * misc/next:
    nvmem: imx: correct the fuse word index
    nvmem: imx-ocotp: add support for the unaliged word count
    MA-11994 Add get phys address ioctl to dma-buf.
    staging: android: allow to compile ION unconditionally

    Dong Aisheng
     
  • * display/next: (340 commits)
    LF-94: drm: hdmi: imx: Add hdmi phy video mode valid function
    drm: hdmi: imx8: fix wrong hdmi type with non-SCDC HDMI sinks
    Revert "drm/imx/hdp: fix issue with non-SCDC HDMI sinks"
    drm/bridge: nwl-dsi Correct the DSI init sequence
    gpu: imx: framegen: Use crtc_clock instead of mode clock
    ...

    Dong Aisheng
     
  • * capture/next: (68 commits)
    LF-237 media: ov5640_mipi: fix regulator dump when i2c access for camera fail
    staging: media: imx: add g_parm/s_parm for imx8 capture device
    staging: media: imx: enable ISI for imx8mn platform
    media: staging: imx: add media device driver support for IMX8
    LF-115: media: i2c: ov5640: fix enumerate capture mode issue
    ...

    Dong Aisheng
     
  • * origin/mxc/vpu: (44 commits)
    LF-80:[8QM_MEK/8QXP_MEK]mxc:vpu_malone:clear eos flag when output streamoff
    MLK-22999 mxc: vpu_malone: release debugfs after open to avoid memory leak
    MLK-22991 mxc: vpu_malone vpu_windsor: check is vpu poweroff when suspend
    MLK-22963 mxc vpu_windsor: fix call vzalloc during spinlock
    MLK-22945 mxc vpu_malone: disable decode ctx before release it.
    ...

    Dong Aisheng
     
  • * origin/mxc/sim: (23 commits)
    sim: emvsim: add multi power domain support
    MLK-22217 mxc: emvsim: add value adjustment for cwt/bwt timer
    MLK-22216 mxc: emvsim: last character need be transmitted separately with no guard time
    MLK-22215 mxc: emvsim: correct irq mask and clear irq status before receiving
    MLK-22214 mxc: emvsim: clean up the code in ATR stage
    ...

    Dong Aisheng
     
  • * origin/mxc/mlb: (17 commits)
    MLK-23000-1 mxc: mlb: fix kernel dump when use gen_pool_dma_alloc
    mxc mlb: Allow compilation on imx8
    MLK-22071-3 Document: mlb: add imx8qxp compatible string
    MLK-15997 Document: mlb: add document for mlb
    mxc: mlb: fix interrupt rw lock dead lock
    ...

    Dong Aisheng
     
  • * origin/display/fbdev: (26 commits)
    MLK-22768 video: fbdev: mxc_ipuv3_fb: Handle enabled fg properly when set-par happens on bg
    video: fbdev: mxsfb: Fix writecombine/wc build error
    MLK-22084: fbdev: hdmi: Fix HDCP function failed work with Sony TV
    fbdev: dcic: Enable imx6 dcic driver
    video: fbdev: mxc: hdmi: add hdmi framebuffer driver
    ...

    Dong Aisheng
     
  • * origin/display/drm: (8 commits)
    drm/fourcc: add a 10bits fully packed variant of NV12
    drm/fourcc: add modifier for vivante compressed tiled layout
    MLK-17368-1 drm: add fourcc codes for Verisilicon tiled formats
    MLK-16290 drm: Add drm_of_component_probe_with_match() helper
    MLK-15110-1 drm/fourcc: Add Amphion tiled layout format modifier
    ...

    Dong Aisheng
     
  • * origin/capture/mxc: (11 commits)
    media: v4l2: vadc: Enable vadc driver
    media: mx6s_capture: accommodate the driver to framework's change
    media: v4l2 capture: add v4l2 capture driver based on csi
    media: mipi csi: add IPU CSI driver
    media: add adv7180 video decoder driver
    ...

    Dong Aisheng
     
  • * origin/audio/sof: (21 commits)
    ASoC: SOF: Read tplg filename from board descriptor
    ASoC: SOF: Update fw_filename from board description
    ASoC: SOF: Allow probe to continue when we have an actual codec
    ASoC: SOF: Hardcode ignore_machine
    ASoC: fsl: Add generic DAI driver
    ...

    Dong Aisheng
     
  • * origin/audio/dsp: (78 commits)
    MLK-22815-1: ASoC: fsl: dsp: Expand parameter msg size
    MLK-21144 ASoC: fsl: Fix crash with multiple open/close
    ASoC: fsl_dsp: Use new compatible string for FSL DSP
    ASoC: fsl: dsp: remove unused types.h
    MLK-21985-6 ASoC: imx-dsp: fix build for next 20190607 upgrade
    ...

    Dong Aisheng
     

27 Nov, 2019

2 commits


26 Nov, 2019

1 commit


25 Nov, 2019

6 commits