Jisheng Zhang
186355454e
riscv: select ARCH_USE_CMPXCHG_LOCKREF
...
Select ARCH_USE_CMPXCHG_LOCKREF to enable the cmpxchg-based lockless lockref
implementation for riscv.
Using Linus' test case[1] on TH1520 platform, I see a 11.2% improvement.
On JH7110 platform, I see 12.0% improvement.
Link: http://marc.info/?l=linux-fsdevel&m=137782380714721&w=4 [1]
Signed-off-by: Jisheng Zhang <jszhang@kernel.org >
2023-11-29 23:46:21 +08:00
Jisheng Zhang
b25b9b6b16
riscv: select ARCH_HAS_FAST_MULTIPLIER
...
Currently, riscv linux requires at least IMA, so all platforms have a
multiplier. And I assume the 'mul' efficiency is comparable or better
than a sequence of five or so register-dependent arithmetic
instructions. Select ARCH_HAS_FAST_MULTIPLIER to get slightly nicer
codegen. Refer to commit f9b4192923fa ("[PATCH] bitops: hweight()
speedup") for more details.
In a simple benchmark test calling hweight64() in a loop, it got:
about 14% preformance improvement on JH7110, tested on Milkv Mars.
about 23% performance improvement on TH1520 and SG2042, tested on
Sipeed LPI4A and SG2042 platform.
a slight performance drop on CV1800B, tested on milkv duo. Among all
riscv platforms in my hands, this is the only one which sees a slight
performance drop. It means the 'mul' isn't quick enough. However, the
situation exists on x86 too, for example, P4 doesn't have fast
integer multiplies as said in the above commit, x86 also selects
ARCH_HAS_FAST_MULTIPLIER. So let's select ARCH_HAS_FAST_MULTIPLIER
which can benefit almost riscv platforms.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org >
Reviewed-by: Samuel Holland <samuel.holland@sifive.com >
Tested-by: Samuel Holland <samuel.holland@sifive.com >
2023-11-29 23:46:21 +08:00
NekoRouter
3e042d29a3
Re-disable pwm,qspi0,qspi1 on beagle board
...
Keep light-a and beagle both can work
2023-10-22 21:04:53 -05:00
NekoRouter
c32ad7b836
Revert "sync: device-tree changes from main repo"
...
Enable pwm, qspi0, qspi1 on all devices
This reverts partial of commit 40ef3b0976
2023-10-22 21:04:53 -05:00
NekoRouter
99a459c9f7
Add MIPI panel driver, MIPI panel and touch controller Kconfig, New devicetree file
2023-10-22 21:04:53 -05:00
Han Gao
b9526ccc12
config: use separate revyos_beaglev_defconfig
...
Signed-off-by: Han Gao <gaohan@iscas.ac.cn >
2023-10-10 14:46:45 -05:00
Han Gao
f05fed4b3a
Revert "fix: temporarily turn off Bluetooth build for ahead"
...
Use separate config
This reverts commit fe82c45483 .
2023-10-10 14:46:45 -05:00
Lu Hui
e04af8ab30
revyos_defconfig: enable aic8800 wifi
2023-10-10 13:38:16 -05:00
Han Gao
fe82c45483
fix: temporarily turn off Bluetooth build for ahead
...
Signed-off-by: Han Gao <gaohan@iscas.ac.cn >
2023-10-10 16:24:12 +08:00
Han Gao
e0b5c2d836
Revert "Fix DSI"
...
This reverts commit c37f2020a7fe989eedec6edfc30c6ff1888a1bcf.
2023-10-09 15:46:44 -05:00
Han Gao
383394d925
chore: sync revyos_config for sdk 1.2.0
...
Signed-off-by: Han Gao <gaohan@iscas.ac.cn >
2023-10-09 15:46:44 -05:00
Han Gao
76d072714b
fix: sync beagle devicetree
...
Signed-off-by: Han Gao <gaohan@iscas.ac.cn >
2023-10-09 15:46:44 -05:00
Han Gao
f107c010f0
chore: sync revyos_config
...
Signed-off-by: Han Gao <gaohan@iscas.ac.cn >
2023-10-09 15:46:44 -05:00
Robert Nelson
21488b4bba
BeagleV: remove uart4 configuration and leave it to u-boot
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Deepak Khatri
48d0bea232
Fix DSI
2023-10-09 15:46:44 -05:00
Deepak Khatri
0f0b0abd92
Free up P8.12
2023-10-09 15:46:44 -05:00
Deepak Khatri
2864ff8827
Free up P8.08 & P8.09
2023-10-09 15:46:44 -05:00
Robert Nelson
d7048c221b
BeagleV: add overlays
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
d92a0f15a5
config: switch from /usr/lib/ -> /lib/ for wifi
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
e4706a16f3
sync: Fix gpio pins input issue
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
34157258d7
dt: merge in BlueTooth pinmux changes
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
825f6a577e
dt: sync MB_CS
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
f0fba63d97
merge: dt: add cape header pins
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
790c65208f
light-beagle-ref.dts: rename board
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
4f4ed3f042
light-beagle: disable mipi, then hdmi just works
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
4d4f6ba338
ToolChain: switch to something we can download with wget
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
40ef3b0976
sync: device-tree changes from main repo
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
921113dc1d
config: sync config
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
296d3dc80c
config: enable a suite of generic drivers
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
d592c8d305
config: sync filesystem options
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
8d34c4a386
config: SECURITY profile
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:46:44 -05:00
Robert Nelson
2360026a43
config: enable MODULE_COMPRESS_XZ
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:39:45 -05:00
Robert Nelson
dd0b44d681
config: sync debian networking stack
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:39:45 -05:00
Robert Nelson
3366ec3f14
config: enable leds support
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:39:45 -05:00
Robert Nelson
c2bb75e485
riscv: support Overlay Buildling
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:39:45 -05:00
Robert Nelson
2fac2fed77
config: add our default gadget loading configuration
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:33:03 -05:00
Robert Nelson
ac080f0f32
config: add docker.io defaults
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:33:03 -05:00
Robert Nelson
22994ee8fd
config: disable CONFIG_DEBUG_INFO/CONFIG_RUNTIME_TESTING_MENU
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:33:03 -05:00
Robert Nelson
dd5c99c459
Add_Eth_Phy_and_Wifi_Ble_driver_for_BeagleV_board
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:33:03 -05:00
Robert Nelson
798c6e25dc
BeagleV: copy light_defconfig as beaglev_defconfig
...
Signed-off-by: Robert Nelson <robertcnelson@gmail.com >
2023-10-09 15:33:03 -05:00
Han Gao
ed4a257bd1
fix: cluster mask reg_usb_hub_vcc5v gpio
...
Signed-off-by: Han Gao <gaohan@iscas.ac.cn >
2023-10-10 03:20:28 +08:00
Lu Hui
052b22ef8b
revyos_defconfig: enable nfs kernel server support
2023-09-11 20:15:56 +08:00
Lu Hui
cc197e94ce
riscv: dts: add lpi4a laptop device tree
2023-09-11 18:35:35 +08:00
Lu Hui
46e0a824e1
riscv: dts: add cluster device tree
2023-09-11 18:35:18 +08:00
Lu Hui
807db9d981
Revert "revyos_defconfig: enable usb uas driver"
...
This reverts commit 07167b855f .
this commit cause some usb stroage device not working,disable
this driver from being compiled into the kernel until the cause
of the device not working is found.
2023-09-04 17:15:41 +08:00
Lu Hui
07167b855f
revyos_defconfig: enable usb uas driver
2023-08-28 11:31:23 +08:00
Lu Hui
342da2ebbd
revyos_defconfig: enable TCP congestion control
2023-08-28 11:31:23 +08:00
Han Gao
4d36214794
chore: sync sdk v1.2.1 config
...
Signed-off-by: Han Gao <gaohan@iscas.ac.cn >
2023-08-19 15:26:40 +08:00
Han Gao
3e585776f5
chore: sync sdk v1.2.1 dts
...
Signed-off-by: Han Gao <gaohan@iscas.ac.cn >
2023-08-19 15:26:40 +08:00
thead_admin
afef388b8e
Linux_SDK_V1.2.1
...
Signed-off-by: thead_admin <occ_thead@service.alibaba.com >
2023-08-19 15:26:40 +08:00