1. 30 6月, 2006 1 次提交
  2. 29 6月, 2006 8 次提交
  3. 28 6月, 2006 23 次提交
  4. 27 6月, 2006 8 次提交
    • M
      [PATCH] type-oh bug in tlclk.c · a09ab7e2
      mark gross 提交于
      Mark Bellon found a bug in my tlclk driver.  Thanks!
      
      I botch the register mask for store_received_ref_clk3a.
      
      See http://download.intel.com/design/network/manuals/30412001.pdf
      tables 124 and 136 for details.
      Signed-off-by: NMark Gross <mark.gross@intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a09ab7e2
    • A
      [PATCH] x86_64: Rename IOMMU option, fix help and mark option embedded. · a813ce43
      Andi Kleen 提交于
       - Rename the GART_IOMMU option to IOMMU to make clear it's not
         just for AMD
       - Rewrite the help text to better emphatise this fact
       - Make it an embedded option because too many people get it wrong.
      
      To my astonishment I discovered the aacraid driver tests this
      symbol directly. This looks quite broken to me - it's an internal
      implementation detail of the PCI DMA API. Can the maintainer
      please clarify what this test was intended to do?
      
      Cc: linux-scsi@vger.kernel.org
      Cc: alan@redhat.com
      Cc: markh@osdl.org
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a813ce43
    • A
      [PATCH] x86_64: Clean and enhance up K8 northbridge access code · a32073bf
      Andi Kleen 提交于
       - Factor out the duplicated access/cache code into a single file
         * Shared between i386/x86-64.
       - Share flush code between AGP and IOMMU
         * Fix a bug: AGP didn't wait for end of flush before
       - Drop 8 northbridges limit and allocate dynamically
       - Add lock to serialize AGP and IOMMU GART flushes
       - Add PCI ID for next AMD northbridge
       - Random related cleanups
      
      The old K8 NUMA discovery code is unchanged. New systems
      should all use SRAT for this.
      
      Cc: "Navin Boppuri" <navin.boppuri@newisys.com>
      Cc: Dave Jones <davej@redhat.com>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a32073bf
    • A
      [PATCH] VT binding: Make VT binding a Kconfig option · 13ae6645
      Antonino A. Daplas 提交于
      To enable this feature, CONFIG_VT_HW_CONSOLE_BINDING must be set to 'y'.  This
      feature will default to 'n' to minimize users accidentally corrupting their
      virtual terminals.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      13ae6645
    • A
      [PATCH] VT binding: Add sysfs control to the VT layer · 6db4063c
      Antonino A. Daplas 提交于
      Add sysfs control to the VT layer.  A new sysfs class, 'vtconsole', and class
      devices 'vtcon[n]' are added.  Each class device file has the following
      attributes:
      
      /sys/class/vtconsole/vtcon[n]/name - read-only attribute showing the
                                           name of the current backend
      
      /sys/class/vtconsole/vtcon[n]/bind - read/write attribute
                   where: 0 - backend is unbound/unbind backend from the VT layer
                          1 - backend is bound/bind backend to the VT layer
      
      In addition, if any of the consoles are in KD_GRAPHICS mode, binding and
      unbinding will not succeed.  KD_GRAPHICS mode usually indicates that the
      underlying console hardware is used for other purposes other than displaying
      text (ie X).  This feature should prevent binding/unbinding from interfering
      with a graphics application using the VT.
      
      [akpm@osdl.org: warning fixes]
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      6db4063c
    • A
      [PATCH] VT binding: Add binding/unbinding support for the VT console · 3e795de7
      Antonino A. Daplas 提交于
      The framebuffer console is now able to dynamically bind and unbind from the VT
      console layer.  Due to the way the VT console layer works, the drivers
      themselves decide when to bind or unbind.  However, it was decided that
      binding must be controlled, not by the drivers themselves, but by the VT
      console layer.  With this, dynamic binding is possible for all VT console
      drivers, not just fbcon.
      
      Thus, the VT console layer will impose the following to all VT console
      drivers:
      
      - all registered VT console drivers will be entered in a private list
      - drivers can register themselves to the VT console layer, but they cannot
        decide when to bind or unbind. (Exception: To maintain backwards
        compatibility, take_over_console() will automatically bind the driver after
        registration.)
      - drivers can remove themselves from the list by unregistering from the VT
        console layer. A prerequisite for unregistration is that the driver must not
        be bound.
      
      The following functions are new in the vt.c:
      
      register_con_driver() - public function, this function adds the VT console
      driver to an internal list maintained by the VT console
      
      bind_con_driver() - private function, it binds the driver to the console
      
      take_over_console() is changed to call register_con_driver() followed by a
      bind_con_driver().  This is the only time drivers can decide when to bind to
      the VT layer.  This is to maintain backwards compatibility.
      
      unbind_con_driver() - private function, it unbinds the driver from its
      console.  The vacated consoles will be taken over by the default boot console
      driver.
      
      unregister_con_driver() - public function, removes the driver from the
      internal list maintained by the VT console.  It will only succeed if the
      driver is currently unbound.
      
      con_is_bound() checks if the driver is currently bound or not
      
      give_up_console() is just a wrapper to unregister_con_driver().
      
      There are also 3 additional functions meant to be called only by the tty layer
      for sysfs control:
      
      	vt_bind() - calls bind_con_driver()
      	vt_unbind() - calls unbind_con_driver()
      	vt_show_drivers() - shows the list of registered drivers
      
      Most VT console drivers will continue to work as is, but might have problems
      when unbinding or binding which should be fixable with minimal changes.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3e795de7
    • A
      [PATCH] Detaching fbcon: fix give_up_console() · 1c8ce271
      Antonino A. Daplas 提交于
      To allow for detaching fbcon, it must be able to give up the console.
      However, the function give_up_console() is plain broken.  It just sets the
      entries in the console driver map to NULL, it leaves the vt layer without a
      console driver, and does not decrement the module reference count.  Calling
      give_up_console() is guaranteed to hang the machine..
      
      To fix this problem, ensure that the virtual consoles are not left dangling
      without a driver.  All systems have a default boot driver (either vgacon or
      dummycon) which is never unloaded.  For those vt's that lost their driver, the
      default boot driver is reassigned back to them.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1c8ce271
    • D
      [PATCH] vt: Delay the update of the visible console · 4ee1acce
      David Hollister 提交于
      Delay the update of the visible framebuffer console until all other consoles
      have been initialized in order to avoid losing information.  This only seems
      to be a problem with modules, not with built-in drivers.
      Signed-off-by: NDavid Hollister <david.hollister@amd.com>
      Signed-off-by: NJordan Crouse <jordan.crouse@amd.com>
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4ee1acce