1. 25 Feb, 2009 6 commits
  2. 24 Feb, 2009 8 commits
  3. 23 Feb, 2009 13 commits
  4. 22 Feb, 2009 13 commits
    • Jeremy Fitzhardinge's avatar
      acpi: add some missing section markers · 0d3a9cf5
      Jeremy Fitzhardinge authored
      early_acpi_os_unmap_memory() is an __init function, and
      acpi_os_unmap_memory() is allowed to access an __init function
      until acpi_gbl_permanent_mmap is set up.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Len Brown <len.brown@intel.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      0d3a9cf5
    • Ingo Molnar's avatar
      x86: refactor x86_quirks support · 8e6dafd6
      Ingo Molnar authored
      Impact: cleanup
      
      Make x86_quirks support more transparent. The highlevel
      methods are now named:
      
        extern void x86_quirk_pre_intr_init(void);
        extern void x86_quirk_intr_init(void);
      
        extern void x86_quirk_trap_init(void);
      
        extern void x86_quirk_pre_time_init(void);
        extern void x86_quirk_time_init(void);
      
      This makes it clear that if some platform extension has to
      do something here that it is considered ... weird, and is
      discouraged.
      
      Also remove arch_hooks.h and move it into setup.h (and other
      header files where appropriate).
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      8e6dafd6
    • Ingo Molnar's avatar
      x86: remove various unused subarch hooks · d85a881d
      Ingo Molnar authored
      Impact: remove dead code
      
      Remove:
      
       - pre_setup_arch_hook()
       - mca_nmi_hook()
      
      If needed they can be added back via an x86_quirk handler.
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      d85a881d
    • Ingo Molnar's avatar
      x86: remove the Voyager 32-bit subarch · 965c7eca
      Ingo Molnar authored
      Impact: remove unused/broken code
      
      The Voyager subarch last built successfully on the v2.6.26 kernel
      and has been stale since then and does not build on the v2.6.27,
      v2.6.28 and v2.6.29-rc5 kernels.
      
      No actual users beyond the maintainer reported this breakage.
      Patches were sent and most of the fixes were accepted but the
      discussion around how to do a few remaining issues cleanly
      fizzled out with no resolution and the code remained broken.
      
      In the v2.6.30 x86 tree development cycle 32-bit subarch support
      has been reworked and removed - and the Voyager code, beyond the
      build problems already known, needs serious and significant
      changes and probably a rewrite to support it.
      
      CONFIG_X86_VOYAGER has been marked BROKEN then. The maintainer has
      been notified but no patches have been sent so far to fix it.
      
      While all other subarchs have been converted to the new scheme,
      voyager is still broken. We'd prefer to receive patches which
      clean up the current situation in a constructive way, but even in
      case of removal there is no obstacle to add that support back
      after the issues have been sorted out in a mutually acceptable
      fashion.
      
      So remove this inactive code for now.
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      965c7eca
    • Paul Moore's avatar
      selinux: Fix the NetLabel glue code for setsockopt() · 09c50b4a
      Paul Moore authored
      At some point we (okay, I) managed to break the ability for users to use the
      setsockopt() syscall to set IPv4 options when NetLabel was not active on the
      socket in question.  The problem was noticed by someone trying to use the
      "-R" (record route) option of ping:
      
       # ping -R 10.0.0.1
       ping: record route: No message of desired type
      
      The solution is relatively simple, we catch the unlabeled socket case and
      clear the error code, allowing the operation to succeed.  Please note that we
      still deny users the ability to override IPv4 options on socket's which have
      NetLabel labeling active; this is done to ensure the labeling remains intact.
      Signed-off-by: default avatarPaul Moore <paul.moore@hp.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      09c50b4a
    • Paul Moore's avatar
      cipso: Fix documentation comment · 586c2500
      Paul Moore authored
      The CIPSO protocol engine incorrectly stated that the FIPS-188 specification
      could be found in the kernel's Documentation directory.  This patch corrects
      that by removing the comment and directing users to the FIPS-188 documented
      hosted online.  For the sake of completeness I've also included a link to the
      CIPSO draft specification on the NetLabel website.
      
      Thanks to Randy Dunlap for spotting the error and letting me know.
      Signed-off-by: default avatarPaul Moore <paul.moore@hp.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      586c2500
    • Linus Torvalds's avatar
      Merge branch 'core/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip · 683fdc5f
      Linus Torvalds authored
      * 'core/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        PM: Split up sysdev_[suspend|resume] from device_power_[down|up], fix
      683fdc5f
    • Ingo Molnar's avatar
      PM: Split up sysdev_[suspend|resume] from device_power_[down|up], fix · 0f99fed4
      Ingo Molnar authored
      Impact: module build fix
      
      Fix:
      
       ERROR: "sysdev_resume" [arch/x86/kernel/apm.ko] undefined!
       ERROR: "sysdev_suspend" [arch/x86/kernel/apm.ko] undefined!
      
      As these APIs are now used by the APM driver, which can be built
      as a module.
      
      Also fix a few extra (and inconsistent) newlines in comment blocks
      preceding these functions.
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      0f99fed4
    • Randy Dunlap's avatar
      docbook: split kernel-api for device-drivers · f7f84f38
      Randy Dunlap authored
      The kernel-api docbook was much larger than any of the others,
      so processing it took longer and needed some docbook extras in
      some cases, so split it into kernel-api (infrastructure etc.)
      and device drivers/device subsystems.  This allows these docbooks
      to be generated in parallel.  (This reduced the docbook processing
      time on my 4-proc system with make -j4 from about 5min:16sec to
      about 2min:01sec.)
      
      The chapters that were moved from kernel-api to device-drivers are:
      
      Driver Basics
      Device drivers infrastructure
      Parallel Port Devices
      Message-based devices
      Sound Devices
      16x50 UART Driver
      Frame Buffer Library
      Input Subsystem
      Serial Peripheral Interface (SPI)
      I2C and SMBus Subsystem
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f7f84f38
    • Ravikiran G Thirumalai's avatar
      x86: improve the help text of X86_EXTENDED_PLATFORM · 8425091f
      Ravikiran G Thirumalai authored
      Change the CONFIG_X86_EXTENDED_PLATFORM help text to display the
      32bit/64bit extended platform list. This is as suggested by Ingo.
      Signed-off-by: default avatarRavikiran Thirumalai <kiran@scalex86.org>
      Cc: shai@scalex86.org
      Cc: "Benzi Galili (Benzi@ScaleMP.com)" <benzi@scalemp.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      8425091f
    • Ingo Molnar's avatar
      Merge branch 'linus' into x86/apic · fc6fc7f1
      Ingo Molnar authored
      Conflicts:
      	arch/x86/mach-default/setup.c
      
      Semantic conflict resolution:
      	arch/x86/kernel/setup.c
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      fc6fc7f1
    • Rafael J. Wysocki's avatar
      PM: Split up sysdev_[suspend|resume] from device_power_[down|up] · 770824bd
      Rafael J. Wysocki authored
      Move the sysdev_suspend/resume from the callee to the callers, with
      no real change in semantics, so that we can rework the disabling of
      interrupts during suspend/hibernation.
      
      This is based on an earlier patch from Linus.
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      770824bd
    • Linus Torvalds's avatar
      x86: Add IRQF_TIMER to legacy x86 timer interrupt descriptors · 936577c6
      Linus Torvalds authored
      Right now nobody cares, but the suspend/resume code will eventually want
      to suspend device interrupts without suspending the timer, and will
      depend on this flag to know.
      
      The modern x86 timer infrastructure uses the local APIC timers and never
      shows up as a device interrupt at all, so it isn't affected and doesn't
      need any of this.
      
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Ingo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      936577c6