1. 26 5月, 2009 1 次提交
  2. 04 4月, 2009 1 次提交
  3. 11 3月, 2009 1 次提交
  4. 14 2月, 2009 1 次提交
  5. 07 1月, 2009 1 次提交
  6. 05 1月, 2009 1 次提交
  7. 23 12月, 2008 1 次提交
  8. 11 12月, 2008 2 次提交
  9. 26 11月, 2008 1 次提交
  10. 25 7月, 2008 2 次提交
  11. 05 6月, 2008 1 次提交
  12. 22 4月, 2008 1 次提交
  13. 29 3月, 2008 1 次提交
    • A
      mtd: maps/physmap: fix oops in suspend/resume/shutdown ops · 4a5691c0
      Anton Vorontsov 提交于
      # reboot
      ...
      [   42.351266] Flash device refused suspend due to active operation (state 0)
      [   42.358195] Unable to handle kernel NULL pointer dereference at virtual address 00000078
      [   42.360060] pgd = c7d9c000
      [   42.362769] [00000078] *pgd=a7d8d031, *pte=00000000, *ppte=00000000
      [   42.372902] Internal error: Oops: 17 [#1]
      [   42.376911] Modules linked in:
      [   42.379980] CPU: 0    Not tainted  (2.6.25-rc2-10642-ge8f2594-dirty #73)
      [   42.380000] PC is at physmap_flash_shutdown+0x28/0x54
      ...
      [   42.380000] Backtrace:
      [   42.380000] [<c0130c1c>] (physmap_flash_shutdown+0x0/0x54) from [<c01207c0>] (platform_drv_shutdown+0x20/0x24)
      [   42.380000]  r5:28121969 r4:c0229e08
      [   42.380000] [<c01207a0>] (platform_drv_shutdown+0x0/0x24) from [<c011cd40>] (device_shutdown+0x60/0x88)
      [   42.380000] [<c011cce0>] (device_shutdown+0x0/0x88) from [<c003e8a4>] (kernel_restart_prepare+0x2c/0x3c)
      [   42.380000]  r4:00000000
      [   42.380000] [<c003e878>] (kernel_restart_prepare+0x0/0x3c) from [<c003ea00>] (kernel_restart+0x14/0x48)
      [   42.380000] [<c003e9ec>] (kernel_restart+0x0/0x48) from [<c003fdc0>] (sys_reboot+0xe8/0x1f8)
      [   42.380000]  r4:01234567
      [   42.380000] [<c003fcd8>] (sys_reboot+0x0/0x1f8) from [<c001aa00>] (ret_fast_syscall+0x0/0x2c)
      [   42.380000]  r7:00000058 r6:00000004 r5:00000001 r4:00000000
      [   42.380000] Code: 0a000009 e7953004 e1a00003 e1a0e00f (e593f078)
      [   42.650051] ---[ end trace 6d6c26a0fc3141de ]---
      Segmentation fault
      INIT: no more processes left in this runlevel
      
      While looping for mtd[i]s, we should stop at the mtd[i] == NULL.
      
      This patch also removes unnecessary "if (info)" checks:
      suspend/resume/shutdown ops are executed only if probe() is succeeded, so info
      is guaranteed to be !NULL.
      Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4a5691c0
  14. 07 2月, 2008 1 次提交
  15. 03 2月, 2008 1 次提交
    • S
      [MTD] physmap.c: Add support for multiple resources · df66e716
      Stefan Roese 提交于
      This patch extends the physmap mapping driver to support multiple
      resources for non-identical NOR chips that will be concatenated together
      when selected.
      
      This is needed for example for Intel 48F4400 512MBit chips, since they
      consist of 2 single different NOR chips with different geometries. The
      first (lower) one has botton boot sectors and the 2nd (upper) has top
      boot sectors. This currently isn't handled correctly by calling the
      physmap driver once with only one resource covering both chips in one
      memory region. The same geometrie is used for both chips.
      
      With this patch the following resource structure can be used to
      describe the 48F4400 chip correctly:
      
      static struct resource board_nor_resource[] = {
      	[0] = {
      		.start = 0xf8000000,
      		.end = 0xfbffffff,
      		.flags = IORESOURCE_MEM,
      	},
      	[1] = {
      		.start = 0xfc000000,
      		.end = 0xffffffff,
      		.flags = IORESOURCE_MEM,
      	}
      };
      Signed-off-by: NStefan Roese <sr@denx.de>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      df66e716
  16. 29 11月, 2006 2 次提交
  17. 11 10月, 2006 1 次提交
  18. 22 9月, 2006 1 次提交
  19. 01 7月, 2006 1 次提交
  20. 27 6月, 2006 1 次提交
  21. 09 6月, 2006 1 次提交
    • A
      [MTD] Prepare physmap for 64-bit-resources · f24ff6bf
      Andrew Morton 提交于
      Fallout from the incoming 64-bit-resource stuff:
      
      drivers/mtd/maps/physmap.c: In function 'physmap_flash_probe':
      drivers/mtd/maps/physmap.c:94: warning: format '%.8lx' expects type 'long
      unsigned int', but argument 2 has type 'resource_size_t'
      drivers/mtd/maps/physmap.c:94: warning: format '%.8lx' expects type 'long
      unsigned int', but argument 3 has type 'resource_size_t'
      
      Cc: Vivek Goyal <vgoyal@in.ibm.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      f24ff6bf
  22. 14 5月, 2006 1 次提交
  23. 08 5月, 2006 1 次提交
    • L
      [MTD] Convert physmap to platform driver · 73566edf
      Lennert Buytenhek 提交于
      After dwmw2 let me know it ought to be done, I rewrote the physmap map
      driver to be a platform driver.  I know zilch about the driver model,
      so I probably botched it in some way, but I've done some tests on an
      ixp23xx board which uses physmap, and it all seems to work.
      
      In order to not break existing physmap users, I've added some compat
      code that will instantiate a platform device iff CONFIG_MTD_PHYSMAP_LEN
      is defined and != 0.  Also, I've changed the default value for
      CONFIG_MTD_PHYSMAP_LEN to zero, so that people who inadvertently
      compile in physmap (or new, platform-style, users of physmap) don't get
      burned.
      
      This works pretty well -- the new physmap driver is a drop-in replacement
      for the old one, and works on said ixp23xx board without any code changes
      needed.  (This should hold as long as users don't touch 'physmap_map'
      directly.)
      
      Once all physmap users have been converted to instantiate their own
      platform devices, the compat code can go.  (Or we decide that we can
      change all the in-tree users at the same time, and never merge the
      compat code.)
      Signed-off-by: NLennert Buytenhek <buytenh@wantstofly.org>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      73566edf
  24. 30 11月, 2005 1 次提交
  25. 07 11月, 2005 1 次提交
  26. 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