Re: [RFC] virtio_net: add local_bh_disable() around u64_stats_update_begin

2018-10-16 Thread Toshiaki Makita
On 2018/10/17 1:55, Sebastian Andrzej Siewior wrote: > on 32bit, lockdep notices: > | > | WARNING: inconsistent lock state > | 4.19.0-rc8+ #9 Tainted: GW > | > | inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. > |

Re: [PATCH v3 0/7] Add virtio-iommu driver

2018-10-16 Thread Auger Eric
Hi Jean, On 10/16/18 8:44 PM, Jean-Philippe Brucker wrote: > On 16/10/2018 10:25, Auger Eric wrote: >> Hi Jean, >> >> On 10/12/18 4:59 PM, Jean-Philippe Brucker wrote: >>> Implement the virtio-iommu driver, following specification v0.8 [1]. >>> Changes since v2 [2]: >>> >>> * Patches 2-4 allow

Re: [PATCH v3 0/7] Add virtio-iommu driver

2018-10-16 Thread Jean-Philippe Brucker
On 16/10/2018 10:25, Auger Eric wrote: > Hi Jean, > > On 10/12/18 4:59 PM, Jean-Philippe Brucker wrote: >> Implement the virtio-iommu driver, following specification v0.8 [1]. >> Changes since v2 [2]: >> >> * Patches 2-4 allow virtio-iommu to use the PCI transport, since QEMU >>   would like to

Re: [RFC] virtio_net: add local_bh_disable() around u64_stats_update_begin

2018-10-16 Thread Stephen Hemminger
On Tue, 16 Oct 2018 20:42:07 +0200 Sebastian Andrzej Siewior wrote: > On 2018-10-16 11:01:14 [-0700], Stephen Hemminger wrote: > > On Tue, 16 Oct 2018 18:55:45 +0200 > > Sebastian Andrzej Siewior wrote: > > > > > Also, ptr->var++ is not an atomic operation even on 64bit CPUs. Which > > >

Re: [RFC] virtio_net: add local_bh_disable() around u64_stats_update_begin

2018-10-16 Thread Sebastian Andrzej Siewior
On 2018-10-16 11:01:14 [-0700], Stephen Hemminger wrote: > On Tue, 16 Oct 2018 18:55:45 +0200 > Sebastian Andrzej Siewior wrote: > > > Also, ptr->var++ is not an atomic operation even on 64bit CPUs. Which > > means if try_fill_recv() runs on CPU0 (via virtnet_receive()) then the > > worker might

Re: [RFC] virtio_net: add local_bh_disable() around u64_stats_update_begin

2018-10-16 Thread Sebastian Andrzej Siewior
On 2018-10-16 10:59:30 [-0700], Stephen Hemminger wrote: > Since there already is u64_stats_update_begin_irqsave inline, why not > introduce > u64_stats_update_begin_bh which encapsulates the local_bh_disable CPU0CPU1 refill_work() virtnet_receive()

Re: [RFC] virtio_net: add local_bh_disable() around u64_stats_update_begin

2018-10-16 Thread Stephen Hemminger
On Tue, 16 Oct 2018 18:55:45 +0200 Sebastian Andrzej Siewior wrote: > Also, ptr->var++ is not an atomic operation even on 64bit CPUs. Which > means if try_fill_recv() runs on CPU0 (via virtnet_receive()) then the > worker might run on CPU1. On modern CPU's increment of native types is atomic

Re: [RFC] virtio_net: add local_bh_disable() around u64_stats_update_begin

2018-10-16 Thread Stephen Hemminger
On Tue, 16 Oct 2018 18:55:45 +0200 Sebastian Andrzej Siewior wrote: > on 32bit, lockdep notices: > | > | WARNING: inconsistent lock state > | 4.19.0-rc8+ #9 Tainted: GW > | > | inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W}

[RFC] virtio_net: add local_bh_disable() around u64_stats_update_begin

2018-10-16 Thread Sebastian Andrzej Siewior
on 32bit, lockdep notices: | | WARNING: inconsistent lock state | 4.19.0-rc8+ #9 Tainted: GW | | inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. | ip/1106 [HC0[0]:SC1[1]:HE1:SE0] takes: | (ptrval) (>seq#2){+.?.}, at:

Re: [PATCH 1/2] drm/ttm: Rename ttm_bo_global_{init,release}() to ttm_bo_global_ref_{,}()

2018-10-16 Thread Koenig, Christian
Am 16.10.2018 um 10:04 schrieb Thomas Zimmermann: > The functions ttm_bo_global_init() and ttm_bo_global_release() do not > receive an argument of type struct ttm_bo_global. Both take a struct > drm_global_reference that contains points to a struct ttm_bo_global_ref. > Renaming them reflects this.

CFP CLOSER 2019 - 9th Int.l Conf. on Cloud Computing and Services Science (Heraklion, Crete/Greece)

2018-10-16 Thread clo...@insticc.info
SUBMISSION DEADLINE 9th International Conference on Cloud Computing and Services Science Submission Deadline: December 10, 2018 http://closer.scitevents.org May 2 - 4, 2019 Heraklion, Crete, Greece. CLOSER is organized in 9 major tracks: - Services Science - Data as a Service - Cloud

CFP IoTBDS 2019 - 4th Int.l Conf. on Internet of Things, Big Data and Security (Heraklion, Crete/Greece)

2018-10-16 Thread iot...@insticc.info
SUBMISSION DEADLINE 4th International Conference on Internet of Things, Big Data and Security Submission Deadline: December 10, 2018 http://iotbds.org/ May 2 - 4, 2019 Heraklion, Crete, Greece. IoTBDS is organized in 7 major tracks: - Big Data Research - Emerging Services and Analytics

CFP ICEIS 2019 - 21st Int.l Conf. on Enterprise Information Systems (Heraklion, Crete/Greece)

2018-10-16 Thread ic...@insticc.info
SUBMISSION DEADLINE 21st International Conference on Enterprise Information Systems Submission Deadline: December 10, 2018 http://www.iceis.org/ May 3 - 5, 2019 Heraklion, Crete, Greece. ICEIS is organized in 6 major tracks: - Databases and Information Systems Integration - Artificial

CFP SMARTGREENS 2019 - 8th Int.l Conf. on Smart Cities and Green ICT Systems (Heraklion, Crete/Greece)

2018-10-16 Thread smartgre...@insticc.info
SUBMISSION DEADLINE 8th International Conference on Smart Cities and Green ICT Systems Submission Deadline: December 10, 2018 http://www.smartgreens.org/ May 3 - 5, 2019 Heraklion, Crete, Greece. SMARTGREENS is organized in 5 major tracks: - Energy-Aware Systems and Technologies -

CFP VEHITS 2019 - 5th Int.l Conf. on Vehicle Technology and Intelligent Transport Systems (Heraklion, Crete/Greece)

2018-10-16 Thread veh...@insticc.info
SUBMISSION DEADLINE 5th International Conference on Vehicle Technology and Intelligent Transport Systems Submission Deadline: December 10, 2018 http://www.vehits.org/ May 3 - 5, 2019 Heraklion, Crete, Greece. VEHITS is organized in 5 major tracks: - Intelligent Vehicle Technologies -

Re: [PATCH v3 0/7] Add virtio-iommu driver

2018-10-16 Thread Auger Eric
Hi Jean, On 10/12/18 4:59 PM, Jean-Philippe Brucker wrote: > Implement the virtio-iommu driver, following specification v0.8 [1]. > Changes since v2 [2]: > > * Patches 2-4 allow virtio-iommu to use the PCI transport, since QEMU > would like to phase out the MMIO transport. This produces a

Re: [PATCH] virtio_net: enable tx after resuming from suspend

2018-10-16 Thread Jason Wang
On 2018/10/15 下午6:08, ake wrote: On 2018年10月12日 18:18, ake wrote: On 2018年10月12日 17:23, Jason Wang wrote: On 2018年10月12日 12:30, ake wrote: On 2018年10月11日 22:06, Jason Wang wrote: On 2018年10月11日 18:22, ake wrote: On 2018年10月11日 18:44, Jason Wang wrote: On 2018年10月11日 15:51, Ake Koomsin