Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "drivers/tty/serial/8250: update driver for VIC7100" #21

Closed
wants to merge 61 commits into from
Closed

Revert "drivers/tty/serial/8250: update driver for VIC7100" #21

wants to merge 61 commits into from

Commits on May 22, 2021

  1. riscv: mm: add _PAGE_LEAF macro

    In riscv, a page table entry is leaf when any bit of read, write,
    or execute bit is set. So add a macro:_PAGE_LEAF instead of
    (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC), which is frequently used
    to determine if it is a leaf page. This make code easier to read,
    without any functional change.
    
    Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    sunnanyong authored and palmer-dabbelt committed May 22, 2021
    Configuration menu
    Copy the full SHA
    f5397c3 View commit details
    Browse the repository at this point in the history
  2. riscv: mm: make pmd_bad() check leaf condition

    In the definition in Documentation/vm/arch_pgtable_helpers.rst,
    pmd_bad() means test a non-table mapped PMD, so it should also
    return true when it is a leaf page.
    
    Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    sunnanyong authored and palmer-dabbelt committed May 22, 2021
    Configuration menu
    Copy the full SHA
    141682f View commit details
    Browse the repository at this point in the history
  3. riscv: mm: add param stride for __sbi_tlb_flush_range

    Add a parameter: stride for __sbi_tlb_flush_range(),
    represent the page stride between the address of start and end.
    Normally, the stride is PAGE_SIZE, and when flush huge page
    address, the stride can be the huge page size such as:PMD_SIZE,
    then it only need to flush one tlb entry if the address range
    within PMD_SIZE.
    
    Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    sunnanyong authored and palmer-dabbelt committed May 22, 2021
    Configuration menu
    Copy the full SHA
    c3b2d67 View commit details
    Browse the repository at this point in the history
  4. riscv: mm: add THP support on 64-bit

    Bring Transparent HugePage support to riscv. A
    transparent huge page is always represented as a pmd.
    
    Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    sunnanyong authored and palmer-dabbelt committed May 22, 2021
    Configuration menu
    Copy the full SHA
    e88b333 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. riscv: mremap speedup - enable HAVE_MOVE_PUD and HAVE_MOVE_PMD

    HAVE_MOVE_PUD enables remapping pages at the PUD level if both the source
    and destination addresses are PUD-aligned.
    HAVE_MOVE_PMD does similar speedup on the PMD level.
    
    With HAVE_MOVE_PUD enabled, there is about a 143x improvement on qemu
    With HAVE_MOVE_PMD enabled, there is about a 5x improvement on qemu
    
    Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    xhackerustc authored and palmer-dabbelt committed May 26, 2021
    Configuration menu
    Copy the full SHA
    3332f41 View commit details
    Browse the repository at this point in the history
  2. riscv: mm: Remove setup_zero_page()

    The empty_zero_page sits at .bss..page_aligned section, so will be
    cleared to zero during clearing bss, we don't need to clear it again.
    
    Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
    Reviewed-by: Anup Patel <anup@brainfault.org>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    Jisheng Zhang authored and palmer-dabbelt committed May 26, 2021
    Configuration menu
    Copy the full SHA
    8f3e136 View commit details
    Browse the repository at this point in the history
  3. riscv: enable generic PCI resource mapping

    Enable the PCI resource mapping on RISC-V using the generic framework.
    This allows userspace applications to mmap PCI resources using
    /sys/devices/pci*/*/resource* interface.
    The mmap has been tested with Intel x520-DA2 NIC card on a HiFive
    Unmatched board (SiFive FU740 SoC).
    
    Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    semihalf-kardach-stanislaw authored and palmer-dabbelt committed May 26, 2021
    Configuration menu
    Copy the full SHA
    db75674 View commit details
    Browse the repository at this point in the history
  4. riscv: Move setup_bootmem into paging_init

    Make setup_bootmem() static.
    
    Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    Kefeng Wang authored and palmer-dabbelt committed May 26, 2021
    Configuration menu
    Copy the full SHA
    f842f5f View commit details
    Browse the repository at this point in the history
  5. riscv: mm: Drop redundant _sdata and _edata declaration

    The _sdata/_edata is already in sections.h, drop redundant
    declaration.
    
    Also move _xiprom/_exiprom declarations at the beginning of
    the file, cleanup one CONFIG_XIP_KERNEL.
    
    Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    Kefeng Wang authored and palmer-dabbelt committed May 26, 2021
    Configuration menu
    Copy the full SHA
    50bae95 View commit details
    Browse the repository at this point in the history
  6. riscv: Optimize switch_mm by passing "cpu" to flush_icache_deferred()

    Directly passing the cpu to flush_icache_deferred() rather than calling
    smp_processor_id() again.
    
    Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
    [Palmer: drop the QEMU performance numbers, and update the comment]
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    xhackerustc authored and palmer-dabbelt committed May 26, 2021
    Configuration menu
    Copy the full SHA
    8237c52 View commit details
    Browse the repository at this point in the history
  7. riscv: Turn has_fpu into a static key if FPU=y

    The has_fpu check sits at hot code path: switch_to(). Currently, has_fpu
    is a bool variable if FPU=y, switch_to() checks it each time, we can
    optimize out this check by turning the has_fpu into a static key.
    
    Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    xhackerustc authored and palmer-dabbelt committed May 26, 2021
    Configuration menu
    Copy the full SHA
    37a7a2a View commit details
    Browse the repository at this point in the history

Commits on May 29, 2021

  1. riscv: kprobes: Remove redundant kprobe_step_ctx

    Inspired by commit ba090f9 ("arm64: kprobes: Remove redundant
    kprobe_step_ctx"), the ss_pending and match_addr of kprobe_step_ctx
    are redundant because those can be replaced by KPROBE_HIT_SS and
    &cur_kprobe->ainsn.api.insn[0] + GET_INSN_LENGTH(cur->opcode)
    respectively.
    
    Remove the kprobe_step_ctx to simplify the code.
    
    Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
    Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    xhackerustc authored and palmer-dabbelt committed May 29, 2021
    Configuration menu
    Copy the full SHA
    8c9f494 View commit details
    Browse the repository at this point in the history
  2. riscv: Add __init section marker to some functions again

    These functions are not needed after booting, so mark them as __init
    to move them to the __init section.
    
    Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    xhackerustc authored and palmer-dabbelt committed May 29, 2021
    Configuration menu
    Copy the full SHA
    3df952a View commit details
    Browse the repository at this point in the history
  3. riscv: mm: init: Consolidate vars, functions

    Consolidate the following items in init.c
    
    Staticize global vars as much as possible;
    Add __initdata mark if the global var isn't needed after init
    Add __init mark if the func isn't needed after init
    Add __ro_after_init if the global var is read only after init
    
    Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    xhackerustc authored and palmer-dabbelt committed May 29, 2021
    Configuration menu
    Copy the full SHA
    0106235 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2021

  1. riscv: TRANSPARENT_HUGEPAGE: depends on MMU

    Fix a Kconfig warning and many build errors:
    
    WARNING: unmet direct dependencies detected for COMPACTION
      Depends on [n]: MMU [=n]
      Selected by [y]:
      - TRANSPARENT_HUGEPAGE [=y] && HAVE_ARCH_TRANSPARENT_HUGEPAGE [=y]
    
    and the subseqent thousands of build errors and warnings.
    
    Fixes: e88b333 ("riscv: mm: add THP support on 64-bit")
    Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
    Acked-by: Mike Rapoport <rppt@linux.ibm.com>
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    rddunlap authored and palmer-dabbelt committed May 30, 2021
    Configuration menu
    Copy the full SHA
    7fa865f View commit details
    Browse the repository at this point in the history
  2. riscv: Use global mappings for kernel pages

    We map kernel pages into all addresses spages, so they can be marked as
    global.  This allows hardware to avoid flushing the kernel mappings when
    moving between address spaces.
    
    Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
    Reviewed-by: Anup Patel <anup@brainfault.org>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    [Palmer: commit text]
    Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
    guoren83 authored and palmer-dabbelt committed May 30, 2021
    Configuration menu
    Copy the full SHA
    cba43c3 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2021

  1. Configuration menu
    Copy the full SHA
    91d02ad View commit details
    Browse the repository at this point in the history
  2. dt-bindings: usb: cdns,usb3: Fix interrupts order

    Correct the order of the descriptions for the "interrupts" property to
    match the order of the "interrupt-names" property.
    
    Fixes: 68989fe ("dt-bindings: usb: Convert cdns-usb3.txt to YAML schema")
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    b594590 View commit details
    Browse the repository at this point in the history
  3. mmc: dw_mmc-pltfm: Remove unused <linux/clk.h>

    As of commit 4cdc2ec ("mmc: dw_mmc: move rockchip related code
    to a separate file"), dw_mmc-pltfm.c no longer uses the clock API.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    6535d6f View commit details
    Browse the repository at this point in the history
  4. dt-bindings: add StarFive Technology Co. Ltd.

    Add vendor prefix for StarFive Technology Co. Ltd [1]. StarFive was
    formed in 2018 and has now produced their first SoC, the JH7100, which
    contains 64-bit RISC-V cores [2]. It used in the BeagleV Starlight [3].
    
    [1] https://starfivetech.com/site/company
    [2] https://github.com/beagleboard/beaglev-starlight
    [3] https://github.com/starfive-tech/beaglev_doc
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    c54debc View commit details
    Browse the repository at this point in the history
  5. [WIP] dt-bindings: clock: starfive: Add preliminary JH7100 bindings

    Add preliminary Device Tree bindings for the StarFive JH7100 Clock
    Generator.
    
    To be verified against documentation when it becomes available.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    2c23db8 View commit details
    Browse the repository at this point in the history
  6. [WIP] dt-bindings: clock: starfive: Add preliminary JH7100 Clock Defi…

    …nitions
    
    Add all clock outputs for the StarFive JH7100 Clock Generator, based on
    the list of fixed-frequency clocks defined in jh7100.dtsi.
    
    To be verified against documentation when it becomes available.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    e0369ea View commit details
    Browse the repository at this point in the history
  7. [WIP] clk: starfive: Add preliminary JH7100 Clock Generator Driver

    Add a preliminary driver for the StarFive JH7100 Clock Generator.
    For now, all clocks are implemented as fixed-factor clocks relative to
    osc0, based on the list of fixed-frequency clocks defined in
    jh7100.dtsi.
    
    To be updated when the documentation becomes available.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    09a73a6 View commit details
    Browse the repository at this point in the history
  8. dt-bindings: gpio: add starfive,jh7100-gpio bindings

    Add bindings for the GPIO controller in the StarFive JH7100 SoC [1].
    
    [1] https://github.com/starfive-tech/beaglev_doc
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    0fa6dd2 View commit details
    Browse the repository at this point in the history
  9. gpio: starfive-jh7100: Add StarFive JH7100 GPIO driver

    This SoC is used on the BeagleV Starlight JH7100 board [1].
    
    [1] https://github.com/beagleboard/beaglev-starlight
    
    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    huanfeng-sf authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    02c6953 View commit details
    Browse the repository at this point in the history
  10. [WIP] dt-bindings: dma: dw-axi-dmac: Increase DMA channel limit to 16

    The first DMAC instance in the StarFive JH7100 SoC supports 16 DMA
    channels.
    
    FIXME Given there are more changes to the driver than just increasing
          DMAC_MAX_CHANNELS, we probably need a new compatible value, too.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    173bb4d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3cdd633 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9220cd3 View commit details
    Browse the repository at this point in the history
  13. dt-bindings: hwmon: add starfive,jh7100-temp bindings

    Add bindings for the temperature sensor on the Starfive JH7100 SoC.
    
    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    e51061c View commit details
    Browse the repository at this point in the history
  14. hwmon: (sfctemp) Add StarFive JH7100 temperature sensor

    Register definitions based on sfctemp driver in the StarFive
    5.10 kernel by Samin Guo <samin.guo@starfivetech.com>.
    
    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    057ab45 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    45f9d2b View commit details
    Browse the repository at this point in the history
  16. sifive/sifive_l2_cache: Add Starfive support

    Tom authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    f1c032d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    cfa6ef6 View commit details
    Browse the repository at this point in the history
  18. sifive/sifive_l2_cache: Print a backtrace on out-of-range flushes

    This makes it easier to find out which driver passes a wrong address
    range.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    e6cca64 View commit details
    Browse the repository at this point in the history
  19. drivers/pwm: Add SiFive PWM PTC driver

    Chenjieqin authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    d313c5c View commit details
    Browse the repository at this point in the history
  20. drivers/pwm/pwm-sifive-ptc: Clear PWM CNTR

    Clear CNTR of PWM after setting period & duty_cycle
    yiming.li authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    338e5ed View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    1911a8a View commit details
    Browse the repository at this point in the history
  22. drivers/dma: Fix VIC7100 dw-axi-dmac-platform driver addition

    Descriptor management was simplified with commit:
    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ef6fb2d6f1abd56cc067c694253ea362159b5ac3
    
    Code added to dw-axi-dmac-platform driver due to VIC7100 Cache Coherency
    issues needed follow those changes.
    
    Signed-off-by: Michael Scott <mike@foundries.io>
    mike-scott authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    62a62eb View commit details
    Browse the repository at this point in the history
  23. drivers/i2c: Improve Synopsys DesignWare I2C adapter driver for StarF…

    …ive VIC7100
    Tom authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    2eab704 View commit details
    Browse the repository at this point in the history
  24. drivers/i2c: Add GPIO configuration for VIC7100.

    [FIXME] why we can not do it in U-boot?
    
    [geert: Rebase to v5.13-rc1]
    Tom authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    0914fe9 View commit details
    Browse the repository at this point in the history
  25. net: stmmac: use GFP_DMA32

    Signed-off-by: Matteo Croce <mcroce@microsoft.com>
    teknoraver authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    f4d8984 View commit details
    Browse the repository at this point in the history
  26. net: stmmac: Add dcache flush functions for JH7100

    Note: including uSDK v0.9->v1.0 patch
    
    [geert: Rebase to v5.13-rc1]
    Warnings fixed by Matteo.
    
    Signed-off-by: Matteo Croce <mcroce@microsoft.com>
    Tom authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    d4c4044 View commit details
    Browse the repository at this point in the history
  27. net: stmmac: Configure gtxclk based on speed

    Tom authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    3511b5e View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    f97d4ab View commit details
    Browse the repository at this point in the history
  29. drivers/usb: Add dcache flush(VIC7100 ONLY)

    drivers/usb/cdns3/
    drivers/usb/core/
    drivers/usb/host/
    include/linux/usb.h
    
    Geert: Rebase to v5.13-rc1
    Stafford: Don't flush NULL values
    
    Signed-off-by: Stafford Horne <shorne@gmail.com>
    Tom authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    920613f View commit details
    Browse the repository at this point in the history
  30. riscv/starfive: Add VIC7100 support

    Tom authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    84ee4f5 View commit details
    Browse the repository at this point in the history
  31. drivers/video/fbdev and drivers/media/platform: starfive drivers added

    1, add ov5640&sc2235 drivers, update stf_isp
    2, add MIPI/CSI/DSI drivers for VIC7100
    jackzhustf authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    b4e9da5 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    e84355d View commit details
    Browse the repository at this point in the history
  33. video: fbdev: starfive: workaround for unavailable pointer of dtb

    Fix sf_fb_map_video_memory in starfive_fb.c
    jackzhustf authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    3fe9608 View commit details
    Browse the repository at this point in the history
  34. video: fbdev: starfive: fix compiler warnings

    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    e5f2664 View commit details
    Browse the repository at this point in the history
  35. video: fbdev: starfive: improve error handling

    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    f41510d View commit details
    Browse the repository at this point in the history
  36. video: fbdev: starfive: fix modpost build error (missing license)

    Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
    sarnold authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    4707f1e View commit details
    Browse the repository at this point in the history
  37. video: fbdev: starfive: fix fb bug about HDMI display

    Qing Zhao authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    c4840af View commit details
    Browse the repository at this point in the history
  38. video: fbdev: starfive: FB_STARFIVE_HDMI_TDA998X depends on DRM_FBDEV…

    …_EMULATION
    
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L0 ':
    tda998x.c:(.text+0x51c): undefined reference to `drm_encoder_cleanup'
    riscv64-linux-gnu-ld: tda998x.c:(.text+0x534): undefined reference to `drm_encoder_cleanup'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L75':
    tda998x.c:(.text+0x564): undefined reference to `drm_of_find_possible_crtcs'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `tda998x_encoder_destroy':
    tda998x.c:(.text+0x58a): undefined reference to `drm_encoder_init'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `tda998x_bind':
    tda998x.c:(.text+0x5b2): undefined reference to `drm_bridge_attach'
    riscv64-linux-gnu-ld: tda998x.c:(.text+0x5c0): undefined reference to `drm_encoder_cleanup'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L0 ':
    tda998x.c:(.text+0x692): undefined reference to `drm_bridge_remove'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L124':
    tda998x.c:(.text+0x904): undefined reference to `hdmi_infoframe_pack'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L135':
    tda998x.c:(.text+0x9e8): undefined reference to `drm_connector_cleanup'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L0 ':
    tda998x.c:(.text+0xa00): undefined reference to `drm_connector_cleanup'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L143':
    tda998x.c:(.text+0xa56): undefined reference to `drm_connector_init'
    riscv64-linux-gnu-ld: tda998x.c:(.text+0xa66): undefined reference to `drm_connector_attach_encoder'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `tda998x_bridge_detach':
    tda998x.c:(.text+0xa8a): undefined reference to `__drm_err'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L189':
    tda998x.c:(.text+0xd16): undefined reference to `drm_do_get_edid'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L0 ':
    tda998x.c:(.text+0xd34): undefined reference to `drm_connector_update_edid_property'
    riscv64-linux-gnu-ld: tda998x.c:(.text+0xd4e): undefined reference to `drm_add_edid_modes'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L165':
    tda998x.c:(.text+0xd5a): undefined reference to `drm_detect_monitor_audio'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L0 ':
    tda998x.c:(.text+0xfb0): undefined reference to `__drm_dbg'
    riscv64-linux-gnu-ld: tda998x.c:(.text+0x108a): undefined reference to `drm_kms_helper_hotplug_event'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L283':
    tda998x.c:(.text+0x1844): undefined reference to `drm_hdmi_avi_infoframe_from_display_mode'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L361':
    tda998x.c:(.text+0x2078): undefined reference to `drm_bridge_add'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.LANCHOR0':
    tda998x.c:(.rodata+0x90): undefined reference to `drm_helper_connector_dpms'
    riscv64-linux-gnu-ld: tda998x.c:(.rodata+0x98): undefined reference to `drm_atomic_helper_connector_reset'
    riscv64-linux-gnu-ld: tda998x.c:(.rodata+0xb0): undefined reference to `drm_helper_probe_single_connector_modes'
    riscv64-linux-gnu-ld: tda998x.c:(.rodata+0xd8): undefined reference to `drm_atomic_helper_connector_duplicate_state'
    riscv64-linux-gnu-ld: tda998x.c:(.rodata+0xe0): undefined reference to `drm_atomic_helper_connector_destroy_state'
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    ff2c534 View commit details
    Browse the repository at this point in the history
  39. video: fbdev: starfive: Fix frame buffer reserved memory resource con…

    …flict
    
        starfive,vpp-lcdc 12000000.sfivefb: can't request region for resource [mem 0xfb000000-0xfcffffff]
        starfive,vpp-lcdc 12000000.sfivefb: Fail to allocate video RAM
        starfive,vpp-lcdc 12000000.sfivefb: starfive fb init fail
        starfive,vpp-lcdc 12000000.sfivefb: fb info init FAIL
        starfive,vpp-lcdc: probe of 12000000.sfivefb failed with error -16
    
    devm_ioremap_resource() calls devm_request_mem_region(), which fails as
    the reserved memory for the frame buffer is already present in the
    resource list, cfr. /proc/iomem:
    
        fb000000-fcffffff : Reserved
    
    Fix this by mapping the frame buffer memory using devm_ioremap().
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    f4ea901 View commit details
    Browse the repository at this point in the history
  40. spi: cadence-quadspi: Allow compilation on RISC-V

    This IP is also used on the Starfive JH7100 riscv64 SoC and presumably
    also the upcoming JH7110 SoC.
    
    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    1494f04 View commit details
    Browse the repository at this point in the history
  41. [HACK] mfd: tps65086: make interrupt line optional

    The BeagleV Starlight v0.9 board doesn't have the IRQB line from the
    pmic routed to the SoC, so this hack is needed to allow the driver
    to be loaded without it. See
    beagleboard/beaglev-starlight#14
    
    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    560bb03 View commit details
    Browse the repository at this point in the history
  42. power: reset: Add TPS65086 restart driver

    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    66a1c63 View commit details
    Browse the repository at this point in the history
  43. riscv: dts: Add JH7100 and BeagleV Starlight support

    Based on the device tree in https://github.com/starfive-tech/u-boot/
    with contributions from:
    yanhong.wang <yanhong.wang@starfivetech.com>
    Huan.Feng <huan.feng@starfivetech.com>
    ke.zhu <ke.zhu@starfivetech.com>
    yiming.li <yiming.li@starfivetech.com>
    jack.zhu <jack.zhu@starfivetech.com>
    Samin Guo <samin.guo@starfivetech.com>
    Chenjieqin <Jessica.Chen@starfivetech.com>
    bo.li <bo.li@starfivetech.com>
    
    Rearranged, cleanups, fixes and TPS65086 added by Emil.
    Cleanups, fixes and LED added by Geert.
    Cleanups and GPIO fixes from Drew.
    Thermal zone added by Stephen.
    
    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    TekkamanV authored and esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    56a41a1 View commit details
    Browse the repository at this point in the history
  44. [Not for upstream] Add build instructions

    For convenience this also adds a small starlight_defconfig and the
    firmware needed for the brcmfmac driver along with the signed regulatory
    database.
    
    The firmware is from the linux-firmware repo and the regulatory database
    from the wireless-regdb Fedora package.
    
    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    esmil committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    83dba1f View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2021

  1. Revert "drivers/tty/serial/8250: update driver for VIC7100"

    This reverts commit 3cdd633.
    pdp7 committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    e983fd9 View commit details
    Browse the repository at this point in the history