mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
4070e2a64c
This target adds support for the StarFive JH7100 and JH7110 SoCs, based on 6.1, as well as a couple boards equipped with these. Specifications: SoCs: JH7100: - StarFive JH7100 dual-core RISC-V (U74, RC64GC) - additional monitoring (S7) and control (E24) cores - 2Mb L2 cache JH7110: - StarFive JH7110 quad-core RISC-V (U74, RV64GC) - additional monitoring (S7) and control (E24) cores - 2Mb L2 cache Boards: VisionFive1: - JH7100 @ 1GHz - Memory: 8Gb LPDDR4 - 4x USB3.0 - 1x GBit ethernet - AMPak 6236 wifi / bluetooth - audio - powered via USB-C VisionFive2: - JH7110 @ 1.5GHz - Memory: 2/4/8Gb DDR4 - 2x Gbit ethernet - 2x USB3.0 / 2x USB2.0 - eMMC / SDIO - various multimedia input/outputs (MIPI CSI, HDMI, audio) - M.2 key M slot - PoE support - powered via USB-C Installation: Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
From 1889527687432bd63942c86dbebf8686b6515aad Mon Sep 17 00:00:00 2001
|
|
From: Matteo Croce <technoboy85@gmail.com>
|
|
Date: Fri, 21 May 2021 03:26:38 +0200
|
|
Subject: [PATCH 1013/1024] net: stmmac: use GFP_DMA32
|
|
|
|
Signed-off-by: Matteo Croce <mcroce@microsoft.com>
|
|
---
|
|
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
|
|
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
|
|
@@ -1436,7 +1436,7 @@ static int stmmac_init_rx_buffers(struct
|
|
{
|
|
struct stmmac_rx_queue *rx_q = &dma_conf->rx_queue[queue];
|
|
struct stmmac_rx_buffer *buf = &rx_q->buf_pool[i];
|
|
- gfp_t gfp = (GFP_ATOMIC | __GFP_NOWARN);
|
|
+ gfp_t gfp = (GFP_ATOMIC | __GFP_NOWARN | GFP_DMA32);
|
|
|
|
if (priv->dma_cap.host_dma_width <= 32)
|
|
gfp |= GFP_DMA32;
|
|
@@ -4613,7 +4613,7 @@ static inline void stmmac_rx_refill(stru
|
|
struct stmmac_rx_queue *rx_q = &priv->dma_conf.rx_queue[queue];
|
|
int dirty = stmmac_rx_dirty(priv, queue);
|
|
unsigned int entry = rx_q->dirty_rx;
|
|
- gfp_t gfp = (GFP_ATOMIC | __GFP_NOWARN);
|
|
+ gfp_t gfp = (GFP_ATOMIC | __GFP_NOWARN | GFP_DMA32);
|
|
|
|
if (priv->dma_cap.host_dma_width <= 32)
|
|
gfp |= GFP_DMA32;
|