1. 27 10月, 2012 2 次提交
    • L
      ARM: integrator: get rid of preallocated irq descriptors · da72a66b
      Linus Walleij 提交于
      The Integrators were using the .nr_irqs field of the machine
      descriptor to pre-allocate a number of descriptors at boot. This
      is not right: the irq chip implementations should allocate
      their descriptors themselves, and as a result the simple
      irqdomain code warns about it.
      
      Get rid of this by just deleting the .nr_irq field from the
      machine descriptors but take care: doing so makes the default
      implementation hog the first 16 IRQ numbers, so these cannot
      be used by the still static IRQ number assignments in the
      ATAG boot case. So for these, bump the IRQ numbers to begin
      at 64 and upward.
      
      Introduce an offset to offset all IRQ numbers if need be,
      though we don't expect to do that again as device tree comes
      along.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      da72a66b
    • L
      ARM: plat-versatile: use simple irqdomain for FPGA IRQ · 3a6ca8c5
      Linus Walleij 提交于
      This switches the FPGA IRQ driver over to using the simple IRQ
      domain. We can then use the same codepath for this in the
      DT and non-DT cases.
      
      To be able to use quicker irq_find_mapping() in the handlers
      we first call irq_create_mapping() on all the valid HW IRQ
      numbers so that descriptors will be created for them in the
      DT case where a linear domain will be the outcome of the
      call.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      3a6ca8c5
  2. 20 10月, 2012 3 次提交
    • M
      arm64: fix alignment padding in assembly code · aeed41a9
      Marc Zyngier 提交于
      An interesting effect of using the generic version of linkage.h
      is that the padding is defined in terms of x86 NOPs, which can have
      even more interesting effects when the assembly code looks like this:
      
      ENTRY(func1)
      	mov	x0, xzr
      ENDPROC(func1)
      	// fall through
      ENTRY(func2)
      	mov	x0, #1
      	ret
      ENDPROC(func2)
      
      Admittedly, the code is not very nice. But having code from another
      architecture doesn't look completely sane either.
      
      The fix is to add arm64's version of linkage.h, which causes the insertion
      of proper AArch64 NOPs.
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      aeed41a9
    • C
      xtensa: add missing system calls to the syscall table · 7216cabf
      Chris Zankel 提交于
      Add the following system calls to the syscall table:
      
      fallocate
      sendmmsg
      umount2
      syncfs
      epoll_create1
      inotify_init1
      signalfd4
      dup3
      pipe2
      timerfd_create
      timerfd_settime
      timerfd_gettime
      eventfd2
      preadv
      pwritev
      fanotify_init
      fanotify_mark
      process_vm_readv
      process_vm_writev
      name_to_handle_at
      open_by_handle_at
      sync_file_range
      perf_event_open
      rt_tgsigqueueinfo
      clock_adjtime
      prlimit64
      kcmp
      
      Note that we have to use the 'sys_sync_file_range2' version, so that
      the 64-bit arguments are aligned correctly to the argument registers.
      Signed-off-by: NChris Zankel <chris@zankel.net>
      7216cabf
    • C
      xtensa: minor compiler warning fix · 39070cb8
      Chris Zankel 提交于
      Fix two compiler warnings complaining about truncating a value on
      a 64-bit host, and about declaring an unused variable that is only
      used for a specific configuration.
      Signed-off-by: NChris Zankel <chris@zankel.net>
      39070cb8
  3. 19 10月, 2012 13 次提交
  4. 18 10月, 2012 16 次提交
  5. 17 10月, 2012 6 次提交