ia64: why is mmio bus access lockless?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
arch/ia64/kvm/kvm-ia64.c does this:

       mmio_dev = vcpu_find_mmio_dev(vcpu, p->addr, p->size, !p->dir);
       if (mmio_dev) {
               if (!p->dir)
                       kvm_iodevice_write(mmio_dev, p->addr, p->size,
                                               &p->data);
               else
                       kvm_iodevice_read(mmio_dev, p->addr, p->size,
                                               &p->data);
without holding kvm lock.

I know that find/read/write on the bus require locking on x86 -
are they safe to do without locking on ia64?

-- 
MST
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux