1. 29 Oct, 2010 6 commits
    • Steven Rostedt's avatar
      kconfig: Have streamline_config process menuconfigs too · 8ef17fa2
      Steven Rostedt authored
      Some menuconfigs in the Kconfig files have prompts and dependencies.
      Currently, streamline_config misses these, and this can cause
      streamline_config to keep modules enabled that should not be, and
      even worse, not enable those that should.
      
      This patch makes streamline_config process menuconfigs just like it
      would process a config.
      Reported-by: default avatarmember graysky <graysky@archlinux.us>
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      8ef17fa2
    • Steven Rostedt's avatar
      kconfig: Fix streamline_config to read multi line deps in Kconfig files · 20d19047
      Steven Rostedt authored
      I noticed that some Kconfig files have multi line dependencies
      that continue with a backslash. Those dependencies on the next
      line will be missed by streamline_config.
      
      For example:
      
      config CS89x0
      	tristate "CS89x0 support"
      	depends on NET_ETHERNET && (ISA || EISA || MACH_IXDP2351 \
      		|| ARCH_IXDP2X01 || MACH_MX31ADS)
      
      The "|| ARCH_IXDP2X01 || MACH_MX31ADS)" will not be processed.
      
      This patch adds code to handle this case.
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      20d19047
    • hiromu's avatar
      kconfig: Fix missing declaration of variable $dir in streamline_config.pl · cf5a189d
      hiromu authored
      On Fri, Aug 17, 2010 at 01:43PM +0800, Américo Wang wrote:
      > Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
      >
      > BTW, I think we should add "use strict;" too.
      
      Then I added "use strict;" to streamline_config.pl, I saw another
      warning.
      
      > Global symbol "$dir" requires explicit package name at
      scripts/kconfig/streamline_config.pl line 286.
      > Global symbol "$dir" requires explicit package name at
      scripts/kconfig/streamline_config.pl line 287.
      > Global symbol "$dir" requires explicit package name at
      scripts/kconfig/streamline_config.pl line 288.
      
      Then I added "my $dir;" to line 285.
      
      Cc: Américo Wang <xiyou.wangcong@gmail.com>
      Cc: Toralf Foerster <toralf.foerster@gmx.de>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
      Signed-off-by: default avatarHiromu Yakura <hiromu1996@gmail.com>
      LKML-Reference: <1282042158.7160.9.camel@hiromu-Macbook>
      
      [ changed to just add my in front of $dir instead of new line ]
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      cf5a189d
    • hiromu yagura's avatar
      kconfig: Fix variable name typo %prompts in streamline_config.pl · ccece60a
      hiromu yagura authored
      When I added "use strict;" to streamline_config.pl, I saw the following
      warnings:
      
      > Global symbol "%prompt" requires explicit package name at
      scripts/kconfig/streamline_config.pl line 183.
      > Global symbol "%prompt" requires explicit package name at
      scripts/kconfig/streamline_config.pl line 368.
      
      The declaration of %prompt was incorrect, and should have been %prompts.
      
      Cc: Toralf Foerster <toralf.foerster@gmx.de>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
      Signed-off-by: default avatarHiromu Yakura <hiromu1996@gmail.com>
      LKML-Reference: <1281845597.11566.5.camel@camp10-laptop>
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      ccece60a
    • Steven Rostedt's avatar
      kconfig: Make localmodconfig handle environment variables · 4908980b
      Steven Rostedt authored
      The commit 838a2e55
       kbuild: migrate all arch to the kconfig mainmenu upgrade
      
      Broke make localmodconfig. The reason was that it added a
      environment variable to the kconfig source, which the
      streamline_config.pl could not handle.
      
      This patch changes streamline_config.pl to handle kconfig sources
      using environment variables in their names.
      
      Cc: Arnaud Lacombe <lacombar@gmail.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Michal Marek <mmarek@suse.cz>
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      4908980b
    • Linus Torvalds's avatar
      Merge branch 'stable/xen-pcifront-0.8.2' of... · 18cb657c
      Linus Torvalds authored
      Merge branch 'stable/xen-pcifront-0.8.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen
        and branch 'for-linus' of git://xenbits.xen.org/people/sstabellini/linux-pvhvm
      
      * 'for-linus' of git://xenbits.xen.org/people/sstabellini/linux-pvhvm:
        xen: register xen pci notifier
        xen: initialize cpu masks for pv guests in xen_smp_init
        xen: add a missing #include to arch/x86/pci/xen.c
        xen: mask the MTRR feature from the cpuid
        xen: make hvc_xen console work for dom0.
        xen: add the direct mapping area for ISA bus access
        xen: Initialize xenbus for dom0.
        xen: use vcpu_ops to setup cpu masks
        xen: map a dummy page for local apic and ioapic in xen_set_fixmap
        xen: remap MSIs into pirqs when running as initial domain
        xen: remap GSIs as pirqs when running as initial domain
        xen: introduce XEN_DOM0 as a silent option
        xen: map MSIs into pirqs
        xen: support GSI -> pirq remapping in PV on HVM guests
        xen: add xen hvm acpi_register_gsi variant
        acpi: use indirect call to register gsi in different modes
        xen: implement xen_hvm_register_pirq
        xen: get the maximum number of pirqs from xen
        xen: support pirq != irq
      
      * 'stable/xen-pcifront-0.8.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen: (27 commits)
        X86/PCI: Remove the dependency on isapnp_disable.
        xen: Update Makefile with CONFIG_BLOCK dependency for biomerge.c
        MAINTAINERS: Add myself to the Xen Hypervisor Interface and remove Chris Wright.
        x86: xen: Sanitse irq handling (part two)
        swiotlb-xen: On x86-32 builts, select SWIOTLB instead of depending on it.
        MAINTAINERS: Add myself for Xen PCI and Xen SWIOTLB maintainer.
        xen/pci: Request ACS when Xen-SWIOTLB is activated.
        xen-pcifront: Xen PCI frontend driver.
        xenbus: prevent warnings on unhandled enumeration values
        xenbus: Xen paravirtualised PCI hotplug support.
        xen/x86/PCI: Add support for the Xen PCI subsystem
        x86: Introduce x86_msi_ops
        msi: Introduce default_[teardown|setup]_msi_irqs with fallback.
        x86/PCI: Export pci_walk_bus function.
        x86/PCI: make sure _PAGE_IOMAP it set on pci mappings
        x86/PCI: Clean up pci_cache_line_size
        xen: fix shared irq device passthrough
        xen: Provide a variant of xen_poll_irq with timeout.
        xen: Find an unbound irq number in reverse order (high to low).
        xen: statically initialize cpu_evtchn_mask_p
        ...
      
      Fix up trivial conflicts in drivers/pci/Makefile
      18cb657c
  2. 28 Oct, 2010 34 commits