1. 15 10月, 2011 1 次提交
  2. 22 7月, 2011 1 次提交
    • J
      x86/PCI: config space accessor functions should not ignore the segment argument · db34a363
      Jan Beulich 提交于
      Without this change, the majority of the raw PCI config space access
      functions silently ignore a non-zero segment argument, which is
      certainly wrong.
      
      Apart from pci_direct_conf1, all other non-MMCFG access methods get
      used only for non-extended accesses (i.e. assigned to raw_pci_ops
      only). Consequently, with the way raw_pci_{read,write}() work, it would
      be a coding error to call these functions with a non-zero segment (with
      the current call flow this cannot happen afaict).
      
      The access method 1 accessor, as it can be used for extended accesses
      (on AMD systems) instead gets checks added for the passed in segment to
      be zero. This would be the case when on such a system having multiple
      PCI segments (don't know whether any exist in practice) MMCFG for some
      reason is not usable, and method 1 gets selected for doing extended
      accesses. Rather than accessing the wrong device's config space, the
      function will now error out.
      
      v2: Convert BUG_ON() to WARN_ON(), and extend description as per Ingo's
      request.
      Signed-off-by: NJan Beulich <jbeulich@novell.com>
      Reviewed-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      db34a363
  3. 11 5月, 2011 1 次提交
  4. 12 5月, 2010 1 次提交
  5. 09 9月, 2009 1 次提交
    • T
      dmi: extend dmi_get_year() to dmi_get_date() · 3e5cd1f2
      Tejun Heo 提交于
      There are cases where full date information is required instead of
      just the year.  Add month and day parsing to dmi_get_year() and rename
      it to dmi_get_date().
      
      As the original function only required '/' followed by any number of
      parseable characters at the end of the string, keep that behavior to
      avoid upsetting existing users.
      
      The new function takes dates of format [mm[/dd]]/yy[yy].  Year, month
      and date are checked to be in the ranges of [1-9999], [1-12] and
      [1-31] respectively and any invalid or out-of-range component is
      returned as zero.
      
      The dummy implementation is updated accordingly but the return value
      is updated to indicate field not found which is consistent with how
      other dummy functions behave.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      3e5cd1f2
  6. 30 12月, 2008 1 次提交
  7. 12 11月, 2008 1 次提交
    • H
      x86: attempt reboot via port CF9 if we have standard PCI ports · 14d7ca5c
      H. Peter Anvin 提交于
      Impact: Changes reboot behavior.
      
      If port CF9 seems to be safe to touch, attempt it before trying the
      keyboard controller.  Port CF9 is not available on all chipsets (a
      significant but decreasing number of modern chipsets don't implement
      it), but port CF9 itself should in general be safe to poke (no ill
      effects if unimplemented) on any system which has PCI Configuration
      Method #1 or #2, as it falls inside the PCI configuration port range
      in both cases.  No chipset without PCI is known to have port CF9,
      either, although an explicit "pci=bios" would mean we miss this and
      therefore don't use port CF9.  An explicit "reboot=pci" can be used to
      force the use of port CF9.
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      14d7ca5c
  8. 08 7月, 2008 1 次提交
  9. 02 6月, 2008 1 次提交
  10. 27 4月, 2008 1 次提交
  11. 11 2月, 2008 1 次提交
  12. 11 10月, 2007 1 次提交
  13. 06 10月, 2006 1 次提交
  14. 26 9月, 2006 1 次提交
  15. 11 4月, 2006 1 次提交
  16. 10 4月, 2006 2 次提交
  17. 24 3月, 2006 1 次提交
  18. 13 12月, 2005 1 次提交
  19. 24 11月, 2005 1 次提交
  20. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4