Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9cbfe73
FROMLIST: dt-bindings: pci: Add Sophgo SG2042 PCIe host
unicornx Jun 4, 2025
9aee9bf
FROMLIST: PCI: sg2042: Add Sophgo SG2042 PCIe driver
unicornx Jun 4, 2025
fe5df3d
FROMLIST: dt-bindings: mfd: syscon: Add sg2042 pcie ctrl compatible
unicornx Jun 4, 2025
b0b0320
FROMLIST: riscv: sophgo: dts: add pcie controllers for SG2042
unicornx Jun 4, 2025
7e5c394
FROMLIST: riscv: sophgo: dts: enable pcie for PioneerBox
unicornx Jun 4, 2025
1b8cc1f
UPSTREAM: riscv: dts: sophgo: sg2042: add pinctrl support
inochisa Feb 11, 2025
8e36c96
UPSTREAM: riscv: sophgo: dts: Add spi controller for SG2042
sycamoremoon Jun 4, 2025
588773e
FROMLIST: dt-bindings: net: sophgo,sg2044-dwmac: Add support for Soph…
inochisa Jun 4, 2025
189ed9f
FROMLIST: net: stmmac: dwmac-sophgo: Add support for Sophgo SG2042 SoC
inochisa Jun 4, 2025
62fcb41
FROMLIST: net: stmmac: platform: Add snps,dwmac-5.00a IP compatible s…
inochisa Jun 4, 2025
a265b9d
FROMLIST: riscv: dts: sophgo: add ethernet GMAC device for sg2042
inochisa Jun 4, 2025
bf4830d
FROMLIST: riscv: Move vendor errata definitions into vendorid_list.h
guoren83 Jun 4, 2025
3529cdf
FROMLIST: riscv: qspinlock: errata: Add ERRATA_THEAD_WRITE_ONCE fixup
guoren83 Jun 4, 2025
9320d35
FROMLIST: riscv: dts: sophgo: Add xtheadvector to the sg2042 devicetree
RevySR Jun 4, 2025
b831f19
FROMLIST: riscv: dts: sophgo: add ziccrse for sg2042
RevySR Jun 4, 2025
695ca3a
FROMLIST: riscv: dts: sophgo: add zfh for sg2042
RevySR Jun 4, 2025
2486164
FROMLIST: dt-bindings: riscv: add Sophgo SG2042_EVB_V1.X bindings
RevySR Jun 4, 2025
a0446d8
FROMLIST: riscv: dts: sophgo: add Sophgo SG2042_EVB_V1.X board device…
RevySR Jun 4, 2025
c9c9ce0
FROMLIST: dt-bindings: riscv: add Sophgo SG2042_EVB_V2.0 bindings
RevySR Jun 4, 2025
b0f2362
FROMLIST: riscv: dts: sophgo: add Sophgo SG2042_EVB_V2.0 board device…
RevySR Jun 4, 2025
17b8671
FROMLIST: riscv: vector: Fix context save/restore with xtheadvector
RevySR Jun 4, 2025
74fa466
FROMLIST: spi: dt-bindings: spi-sg2044-nor: Add SOPHGO SG2042
sycamoremoon Jun 4, 2025
dbfcc8d
FROMLIST: mtd: spi-nor: Add GD25LB512ME GigaDevice flash_info
sycamoremoon Jun 4, 2025
56bb2bd
FROMLIST: riscv: dts: sophgo: Add SPI NOR node for SG2042
sycamoremoon Jun 4, 2025
87eadda
SOPHGO: riscv: kexec: Add image loader for kexec file
xingxg2022 Jun 4, 2025
f35d9ca
REVYOS: pcie: sg2042: pcie_rc1 use msi as msi-parent
RevySR Jun 4, 2025
7768115
REVYOS: dts: sophgo: sg2042: move pcie domain config into board devic…
inochisa Jun 4, 2025
6c4c38f
REVYOS: dts: sophgo: sg2042: add pcie port for sg2042 EVB V1.X/V2.0
inochisa Jun 4, 2025
3eb11eb
REVYOS: riscv: dts: sophgo: enable pcie_rc for Sophgo SG2042_EVB_V1.X
RevySR Jun 4, 2025
805efed
REVYOS: riscv: dts: sophgo: enable pcie_rc for Sophgo SG2042_EVB_V2.0
RevySR Jun 4, 2025
af08386
REVYOS: riscv: dts: sophgo: Enable SPI NOR node for SG2042_EVB_V1/V2
RevySR Jun 4, 2025
43234a6
RISCV64: REVYOS: dts: sophgo: sg2042: sync old kernel numa-id
RevySR Jun 4, 2025
a6f9777
RISCV64: REVYOS: Revert "riscv: Enable pcpu page first chunk allocator"
RevySR Jun 4, 2025
a20a0b7
RISCV64: REVYOS: Revert "NUMA: early use of cpu_to_node() returns 0 i…
RevySR Jun 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
FROMLIST: riscv: Move vendor errata definitions into vendorid_list.h
Move vendor errata definitions into vendorid_list and make it re-useable
for other header files.

Signed-off-by: Guo Ren <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Tested-by: Inochi Amaoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Han Gao <[email protected]>
  • Loading branch information
guoren83 authored and RevySR committed Jun 4, 2025
commit bf4830d6572df3e68a73227cd34cdd5f8178813a
18 changes: 0 additions & 18 deletions arch/riscv/include/asm/errata_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,6 @@
#include <asm/hwcap.h>
#include <asm/vendorid_list.h>

#ifdef CONFIG_ERRATA_ANDES
#define ERRATA_ANDES_NO_IOCP 0
#define ERRATA_ANDES_NUMBER 1
#endif

#ifdef CONFIG_ERRATA_SIFIVE
#define ERRATA_SIFIVE_CIP_453 0
#define ERRATA_SIFIVE_CIP_1200 1
#define ERRATA_SIFIVE_NUMBER 2
#endif

#ifdef CONFIG_ERRATA_THEAD
#define ERRATA_THEAD_MAE 0
#define ERRATA_THEAD_PMU 1
#define ERRATA_THEAD_GHOSTWRITE 2
#define ERRATA_THEAD_NUMBER 3
#endif

#ifdef __ASSEMBLY__

#define ALT_INSN_FAULT(x) \
Expand Down
18 changes: 18 additions & 0 deletions arch/riscv/include/asm/vendorid_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,22 @@
#define SIFIVE_VENDOR_ID 0x489
#define THEAD_VENDOR_ID 0x5b7

#ifdef CONFIG_ERRATA_ANDES
#define ERRATA_ANDES_NO_IOCP 0
#define ERRATA_ANDES_NUMBER 1
#endif

#ifdef CONFIG_ERRATA_SIFIVE
#define ERRATA_SIFIVE_CIP_453 0
#define ERRATA_SIFIVE_CIP_1200 1
#define ERRATA_SIFIVE_NUMBER 2
#endif

#ifdef CONFIG_ERRATA_THEAD
#define ERRATA_THEAD_MAE 0
#define ERRATA_THEAD_PMU 1
#define ERRATA_THEAD_GHOSTWRITE 2
#define ERRATA_THEAD_NUMBER 3
#endif

#endif