All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] base: isa: Remove X86_32 dependency
@ 2016-01-22 16:28 William Breathitt Gray
  2016-01-27 10:07 ` Thomas Gleixner
  0 siblings, 1 reply; 5+ messages in thread
From: William Breathitt Gray @ 2016-01-22 16:28 UTC (permalink / raw)
  To: tglx, mingo, hpa; +Cc: x86, gregkh, linux-kernel

Many motherboards utilize a LPC to ISA bridge in order to decode
ISA-style port-mapped I/O addresses. This is particularly true for
embedded motherboards supporting the PC/104 bus (a bus specification
derived from ISA).

These motherboards are now commonly running 64-bit x86 processors. The
X86_32 dependency should be removed from the ISA bus configuration
option in order to support these newer motherboards.

A new config option, CONFIG_ISA_BUS, is introduced to allow for the
compilation of the ISA bus driver independent of the CONFIG_ISA option.
Devices which communicate via ISA-compatible buses can now be supported
independent of the dependencies of the CONFIG_ISA option.

Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
---
 arch/x86/Kconfig      | 6 ++++++
 drivers/base/Makefile | 2 +-
 include/linux/isa.h   | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 4a10ba9..c85073d 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2443,10 +2443,16 @@ config ISA_DMA_API
 	  Enables ISA-style DMA support for devices requiring such controllers.
 	  If unsure, say Y.
 
+config ISA_BUS
+	bool "ISA bus support"
+	help
+	  Enables ISA bus support for devices requiring such controllers.
+
 if X86_32
 
 config ISA
 	bool "ISA support"
+	depends on ISA_BUS
 	---help---
 	  Find out whether you have ISA slots on your motherboard.  ISA is the
 	  name of a bus system, i.e. the way the CPU talks to the other stuff
diff --git a/drivers/base/Makefile b/drivers/base/Makefile
index 6b2a84e..4ebfb81 100644
--- a/drivers/base/Makefile
+++ b/drivers/base/Makefile
@@ -10,7 +10,7 @@ obj-$(CONFIG_DMA_CMA) += dma-contiguous.o
 obj-y			+= power/
 obj-$(CONFIG_HAS_DMA)	+= dma-mapping.o
 obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
-obj-$(CONFIG_ISA)	+= isa.o
+obj-$(CONFIG_ISA_BUS)	+= isa.o
 obj-$(CONFIG_FW_LOADER)	+= firmware_class.o
 obj-$(CONFIG_NUMA)	+= node.o
 obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
diff --git a/include/linux/isa.h b/include/linux/isa.h
index b0270e3..2a02862 100644
--- a/include/linux/isa.h
+++ b/include/linux/isa.h
@@ -22,7 +22,7 @@ struct isa_driver {
 
 #define to_isa_driver(x) container_of((x), struct isa_driver, driver)
 
-#ifdef CONFIG_ISA
+#ifdef CONFIG_ISA_BUS
 int isa_register_driver(struct isa_driver *, unsigned int);
 void isa_unregister_driver(struct isa_driver *);
 #else
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] base: isa: Remove X86_32 dependency
  2016-01-22 16:28 [PATCH v2] base: isa: Remove X86_32 dependency William Breathitt Gray
@ 2016-01-27 10:07 ` Thomas Gleixner
  2016-02-22  4:35   ` William Breathitt Gray
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Gleixner @ 2016-01-27 10:07 UTC (permalink / raw)
  To: William Breathitt Gray; +Cc: mingo, hpa, x86, gregkh, linux-kernel

On Fri, 22 Jan 2016, William Breathitt Gray wrote:
> Many motherboards utilize a LPC to ISA bridge in order to decode
> ISA-style port-mapped I/O addresses. This is particularly true for
> embedded motherboards supporting the PC/104 bus (a bus specification
> derived from ISA).
> 
> These motherboards are now commonly running 64-bit x86 processors. The
> X86_32 dependency should be removed from the ISA bus configuration
> option in order to support these newer motherboards.
> 
> A new config option, CONFIG_ISA_BUS, is introduced to allow for the
> compilation of the ISA bus driver independent of the CONFIG_ISA option.
> Devices which communicate via ISA-compatible buses can now be supported
> independent of the dependencies of the CONFIG_ISA option.
> 
> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] base: isa: Remove X86_32 dependency
  2016-01-27 10:07 ` Thomas Gleixner
@ 2016-02-22  4:35   ` William Breathitt Gray
  2016-02-22 18:39     ` Thomas Gleixner
  0 siblings, 1 reply; 5+ messages in thread
From: William Breathitt Gray @ 2016-02-22  4:35 UTC (permalink / raw)
  To: Thomas Gleixner, mingo, hpa; +Cc: x86, gregkh, linux-kernel

On 01/27/2016 05:07 AM, Thomas Gleixner wrote:
> On Fri, 22 Jan 2016, William Breathitt Gray wrote:
>> Many motherboards utilize a LPC to ISA bridge in order to decode
>> ISA-style port-mapped I/O addresses. This is particularly true for
>> embedded motherboards supporting the PC/104 bus (a bus specification
>> derived from ISA).
>>
>> These motherboards are now commonly running 64-bit x86 processors. The
>> X86_32 dependency should be removed from the ISA bus configuration
>> option in order to support these newer motherboards.
>>
>> A new config option, CONFIG_ISA_BUS, is introduced to allow for the
>> compilation of the ISA bus driver independent of the CONFIG_ISA option.
>> Devices which communicate via ISA-compatible buses can now be supported
>> independent of the dependencies of the CONFIG_ISA option.
>>
>> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
> 
> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>

What more can I do to help get this patch pulled in for the merge
window?

William Breathitt Gray

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] base: isa: Remove X86_32 dependency
  2016-02-22  4:35   ` William Breathitt Gray
@ 2016-02-22 18:39     ` Thomas Gleixner
  2016-02-22 19:31       ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Gleixner @ 2016-02-22 18:39 UTC (permalink / raw)
  To: William Breathitt Gray; +Cc: mingo, hpa, x86, gregkh, linux-kernel

On Sun, 21 Feb 2016, William Breathitt Gray wrote:

> On 01/27/2016 05:07 AM, Thomas Gleixner wrote:
> > On Fri, 22 Jan 2016, William Breathitt Gray wrote:
> >> Many motherboards utilize a LPC to ISA bridge in order to decode
> >> ISA-style port-mapped I/O addresses. This is particularly true for
> >> embedded motherboards supporting the PC/104 bus (a bus specification
> >> derived from ISA).
> >>
> >> These motherboards are now commonly running 64-bit x86 processors. The
> >> X86_32 dependency should be removed from the ISA bus configuration
> >> option in order to support these newer motherboards.
> >>
> >> A new config option, CONFIG_ISA_BUS, is introduced to allow for the
> >> compilation of the ISA bus driver independent of the CONFIG_ISA option.
> >> Devices which communicate via ISA-compatible buses can now be supported
> >> independent of the dependencies of the CONFIG_ISA option.
> >>
> >> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
> > 
> > Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
> 
> What more can I do to help get this patch pulled in for the merge
> window?

If Greg doesn't pick it up, I'll pull it into x86 later this week

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] base: isa: Remove X86_32 dependency
  2016-02-22 18:39     ` Thomas Gleixner
@ 2016-02-22 19:31       ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2016-02-22 19:31 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: William Breathitt Gray, mingo, hpa, x86, linux-kernel

On Mon, Feb 22, 2016 at 07:39:36PM +0100, Thomas Gleixner wrote:
> On Sun, 21 Feb 2016, William Breathitt Gray wrote:
> 
> > On 01/27/2016 05:07 AM, Thomas Gleixner wrote:
> > > On Fri, 22 Jan 2016, William Breathitt Gray wrote:
> > >> Many motherboards utilize a LPC to ISA bridge in order to decode
> > >> ISA-style port-mapped I/O addresses. This is particularly true for
> > >> embedded motherboards supporting the PC/104 bus (a bus specification
> > >> derived from ISA).
> > >>
> > >> These motherboards are now commonly running 64-bit x86 processors. The
> > >> X86_32 dependency should be removed from the ISA bus configuration
> > >> option in order to support these newer motherboards.
> > >>
> > >> A new config option, CONFIG_ISA_BUS, is introduced to allow for the
> > >> compilation of the ISA bus driver independent of the CONFIG_ISA option.
> > >> Devices which communicate via ISA-compatible buses can now be supported
> > >> independent of the dependencies of the CONFIG_ISA option.
> > >>
> > >> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
> > > 
> > > Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
> > 
> > What more can I do to help get this patch pulled in for the merge
> > window?
> 
> If Greg doesn't pick it up, I'll pull it into x86 later this week

It's not in my queue so I don't even have it here to pick up :(

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-22 19:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-22 16:28 [PATCH v2] base: isa: Remove X86_32 dependency William Breathitt Gray
2016-01-27 10:07 ` Thomas Gleixner
2016-02-22  4:35   ` William Breathitt Gray
2016-02-22 18:39     ` Thomas Gleixner
2016-02-22 19:31       ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.