Age | Commit message (Collapse) | Author | Files | Lines |
|
Set defualt to max frequeuce to set latency to minium.
Alse disable cpu idle and hibernation pm ops.
etercat module module install sequence
modprobe phylink
insmod ec_master.ko main_devices=<ethercat gmac mac address>
insmod ec_generic.ko
modprobe pcs_xpcs
cd /lib/modules/5.15.0-rt17+/kernel/drivers/net/ethernet/stmicro/stmmac/
insmod stmmac.ko
insmod stmmac-platform.ko
insmod dwmac-starfive-plat.ko
mac address example:
insmod ec_master.ko main_devices=6c:cf:39:00:27:48
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
The code is origin from arm64/x86
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
enable full preempt RT config.
Set HZ 1000 and set no tickless
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
|
|
RISCV allow to select RT
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
|
|
The printk header file includes ratelimit_types.h for its __ratelimit()
based usage. It requires it for the static initializer used in
printk_ratelimited(). It uses a raw_spinlock_t and includes the
spinlock_types.h. It makes no difference on non PREEMPT-RT builds but
PREEMPT-RT replaces the inner part of some locks and therefore includes
rtmutex.h and atomic.h which leads to recursive includes where defines
are missing.
By including only the raw_spinlock_t defines it avoids the atomic.h
related includes at this stage.
An example on powerpc:
| CALL scripts/atomic/check-atomics.sh
|In file included from include/linux/bug.h:5,
| from include/linux/page-flags.h:10,
| from kernel/bounds.c:10:
|arch/powerpc/include/asm/page_32.h: In function ‘clear_page’:
|arch/powerpc/include/asm/bug.h:87:4: error: implicit declaration of function ‘__WARN’ [-Werror=implicit-function-declaration]
| 87 | __WARN(); \
| | ^~~~~~
|arch/powerpc/include/asm/page_32.h:48:2: note: in expansion of macro ‘WARN_ON’
| 48 | WARN_ON((unsigned long)addr & (L1_CACHE_BYTES - 1));
| | ^~~~~~~
|arch/powerpc/include/asm/bug.h:58:17: error: invalid application of ‘sizeof’ to incomplete type ‘struct bug_entry’
| 58 | "i" (sizeof(struct bug_entry)), \
| | ^~~~~~
|arch/powerpc/include/asm/bug.h:89:3: note: in expansion of macro ‘BUG_ENTRY’
| 89 | BUG_ENTRY(PPC_TLNEI " %4, 0", \
| | ^~~~~~~~~
|arch/powerpc/include/asm/page_32.h:48:2: note: in expansion of macro ‘WARN_ON’
| 48 | WARN_ON((unsigned long)addr & (L1_CACHE_BYTES - 1));
| | ^~~~~~~
|In file included from arch/powerpc/include/asm/ptrace.h:298,
| from arch/powerpc/include/asm/hw_irq.h:12,
| from arch/powerpc/include/asm/irqflags.h:12,
| from include/linux/irqflags.h:16,
| from include/asm-generic/cmpxchg-local.h:6,
| from arch/powerpc/include/asm/cmpxchg.h:526,
| from arch/powerpc/include/asm/atomic.h:11,
| from include/linux/atomic.h:7,
| from include/linux/rwbase_rt.h:6,
| from include/linux/rwlock_types.h:55,
| from include/linux/spinlock_types.h:74,
| from include/linux/ratelimit_types.h:7,
| from include/linux/printk.h:10,
| from include/asm-generic/bug.h:22,
| from arch/powerpc/include/asm/bug.h:109,
| from include/linux/bug.h:5,
| from include/linux/page-flags.h:10,
| from kernel/bounds.c:10:
|include/linux/thread_info.h: In function ‘copy_overflow’:
|include/linux/thread_info.h:210:2: error: implicit declaration of function ‘WARN’ [-Werror=implicit-function-declaration]
| 210 | WARN(1, "Buffer overflow detected (%d < %lu)!\n", size, count);
| | ^~~~
The WARN / BUG include pulls in printk.h and then ptrace.h expects WARN
(from bug.h) which is not yet complete. Even hw_irq.h has WARN_ON()
statements.
On POWERPC64 there are missing atomic64 defines while building 32bit
VDSO:
| VDSO32C arch/powerpc/kernel/vdso32/vgettimeofday.o
|In file included from include/linux/atomic.h:80,
| from include/linux/rwbase_rt.h:6,
| from include/linux/rwlock_types.h:55,
| from include/linux/spinlock_types.h:74,
| from include/linux/ratelimit_types.h:7,
| from include/linux/printk.h:10,
| from include/linux/kernel.h:19,
| from arch/powerpc/include/asm/page.h:11,
| from arch/powerpc/include/asm/vdso/gettimeofday.h:5,
| from include/vdso/datapage.h:137,
| from lib/vdso/gettimeofday.c:5,
| from <command-line>:
|include/linux/atomic-arch-fallback.h: In function ‘arch_atomic64_inc’:
|include/linux/atomic-arch-fallback.h:1447:2: error: implicit declaration of function ‘arch_atomic64_add’; did you mean ‘arch_atomic_add’? [-Werror=impl
|icit-function-declaration]
| 1447 | arch_atomic64_add(1, v);
| | ^~~~~~~~~~~~~~~~~
| | arch_atomic_add
The generic fallback is not included, atomics itself are not used. If
kernel.h does not include printk.h then it comes later from the bug.h
include.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
CR_7889_vf2_qspi_5.15_ziv.xu
See merge request sbc/linux!173
|
|
|
|
modify qspi dts
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
|
|
modify qspi dts
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
|
|
accelerator-sc7a20
mention: this patch is to solve the problem that radxa 8inch use i2c addr 0x19 which conflict with accelerator-sc7a20.
Then enable accelerator-sc7a20
1.update radxa panel startup process to support both radxa 10inch and radxa 8inch in one driver
2.add accelerator-sc7a20 i2c probe process into radxa panel driver
Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
|
|
|
|
Fix the bug that dma driver failed to init as the wrong clock name.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
CR_6872_bluetooth_5.15_ziv.xu
See merge request sbc/linux!167
|
|
|
|
Use DMA-Coherent to avoid DIRECT_REMAP when allocating DMA buffers
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Need to change some properties as DMA driver changes.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
enable uhid in starfive_visionfive2_defconfig
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
|
|
CR 7073 vf2 515: riscv: drm: panel: mass production radxa 10inch panel support
See merge request sbc/linux!164
|
|
|
|
change radxa 10inch support from sample to mass production
Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
|
|
CR_4379: sound:hifi4: Sound Open Firmware for hifi4 on vf2
See merge request sbc/linux!138
|
|
starfive_visionfive2_defconfig
disable CONFIG_DEBUG_ATOMIC_SLEEP in starfive_visionfive2_defconfig
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
|
|
disable CONFIG_DEBUG_ATOMIC_SLEEP in starfive_jh7110_defconfig
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
|
|
add sof default config and change mailbox's config to y, because sof
need mailbox for ipc.
Signed-off-by: carter.li <carter.li@starfivetech.com>
|
|
init sof_wm8960.dtsi, add sof_dsp node for sof hifi4.
Signed-off-by: carter.li <carter.li@starfivetech.com>
|
|
pwm backlight support for vf2
Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
|
|
|
|
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
|
|
CR_6864: riscv: dts: starfive: change sd speed mode to highspeed
See merge request sbc/linux!148
|
|
|
|
change sd speed mode to highspeed
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
add property to divide board
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
|
|
CR_6570: mmc: starfive: change the tuning method
See merge request sbc/linux!139
|
|
The frequency of cclk_in is limited to 50M, so that it does not do internal
part frequency and goes by-pass mode.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
The frequency of cclk_in is limited to 50M, so that it does not do internal
part frequency and goes by-pass mode. And delete syscon node.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
|
|
CR_6485: dts:hifi4: change hifi4 firmware memory space in jh7110-visionfive-v2.dtsi
See merge request sbc/linux!135
|
|
update e24 dts in vf2
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
update mailbox test dts
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
jh7110-visionfive-v2.dtsi
dts patch didn's apply fully, add this commit for other part of dts
patch.
Signed-off-by: carter.li <carter.li@starfivetech.com>
|
|
CR5623: dts: starfive: vf2: Adjust the CMA start address
See merge request sbc/linux!134
|
|
|
|
CR_6485: dts:hifi4: change hifi4 firmware memory space
See merge request sdk/linux!916
|
|
change hifi4 firmware memory space according to 5623.
Signed-off-by: carter.li <carter.li@starfivetech.com>
|
|
CR6466: dmaengine: dw-axi-dmac-starfive-misc: Fix incorrect parameters
See merge request sdk/linux!908
|
|
CR5623:Adjust the CMA start address
See merge request sdk/linux!905
|