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-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux KVM Devel]     [Linux Virtualization]     [Big List of Linux Books]     [Linux SCSI]     [Yosemite Forum]

  Powered by Linux