summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-12Merge branch 'CR_6485_hifi4_evb_dts_5.15_carter.li' into 'jh7110-5.15.y-devel'andy.hu2-6/+6
CR_6485: dts:hifi4: change hifi4 firmware memory space See merge request sdk/linux!916
2023-07-12dts:hifi4: change hifi4 firmware memory spacecarter.li2-6/+6
change hifi4 firmware memory space according to 5623. Signed-off-by: carter.li <carter.li@starfivetech.com>
2023-07-12Merge branch 'CR_6469_Fix_kernel_warning_mason.huo' into 'jh7110-5.15.y-devel'andy.hu2-4/+3
CR_6469 Fix_kernel_warning See merge request sdk/linux!910
2023-07-12Merge branch 'CR_6468_vin_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-1/+1
CR_6468_vin_515_changhuang.liang media: starfive: Fix vin warning See merge request sdk/linux!917
2023-07-12Merge branch 'CR_6472_evb_5.15_vout_shengyang.chen' into 'jh7110-5.15.y-devel'andy.hu1-0/+2
CR_6472_5.15: vout:riscv:driver fix vout compile warning See merge request sdk/linux!912
2023-07-12Merge branch 'CR_6466_fix_dma_warning_smain.guo' into 'jh7110-5.15.y-devel'andy.hu2-2/+2
CR6466: dmaengine: dw-axi-dmac-starfive-misc: Fix incorrect parameters See merge request sdk/linux!908
2023-07-12Merge branch 'CR_5623_1GDDR_samin.guo' into 'jh7110-5.15.y-devel'andy.hu1-1/+1
CR5623:Adjust the CMA start address See merge request sdk/linux!905
2023-07-12Merge branch 'CR_6409_e24_evb_dts5.15_shanlong.li' into 'jh7110-5.15.y-devel'andy.hu2-5/+5
CR_6409: dts:e24: update e24 dts config See merge request sdk/linux!904
2023-07-10vout:riscv:driver fix vout compile warningshengyang.chen1-0/+2
fix vout compile warning Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
2023-07-10media: starfive: Fix vin warningChanghuang Liang1-1/+1
Fix vin warning. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-07-10etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overeadKees Cook1-3/+2
With GCC 12, -Wstringop-overread was warning about an implicit cast from char[6] to char[8]. However, the extra 2 bytes are always thrown away, alignment doesn't matter, and the risk of hitting the edge of unallocated memory has been accepted, so this prototype can just be converted to a regular char *. Silences: net/core/dev.c: In function ‘bpf_prog_run_generic_xdp’: net/core/dev.c:4618:21: warning: ‘ether_addr_equal_64bits’ reading 8 bytes from a region of size 6 [-Wstringop-overread] 4618 | orig_host = ether_addr_equal_64bits(eth->h_dest, > skb->dev->dev_addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net/core/dev.c:4618:21: note: referencing argument 1 of type ‘const u8[8]’ {aka ‘const unsigned char[8]’} net/core/dev.c:4618:21: note: referencing argument 2 of type ‘const u8[8]’ {aka ‘const unsigned char[8]’} In file included from net/core/dev.c:91: include/linux/etherdevice.h:375:20: note: in a call to function ‘ether_addr_equal_64bits’ 375 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Marc Kleine-Budde <mkl@pengutronix.de> Tested-by: Marc Kleine-Budde <mkl@pengutronix.de> Link: https://lore.kernel.org/netdev/20220212090811.uuzk6d76agw2vv73@pengutronix.de Cc: Jakub Kicinski <kuba@kernel.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: netdev@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
2023-07-10mm: page_alloc: fix building error on -Werror=array-compareXiongwei Song1-1/+1
Arthur Marsh reported we would hit the error below when building kernel with gcc-12: CC mm/page_alloc.o mm/page_alloc.c: In function `mem_init_print_info': mm/page_alloc.c:8173:27: error: comparison between two arrays [-Werror=array-compare] 8173 | if (start <= pos && pos < end && size > adj) \ | In C++20, the comparision between arrays should be warned. Link: https://lkml.kernel.org/r/20211125130928.32465-1-sxwjean@me.com Signed-off-by: Xiongwei Song <sxwjean@gmail.com> Reported-by: Arthur Marsh <arthur.marsh@internode.on.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2023-07-10riscv: jh7110: Fix dwmac max-burst-lenSamin Guo1-1/+1
If DMA uses Sysport transport, the maximum burst-len is 15. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-10dmaengine: dw-axi-dmac-starfive-misc: Fix incorrect parametersSamin Guo1-1/+1
The second parameter of wait_event_interruptible_timeout is not an address pointer Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-07dts: starfive: jh7110: Adjust the CMA start addressSamin Guo1-1/+1
In order to better comply with 1G/2G DDR, adjust the CMA start address Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-07-06Merge tag 'JH7110_515_SDK_v5.3.1' into vf2-515-develAndy Hu4-16/+26
2023-07-06dts:e24: update e24 dts configshanlong.li2-5/+5
update e24 dts config Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-07-06Merge branch 'CR_6412_evb_515_hdmi_resolution_shengyang.chen' into ↵andy.hu1-0/+1
'jh7110-5.15.y-devel' CR_6412: riscv: linux: vout: add 1600x720 resolution for hdmi See merge request sdk/linux!902
2023-07-05riscv: linux: vout: add 1600x720 resolution for hdmishengyang.chen1-0/+1
add 1600x720 resolution for hdmi Signed-off-by: Shengyang Chen shengyang.chen@starfivetech.com
2023-07-05Merge branch 'CR_5746_imx219_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-0/+1
CR_5746_imx219_changhuang.liang media: starfive: imx219: Add system pm See merge request sdk/linux!899
2023-07-05Merge branch 'CR_6271_usb_fix_low_memory_515' into 'jh7110-5.15.y-devel'andy.hu2-16/+20
CR_6271 usb: xhci: using dma_alloc_noncoherent to alloc low memory pool See merge request sdk/linux!900
2023-07-05Merge branch 'CR_6131_evb_515_hdmi_resolution_shengyang.chen' into ↵andy.hu1-0/+4
'jh7110-5.15.y-devel' CR_6131: riscv: linux: vout: add 2560x1080 resolution for hdmi See merge request sdk/linux!893
2023-07-03usb: xhci: using dma_alloc_noncoherent to alloc low memory poolMinda Chen2-16/+20
For RISCV_NONCACHEHERENT is set, using dma_alloc_noncoherent to alloc cached large block low memory buffer. And set default size to 4M. (largest size of continuous memory can be supported) Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
2023-07-03media: starfive: imx219: Add system pmChanghuang Liang1-0/+1
Add system pm. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-06-29riscv: linux: vout: add 2560x1080 resolution for hdmishengyang.chen1-0/+4
add 2560x1080 resolution for hdmi Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
2023-06-28Merge tag 'JH7110_515_SDK_v5.3.0' into vf2-515-develAndy Hu11-2/+174
2023-06-28Merge branch 'CR_5620_DMA_NONCOHERENT_samin.guo' into 'jh7110-5.15.y-devel'andy.hu6-0/+152
CR5620: Add non-coherent DMA handling See merge request sdk/linux!881
2023-06-28Merge branch 'CR_5782_CAN_515_william.qiu' into 'jh7110-5.15.y-devel'andy.hu1-1/+1
CR_5782: riscv: dts: starfive:disable CANFD func See merge request sdk/linux!889
2023-06-28Merge branch 'CR_6231_add_uart_flow_ctrl_minda_515' into 'jh7110-5.15.y-devel'andy.hu5-1/+21
CR6231 uart: 8250: Add dw auto flow ctrl support See merge request sdk/linux!878
2023-06-27riscv: dts: starfive:disable CANFD funcWilliam Qiu1-1/+1
disable CANFD func Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-06-27soc: sifive: l2_cache: Add sifive_ccache_flush_rangeSamin Guo2-0/+7
Add sifive_ccache_flush_range to be compatible with new code Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-06-26riscv: starfive: jh7110: add dma-coherent for front-port-deviceSamin Guo1-0/+13
pcie/usb/gmac/sdio/dmac/audioDSP/e24/crypto is connected to front port, and the hardware maintains cache coherency. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-06-26riscv: starfive: jh7110: select DMA_DIRECT_REMAPSamin Guo1-0/+1
Select DMA_DIRECT_REMAP for arch_dma_prep_coherent Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-06-26soc: sifive: ccache: Add non-coherent DMA handlingEmil Renner Berthing5-0/+131
Add functions to flush the caches and handle non-coherent DMA. Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2023-06-25uart: 8250: Add dw auto flow ctrl supportMinda Chen5-1/+21
Add designeware 8250 auto flow ctrl support. Enable it by add auto-flow-control in dts. Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
2023-06-21Merge tag 'JH7110_515_SDK_v5.2.1' into vf2-515-develAndy Hu8-78/+150
2023-06-21Merge branch 'CR_5859_ov4689_changhuang.liang' into 'vf2-515-devel'andy.hu2-0/+28
CR_5859_ov4689_changhuang.liang Add ov4689 configure See merge request sbc/linux!132
2023-06-20Merge branch 'CR_4977_CAN_william.qiu' into 'jh7110-5.15.y-devel'andy.hu1-1/+22
CR_4977: ipms: can: clear skb buffer after transmit See merge request sdk/linux!854
2023-06-20Merge branch 'CR_5859_ov4689_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-9/+13
CR_5859_ov4689_515_changhuang.liang media: starfive: ov4689: Add different lane num support See merge request sdk/linux!865
2023-06-20Merge branch 'CR_5520_ov5645_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu6-68/+115
CR_5520_ov5645_changhuang.liang media: starfive: Update video pipeline set fmt See merge request sdk/linux!834
2023-06-20riscv: configs: Enable ov4689Changhuang Liang1-0/+1
Enable ov4689. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-06-20riscv: dts: starfive: jh7110: Add ov4689 configureChanghuang Liang1-0/+27
Add ov4689 configure. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-06-20media: starfive: ov4689: Add different lane num supportChanghuang Liang1-9/+13
Add different lane num support. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-06-20dts: starfive: vf2: Adjust the CMA start addressSamin Guo1-1/+1
In order to better comply with 1G/2G DDR, adjust the CMA start address Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2023-06-20ipms: can: clear skb buffer after transmitWilliam Qiu1-1/+22
clear skb buffer after transmit Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-06-19media: starfive: Update csi pix cfgChanghuang Liang3-12/+28
Update csi pix cfg. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-06-19media: starfive: Update video pipeline set fmtChanghuang Liang5-56/+87
Update video pipeline set fmt. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-06-19Merge tag 'JH7110_515_SDK_v5.2.0' into vf2-515-develVF2_v3.1.5Andy Hu506-13605/+87826
Note: From this version, the IMG DDK will be upgraded to 1.19.
2023-06-19Merge branch 'CR_5924_515_turn_off_pvrsrvneedpvrassert' into ↵andy.hu1-1/+1
'jh7110-5.15.y-devel-img1.19' Turn off PVRSRV_NEED_PVR_ASSERT in imagination code See merge request sdk/linux!826
2023-06-19Merge branch 'CR_5501_515_GPU_upgrade_ddk1.19' into 'jh7110-5.15.y-devel'andy.hu506-13604/+87825
Upgrade Imagination DDK source to 1.19 See merge request sdk/linux!804