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

Improve hifive-premier-p550_defconfig distro compatibility #4

Open
wants to merge 38 commits into
base: dev/kernel/hifive-premier-p550
Choose a base branch
from

Commits on Jul 31, 2024

  1. dts: eswin: Add dts and dtsi files for HiFive Premier P550 board

    dts, dtsi and include files for HiFive Premier P550 boards
    based on EIC7700 SoC.
    
    Signed-off-by: linmin <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    linmineswincomputing authored and PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    e86b6b6 View commit details
    Browse the repository at this point in the history
  2. riscv: Kconfig: Added configs related to EIC7700

    Signed-off-by: linmin <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    linmineswincomputing authored and PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    c732c71 View commit details
    Browse the repository at this point in the history
  3. drivers: clk: eswin: added clock driver for eic7700

    Signed-off-by: huangyifeng <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    huangyifeng-design authored and PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    3efb254 View commit details
    Browse the repository at this point in the history
  4. riscv: asm: Added changes to asm header files

    - Added wfe and iomb functions for riscv
    - Added memory port to system port and system port to memory port
      conversion macros to access uncached memory through system port
    - Modified pte_pfn and pfn_pte functions
      To access uncache memory, we need to remap physical address to system
      port address. System port pfn address will be stored in pte if uncached
      bit is set.
    
    Signed-off-by: linmin <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    linmineswincomputing authored and PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    9ba2d7f View commit details
    Browse the repository at this point in the history
  5. riscv: mm: dma-noncoherent: Add arch_dma_set_uncached

    Add arch_dma_set_uncached and arch_dma_clear_uncached
    
    Signed-off-by: linmin <[email protected]>
    Signed-off-by: Pritesh Patel <[email protected]>
    linmineswincomputing authored and PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    78bf3d2 View commit details
    Browse the repository at this point in the history
  6. iommu: Kconfig: Enable ARM SMMU V3 for RISCV

    Signed-off-by: linmin <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    8c57a92 View commit details
    Browse the repository at this point in the history
  7. drivers: smmu: Add changes for EIC7700 to arm smmu driver

    Clearing interrupt bits from interrupt handler because interrupt mode of
    smmu is oneshot but plic only support high level mode
    
    Signed-off-by: linmin <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    5edbc64 View commit details
    Browse the repository at this point in the history
  8. driver: iommu: Add IOMMU driver for EIC7700

    Signed-off-by: linmin <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    linmineswincomputing authored and PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    a4b572c View commit details
    Browse the repository at this point in the history
  9. drivers: sifive_ccache: Add riscv nonstd cache ops

    The EIC7700 has non-coherent DMAs but predate the standard RISC-V
    Zicbom extension, so instead we need to use this cache controller
    for non-standard cache management operations
    
    Reference:
    torvalds/linux@0d5701d
    
    Signed-off-by: Emil Renner Berthing <[email protected]>
    Signed-off-by: Conor Dooley <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    08e9d35 View commit details
    Browse the repository at this point in the history
  10. drivers: eswin: Enable ways for ccache

    Enabled all available cache ways to be used as cache.
    This change is required for CPU performance improvement.
    
    Out of reset, only way 0 is enabled and the disabled ways
    are addressable in L2-LIM(Loosely Integrated Memory).
    
    Signed-off-by: Pritesh Patel <[email protected]>
    Pritesh201192 authored and PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    411b0bc View commit details
    Browse the repository at this point in the history
  11. drivers: dw-axi-dmac: DMA driver changes for EIC7700

    - Removed cfgr clock as aon dma has separate cfg clk register bit
      while dma0 havn't. Since dma cfg clk is default on we do not
      need to control it
    - Add arst and prst reset control
    - Power on tbu and configure sid from hw init
    
    Signed-off-by: xuxiang <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    xiangxu-eswin authored and PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    244a0c8 View commit details
    Browse the repository at this point in the history
  12. driver: mmc: Add ESWIN mmc drivers

    Signed-off-by: liangshuang <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    liangshuang authored and PinkeshVaghelaEinfochips committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    efdaea4 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. driver: reset: Add eswin reset driver

    Signed-off-by: huangyifeng <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    huangyifeng-design authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    29c7837 View commit details
    Browse the repository at this point in the history
  2. driver: PCIe: Add PCIe driver for EIC7700

    Signed-off-by: ningyu <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    NingYu00 authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    68d29df View commit details
    Browse the repository at this point in the history
  3. driver: pinctrl: Add pincontrol driver for EIC7700

    Signed-off-by: luyulin <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    luyulin authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    3b9e9a9 View commit details
    Browse the repository at this point in the history
  4. driver: usb: Add Support for eswin dwc3 USB

    Signed-off-by: Yang Wei <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    yangwei18 authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    a757b73 View commit details
    Browse the repository at this point in the history
  5. drivers: usb: typec: Add driver for FUSB303B type C controller

    Signed-off-by: Yang Wei <[email protected]>
    Signed-off-by: Pritesh Patel <[email protected]>
    yangwei18 authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    8f37ad1 View commit details
    Browse the repository at this point in the history
  6. drivers: ethernet: Added ethernet driver for EIC7700

    Signed-off-by: fanglifei <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    fanglifei authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    2372b26 View commit details
    Browse the repository at this point in the history
  7. drivers: rtc: Added EIC7700 Internal RTC driver

    Signed-off-by: xuxiang <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    xiangxu-eswin authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    2917741 View commit details
    Browse the repository at this point in the history
  8. drivers: bus-error: Added SiFive Bus Error driver

    Signed-off-by: ningyu <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    NingYu00 authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    470c369 View commit details
    Browse the repository at this point in the history
  9. drivers: ata: Add ESWIN sata driver

    Signed-off-by: luyulin <[email protected]>
    Signed-off-by: Pritesh Patel <[email protected]>
    luyulin authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    2fd4fff View commit details
    Browse the repository at this point in the history
  10. drivers: audio: Added audio drivers

    Add custom ES8328 audio codec driver for hifive premier p550 board
    Add eswin i2s driver
    
    Signed-off-by: denglei <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    denglei authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    e96b2c3 View commit details
    Browse the repository at this point in the history
  11. drivers: pwm: Added ESWIN pwm driver

    Signed-off-by: xuxiang <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    Signed-off-by: Pritesh Patel <[email protected]>
    xiangxu-eswin authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    919c692 View commit details
    Browse the repository at this point in the history
  12. drivers: hwmon: fan-control: Add ESWIN fancontrol driver

    Signed-off-by: luyulin <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    luyulin authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    132c616 View commit details
    Browse the repository at this point in the history
  13. drivers: hwmon: pvt: Add ESWIN PVT driver

    Signed-off-by: luyulin <[email protected]>
    Signed-off-by: Darshan Prajapati <[email protected]>
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    luyulin authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    724aacc View commit details
    Browse the repository at this point in the history
  14. drivers: kvm: vcpu: Disabled writing HENVCFG reg

    HENVCFG register is not present in EIC7700 SOC. So disabled writing
    this register
    
    Signed-off-by: Pritesh Patel <[email protected]>
    Pritesh201192 authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    df86ed4 View commit details
    Browse the repository at this point in the history
  15. drivers: hwmon: PAC1934: Add PAC1934 driver

    Signed-off-by: Yang Wei <[email protected]>
    Signed-off-by: Pritesh Patel <[email protected]>
    yangwei18 authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    c5edff5 View commit details
    Browse the repository at this point in the history
  16. drivers: spi: Add bootspi flash driver for EIC7700

    Signed-off-by: huangyifeng <[email protected]>
    Signed-off-by: Pritesh Patel <[email protected]>
    huangyifeng-design authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    793f93f View commit details
    Browse the repository at this point in the history
  17. perf vendor events riscv: Add SiFive P550 events

    The SiFive Performance P550 core features an out-of-order
    microarchitecture which exposes the same PMU events as Bullet,
    plus events for UTLB hits and PTE cache misses/hits.
    
    Signed-off-by: Eric Lin <[email protected]>
    Co-developed-by: Samuel Holland <[email protected]>
    Signed-off-by: Samuel Holland <[email protected]>
    dslin1010 authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    eab052f View commit details
    Browse the repository at this point in the history
  18. ttm: disallow cached mapping

    Signed-off-by: Icenowy Zheng <[email protected]>
    Icenowy authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    a5f7868 View commit details
    Browse the repository at this point in the history
  19. RISC-V: Add defines for SBI debug console extension

    We add SBI debug console extension related defines/enum to the
    asm/sbi.h header.
    
    Signed-off-by: Anup Patel <[email protected]>
    Reviewed-by: Andrew Jones <[email protected]>
    Signed-off-by: Anup Patel <[email protected]>
    avpatel authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    71892b4 View commit details
    Browse the repository at this point in the history
  20. RISC-V: Add SBI debug console helper routines

    Let us provide SBI debug console helper routines which can be
    shared by serial/earlycon-riscv-sbi.c and hvc/hvc_riscv_sbi.c.
    
    Signed-off-by: Anup Patel <[email protected]>
    Reviewed-by: Andrew Jones <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Palmer Dabbelt <[email protected]>
    avpatel authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    98380b2 View commit details
    Browse the repository at this point in the history
  21. tty/serial: Add RISC-V SBI debug console based earlycon

    We extend the existing RISC-V SBI earlycon support to use the new
    RISC-V SBI debug console extension.
    
    Signed-off-by: Anup Patel <[email protected]>
    Reviewed-by: Andrew Jones <[email protected]>
    Acked-by: Greg Kroah-Hartman <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Palmer Dabbelt <[email protected]>
    avpatel authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    db4aa2a View commit details
    Browse the repository at this point in the history
  22. hifive-premier-p550: add defconfig

    Signed-off-by: Pritesh Patel <[email protected]>
    Pritesh201192 authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    8a7e461 View commit details
    Browse the repository at this point in the history
  23. hifive-premier-p550: Remove 1.5GHz to 1.8GHz cpu freq

    Removed 1.5GHz to 1.8GHz cpu freq from opp-table as the max
    supported freq for CPU is  1.4GHz
    
    Signed-off-by: Pinkesh Vaghela <[email protected]>
    PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    7483323 View commit details
    Browse the repository at this point in the history
  24. riscv: defconfig: hifive-premier-p550: Update command line

    Updated kernel command line
      - Removed stale command lines
      - Moved serial console configs to extlinux conf file
    
    Signed-off-by: Pritesh Patel <[email protected]>
    Pritesh201192 authored and PinkeshVaghelaEinfochips committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    081fb3f View commit details
    Browse the repository at this point in the history
  25. configs: refresh hifive-premier-p550_defconfig

    Use savedefconfig to create a true defconfig.
    
    Signed-off-by: Heinrich Schuchardt <[email protected]>
    xypron committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    77ac942 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. configs: improve hifive-premier-p550_defconfig distro compatibility

    With the changes Docker and the Ubuntu Firewall are functional.
    
    Signed-off-by: Heinrich Schuchardt <[email protected]>
    xypron committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    a7e4aa8 View commit details
    Browse the repository at this point in the history