1. 28 6月, 2005 4 次提交
  2. 14 6月, 2005 1 次提交
    • O
      [PATCH] Fix PCI BAR size interpretation on 64-bit arches · f797f9cc
      Olof Johansson 提交于
      On 64-bit machines, PCI_BASE_ADDRESS_MEM_MASK and other mask constants
      passed to pci_size() are 64-bit (for example ~0x0fUL).  However, pci_size
      does comparisons between the u32 arguments and the mask, which will fail
      even though any result from pci_size is still just 32-bit.
      
      Changing the mask argument to u32 seems the obvious thing to do, since all
      arithmetic in the function is 32-bit and having a larger mask makes no
      sense.
      
      This triggered on a PPC64 system here where an adapter (VGA, as it
      happened) had a memory region base of 0xfe000000 and a sz of the same,
      matching the if (max == maxbase ...) test at the bottom of pci_size but
      failing the mask comparison.  Quite a corner case which I guess explains
      why we haven't seen it until now.
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Acked-by: NGreg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f797f9cc
  3. 04 5月, 2005 1 次提交
  4. 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