Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp450497ybr; Fri, 22 May 2020 10:23:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCoYhSDPpPRtPEH6aqTxncxxSDpmaKtm8dWjTsRmvt2GhaaE3kQlQQTYvnYUwAlGvzVGPH X-Received: by 2002:a17:906:8514:: with SMTP id i20mr8614998ejx.298.1590168213830; Fri, 22 May 2020 10:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590168213; cv=none; d=google.com; s=arc-20160816; b=bozHTsYn+s3cucIAZ411C6+c2rvvAZNzgoppho5HQ9f67WyIhm7NrR9BJsq/wRmEnh XzoaKT01LKf4QUFo4YvYI48ROgKh2Mg4LXtXw32DsHk3riQWDu/xZagwbHM7pqgNYNCd nSPd6h0l264djABImPkmrb4GJhUWWzIm1w5pcDXzaEyZq3mKZhujNld/2gqvLXnruhs+ t+wO7D4raugh8Eq7EdNyFg07kfBN9B7VzDcqTbg+nMGuz7+CZ5XdqXXo+/RerbdzisV6 fcA/K/ejH5FlFZXiXWWnM4Bp/Pawqe5/orKyP+qndSh2KtIURiVNOYVu3fPQwoH0mqpj k+4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=5DFL46w0De6RV+vzshdpvwcQwsH91Oira8M1QMNZD+k=; b=CcFD3l1oKbY+6jaKPpYTBVDDTkGYbFLJIL50LldXloS0HBFWgIRcs1SJq79Mg6M/Oy R+BIO4zvkzZlrDQTbrbMCgveOLAEM/WJEobN61GY54ocrCENTqUXJ/GtC9BmTH7Dz6Po q6E5py0C/qMbEkwQ5uih/4nacPp3PNt/QuYxRzQhxv1+Vy/oJED9f6UoKJkuB/DjURSA MXq9MxCbhrjb/duQntaKH6JK3Ab1O3bPt3+DzKX/Ma/WR5SosLIqNAyKCzpe50acLUCu GpZl3GMvCQZeVNZeWrprc0zUzLtRHine+PJ9vaG0CJR0Q3Ri0HOKA52P0yP0n7nwVoNi aIfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TXTf9Vkj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id de21si4821675edb.304.2020.05.22.10.23.10; Fri, 22 May 2020 10:23:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TXTf9Vkj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730802AbgEVRTe (ORCPT + 99 others); Fri, 22 May 2020 13:19:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730471AbgEVRTd (ORCPT ); Fri, 22 May 2020 13:19:33 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30690C061A0E; Fri, 22 May 2020 10:19:33 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id x20so13815521ejb.11; Fri, 22 May 2020 10:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5DFL46w0De6RV+vzshdpvwcQwsH91Oira8M1QMNZD+k=; b=TXTf9VkjVPZ7EJ79Zzhx6A7rv42PABOwEaL9suY5dzHkDPuGOzoMzc2kG7uEXT70Y3 QOs7JeF1gyDFj5GKFLwFracJgnUEa8JFhfjfiMlf2snitIr4ryBMjo4JKNP/KuGJG66x 0htcrmw+HhAF8NFh1nh+aeRtStk6jS6kPEElgi2uFrMoo5o+Bm241jWu9SSB2uxao5Gf TIaKN6n4TSNMBPB+Hj9R19XqjS1cGKq72pvEOvzotofk+6rUzC1Mk79SYyOF9wWwQmcx jWhYLwI5SmpKLH3qFgk9kHFXtRRa8ve4TDsEiRcEMXcoMF2UZDl3hwjgmukbckL7hdVX vxpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5DFL46w0De6RV+vzshdpvwcQwsH91Oira8M1QMNZD+k=; b=nUGN41ePQIYJDEg5/3kTLzWIo/Hi+auxKYCLkQxdPHiDIRW704X7FrXuLeR5KaSTm2 OKa8zBZ/i0tLpxoJrctY1Q1i4wrFaZ/jWrZ1KhLSKLSVmy0fQ3SbJIgBUEWkYDlqV2xz lMI1QaCjfghTf6Upv/P/Zf1K/wMN5jyo5eiKzfGRB63pl4jl7NofmE5ZDW0n9xoMiYkr ZyHWTIpk+M0kXIsIW7Ztdqfbs72ckL2ocirM3wIynXVYLUsTF3NS+F9063C4gkOXRxLu 3gsjf0PcsIkjQwRwUgaR3xVC4s0Ww6T9RgCkV3FuRHIPHEmzvAYjynNtCMft+yQ5R8Hm HNRA== X-Gm-Message-State: AOAM5339TfOlA/QWE1QBl7NI8IMAwTLRKS+sn+cZIaEpJIIL4x7JM9I6 HX6tSxmGvwOvlyuGbj+g+qJo8U4lN6Q/HEBF X-Received: by 2002:a17:906:4009:: with SMTP id v9mr8728190ejj.63.1590167971452; Fri, 22 May 2020 10:19:31 -0700 (PDT) Received: from localhost.localdomain (ip-62-245-103-65.net.upcbroadband.cz. [62.245.103.65]) by smtp.gmail.com with ESMTPSA id ay6sm7483094edb.29.2020.05.22.10.19.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2020 10:19:31 -0700 (PDT) From: "Andrea Parri (Microsoft)" To: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "K . Y . Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Michael Kelley , "Andrea Parri (Microsoft)" Subject: [PATCH] VMBus channel interrupts reassignment - Fixes Date: Fri, 22 May 2020 19:18:59 +0200 Message-Id: <20200522171901.204127-1-parri.andrea@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Two fixes on top of the channel interrupts reassignment series, both addressing race conditions between the initialization of the target CPUs and the CPU hot removal path. (Fixes: tags refer to commit IDs from the hyperv tree and should be considered as placeholders; please let me know how you'd prefer to handle these...) Thanks, Andrea Andrea Parri (Microsoft) (2): Drivers: hv: vmbus: Resolve race between init_vp_index() and CPU hotplug Drivers: hv: vmbus: Resolve more races involving init_vp_index() drivers/hv/channel_mgmt.c | 66 +++++++++++++++++++-------------------- drivers/hv/hyperv_vmbus.h | 48 ++++++++++++++++++++++++++++ drivers/hv/vmbus_drv.c | 19 +++++++---- include/linux/hyperv.h | 7 +++++ 4 files changed, 101 insertions(+), 39 deletions(-) -- 2.25.1