1. 06 4月, 2016 4 次提交
  2. 05 4月, 2016 7 次提交
  3. 04 4月, 2016 3 次提交
    • B
      xen/events: Mask a moving irq · ff1e22e7
      Boris Ostrovsky 提交于
      Moving an unmasked irq may result in irq handler being invoked on both
      source and target CPUs.
      
      With 2-level this can happen as follows:
      
      On source CPU:
              evtchn_2l_handle_events() ->
                  generic_handle_irq() ->
                      handle_edge_irq() ->
                         eoi_pirq():
                             irq_move_irq(data);
      
                             /***** WE ARE HERE *****/
      
                             if (VALID_EVTCHN(evtchn))
                                 clear_evtchn(evtchn);
      
      If at this moment target processor is handling an unrelated event in
      evtchn_2l_handle_events()'s loop it may pick up our event since target's
      cpu_evtchn_mask claims that this event belongs to it *and* the event is
      unmasked and still pending. At the same time, source CPU will continue
      executing its own handle_edge_irq().
      
      With FIFO interrupt the scenario is similar: irq_move_irq() may result
      in a EVTCHNOP_unmask hypercall which, in turn, may make the event
      pending on the target CPU.
      
      We can avoid this situation by moving and clearing the event while
      keeping event masked.
      Signed-off-by: NBoris Ostrovsky <boris.ostrovsky@oracle.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NDavid Vrabel <david.vrabel@citrix.com>
      ff1e22e7
    • D
      drm: ARM HDLCD - fix an error code · 69c2565a
      Dan Carpenter 提交于
      We accidentally return PTR_ERR(NULL) which is success instead of a
      negative error code.
      
      Fixes: 879e40bea6f2 ('drm: ARM HDLCD - get rid of devm_clk_put()')
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      69c2565a
    • A
      drm: ARM HDLCD - get rid of devm_clk_put() · 61a6dcd7
      Alexey Brodkin 提交于
      Clock is acquired with devm_clk_get() which already manages
      corresponding resource.
      
      I.e. in case of driver removal or failure on installaiton
      clock resources will be automatically released and explicit
      call of devm_clk_put() is not required.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Robin Murphy <robin.murphy@arm.com>
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      Signed-off-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      61a6dcd7
  4. 03 4月, 2016 2 次提交
  5. 02 4月, 2016 8 次提交
  6. 01 4月, 2016 16 次提交