1. 02 11月, 2015 1 次提交
    • M
      xtensa: nommu: provide correct KIO addresses · 260c64bb
      Max Filippov 提交于
      KIO region location is different for noMMU cores. Provide different
      default physical address and make KIO virtual address equal to physical.
      
      Move xtensa_get_kio_paddr function close to XCHAL_KIO_PADDR definition
      and define it not only for MMUv3, but for all MMU options except MMUv2.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      260c64bb
  2. 14 2月, 2015 1 次提交
  3. 30 4月, 2014 2 次提交
  4. 02 4月, 2014 3 次提交
  5. 22 2月, 2014 1 次提交
  6. 15 1月, 2014 6 次提交
  7. 10 10月, 2013 3 次提交
  8. 07 9月, 2013 1 次提交
  9. 24 7月, 2013 1 次提交
  10. 08 7月, 2013 2 次提交
  11. 24 2月, 2013 1 次提交
  12. 19 12月, 2012 5 次提交
  13. 16 10月, 2012 1 次提交
    • M
      xtensa: fix boot parameters parsing · f4349b6e
      Max Filippov 提交于
      Boot parameter tags with handlers are ignored like this:
      
      	[    0.000000] Ignoring tag 0x00001003
      	[    0.000000] Ignoring tag 0x00001001
      	[    0.000000] Ignoring tag 0x00001004
      
      because neither tagtable entries nor tag handlers appear in the vmlinux.
      
      Fix tagtable definition attributes so that tag entries are not dropped.
      
      Fix end of memory bank calculation in parse_tag_mem: it is intended to
      round down to page size, but instead did something strange leading to
      hang right after boot.
      Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
      Signed-off-by: NChris Zankel <chris@zankel.net>
      f4349b6e
  14. 04 10月, 2012 1 次提交
  15. 29 3月, 2012 1 次提交
  16. 03 4月, 2009 1 次提交
  17. 11 3月, 2009 1 次提交
  18. 14 10月, 2008 1 次提交
  19. 25 7月, 2008 1 次提交
    • A
      PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures · 27ac792c
      Andrea Righi 提交于
      On 32-bit architectures PAGE_ALIGN() truncates 64-bit values to the 32-bit
      boundary. For example:
      
      	u64 val = PAGE_ALIGN(size);
      
      always returns a value < 4GB even if size is greater than 4GB.
      
      The problem resides in PAGE_MASK definition (from include/asm-x86/page.h for
      example):
      
      #define PAGE_SHIFT      12
      #define PAGE_SIZE       (_AC(1,UL) << PAGE_SHIFT)
      #define PAGE_MASK       (~(PAGE_SIZE-1))
      ...
      #define PAGE_ALIGN(addr)       (((addr)+PAGE_SIZE-1)&PAGE_MASK)
      
      The "~" is performed on a 32-bit value, so everything in "and" with
      PAGE_MASK greater than 4GB will be truncated to the 32-bit boundary.
      Using the ALIGN() macro seems to be the right way, because it uses
      typeof(addr) for the mask.
      
      Also move the PAGE_ALIGN() definitions out of include/asm-*/page.h in
      include/linux/mm.h.
      
      See also lkml discussion: http://lkml.org/lkml/2008/6/11/237
      
      [akpm@linux-foundation.org: fix drivers/media/video/uvc/uvc_queue.c]
      [akpm@linux-foundation.org: fix v850]
      [akpm@linux-foundation.org: fix powerpc]
      [akpm@linux-foundation.org: fix arm]
      [akpm@linux-foundation.org: fix mips]
      [akpm@linux-foundation.org: fix drivers/media/video/pvrusb2/pvrusb2-dvb.c]
      [akpm@linux-foundation.org: fix drivers/mtd/maps/uclinux.c]
      [akpm@linux-foundation.org: fix powerpc]
      Signed-off-by: NAndrea Righi <righi.andrea@gmail.com>
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      27ac792c
  20. 14 2月, 2008 1 次提交
  21. 09 2月, 2008 1 次提交
  22. 01 6月, 2007 1 次提交
    • C
      [XTENSA] clean-up header files · de4f6e5b
      Chris Zankel 提交于
      The header files in the asm-xtensa directory are not clean and
      'make headers_check' fails. This is a first patch to fix most of
      the header files. It removes unnecessary include statements and
      adds some that are required for building the kernel. The linker
      script required some updates or the linking stage would fail.
      Signed-off-by: NChris Zankel <chris@zankel.net>
      de4f6e5b
  23. 13 2月, 2007 1 次提交
  24. 11 12月, 2006 1 次提交
  25. 04 10月, 2006 1 次提交