Message ID | 20191018154052.1276506-1-arnd@arndb.de (mailing list archive) |
---|---|
Headers | show |
Series | ARM: pxa: towards multiplatform support | expand |
Arnd Bergmann <arnd@arndb.de> writes: > Hi PXA maintainers, > > I'm in the process of getting the old ARM platforms to all build > in a single kernel. The largest part of that work is changing all > the device drivers to no longer require mach/*.h header files. > > This series does it for arch/pxa/. > > As with the omap1 and s3c24xx series I sent before, I don't > expect this all to be correct in the first version, though > a lot of the patches are fairly simple and I did exhaustive > compile-time testing on them. > > Please test if you have the hardware, or review! Hi Arnd, Would you have a git tree I can pull from ? That would make my life easier than applying manually 46 patches... Cheers. -- Robert
On Fri, Oct 18, 2019 at 9:17 PM Arnd Bergmann <arnd@arndb.de> wrote: > On Fri, Oct 18, 2019 at 9:04 PM Robert Jarzmik <robert.jarzmik@free.fr> wrote: > > Arnd Bergmann <arnd@arndb.de> writes: > > > > > Hi PXA maintainers, > > > > > > I'm in the process of getting the old ARM platforms to all build > > > in a single kernel. The largest part of that work is changing all > > > the device drivers to no longer require mach/*.h header files. > > > > > > This series does it for arch/pxa/. > > > > > > As with the omap1 and s3c24xx series I sent before, I don't > > > expect this all to be correct in the first version, though > > > a lot of the patches are fairly simple and I did exhaustive > > > compile-time testing on them. > > > > > > Please test if you have the hardware, or review! > > > > Hi Arnd, > > > > Would you have a git tree I can pull from ? > > That would make my life easier than applying manually 46 patches... > > I've now pushed it to > > git://git.kernel.org:/pub/scm/linux/kernel/git/arnd/playground.git > pxa-multiplatform Sorry for the duplication, I had some problems with email configuration so my reply got rejected, let's see if it goes through this time. Arnd
On 10/18/19 8:40 AM, Arnd Bergmann wrote: > > Hi PXA maintainers, > > I'm in the process of getting the old ARM platforms to all build > in a single kernel. The largest part of that work is changing all > the device drivers to no longer require mach/*.h header files. > > This series does it for arch/pxa/. > > As with the omap1 and s3c24xx series I sent before, I don't > expect this all to be correct in the first version, though > a lot of the patches are fairly simple and I did exhaustive > compile-time testing on them. > > Please test if you have the hardware, or review! > I don't get very far. $ make-arm pxa_defconfig arch/arm/Kconfig:677: can't open file "arch/arm/plat-pxa/Kconfig" scripts/kconfig/Makefile:90: recipe for target 'pxa_defconfig' failed make[1]: *** [pxa_defconfig] Error 1 Makefile:567: recipe for target 'pxa_defconfig' failed make: *** [pxa_defconfig] Error 2 $ git describe v5.4-rc3-52-gfcc4181cd625 Also: $ git grep plat-pxa Documentation/arm/marvel.rst: arch/arm/plat-pxa Documentation/arm/marvel.rst: arch/arm/plat-pxa Documentation/arm/marvel.rst: directory. The plat-pxa/ would therefore disappear. arch/arm/Kconfig:source "arch/arm/plat-pxa/Kconfig" arch/arm/mach-mmp/Makefile:ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-pxa/include drivers/gpio/gpio-pxa.c: * linux/arch/arm/plat-pxa/gpio.c drivers/soc/pxa/mfp.c: * linux/arch/arm/plat-pxa/mfp.c Did I pick the wrong tree ? Guenter
On Sat, Oct 19, 2019 at 3:03 AM Guenter Roeck <linux@roeck-us.net> wrote: > > On 10/18/19 8:40 AM, Arnd Bergmann wrote: > > > > Hi PXA maintainers, > > > > I'm in the process of getting the old ARM platforms to all build > > in a single kernel. The largest part of that work is changing all > > the device drivers to no longer require mach/*.h header files. > > > > This series does it for arch/pxa/. > > > > As with the omap1 and s3c24xx series I sent before, I don't > > expect this all to be correct in the first version, though > > a lot of the patches are fairly simple and I did exhaustive > > compile-time testing on them. > > > > Please test if you have the hardware, or review! > > > > I don't get very far. > > $ make-arm pxa_defconfig > arch/arm/Kconfig:677: can't open file "arch/arm/plat-pxa/Kconfig" > scripts/kconfig/Makefile:90: recipe for target 'pxa_defconfig' failed > make[1]: *** [pxa_defconfig] Error 1 > Makefile:567: recipe for target 'pxa_defconfig' failed > make: *** [pxa_defconfig] Error 2 > $ git describe > v5.4-rc3-52-gfcc4181cd625 > > Also: > > $ git grep plat-pxa > Documentation/arm/marvel.rst: arch/arm/plat-pxa > Documentation/arm/marvel.rst: arch/arm/plat-pxa > Documentation/arm/marvel.rst: directory. The plat-pxa/ would therefore disappear. > arch/arm/Kconfig:source "arch/arm/plat-pxa/Kconfig" > arch/arm/mach-mmp/Makefile:ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-pxa/include > drivers/gpio/gpio-pxa.c: * linux/arch/arm/plat-pxa/gpio.c > drivers/soc/pxa/mfp.c: * linux/arch/arm/plat-pxa/mfp.c > > Did I pick the wrong tree ? > > Guenter
On Sat, Oct 19, 2019 at 3:03 AM Guenter Roeck <linux@roeck-us.net> wrote: > On 10/18/19 8:40 AM, Arnd Bergmann wrote: > > I don't get very far. > > $ make-arm pxa_defconfig > arch/arm/Kconfig:677: can't open file "arch/arm/plat-pxa/Kconfig" > scripts/kconfig/Makefile:90: recipe for target 'pxa_defconfig' failed > > Did I pick the wrong tree ? It seems that one line got lost in a rebase and ended up in a different patch that was not part of the series. I updated the git tree now. Arnd
Arnd Bergmann <arnd@arndb.de> writes: > On Fri, Oct 18, 2019 at 9:17 PM Arnd Bergmann <arnd@arndb.de> wrote: >> On Fri, Oct 18, 2019 at 9:04 PM Robert Jarzmik <robert.jarzmik@free.fr> wrote: >> > Arnd Bergmann <arnd@arndb.de> writes: >> > >> > > Hi PXA maintainers, >> > > >> > > I'm in the process of getting the old ARM platforms to all build >> > > in a single kernel. The largest part of that work is changing all >> > > the device drivers to no longer require mach/*.h header files. >> > > >> > > This series does it for arch/pxa/. >> > > >> > > As with the omap1 and s3c24xx series I sent before, I don't >> > > expect this all to be correct in the first version, though >> > > a lot of the patches are fairly simple and I did exhaustive >> > > compile-time testing on them. >> > > >> > > Please test if you have the hardware, or review! >> > >> > Hi Arnd, >> > >> > Would you have a git tree I can pull from ? >> > That would make my life easier than applying manually 46 patches... >> >> I've now pushed it to >> >> git://git.kernel.org:/pub/scm/linux/kernel/git/arnd/playground.git >> pxa-multiplatform > > Sorry for the duplication, I had some problems with email configuration > so my reply got rejected, let's see if it goes through this time. I have it now, thanks, I'll test and review as soon as I can. Cheers.
Robert Jarzmik <robert.jarzmik@free.fr> writes: >>> I've now pushed it to >>> >>> git://git.kernel.org:/pub/scm/linux/kernel/git/arnd/playground.git >>> pxa-multiplatform >> >> Sorry for the duplication, I had some problems with email configuration >> so my reply got rejected, let's see if it goes through this time. > I have it now, thanks, I'll test and review as soon as I can. > > Cheers. Ok Arnd, I have a preliminary test report. I tested only the pxa27x (mioa701), which happens to have a lot of drivers, and only the platform_data flavor (ie. no device-tree test yet). Apart a panic in the regulator framework (which is a known issue [1]), your version seems equivalent so far in terms of runtime to Linux 5.4-rc3). The sound and RTC seem broken, but not by you ... I'll continue the test onwards for pxa3xx and pxa2xx when I'll gather a bit of time, and try to review as well the mach-pxa part. Cheers.
On Thu, Oct 24, 2019 at 10:50 PM Robert Jarzmik <robert.jarzmik@free.fr> wrote: > Robert Jarzmik <robert.jarzmik@free.fr> writes: > >>> I've now pushed it to > >>> > >>> git://git.kernel.org:/pub/scm/linux/kernel/git/arnd/playground.git > >>> pxa-multiplatform > >> > >> Sorry for the duplication, I had some problems with email configuration > >> so my reply got rejected, let's see if it goes through this time. > > I have it now, thanks, I'll test and review as soon as I can. > > > > Cheers. > > Ok Arnd, I have a preliminary test report. > > I tested only the pxa27x (mioa701), which happens to have a lot of drivers, and > only the platform_data flavor (ie. no device-tree test yet). Apart a panic in > the regulator framework (which is a known issue [1]), your version seems > equivalent so far in terms of runtime to Linux 5.4-rc3). > > The sound and RTC seem broken, but not by you ... > > I'll continue the test onwards for pxa3xx and pxa2xx when I'll gather a bit of > time, and try to review as well the mach-pxa part. Awesome, thanks for testing so far and for the report! Arnd