lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 04 Oct 2013 11:36:32 +0100
From:	Grant Likely <grant.likely@...aro.org>
To:	Rob Herring <robherring2@...il.com>, linux-kernel@...r.kernel.org,
	devicetree@...r.kernel.org
Cc:	Rob Herring <rob.herring@...xeda.com>,
	Anatolij Gustschin <agust@...x.de>,
	Aurelien Jacquiot <a-jacquiot@...com>,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	Catalin Marinas <catalin.marinas@....com>,
	Chris Zankel <chris@...kel.net>,
	"David S. Miller" <davem@...emloft.net>,
	"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...hat.com>,
	James Hogan <james.hogan@...tec.com>,
	Jonas Bonn <jonas@...thpole.se>,
	Kumar Gala <galak@...nel.crashing.org>,
	Marc Kleine-Budde <mkl@...gutronix.de>,
	Mark Salter <msalter@...hat.com>,
	Max Filippov <jcmvbkbc@...il.com>,
	Michal Simek <monstr@...str.eu>,
	Olof Johansson <olof@...om.net>,
	Paul Mackerras <paulus@...ba.org>,
	Ralf Baechle <ralf@...ux-mips.org>,
	Richard Kuo <rkuo@...eaurora.org>,
	Russell King <linux@....linux.org.uk>,
	Santosh Shilimkar <santosh.shilimkar@...com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Vineet Gupta <vgupta@...opsys.com>,
	Will Deacon <will.deacon@....com>,
	Wolfgang Grandegger <wg@...ndegger.com>, x86@...nel.org
Subject: Re: [PATCH 00/21] of: prom.h clean-up and removal

On Thu, 26 Sep 2013 13:50:35 -0500, Rob Herring <robherring2@...il.com> wrote:
> From: Rob Herring <rob.herring@...xeda.com>
> 
> This is the second series of clean-up for architecture DT code. The first
> series is here [1].
> 
> As the number of DT enabled architectures has grown, there has been a lot
> of copy/paste duplication of prom.h. The include ordering for prom.h is
> complex and has resulted in many implicit includes. This series cleans up
> prom.h and removes the dependency of prom.h includes in the core DT code
> on all architectures except sparc. This removes prom.h on several
> architectures and makes it an architecture specific include on the rest.
> 
> Compiled on arm, arm64, microblaze, mips, openrisc, powerpc, sparc,
> xtensa. Mostly defconfigs and some allyesconfigs. The 0-day builder has
> also caught some issues.
> 
> A branch with both series is available here:
> git://sources.calxeda.com/kernel/linux.git dt-cleanup

Nice!

Acked-by: Grant Likely <grant.likely@...aro.org>

for the whole series.

g.

> 
> Rob
> 
> [1] http://www.spinics.net/lists/devicetree/msg04865.html
> 
> Rob Herring (21):
>   drivers: remove unnecessary prom.h includes
>   of: remove unnecessary prom.h includes
>   ARM: keystone: remove unnecessary prom.h include
>   arm64: remove unnecessary prom.h include
>   openrisc: remove unnecessary prom.h include
>   arc: remove unnecessary prom.h includes
>   hexagon: remove unnecessary prom.h includes
>   metag: move setup_machine_fdt declaration from prom.h
>   microblaze: clean-up prom.h implicit includes
>   drivers: clean-up prom.h implicit includes
>   mips: add explicit includes of prom.h
>   x86: add necessary includes for prom.h
>   of: implement pci_address_to_pio as weak function
>   of: implement of_node_to_nid as a weak function
>   of: remove HAVE_ARCH_DEVTREE_FIXUPS
>   of: move of_address_to_resource and of_iomap declarations from sparc
>   of: move of_translate_dma_address to of_address.h
>   powerpc: clean-up include ordering in prom.h
>   powerpc: add explicit OF includes
>   of: only include prom.h on sparc
>   of: remove empty arch prom.h headers
> 
>  arch/arc/include/asm/prom.h                      | 14 ---------
>  arch/arc/kernel/devtree.c                        |  1 -
>  arch/arc/kernel/setup.c                          |  1 -
>  arch/arm/include/asm/prom.h                      |  2 --
>  arch/arm/mach-keystone/platsmp.c                 |  1 -
>  arch/arm64/include/asm/prom.h                    |  1 -
>  arch/arm64/mm/init.c                             |  1 -
>  arch/c6x/include/asm/prom.h                      |  1 -
>  arch/hexagon/kernel/setup.c                      |  3 --
>  arch/metag/include/asm/prom.h                    | 23 --------------
>  arch/metag/include/asm/setup.h                   |  1 +
>  arch/metag/kernel/setup.c                        |  1 -
>  arch/microblaze/include/asm/prom.h               | 39 +-----------------------
>  arch/microblaze/kernel/prom.c                    |  1 +
>  arch/microblaze/kernel/setup.c                   |  1 +
>  arch/microblaze/kernel/timer.c                   |  1 +
>  arch/microblaze/pci/pci-common.c                 |  1 +
>  arch/mips/include/asm/prom.h                     | 11 -------
>  arch/mips/lantiq/prom.c                          |  1 +
>  arch/mips/mti-sead3/sead3-setup.c                |  2 ++
>  arch/mips/ralink/of.c                            |  1 +
>  arch/openrisc/include/asm/prom.h                 | 22 -------------
>  arch/openrisc/kernel/prom.c                      |  1 -
>  arch/powerpc/include/asm/prom.h                  | 33 ++++----------------
>  arch/powerpc/kernel/epapr_paravirt.c             |  1 +
>  arch/powerpc/platforms/512x/clock.c              |  1 +
>  arch/powerpc/platforms/512x/pdm360ng.c           |  2 ++
>  arch/powerpc/platforms/82xx/mpc8272_ads.c        |  2 ++
>  arch/powerpc/platforms/82xx/pq2fads.c            |  2 ++
>  arch/powerpc/platforms/83xx/suspend.c            |  2 ++
>  arch/powerpc/platforms/86xx/pic.c                |  1 +
>  arch/powerpc/platforms/embedded6xx/flipper-pic.c |  1 +
>  arch/powerpc/platforms/embedded6xx/hlwd-pic.c    |  2 ++
>  arch/powerpc/platforms/pasemi/gpio_mdio.c        |  1 +
>  arch/powerpc/platforms/powermac/pfunc_base.c     |  1 +
>  arch/powerpc/platforms/powernv/opal-lpc.c        |  1 +
>  arch/powerpc/platforms/powernv/opal.c            |  1 +
>  arch/powerpc/platforms/powernv/setup.c           |  1 +
>  arch/powerpc/platforms/pseries/hotplug-memory.c  |  2 ++
>  arch/powerpc/sysdev/cpm_common.c                 |  1 +
>  arch/powerpc/sysdev/fsl_gtm.c                    |  2 ++
>  arch/powerpc/sysdev/fsl_pmc.c                    |  1 +
>  arch/powerpc/sysdev/mpic.c                       |  8 ++---
>  arch/powerpc/sysdev/mpic_timer.c                 |  2 ++
>  arch/sparc/include/asm/prom.h                    | 12 --------
>  arch/x86/include/asm/prom.h                      |  5 ---
>  arch/x86/kernel/devicetree.c                     | 11 +------
>  arch/xtensa/include/asm/prom.h                   |  6 ----
>  drivers/ata/sata_fsl.c                           |  2 ++
>  drivers/char/bsr.c                               |  1 +
>  drivers/char/hw_random/pasemi-rng.c              |  1 +
>  drivers/cpufreq/pasemi-cpufreq.c                 |  1 +
>  drivers/crypto/caam/ctrl.c                       |  3 ++
>  drivers/crypto/caam/jr.c                         |  2 ++
>  drivers/dma/fsldma.c                             |  2 ++
>  drivers/edac/cell_edac.c                         |  1 +
>  drivers/i2c/busses/i2c-mpc.c                     |  2 ++
>  drivers/i2c/busses/i2c-powermac.c                |  1 +
>  drivers/input/serio/xilinx_ps2.c                 |  1 +
>  drivers/macintosh/macio_asic.c                   |  2 ++
>  drivers/macintosh/rack-meter.c                   |  2 ++
>  drivers/macintosh/smu.c                          |  1 +
>  drivers/macintosh/via-pmu.c                      |  2 ++
>  drivers/mtd/nand/fsl_elbc_nand.c                 |  1 +
>  drivers/mtd/nand/pasemi_nand.c                   |  2 ++
>  drivers/net/can/grcan.c                          |  3 --
>  drivers/net/can/sja1000/sja1000_of_platform.c    |  1 -
>  drivers/net/ethernet/ibm/emac/core.c             |  2 ++
>  drivers/net/ethernet/ibm/emac/mal.c              |  1 +
>  drivers/net/ethernet/ibm/emac/rgmii.c            |  1 +
>  drivers/net/ethernet/ibm/emac/tah.c              |  1 +
>  drivers/net/ethernet/ibm/emac/zmii.c             |  1 +
>  drivers/net/ethernet/xilinx/ll_temac_main.c      |  1 +
>  drivers/of/address.c                             |  8 +++++
>  drivers/of/base.c                                |  7 +++++
>  drivers/of/of_pci.c                              |  1 -
>  drivers/of/of_pci_irq.c                          |  1 -
>  drivers/of/pdt.c                                 |  1 -
>  drivers/pcmcia/electra_cf.c                      |  2 ++
>  drivers/tty/ehv_bytechan.c                       |  1 +
>  drivers/tty/serial/pmac_zilog.c                  |  2 ++
>  drivers/usb/host/ehci-ppc-of.c                   |  2 ++
>  drivers/usb/host/ohci-ppc-of.c                   |  2 ++
>  fs/proc/proc_devtree.c                           |  3 --
>  include/linux/of.h                               | 13 ++++----
>  include/linux/of_address.h                       | 39 +++++++++++++-----------
>  sound/aoa/core/gpio-feature.c                    |  3 +-
>  sound/aoa/soundbus/i2sbus/core.c                 |  2 ++
>  sound/ppc/pmac.c                                 |  2 ++
>  sound/ppc/tumbler.c                              |  1 +
>  90 files changed, 141 insertions(+), 220 deletions(-)
>  delete mode 100644 arch/arc/include/asm/prom.h
>  delete mode 100644 arch/arm64/include/asm/prom.h
>  delete mode 100644 arch/c6x/include/asm/prom.h
>  delete mode 100644 arch/metag/include/asm/prom.h
>  delete mode 100644 arch/openrisc/include/asm/prom.h
>  delete mode 100644 arch/xtensa/include/asm/prom.h
> 
> -- 
> 1.8.1.2
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ