1. 17 5月, 2020 8 次提交
  2. 15 5月, 2020 4 次提交
  3. 05 5月, 2020 1 次提交
  4. 23 4月, 2020 6 次提交
  5. 20 4月, 2020 2 次提交
    • B
      mei: me: fix irq number stored in hw struct · fec874a8
      Benjamin Lee 提交于
      Commit 261b3e1f ("mei: me: store irq number in the hw struct.")
      stores the irq number in the hw struct before MSI is enabled.  This
      caused a regression for mei_me_synchronize_irq() waiting for the wrong
      irq number.  On my laptop this causes a hang on shutdown.  Fix the issue
      by storing the irq number after enabling MSI.
      
      Fixes: 261b3e1f ("mei: me: store irq number in the hw struct.")
      Signed-off-by: NBenjamin Lee <ben@b1c1l1.com>
      Cc: stable <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20200417184538.349550-1-ben@b1c1l1.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fec874a8
    • M
      vhost: disable for OABI · d085eb8c
      Michael S. Tsirkin 提交于
      vhost is currently broken on the some ARM configs.
      
      The reason is that the ring element addresses are passed between
      components with different alignments assumptions. Thus, if
      guest selects a pointer and host then gets and dereferences
      it, then alignment assumed by the host's compiler might be
      greater than the actual alignment of the pointer.
      compiler on the host from assuming pointer is aligned.
      
      This actually triggers on ARM with -mabi=apcs-gnu - which is a
      deprecated configuration. With this OABI, compiler assumes that
      all structures are 4 byte aligned - which is stronger than
      virtio guarantees for available and used rings, which are
      merely 2 bytes. Thus a guest without -mabi=apcs-gnu running
      on top of host with -mabi=apcs-gnu will be broken.
      
      The correct fix is to force alignment of structures - however
      that is an intrusive fix that's best deferred until the next release.
      
      We didn't previously support such ancient systems at all - this surfaced
      after vdpa support prompted removing dependency of vhost on
      VIRTULIZATION. So for now, let's just add something along the lines of
      
      	depends on !ARM || AEABI
      
      to the virtio Kconfig declaration, and add a comment that it has to do
      with struct member alignment.
      
      Note: we can't make VHOST and VHOST_RING themselves have
      a dependency since these are selected. Add a new symbol for that.
      
      We should be able to drop this dependency down the road.
      
      Fixes: 20c384f1 ("vhost: refine vhost and vringh kconfig")
      Suggested-by: NArd Biesheuvel <ardb@kernel.org>
      Suggested-by: NRichard Earnshaw <Richard.Earnshaw@arm.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      d085eb8c
  6. 08 4月, 2020 1 次提交
  7. 03 4月, 2020 7 次提交
  8. 02 4月, 2020 1 次提交
  9. 26 3月, 2020 2 次提交
  10. 24 3月, 2020 8 次提交