Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
On 12/02/13 11:47, Stephen Rothwell wrote: > Change it to CONFIG_HAVE_VIRT_TO_BUS and set it in all architecures nit: typo in "architecures" > that already provide virt_to_bus(). > > Signed-off-by: Stephen Rothwell Reviewed-by: James Hogan Cheers James signature.asc Description: OpenPGP digital signature
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
On 12/02/13 11:47, Stephen Rothwell wrote: Change it to CONFIG_HAVE_VIRT_TO_BUS and set it in all architecures nit: typo in architecures that already provide virt_to_bus(). Signed-off-by: Stephen Rothwell s...@canb.auug.org.au Reviewed-by: James Hogan james.ho...@imgtec.com Cheers James signature.asc Description: OpenPGP digital signature
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
Hi James, On Mon, 11 Feb 2013 11:57:28 + James Hogan wrote: > > On 12/11/12 21:26, Stephen Rothwell wrote: > > Make if easier for more architectures to select it and thus disable > > drivers that use virt_to_bus(). > > > > Signed-off-by: Stephen Rothwell > > I was just wondering what the status of this patch is? It was in -next > for a while but seems to have disappeared. Yeah, I think Andrew dropped it in favour of a more complete solution which I haven't written yet. Let me dig out the emails and have a shot. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpUxUEhdsO_w.pgp Description: PGP signature
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
Hi Stephen, On 12/11/12 21:26, Stephen Rothwell wrote: > Make if easier for more architectures to select it and thus disable > drivers that use virt_to_bus(). > > Signed-off-by: Stephen Rothwell I was just wondering what the status of this patch is? It was in -next for a while but seems to have disappeared. Cheers James signature.asc Description: OpenPGP digital signature
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
Hi Stephen, On 12/11/12 21:26, Stephen Rothwell wrote: Make if easier for more architectures to select it and thus disable drivers that use virt_to_bus(). Signed-off-by: Stephen Rothwell s...@canb.auug.org.au I was just wondering what the status of this patch is? It was in -next for a while but seems to have disappeared. Cheers James signature.asc Description: OpenPGP digital signature
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
Hi James, On Mon, 11 Feb 2013 11:57:28 + James Hogan james.ho...@imgtec.com wrote: On 12/11/12 21:26, Stephen Rothwell wrote: Make if easier for more architectures to select it and thus disable drivers that use virt_to_bus(). Signed-off-by: Stephen Rothwell s...@canb.auug.org.au I was just wondering what the status of this patch is? It was in -next for a while but seems to have disappeared. Yeah, I think Andrew dropped it in favour of a more complete solution which I haven't written yet. Let me dig out the emails and have a shot. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpUxUEhdsO_w.pgp Description: PGP signature
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
On Tue, Nov 13, 2012 at 3:32 AM, Geert Uytterhoeven wrote: > On Mon, Nov 12, 2012 at 10:26 PM, Stephen Rothwell > wrote: >> diff --git a/arch/Kconfig b/arch/Kconfig >> index 366ec06..9bc00e7 100644 >> --- a/arch/Kconfig >> +++ b/arch/Kconfig >> @@ -271,6 +271,13 @@ config ARCH_WANT_OLD_COMPAT_IPC >> select ARCH_WANT_COMPAT_IPC_PARSE_VERSION >> bool >> >> +config ARCH_NO_VIRT_TO_BUS >> + bool >> + help >> + An architecture should select this if it cannot (or will not) >> + implement virt_to_bus(). All new architectures should probably >> + select this. > > Don't we typically put the burden of selecting Kconfig flags for deprecated > features on the existing architectures that provide the deprecated features? > > I.e. shouldn't it be ARCH_HAS_VIRT_TO_BUS, selected by the architectures > that need it, instead? I like this idea. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
On Monday 12 November 2012, Stephen Rothwell wrote: > Show Details > Make if easier for more architectures to select it and thus disable > drivers that use virt_to_bus(). > > Signed-off-by: Stephen Rothwell Very nice, I was recently looking into enabling this for ARM as well, at least for the platforms that are known to not need virt_to_bus. Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
On Monday 12 November 2012, Stephen Rothwell wrote: Show Details Make if easier for more architectures to select it and thus disable drivers that use virt_to_bus(). Signed-off-by: Stephen Rothwell s...@canb.auug.org.au Very nice, I was recently looking into enabling this for ARM as well, at least for the platforms that are known to not need virt_to_bus. Acked-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
On Tue, Nov 13, 2012 at 3:32 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Mon, Nov 12, 2012 at 10:26 PM, Stephen Rothwell s...@canb.auug.org.au wrote: diff --git a/arch/Kconfig b/arch/Kconfig index 366ec06..9bc00e7 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -271,6 +271,13 @@ config ARCH_WANT_OLD_COMPAT_IPC select ARCH_WANT_COMPAT_IPC_PARSE_VERSION bool +config ARCH_NO_VIRT_TO_BUS + bool + help + An architecture should select this if it cannot (or will not) + implement virt_to_bus(). All new architectures should probably + select this. Don't we typically put the burden of selecting Kconfig flags for deprecated features on the existing architectures that provide the deprecated features? I.e. shouldn't it be ARCH_HAS_VIRT_TO_BUS, selected by the architectures that need it, instead? I like this idea. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
On Mon, Nov 12, 2012 at 10:26 PM, Stephen Rothwell wrote: > diff --git a/arch/Kconfig b/arch/Kconfig > index 366ec06..9bc00e7 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -271,6 +271,13 @@ config ARCH_WANT_OLD_COMPAT_IPC > select ARCH_WANT_COMPAT_IPC_PARSE_VERSION > bool > > +config ARCH_NO_VIRT_TO_BUS > + bool > + help > + An architecture should select this if it cannot (or will not) > + implement virt_to_bus(). All new architectures should probably > + select this. Don't we typically put the burden of selecting Kconfig flags for deprecated features on the existing architectures that provide the deprecated features? I.e. shouldn't it be ARCH_HAS_VIRT_TO_BUS, selected by the architectures that need it, instead? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/11/12 21:26, Stephen Rothwell wrote: > Make if easier for more architectures to select it and thus > disable drivers that use virt_to_bus(). > > Signed-off-by: Stephen Rothwell Reviewed-by: James Hogan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJQohD8AAoJEKHZs+irPybf82gP/Az9f+Q5Vn/fGkQwOOpfsxsl hpZGzIc7P6/ZU6IFWxN8hAKdJjOBH/ko0r+LMoczlQzlhlFd+qpDU+i2tZBqbp/G S+4w56J/PC5MtZFlUEh68e0H313Mgt9kK8vy4yVnzBTvIgGsJuXjeK4qQSKBm3LP LguU2AONT8GCfT8DRm9sbdS+WcXnBjRWeUkm8pZ+UX8kEe7ryaccidwvR16aP9l1 zx4HwFW0nCLYxwSOVQg2hi2pQyHD5sqFeLEYNbvEPlGleRKNJtz3bnYWbRdPkO2D CoRjiSw5/iCd/SghvwEKdkJFkOw4zdONElrBvsYXqn3QsFFpyYal43gyKIgPkSb6 s5OdTJ1ScS3IgtxFpQ1nfj020rS1ieM8eY/bXyuGPEZzwbe0moe+g64Qye9nEutn 7oWKoue1H8uRaJ46WoD22bjG7SezLycDnAlG6ujo75qyxeBcVJ9ZB6DxHPnEU02M P0sA8FLTFmzigRV2TBKBZbh3NrFGEi/riMA8U9f9XfLkxt7zdXGTvJ45C91U8HjT 3uQffRL/WBOQOILXtEFzf22DSPeoRklvyZmlHBsmNC6AYhSDnOvpUfOThaetQaFe voiFdDZhtxdk20l0DpReeAUBVUFOjBjh6NzWLZbVdrfgHrpndw7s7jjfy/e5vhDU wI2jW7slxuwARtv3Q1CV =XvmD -END PGP SIGNATURE- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/11/12 21:26, Stephen Rothwell wrote: Make if easier for more architectures to select it and thus disable drivers that use virt_to_bus(). Signed-off-by: Stephen Rothwell s...@canb.auug.org.au Reviewed-by: James Hogan james.ho...@imgtec.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJQohD8AAoJEKHZs+irPybf82gP/Az9f+Q5Vn/fGkQwOOpfsxsl hpZGzIc7P6/ZU6IFWxN8hAKdJjOBH/ko0r+LMoczlQzlhlFd+qpDU+i2tZBqbp/G S+4w56J/PC5MtZFlUEh68e0H313Mgt9kK8vy4yVnzBTvIgGsJuXjeK4qQSKBm3LP LguU2AONT8GCfT8DRm9sbdS+WcXnBjRWeUkm8pZ+UX8kEe7ryaccidwvR16aP9l1 zx4HwFW0nCLYxwSOVQg2hi2pQyHD5sqFeLEYNbvEPlGleRKNJtz3bnYWbRdPkO2D CoRjiSw5/iCd/SghvwEKdkJFkOw4zdONElrBvsYXqn3QsFFpyYal43gyKIgPkSb6 s5OdTJ1ScS3IgtxFpQ1nfj020rS1ieM8eY/bXyuGPEZzwbe0moe+g64Qye9nEutn 7oWKoue1H8uRaJ46WoD22bjG7SezLycDnAlG6ujo75qyxeBcVJ9ZB6DxHPnEU02M P0sA8FLTFmzigRV2TBKBZbh3NrFGEi/riMA8U9f9XfLkxt7zdXGTvJ45C91U8HjT 3uQffRL/WBOQOILXtEFzf22DSPeoRklvyZmlHBsmNC6AYhSDnOvpUfOThaetQaFe voiFdDZhtxdk20l0DpReeAUBVUFOjBjh6NzWLZbVdrfgHrpndw7s7jjfy/e5vhDU wI2jW7slxuwARtv3Q1CV =XvmD -END PGP SIGNATURE- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
On Mon, Nov 12, 2012 at 10:26 PM, Stephen Rothwell s...@canb.auug.org.au wrote: diff --git a/arch/Kconfig b/arch/Kconfig index 366ec06..9bc00e7 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -271,6 +271,13 @@ config ARCH_WANT_OLD_COMPAT_IPC select ARCH_WANT_COMPAT_IPC_PARSE_VERSION bool +config ARCH_NO_VIRT_TO_BUS + bool + help + An architecture should select this if it cannot (or will not) + implement virt_to_bus(). All new architectures should probably + select this. Don't we typically put the burden of selecting Kconfig flags for deprecated features on the existing architectures that provide the deprecated features? I.e. shouldn't it be ARCH_HAS_VIRT_TO_BUS, selected by the architectures that need it, instead? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say programmer or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
From: Stephen Rothwell Date: Tue, 13 Nov 2012 08:26:15 +1100 > Make if easier for more architectures to select it and thus disable > drivers that use virt_to_bus(). > > Signed-off-by: Stephen Rothwell Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS
From: Stephen Rothwell s...@canb.auug.org.au Date: Tue, 13 Nov 2012 08:26:15 +1100 Make if easier for more architectures to select it and thus disable drivers that use virt_to_bus(). Signed-off-by: Stephen Rothwell s...@canb.auug.org.au Acked-by: David S. Miller da...@davemloft.net -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/