diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2020-08-22 10:06:28 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-08-27 00:19:34 +0200 |
commit | b8336ebab9fc6d725def8eeacf71a879f63bdb0a (patch) | |
tree | 36dff4b1c065e14861d2c371b75fb3775959c5e6 /target/linux/ipq40xx | |
parent | 0c25ece262e8ec44d7414d472afa8d8e5858edfa (diff) | |
download | upstream-b8336ebab9fc6d725def8eeacf71a879f63bdb0a.tar.gz upstream-b8336ebab9fc6d725def8eeacf71a879f63bdb0a.tar.bz2 upstream-b8336ebab9fc6d725def8eeacf71a879f63bdb0a.zip |
kernel: Update kernel 4.14 to version 4.14.195
Compile and runtime tested on x86/64.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/ipq40xx')
4 files changed, 19 insertions, 19 deletions
diff --git a/target/linux/ipq40xx/patches-4.14/050-0002-mtd-nand-qcom-add-command-elements-in-BAM-transactio.patch b/target/linux/ipq40xx/patches-4.14/050-0002-mtd-nand-qcom-add-command-elements-in-BAM-transactio.patch index 1a32cc3767..a2c5f9d075 100644 --- a/target/linux/ipq40xx/patches-4.14/050-0002-mtd-nand-qcom-add-command-elements-in-BAM-transactio.patch +++ b/target/linux/ipq40xx/patches-4.14/050-0002-mtd-nand-qcom-add-command-elements-in-BAM-transactio.patch @@ -57,7 +57,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> u32 cmd_sgl_pos; u32 cmd_sgl_start; u32 tx_sgl_pos; -@@ -462,7 +472,8 @@ alloc_bam_transaction(struct qcom_nand_c +@@ -464,7 +474,8 @@ alloc_bam_transaction(struct qcom_nand_c bam_txn_size = sizeof(*bam_txn) + num_cw * @@ -67,7 +67,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> (sizeof(*bam_txn->data_sgl) * QPIC_PER_CW_DATA_SGL)); bam_txn_buf = devm_kzalloc(nandc->dev, bam_txn_size, GFP_KERNEL); -@@ -472,6 +483,10 @@ alloc_bam_transaction(struct qcom_nand_c +@@ -474,6 +485,10 @@ alloc_bam_transaction(struct qcom_nand_c bam_txn = bam_txn_buf; bam_txn_buf += sizeof(*bam_txn); @@ -78,7 +78,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> bam_txn->cmd_sgl = bam_txn_buf; bam_txn_buf += sizeof(*bam_txn->cmd_sgl) * QPIC_PER_CW_CMD_SGL * num_cw; -@@ -489,6 +504,8 @@ static void clear_bam_transaction(struct +@@ -491,6 +506,8 @@ static void clear_bam_transaction(struct if (!nandc->props->is_bam) return; diff --git a/target/linux/ipq40xx/patches-4.14/050-0003-mtd-nand-qcom-support-for-command-descriptor-formati.patch b/target/linux/ipq40xx/patches-4.14/050-0003-mtd-nand-qcom-support-for-command-descriptor-formati.patch index 62bac3762a..2b64ce1fcb 100644 --- a/target/linux/ipq40xx/patches-4.14/050-0003-mtd-nand-qcom-support-for-command-descriptor-formati.patch +++ b/target/linux/ipq40xx/patches-4.14/050-0003-mtd-nand-qcom-support-for-command-descriptor-formati.patch @@ -51,7 +51,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> dma_addr_t base_dma; struct clk *core_clk; -@@ -751,6 +761,66 @@ static int prepare_bam_async_desc(struct +@@ -753,6 +763,66 @@ static int prepare_bam_async_desc(struct } /* @@ -118,7 +118,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> * Prepares the data descriptor for BAM DMA which will be used for NAND * data reads and writes. */ -@@ -868,19 +938,22 @@ static int read_reg_dma(struct qcom_nand +@@ -870,19 +940,22 @@ static int read_reg_dma(struct qcom_nand { bool flow_control = false; void *vaddr; @@ -148,7 +148,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> } /* -@@ -897,13 +970,9 @@ static int write_reg_dma(struct qcom_nan +@@ -899,13 +972,9 @@ static int write_reg_dma(struct qcom_nan bool flow_control = false; struct nandc_regs *regs = nandc->regs; void *vaddr; @@ -162,7 +162,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> if (first == NAND_ERASED_CW_DETECT_CFG) { if (flags & NAND_ERASED_CW_SET) vaddr = ®s->erased_cw_detect_cfg_set; -@@ -920,10 +989,15 @@ static int write_reg_dma(struct qcom_nan +@@ -922,10 +991,15 @@ static int write_reg_dma(struct qcom_nan if (first == NAND_DEV_CMD_VLD_RESTORE || first == NAND_DEV_CMD_VLD) first = dev_cmd_reg_addr(nandc, NAND_DEV_CMD_VLD); @@ -181,7 +181,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> } /* -@@ -1187,7 +1261,8 @@ static int submit_descs(struct qcom_nand +@@ -1189,7 +1263,8 @@ static int submit_descs(struct qcom_nand } if (bam_txn->cmd_sgl_pos > bam_txn->cmd_sgl_start) { @@ -191,7 +191,7 @@ Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> if (r) return r; } -@@ -2725,6 +2800,7 @@ static int qcom_nandc_probe(struct platf +@@ -2728,6 +2803,7 @@ static int qcom_nandc_probe(struct platf if (IS_ERR(nandc->base)) return PTR_ERR(nandc->base); diff --git a/target/linux/ipq40xx/patches-4.14/050-0004-mtd-nand-provide-several-helpers-to-do-common-NAND-o.patch b/target/linux/ipq40xx/patches-4.14/050-0004-mtd-nand-provide-several-helpers-to-do-common-NAND-o.patch index 6b8a86ebe5..84c86f6ca3 100644 --- a/target/linux/ipq40xx/patches-4.14/050-0004-mtd-nand-provide-several-helpers-to-do-common-NAND-o.patch +++ b/target/linux/ipq40xx/patches-4.14/050-0004-mtd-nand-provide-several-helpers-to-do-common-NAND-o.patch @@ -1502,7 +1502,7 @@ Date: Thu Nov 30 18:01:29 2017 +0100 } --- a/drivers/mtd/nand/qcom_nandc.c +++ b/drivers/mtd/nand/qcom_nandc.c -@@ -1990,7 +1990,7 @@ static int qcom_nandc_write_oob(struct m +@@ -1992,7 +1992,7 @@ static int qcom_nandc_write_oob(struct m struct nand_ecc_ctrl *ecc = &chip->ecc; u8 *oob = chip->oob_poi; int data_size, oob_size; @@ -1511,7 +1511,7 @@ Date: Thu Nov 30 18:01:29 2017 +0100 host->use_ecc = true; -@@ -2027,11 +2027,7 @@ static int qcom_nandc_write_oob(struct m +@@ -2029,11 +2029,7 @@ static int qcom_nandc_write_oob(struct m return -EIO; } @@ -1524,7 +1524,7 @@ Date: Thu Nov 30 18:01:29 2017 +0100 } static int qcom_nandc_block_bad(struct mtd_info *mtd, loff_t ofs) -@@ -2081,7 +2077,7 @@ static int qcom_nandc_block_markbad(stru +@@ -2083,7 +2079,7 @@ static int qcom_nandc_block_markbad(stru struct qcom_nand_host *host = to_qcom_nand_host(chip); struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip); struct nand_ecc_ctrl *ecc = &chip->ecc; @@ -1533,7 +1533,7 @@ Date: Thu Nov 30 18:01:29 2017 +0100 clear_read_regs(nandc); clear_bam_transaction(nandc); -@@ -2114,11 +2110,7 @@ static int qcom_nandc_block_markbad(stru +@@ -2116,11 +2112,7 @@ static int qcom_nandc_block_markbad(stru return -EIO; } diff --git a/target/linux/ipq40xx/patches-4.14/050-0005-mtd-nand-force-drivers-to-explicitly-send-READ-PROG-.patch b/target/linux/ipq40xx/patches-4.14/050-0005-mtd-nand-force-drivers-to-explicitly-send-READ-PROG-.patch index e7e2e798a1..9a04442a23 100644 --- a/target/linux/ipq40xx/patches-4.14/050-0005-mtd-nand-force-drivers-to-explicitly-send-READ-PROG-.patch +++ b/target/linux/ipq40xx/patches-4.14/050-0005-mtd-nand-force-drivers-to-explicitly-send-READ-PROG-.patch @@ -39,7 +39,7 @@ Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- a/drivers/mtd/nand/qcom_nandc.c +++ b/drivers/mtd/nand/qcom_nandc.c -@@ -1725,6 +1725,7 @@ static int qcom_nandc_read_page(struct m +@@ -1727,6 +1727,7 @@ static int qcom_nandc_read_page(struct m u8 *data_buf, *oob_buf = NULL; int ret; @@ -47,7 +47,7 @@ Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> data_buf = buf; oob_buf = oob_required ? chip->oob_poi : NULL; -@@ -1750,6 +1751,7 @@ static int qcom_nandc_read_page_raw(stru +@@ -1752,6 +1753,7 @@ static int qcom_nandc_read_page_raw(stru int i, ret; int read_loc; @@ -55,7 +55,7 @@ Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> data_buf = buf; oob_buf = chip->oob_poi; -@@ -1850,6 +1852,8 @@ static int qcom_nandc_write_page(struct +@@ -1852,6 +1854,8 @@ static int qcom_nandc_write_page(struct u8 *data_buf, *oob_buf; int i, ret; @@ -64,7 +64,7 @@ Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> clear_read_regs(nandc); clear_bam_transaction(nandc); -@@ -1902,6 +1906,9 @@ static int qcom_nandc_write_page(struct +@@ -1904,6 +1908,9 @@ static int qcom_nandc_write_page(struct free_descs(nandc); @@ -74,7 +74,7 @@ Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> return ret; } -@@ -1916,6 +1923,7 @@ static int qcom_nandc_write_page_raw(str +@@ -1918,6 +1925,7 @@ static int qcom_nandc_write_page_raw(str u8 *data_buf, *oob_buf; int i, ret; @@ -82,7 +82,7 @@ Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> clear_read_regs(nandc); clear_bam_transaction(nandc); -@@ -1970,6 +1978,9 @@ static int qcom_nandc_write_page_raw(str +@@ -1972,6 +1980,9 @@ static int qcom_nandc_write_page_raw(str free_descs(nandc); |