Re: [PATCH 05/46] ARM: pxa: split up mach/hardware.h
Quoting Arnd Bergmann (2019-10-18 08:41:20) > The mach/hardware.h is included in lots of places, and it provides > three different things on pxa: > > - the cpu_is_pxa* macros > - an indirect inclusion of mach/addr-map.h > - the __REG() and io_pv2() helper macros > > Split it up into separate and mach/pxa-regs.h > headers, then change all the files that use mach/hardware.h to > include the exact set of those three headers that they actually > need, allowing for further more targeted cleanup. > > linux/soc/pxa/cpu.h can remain permanently exported and is now in > a global location along with similar headers. pxa-regs.h and > addr-map.h are only used in a very small number of drivers now > and can be moved to arch/arm/mach-pxa/ directly when those drivers > are to pass the necessary data as resources. > > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: Viresh Kumar > Cc: Dmitry Torokhov > Cc: Jacek Anaszewski > Cc: Pavel Machek > Cc: Ulf Hansson > Cc: Dominik Brodowski > Cc: Alexandre Belloni > Cc: Greg Kroah-Hartman > Cc: Guenter Roeck > Cc: Mark Brown > Cc: linux-...@vger.kernel.org > Cc: linux...@vger.kernel.org > Cc: linux-in...@vger.kernel.org > Cc: linux-l...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-...@lists.infradead.org > Cc: linux-...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org > Cc: linux-watch...@vger.kernel.org > Cc: alsa-de...@alsa-project.org > Signed-off-by: Arnd Bergmann > --- Acked-by: Stephen Boyd ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH 05/46] ARM: pxa: split up mach/hardware.h
On Fri, Oct 18, 2019 at 05:41:20PM +0200, Arnd Bergmann wrote: > The mach/hardware.h is included in lots of places, and it provides > three different things on pxa: Acked-by: Mark Brown signature.asc Description: PGP signature ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH 05/46] ARM: pxa: split up mach/hardware.h
On Fri, 18 Oct 2019 at 17:43, Arnd Bergmann wrote: > > The mach/hardware.h is included in lots of places, and it provides > three different things on pxa: > > - the cpu_is_pxa* macros > - an indirect inclusion of mach/addr-map.h > - the __REG() and io_pv2() helper macros > > Split it up into separate and mach/pxa-regs.h > headers, then change all the files that use mach/hardware.h to > include the exact set of those three headers that they actually > need, allowing for further more targeted cleanup. > > linux/soc/pxa/cpu.h can remain permanently exported and is now in > a global location along with similar headers. pxa-regs.h and > addr-map.h are only used in a very small number of drivers now > and can be moved to arch/arm/mach-pxa/ directly when those drivers > are to pass the necessary data as resources. > > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: Viresh Kumar > Cc: Dmitry Torokhov > Cc: Jacek Anaszewski > Cc: Pavel Machek > Cc: Ulf Hansson > Cc: Dominik Brodowski > Cc: Alexandre Belloni > Cc: Greg Kroah-Hartman > Cc: Guenter Roeck > Cc: Mark Brown > Cc: linux-...@vger.kernel.org > Cc: linux...@vger.kernel.org > Cc: linux-in...@vger.kernel.org > Cc: linux-l...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-...@lists.infradead.org > Cc: linux-...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org > Cc: linux-watch...@vger.kernel.org > Cc: alsa-de...@alsa-project.org > Signed-off-by: Arnd Bergmann [...] For the mmc part: Acked-by: Ulf Hansson
Re: [PATCH 05/46] ARM: pxa: split up mach/hardware.h
On 18-10-19, 17:41, Arnd Bergmann wrote: > The mach/hardware.h is included in lots of places, and it provides > three different things on pxa: > > - the cpu_is_pxa* macros > - an indirect inclusion of mach/addr-map.h > - the __REG() and io_pv2() helper macros > > Split it up into separate and mach/pxa-regs.h > headers, then change all the files that use mach/hardware.h to > include the exact set of those three headers that they actually > need, allowing for further more targeted cleanup. > > linux/soc/pxa/cpu.h can remain permanently exported and is now in > a global location along with similar headers. pxa-regs.h and > addr-map.h are only used in a very small number of drivers now > and can be moved to arch/arm/mach-pxa/ directly when those drivers > are to pass the necessary data as resources. > > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: Viresh Kumar > Cc: Dmitry Torokhov > Cc: Jacek Anaszewski > Cc: Pavel Machek > Cc: Ulf Hansson > Cc: Dominik Brodowski > Cc: Alexandre Belloni > Cc: Greg Kroah-Hartman > Cc: Guenter Roeck > Cc: Mark Brown > Cc: linux-...@vger.kernel.org > Cc: linux...@vger.kernel.org > Cc: linux-in...@vger.kernel.org > Cc: linux-l...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-...@lists.infradead.org > Cc: linux-...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org > Cc: linux-watch...@vger.kernel.org > Cc: alsa-de...@alsa-project.org > Signed-off-by: Arnd Bergmann > --- > drivers/cpufreq/pxa2xx-cpufreq.c | 1 + > drivers/cpufreq/pxa3xx-cpufreq.c | 1 + Acked-by: Viresh Kumar -- viresh
Re: [PATCH 05/46] ARM: pxa: split up mach/hardware.h
On 18/10/2019 17:41:20+0200, Arnd Bergmann wrote: > The mach/hardware.h is included in lots of places, and it provides > three different things on pxa: > > - the cpu_is_pxa* macros > - an indirect inclusion of mach/addr-map.h > - the __REG() and io_pv2() helper macros > > Split it up into separate and mach/pxa-regs.h > headers, then change all the files that use mach/hardware.h to > include the exact set of those three headers that they actually > need, allowing for further more targeted cleanup. > > linux/soc/pxa/cpu.h can remain permanently exported and is now in > a global location along with similar headers. pxa-regs.h and > addr-map.h are only used in a very small number of drivers now > and can be moved to arch/arm/mach-pxa/ directly when those drivers > are to pass the necessary data as resources. > > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: Viresh Kumar > Cc: Dmitry Torokhov > Cc: Jacek Anaszewski > Cc: Pavel Machek > Cc: Ulf Hansson > Cc: Dominik Brodowski > Cc: Alexandre Belloni > Cc: Greg Kroah-Hartman > Cc: Guenter Roeck > Cc: Mark Brown > Cc: linux-...@vger.kernel.org > Cc: linux...@vger.kernel.org > Cc: linux-in...@vger.kernel.org > Cc: linux-l...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-...@lists.infradead.org > Cc: linux-...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org > Cc: linux-watch...@vger.kernel.org > Cc: alsa-de...@alsa-project.org > Signed-off-by: Arnd Bergmann For rtc: Acked-by: Alexandre Belloni > --- > arch/arm/common/locomo.c | 1 - > arch/arm/common/sa.c | 5 +- > arch/arm/mach-pxa/cm-x2xx.c | 2 + > arch/arm/mach-pxa/cm-x300.c | 2 + > arch/arm/mach-pxa/colibri-evalboard.c | 1 - > arch/arm/mach-pxa/colibri-pxa270-income.c | 1 - > arch/arm/mach-pxa/colibri-pxa300.c| 1 + > arch/arm/mach-pxa/colibri-pxa3xx.c| 1 - > arch/arm/mach-pxa/corgi.c | 1 - > arch/arm/mach-pxa/corgi_pm.c | 1 - > arch/arm/mach-pxa/csb726.c| 1 + > arch/arm/mach-pxa/devices.c | 2 +- > arch/arm/mach-pxa/ezx.c | 1 - > arch/arm/mach-pxa/generic.c | 3 +- > arch/arm/mach-pxa/gumstix.c | 1 - > arch/arm/mach-pxa/hx4700.c| 2 +- > arch/arm/mach-pxa/idp.c | 1 - > arch/arm/mach-pxa/include/mach/pxa-regs.h | 52 > arch/arm/mach-pxa/include/mach/pxa2xx-regs.h | 2 +- > arch/arm/mach-pxa/include/mach/pxa3xx-regs.h | 2 +- > arch/arm/mach-pxa/include/mach/regs-ac97.h| 2 +- > arch/arm/mach-pxa/include/mach/regs-ost.h | 2 +- > arch/arm/mach-pxa/include/mach/trizeps4.h | 1 + > arch/arm/mach-pxa/irq.c | 3 +- > arch/arm/mach-pxa/littleton.c | 1 - > arch/arm/mach-pxa/lpd270.c| 2 +- > arch/arm/mach-pxa/lubbock.c | 1 - > arch/arm/mach-pxa/magician.c | 2 +- > arch/arm/mach-pxa/mainstone.c | 2 +- > arch/arm/mach-pxa/mfp-pxa2xx.c| 1 + > arch/arm/mach-pxa/mfp-pxa3xx.c| 1 - > arch/arm/mach-pxa/poodle.c| 1 - > arch/arm/mach-pxa/pxa-regs.h | 1 + > arch/arm/mach-pxa/pxa25x.c| 3 +- > arch/arm/mach-pxa/pxa25x.h| 2 +- > arch/arm/mach-pxa/pxa27x-udc.h| 2 + > arch/arm/mach-pxa/pxa27x.c| 3 +- > arch/arm/mach-pxa/pxa27x.h| 2 +- > arch/arm/mach-pxa/pxa2xx.c| 1 - > arch/arm/mach-pxa/pxa300.c| 1 + > arch/arm/mach-pxa/pxa320.c| 1 + > arch/arm/mach-pxa/pxa3xx-ulpi.c | 2 +- > arch/arm/mach-pxa/pxa3xx.c| 3 +- > arch/arm/mach-pxa/pxa3xx.h| 2 +- > arch/arm/mach-pxa/pxa930.c| 1 + > arch/arm/mach-pxa/regs-rtc.h | 2 +- > arch/arm/mach-pxa/regs-uart.h | 2 + > arch/arm/mach-pxa/sleep.S | 1 - > arch/arm/mach-pxa/smemc.c | 2 +- > arch/arm/mach-pxa/spitz_pm.c | 1 - > arch/arm/mach-pxa/standby.S | 1 - > arch/arm/mach-pxa/xcep.c | 2 +- > arch/arm/mach-pxa/zylonite.c | 1 + > arch/arm/mach-pxa/zylonite.h | 2 + > arch/arm/mach-pxa/zylonite_pxa300.c | 1 + > arch/arm/mach-pxa/zylonite_pxa320.c | 1 + > drivers/clk/pxa/clk-pxa3xx.c | 1 + > drivers/cpufreq/pxa2xx-cpufreq.c | 1 + > drivers/cpufreq/pxa3xx-cpufreq.c | 1 + > drivers/input/mouse/pxa930_trkball.c | 1 - >
Re: [PATCH 05/46] ARM: pxa: split up mach/hardware.h
On Fri, Oct 18, 2019 at 05:41:20PM +0200, Arnd Bergmann wrote: > The mach/hardware.h is included in lots of places, and it provides > three different things on pxa: > > - the cpu_is_pxa* macros > - an indirect inclusion of mach/addr-map.h > - the __REG() and io_pv2() helper macros > > Split it up into separate and mach/pxa-regs.h > headers, then change all the files that use mach/hardware.h to > include the exact set of those three headers that they actually > need, allowing for further more targeted cleanup. > > linux/soc/pxa/cpu.h can remain permanently exported and is now in > a global location along with similar headers. pxa-regs.h and > addr-map.h are only used in a very small number of drivers now > and can be moved to arch/arm/mach-pxa/ directly when those drivers > are to pass the necessary data as resources. > > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: Viresh Kumar > Cc: Dmitry Torokhov > Cc: Jacek Anaszewski > Cc: Pavel Machek > Cc: Ulf Hansson > Cc: Dominik Brodowski > Cc: Alexandre Belloni > Cc: Greg Kroah-Hartman > Cc: Guenter Roeck > Cc: Mark Brown > Cc: linux-...@vger.kernel.org > Cc: linux...@vger.kernel.org > Cc: linux-in...@vger.kernel.org > Cc: linux-l...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: linux-...@lists.infradead.org > Cc: linux-...@vger.kernel.org > Cc: linux-...@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-fb...@vger.kernel.org > Cc: linux-watch...@vger.kernel.org > Cc: alsa-de...@alsa-project.org > Signed-off-by: Arnd Bergmann For input bits: Acked-by: Dmitry Torokhov -- Dmitry
[PATCH 05/46] ARM: pxa: split up mach/hardware.h
The mach/hardware.h is included in lots of places, and it provides three different things on pxa: - the cpu_is_pxa* macros - an indirect inclusion of mach/addr-map.h - the __REG() and io_pv2() helper macros Split it up into separate and mach/pxa-regs.h headers, then change all the files that use mach/hardware.h to include the exact set of those three headers that they actually need, allowing for further more targeted cleanup. linux/soc/pxa/cpu.h can remain permanently exported and is now in a global location along with similar headers. pxa-regs.h and addr-map.h are only used in a very small number of drivers now and can be moved to arch/arm/mach-pxa/ directly when those drivers are to pass the necessary data as resources. Cc: Michael Turquette Cc: Stephen Boyd Cc: Viresh Kumar Cc: Dmitry Torokhov Cc: Jacek Anaszewski Cc: Pavel Machek Cc: Ulf Hansson Cc: Dominik Brodowski Cc: Alexandre Belloni Cc: Greg Kroah-Hartman Cc: Guenter Roeck Cc: Mark Brown Cc: linux-...@vger.kernel.org Cc: linux...@vger.kernel.org Cc: linux-in...@vger.kernel.org Cc: linux-l...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-...@lists.infradead.org Cc: linux-...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-fb...@vger.kernel.org Cc: linux-watch...@vger.kernel.org Cc: alsa-de...@alsa-project.org Signed-off-by: Arnd Bergmann --- arch/arm/common/locomo.c | 1 - arch/arm/common/sa.c | 5 +- arch/arm/mach-pxa/cm-x2xx.c | 2 + arch/arm/mach-pxa/cm-x300.c | 2 + arch/arm/mach-pxa/colibri-evalboard.c | 1 - arch/arm/mach-pxa/colibri-pxa270-income.c | 1 - arch/arm/mach-pxa/colibri-pxa300.c| 1 + arch/arm/mach-pxa/colibri-pxa3xx.c| 1 - arch/arm/mach-pxa/corgi.c | 1 - arch/arm/mach-pxa/corgi_pm.c | 1 - arch/arm/mach-pxa/csb726.c| 1 + arch/arm/mach-pxa/devices.c | 2 +- arch/arm/mach-pxa/ezx.c | 1 - arch/arm/mach-pxa/generic.c | 3 +- arch/arm/mach-pxa/gumstix.c | 1 - arch/arm/mach-pxa/hx4700.c| 2 +- arch/arm/mach-pxa/idp.c | 1 - arch/arm/mach-pxa/include/mach/pxa-regs.h | 52 arch/arm/mach-pxa/include/mach/pxa2xx-regs.h | 2 +- arch/arm/mach-pxa/include/mach/pxa3xx-regs.h | 2 +- arch/arm/mach-pxa/include/mach/regs-ac97.h| 2 +- arch/arm/mach-pxa/include/mach/regs-ost.h | 2 +- arch/arm/mach-pxa/include/mach/trizeps4.h | 1 + arch/arm/mach-pxa/irq.c | 3 +- arch/arm/mach-pxa/littleton.c | 1 - arch/arm/mach-pxa/lpd270.c| 2 +- arch/arm/mach-pxa/lubbock.c | 1 - arch/arm/mach-pxa/magician.c | 2 +- arch/arm/mach-pxa/mainstone.c | 2 +- arch/arm/mach-pxa/mfp-pxa2xx.c| 1 + arch/arm/mach-pxa/mfp-pxa3xx.c| 1 - arch/arm/mach-pxa/poodle.c| 1 - arch/arm/mach-pxa/pxa-regs.h | 1 + arch/arm/mach-pxa/pxa25x.c| 3 +- arch/arm/mach-pxa/pxa25x.h| 2 +- arch/arm/mach-pxa/pxa27x-udc.h| 2 + arch/arm/mach-pxa/pxa27x.c| 3 +- arch/arm/mach-pxa/pxa27x.h| 2 +- arch/arm/mach-pxa/pxa2xx.c| 1 - arch/arm/mach-pxa/pxa300.c| 1 + arch/arm/mach-pxa/pxa320.c| 1 + arch/arm/mach-pxa/pxa3xx-ulpi.c | 2 +- arch/arm/mach-pxa/pxa3xx.c| 3 +- arch/arm/mach-pxa/pxa3xx.h| 2 +- arch/arm/mach-pxa/pxa930.c| 1 + arch/arm/mach-pxa/regs-rtc.h | 2 +- arch/arm/mach-pxa/regs-uart.h | 2 + arch/arm/mach-pxa/sleep.S | 1 - arch/arm/mach-pxa/smemc.c | 2 +- arch/arm/mach-pxa/spitz_pm.c | 1 - arch/arm/mach-pxa/standby.S | 1 - arch/arm/mach-pxa/xcep.c | 2 +- arch/arm/mach-pxa/zylonite.c | 1 + arch/arm/mach-pxa/zylonite.h | 2 + arch/arm/mach-pxa/zylonite_pxa300.c | 1 + arch/arm/mach-pxa/zylonite_pxa320.c | 1 + drivers/clk/pxa/clk-pxa3xx.c | 1 + drivers/cpufreq/pxa2xx-cpufreq.c | 1 + drivers/cpufreq/pxa3xx-cpufreq.c | 1 + drivers/input/mouse/pxa930_trkball.c | 1 - drivers/input/touchscreen/zylonite-wm97xx.c | 2 +- drivers/leds/leds-locomo.c| 1 - drivers/mmc/host/pxamci.c | 2 +- drivers/mtd/maps/pxa2xx-flash.c | 2 - drivers/mtd/nand/raw/cmx270_nand.c| 3 +- drivers/pcmcia/pxa2xx_base.c | 2 +-