public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] IA64_GENERIC shouldn't select other stuff
@ 2006-02-07 22:11 Adrian Bunk
  2006-02-07 22:37 ` Keith Owens
  0 siblings, 1 reply; 34+ messages in thread
From: Adrian Bunk @ 2006-02-07 22:11 UTC (permalink / raw)
  To: tony.luck; +Cc: linux-ia64, linux-kernel

IA64_GENERIC shouldn't select other stuff.

select'ing ACPI without select'ing PCI had broken ACPI in the past (the 
current workaround is that ACPI select's PCI).

Select'ing NUMA means that the illegal configuration NUMA=y, FLATMEM=y 
is possible.

The generic setting might be required in some places, but select'ing 
some options like NUMA while not select'ing some other similar 
important options like PCI doesn't make much sense.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.16-rc1-mm5-ia64/arch/ia64/Kconfig.old	2006-02-07 23:07:29.000000000 +0100
+++ linux-2.6.16-rc1-mm5-ia64/arch/ia64/Kconfig	2006-02-07 23:07:55.000000000 +0100
@@ -72,9 +72,6 @@
 
 config IA64_GENERIC
 	bool "generic"
-	select ACPI
-	select NUMA
-	select ACPI_NUMA
 	help
 	  This selects the system type of your hardware.  A "generic" kernel
 	  will run on any supported IA-64 system.  However, if you configure


^ permalink raw reply	[flat|nested] 34+ messages in thread
* RE: [2.6 patch] let IA64_GENERIC select more stuff
@ 2006-02-08 18:35 Luck, Tony
  2006-02-08 19:21 ` Alex Williamson
  0 siblings, 1 reply; 34+ messages in thread
From: Luck, Tony @ 2006-02-08 18:35 UTC (permalink / raw)
  To: Jes Sorensen, Adrian Bunk
  Cc: Chen, Kenneth W, Keith Owens, linux-ia64, linux-kernel

Adrian> Is this OK for you?

Jes> Not really, it helps a bit by selecting some things we know we need
Jes> for all GENERIC builds. True we can't make it bullet proof, but whats
Jes> there is better than removing it.

Which I think sums up why this is so contentious.  There is no right answer
here as the purpose of the GENERIC entry is rather vague and has been
interpreted differently by different people.  Mostly it is a convenience
entry that auto-selects a bunch of other config options, but there isn't
a single answer to what it should select, as different people have different
goals, so what might be convenient for one person would be a pain for
someone else.

The current set looks close ... perhaps PCI should be added as it isn't
likely to inconvenience anyone, but SMP is a lot further into murky territory
(some distributors like to use a UP kernel for installation ... so they
want a "generic" kernel, but don't need to worry about SMP ... there are few
places where SMP would be advantageous during install).

-Tony

^ permalink raw reply	[flat|nested] 34+ messages in thread
* RE: [2.6 patch] let IA64_GENERIC select more stuff
@ 2006-02-08 19:48 Luck, Tony
  0 siblings, 0 replies; 34+ messages in thread
From: Luck, Tony @ 2006-02-08 19:48 UTC (permalink / raw)
  To: Jes Sorensen, Alex Williamson
  Cc: Adrian Bunk, Chen, Kenneth W, Keith Owens, linux-ia64,
	linux-kernel

> That could explain it, but the question is whether one would want to
> boot a generic kernel when running on a simulator. After all then every
> cycle does count ;)

You might if you wanted to use the simulator to debug a problem that
only showed up in a generic kernel.

-Tony

^ permalink raw reply	[flat|nested] 34+ messages in thread
* RE: [2.6 patch] let IA64_GENERIC select more stuff
@ 2006-02-08 22:35 Luck, Tony
  0 siblings, 0 replies; 34+ messages in thread
From: Luck, Tony @ 2006-02-08 22:35 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Keith Owens, linux-ia64, linux-kernel, Chen, Kenneth W,
	Jes Sorensen

Drifting a little (perhaps).  "make allnoconfig" produces
a config that doesn't compile. Lots or warnings during compile
about implicit declaration of ia64_pfn_valid.  Then link errors
for vmem_map and ia64_pfn_valid.

What's the right thing to do about this?  It's been broken for a
long time (definitely since SPARSE support was added, perhaps longer).


-Tony

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

end of thread, other threads:[~2006-02-09 15:19 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-07 22:11 [2.6 patch] IA64_GENERIC shouldn't select other stuff Adrian Bunk
2006-02-07 22:37 ` Keith Owens
2006-02-07 22:43   ` Matthew Wilcox
2006-02-07 22:53     ` Adrian Bunk
2006-02-07 23:17   ` [2.6 patch] let IA64_GENERIC select more stuff Adrian Bunk
2006-02-08  0:52     ` Chen, Kenneth W
2006-02-08  1:19       ` Adrian Bunk
2006-02-08  1:40         ` Chen, Kenneth W
2006-02-08  2:08           ` Adrian Bunk
2006-02-08  2:17             ` Chen, Kenneth W
2006-02-08  2:43               ` Adrian Bunk
2006-02-08  2:48           ` Keith Owens
2006-02-08  2:54             ` Matthew Wilcox
2006-02-08  2:58             ` Chen, Kenneth W
2006-02-08  3:51               ` Adrian Bunk
2006-02-08  5:52                 ` Chen, Kenneth W
2006-02-08 11:59                   ` Adrian Bunk
2006-02-08 13:38                     ` Jes Sorensen
2006-02-08 21:38                       ` Adrian Bunk
2006-02-08 22:24                         ` Chen, Kenneth W
2006-02-08 22:49                           ` Adrian Bunk
2006-02-09 12:53                         ` Jes Sorensen
2006-02-09 13:18                           ` Matthew Wilcox
2006-02-09 13:26                             ` Jes Sorensen
2006-02-09 14:16                               ` Adrian Bunk
2006-02-09 15:19                                 ` Jes Sorensen
  -- strict thread matches above, loose matches on Subject: below --
2006-02-08 18:35 Luck, Tony
2006-02-08 19:21 ` Alex Williamson
2006-02-08 19:24   ` Jes Sorensen
2006-02-08 19:55     ` Chen, Kenneth W
2006-02-08 21:24       ` Matthew Wilcox
2006-02-08 21:36         ` Chen, Kenneth W
2006-02-08 19:48 Luck, Tony
2006-02-08 22:35 Luck, Tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox