linux-handheld-4.4: add support for f2fs
PATCH 1/5 linux-handheld-4.4: add support for f2fs
--- recipes-kernel/linux/linux-handheld-4.4/akita/defconfig | 1 + recipes-kernel/linux/linux-handheld-4.4/c7x0/defconfig | 1 + recipes-kernel/linux/linux-handheld-4.4/collie/defconfig | 1 + recipes-kernel/linux/linux-handheld-4.4/poodle/defconfig | 1 + recipes-kernel/linux/linux-handheld-4.4/spitz/defconfig | 1 + recipes-kernel/linux/linux-handheld-4.4/tosa/defconfig | 1 + 6 files changed, 6 insertions(+)
recipes-kernel/linux/linux-handheld-4.4/akita/defconfig +1 -0
@@ -353,6 +353,7 @@ CONFIG_DMADEVICES=y CONFIG_PXA_DMA=y CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y +CONFIG_F2FS_FS=y CONFIG_AUTOFS4_FS=y CONFIG_FUSE_FS=m CONFIG_CUSE=m
recipes-kernel/linux/linux-handheld-4.4/c7x0/defconfig +1 -0
@@ -282,6 +282,7 @@ CONFIG_DMADEVICES=y CONFIG_PXA_DMA=y CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y +CONFIG_F2FS_FS=y CONFIG_AUTOFS4_FS=y CONFIG_FUSE_FS=m CONFIG_CUSE=m
recipes-kernel/linux/linux-handheld-4.4/collie/defconfig +1 -0
@@ -289,6 +289,7 @@ CONFIG_DMA_SA11X0=y CONFIG_M62332=y CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y +CONFIG_F2FS_FS=y CONFIG_AUTOFS4_FS=y CONFIG_FUSE_FS=m CONFIG_CUSE=m
recipes-kernel/linux/linux-handheld-4.4/poodle/defconfig +1 -0
@@ -289,6 +289,7 @@ CONFIG_PXA_DMA=y CONFIG_M62332=y CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y +CONFIG_F2FS_FS=y CONFIG_AUTOFS4_FS=y CONFIG_FUSE_FS=m CONFIG_CUSE=m
recipes-kernel/linux/linux-handheld-4.4/spitz/defconfig +1 -0
@@ -353,6 +353,7 @@ CONFIG_DMADEVICES=y CONFIG_PXA_DMA=y CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y +CONFIG_F2FS_FS=y CONFIG_AUTOFS4_FS=y CONFIG_FUSE_FS=m CONFIG_CUSE=m
recipes-kernel/linux/linux-handheld-4.4/tosa/defconfig +1 -0
@@ -353,6 +353,7 @@ CONFIG_DMADEVICES=y CONFIG_PXA_DMA=y CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y +CONFIG_F2FS_FS=y CONFIG_AUTOFS4_FS=y CONFIG_FUSE_FS=m CONFIG_CUSE=m
Signature · 1 line
2.7.4
PATCH 2/5 linux-handheld(-kexecoot)_4.4: update to 4.4.72 stable patchset
--- recipes-kernel/linux/linux-handheld_4.4.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-kernel/linux/linux-handheld_4.4.bb +3 -3
@@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" COMPATIBLE_MACHINE = "akita|c7x0|collie|h3600|hx4700|poodle|spitz|tosa" SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v4.x/linux-${PV}.tar.xz;name=kernel \ - ${KERNELORG_MIRROR}/linux/kernel/v4.x/patch-${PV}.68.xz;apply=yes;name=stablepatch \ + ${KERNELORG_MIRROR}/linux/kernel/v4.x/patch-${PV}.72.xz;apply=yes;name=stablepatch \ " SRC_URI[kernel.md5sum] = "9a78fa2eb6c68ca5a40ed5af08142599" SRC_URI[kernel.sha256sum] = "401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2" -SRC_URI[stablepatch.md5sum] = "def995f7c91d6682256b24d0ba5933fb" -SRC_URI[stablepatch.sha256sum] = "ca4fdd5cb4336a07f8ba7ea08a812b47278b43db3060a2f76623bab91b454e1a" +SRC_URI[stablepatch.md5sum] = "706589ba15cc3b1635c8bb1bc8938b14" +SRC_URI[stablepatch.sha256sum] = "9343e9452502827dd92b9fc466861f48753e131167c92a008cc28e8b40a27e2b" SRC_URI += "\ file://ASoC-pxa-fix-module-autoload-for-platform-drivers.patch \
Signature · 1 line
2.7.4
PATCH 3/5 linux-handheld(-kexecoot)_4.4: update to 4.4.88 stable patchset
In reply to Andrea AdamiNote: patchset 4.4.9 introduced a pxa breakage: instead of reverting "94d75e190f1 dmaengine: pxa_dma: fix the maximum requestor line" we backport from 4.6 the missing patches.
--- ...pxa-add-the-number-of-DMA-requestor-lines.patch | 122 +++++++++++++++++++++ ...pxa-fix-the-number-of-DMA-requestor-lines.patch | 28 +++++ recipes-kernel/linux/linux-handheld_4.4.bb | 9 +- 3 files changed, 156 insertions(+), 3 deletions(-) create mode 100644 recipes-kernel/linux/linux-handheld-4.4/ARM-pxa-add-the-number-of-DMA-requestor-lines.patch create mode 100644 recipes-kernel/linux/linux-handheld-4.4/ARM-pxa-fix-the-number-of-DMA-requestor-lines.patch
recipes-kernel/linux/linux-handheld-4.4/ARM-pxa-add-the-number-of-DMA-requestor-lines.patch new file +122 -0
@@ -0,0 +1,122 @@ +From 72b195cb716284217e8b270af420bc7e5cf04b3c Mon Sep 17 00:00:00 2001 +From: Robert Jarzmik <[email protected]> +Date: Mon, 15 Feb 2016 21:57:47 +0100 +Subject: ARM: pxa: add the number of DMA requestor lines + +Declare the number of DMA requestor lines per platform : + - for pxa25x: 40 requestor lines + - for pxa27x: 75 requestor lines + - for pxa3xx: 100 requestor lines + +This information will be used to activate the DMA flow control or not. + +Signed-off-by: Robert Jarzmik <[email protected]> +--- + arch/arm/boot/dts/pxa27x.dtsi | 1 + + arch/arm/boot/dts/pxa3xx.dtsi | 1 + + arch/arm/mach-pxa/devices.c | 3 ++- + arch/arm/mach-pxa/pxa25x.c | 2 +- + arch/arm/mach-pxa/pxa27x.c | 2 +- + arch/arm/mach-pxa/pxa3xx.c | 2 +- + arch/arm/plat-pxa/include/plat/dma.h | 2 +- + 7 files changed, 8 insertions(+), 5 deletions(-) + +diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts/pxa27x.dtsi +index 7f68a1e..210192c 100644 +--- a/arch/arm/boot/dts/pxa27x.dtsi ++++ b/arch/arm/boot/dts/pxa27x.dtsi +@@ -13,6 +13,7 @@ + interrupts = <25>; + #dma-channels = <32>; + #dma-cells = <2>; ++ #dma-requests = <75>; + status = "okay"; + }; + +diff --git a/arch/arm/boot/dts/pxa3xx.dtsi b/arch/arm/boot/dts/pxa3xx.dtsi +index cf6998a..bea454f 100644 +--- a/arch/arm/boot/dts/pxa3xx.dtsi ++++ b/arch/arm/boot/dts/pxa3xx.dtsi +@@ -12,6 +12,7 @@ + interrupts = <25>; + #dma-channels = <32>; + #dma-cells = <2>; ++ #dma-requests = <100>; + status = "okay"; + }; + +diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c +index 37d8d85..913a319 100644 +--- a/arch/arm/mach-pxa/devices.c ++++ b/arch/arm/mach-pxa/devices.c +@@ -1203,6 +1203,7 @@ void __init pxa2xx_set_spi_info(unsigned id, struct pxa2xx_spi_master *info) + + static struct mmp_dma_platdata pxa_dma_pdata = { + .dma_channels = 0, ++ .nb_requestors = 0, + }; + + static struct resource pxa_dma_resource[] = { +@@ -1231,7 +1232,7 @@ static struct platform_device pxa2xx_pxa_dma = { + .resource = pxa_dma_resource, + }; + +-void __init pxa2xx_set_dmac_info(int nb_channels) ++void __init pxa2xx_set_dmac_info(int nb_channels, int nb_requestors) + { + pxa_dma_pdata.dma_channels = nb_channels; + pxa_register_device(&pxa2xx_pxa_dma, &pxa_dma_pdata); +diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c +index a177bf4..823504f 100644 +--- a/arch/arm/mach-pxa/pxa25x.c ++++ b/arch/arm/mach-pxa/pxa25x.c +@@ -206,7 +206,7 @@ static int __init pxa25x_init(void) + register_syscore_ops(&pxa_irq_syscore_ops); + register_syscore_ops(&pxa2xx_mfp_syscore_ops); + +- pxa2xx_set_dmac_info(16); ++ pxa2xx_set_dmac_info(16, 40); + pxa_register_device(&pxa25x_device_gpio, &pxa25x_gpio_info); + ret = platform_add_devices(pxa25x_devices, + ARRAY_SIZE(pxa25x_devices)); +diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c +index 49c7359..2eaa341 100644 +--- a/arch/arm/mach-pxa/pxa27x.c ++++ b/arch/arm/mach-pxa/pxa27x.c +@@ -311,7 +311,7 @@ static int __init pxa27x_init(void) + if (!of_have_populated_dt()) { + pxa_register_device(&pxa27x_device_gpio, + &pxa27x_gpio_info); +- pxa2xx_set_dmac_info(32); ++ pxa2xx_set_dmac_info(32, 75); + ret = platform_add_devices(devices, + ARRAY_SIZE(devices)); + } +diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c +index 126c265..3c9184d 100644 +--- a/arch/arm/mach-pxa/pxa3xx.c ++++ b/arch/arm/mach-pxa/pxa3xx.c +@@ -449,7 +449,7 @@ static int __init pxa3xx_init(void) + if (of_have_populated_dt()) + return 0; + +- pxa2xx_set_dmac_info(32); ++ pxa2xx_set_dmac_info(32, 100); + ret = platform_add_devices(devices, ARRAY_SIZE(devices)); + if (ret) + return ret; +diff --git a/arch/arm/plat-pxa/include/plat/dma.h b/arch/arm/plat-pxa/include/plat/dma.h +index 28848b3..ceba3e4 100644 +--- a/arch/arm/plat-pxa/include/plat/dma.h ++++ b/arch/arm/plat-pxa/include/plat/dma.h +@@ -95,6 +95,6 @@ static inline int pxad_toggle_reserved_channel(int legacy_channel) + } + #endif + +-extern void __init pxa2xx_set_dmac_info(int nb_channels); ++extern void __init pxa2xx_set_dmac_info(int nb_channels, int nb_requestors); + + #endif /* __PLAT_DMA_H */ +-- +cgit v1.1 +
recipes-kernel/linux/linux-handheld-4.4/ARM-pxa-fix-the-number-of-DMA-requestor-lines.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 4c35430ad18f5a034302cb90e559ede5a27f93b9 Mon Sep 17 00:00:00 2001 +From: Robert Jarzmik <[email protected]> +Date: Wed, 9 Mar 2016 00:46:11 +0100 +Subject: ARM: pxa: fix the number of DMA requestor lines + +The number of requestor lines was clamped to 0 for all pxa architectures +in the requestor declaration. Fix this by using the value. + +Fixes: 72b195cb7162 ("ARM: pxa: add the number of DMA requestor lines") +Signed-off-by: Robert Jarzmik <[email protected]> +--- + arch/arm/mach-pxa/devices.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c +index 913a319..fffb697 100644 +--- a/arch/arm/mach-pxa/devices.c ++++ b/arch/arm/mach-pxa/devices.c +@@ -1235,5 +1235,6 @@ static struct platform_device pxa2xx_pxa_dma = { + void __init pxa2xx_set_dmac_info(int nb_channels, int nb_requestors) + { + pxa_dma_pdata.dma_channels = nb_channels; ++ pxa_dma_pdata.nb_requestors = nb_requestors; + pxa_register_device(&pxa2xx_pxa_dma, &pxa_dma_pdata); + } +-- +cgit v1.1 +
recipes-kernel/linux/linux-handheld_4.4.bb +6 -3
@@ -6,16 +6,19 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" COMPATIBLE_MACHINE = "akita|c7x0|collie|h3600|hx4700|poodle|spitz|tosa" SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v4.x/linux-${PV}.tar.xz;name=kernel \ - ${KERNELORG_MIRROR}/linux/kernel/v4.x/patch-${PV}.72.xz;apply=yes;name=stablepatch \ + ${KERNELORG_MIRROR}/linux/kernel/v4.x/patch-${PV}.88.xz;apply=yes;name=stablepatch \ " SRC_URI[kernel.md5sum] = "9a78fa2eb6c68ca5a40ed5af08142599" SRC_URI[kernel.sha256sum] = "401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2" -SRC_URI[stablepatch.md5sum] = "706589ba15cc3b1635c8bb1bc8938b14" -SRC_URI[stablepatch.sha256sum] = "9343e9452502827dd92b9fc466861f48753e131167c92a008cc28e8b40a27e2b" +SRC_URI[stablepatch.md5sum] = "75ccbff8259c935ca8c7dd54b2effb15" +SRC_URI[stablepatch.sha256sum] = "76587e18bba591e4e6e95dec85a892072f143ae3757a471fd64d149bacbe06ad" SRC_URI += "\ file://ASoC-pxa-fix-module-autoload-for-platform-drivers.patch \ file://dmaengine-mmp-pdma-add-number-of-requestors.patch \ + file://ARM-pxa-add-the-number-of-DMA-requestor-lines.patch \ + file://ARM-pxa-fix-the-number-of-DMA-requestor-lines.patch \ + \ file://sharpslpart/0001-mtd-sharpsl-add-sharpslpart-MTD-partition-parser.patch \ file://sharpslpart/0002-mtd-nand-sharpsl.c-prefer-sharpslpart-MTD-partition-.patch \ file://sharpslpart/0003-mtd-nand-tmio_nand.c-prefer-sharpslpart-MTD-partitio.patch \
Signature · 1 line
2.7.4
PATCH 4/5 zaurus.inc: explicitely define ARM instruction set.
In reply to Andrea AdamiDefault for armv4/collie: arm
Default for pxa: thumb
--- conf/machine/include/zaurus.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
conf/machine/include/zaurus.inc +3 -1
@@ -33,10 +33,12 @@ XZ_COMPRESSION_LEVEL = "-2e" # machine tuning ################ +ARM_INSTRUCTION_SET = "thumb" +ARM_INSTRUCTION_SET_collie = "arm" + SERIAL_CONSOLE = "115200 ttyS0" SERIAL_CONSOLE_collie = "115200 ttySA0" - CMDLINE_akita = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1" CMDLINE_c7x0 = "console=ttyS0,115200n8 console=tty1" CMDLINE_collie = "console=ttySA0,115200n8 console=tty1 mem=64M fbcon=rotate:1"
Signature · 1 line
2.7.4
PATCH 5/5 zaurus.inc: use gcc6 until gcc7 produces bootable kernels
In reply to Andrea AdamiAs signaled upstream the kernels built with gcc7 fail to decompress.
See https://www.spinics.net/lists/arm-kernel/msg594654.html
ARM: pxa/corgi: armv5te kernel 4.12 fails to decompress compiled with gcc7
--- conf/machine/include/zaurus.inc | 2 ++ 1 file changed, 2 insertions(+)
conf/machine/include/zaurus.inc +2 -0
@@ -33,6 +33,8 @@ XZ_COMPRESSION_LEVEL = "-2e" # machine tuning ################ +GCCVERSION = "6.%" + ARM_INSTRUCTION_SET = "thumb" ARM_INSTRUCTION_SET_collie = "arm"
Signature · 1 line
2.7.4