Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1184996pxb; Sun, 22 Aug 2021 08:27:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDa7DVNChIRprBspOZarMFzYArp4gzubllvc5KsPxM99EnDC/4DtgkZU+i08YnvfnE9jZ+ X-Received: by 2002:a5d:8754:: with SMTP id k20mr23268201iol.160.1629646063572; Sun, 22 Aug 2021 08:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629646063; cv=none; d=google.com; s=arc-20160816; b=gjq3Lf53pVf+2hf4W0rKPESzvjiNppvxnobI1C/bWLl6ekwXbinQbTHRufUMzQ8eSO FPCHXSP4RrkFNujjvi6MoA2aB9mj2xS1D4lGcJXHQOmjCgiNMa7SIrcUM8h7+GJEl3NN 62hA9hJ+Sz+t9JE7dxyUsuRRCPLKCyNJiNGsEBIFGnmwpNWzd+ijNRSmmYMfyg8tC3gj TXrDZqQYnUpmYJOC+bnQy1XJtQeU5szRbUGmu8klM+/hU5dcPVXJUcjZeZxuDQIYSFq2 /37bO5XL5t6kWJFi/kO6Co5XKgbRjDTRDl+V7/39RHI56Lr5HlKPaAHd1v7jAseCBuz4 ktBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ycR/CJI7goQaNET4z0DNOlWT7fSGq/2jsD35VNFXxwA=; b=J7DWYBMuzmr6J6T2IhZoCEa9wkcM9ze/r0ayPOW81K73Q+Io3jwMvRYRFELBuphjnS PNNnICIIsQoL2Z0R1ZHpCUNITsVRoMckEqlQ4rDN8T8ME7qs+949oUVgppnhtZ3k5n8b /9CdU/sikcMTsuBnie0WySIyGkPSmdOmNY4A0XlmlhfF7SyN6GNwRwGfWL0704gDTXsZ Tae7InxF//SjVDetrPghxsCpMstWi4kjap4VTZR/xn2ENbxpwmMOeXkJ7Ge8LvLUq0e+ WuEtF3Hs+U19cIluOmmszs54tuqozJZlStAaFQdFiC5toCmU8TK5mhiV1VvendLOi5Qt 7FyA== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 6si11358413ilx.104.2021.08.22.08.27.31; Sun, 22 Aug 2021 08:27:43 -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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234197AbhHVPZX (ORCPT + 99 others); Sun, 22 Aug 2021 11:25:23 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:34435 "EHLO mail-wr1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230462AbhHVPZU (ORCPT ); Sun, 22 Aug 2021 11:25:20 -0400 Received: by mail-wr1-f54.google.com with SMTP id h13so22238759wrp.1; Sun, 22 Aug 2021 08:24:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ycR/CJI7goQaNET4z0DNOlWT7fSGq/2jsD35VNFXxwA=; b=CFFkEAuHDyCgWpGKert74P/yQ6fmuPJYGX1KpMtwcMe4ZPNNWiH+6XS+GRcxzKbszS Zo/P9XVLN4EWBob9WXOopVDrPSBs5hX38EPHd/JUVE1kpgUotoXKk/iQrVKvuO2KWcLO N5D6oipuoVJiIoJOKOaHBwyUuK/1mVXoi00Gtfx2LYEOs9JyiPu498qBETnY9oeQXVMk jDQpK9ouJb2OZKP6d9n0IeBnE8uFFDLRwI1KyTUeXufO+s6qi7lc6P2RTgpDeqOhW2GU KFfp2LvmVYv3rea9cbOhvmrdjBtFcs61Si61s3Sl6j8nebbqw4e1jSx321yMVo8KU2Kl NOmQ== X-Gm-Message-State: AOAM533nTwC4S89waZ8vL2bTI8Gd4jE8KuJdoonOHBPWIzYYutF3MXBY HxRAVLK25M3BZQJr5FFdxoo= X-Received: by 2002:a5d:47a4:: with SMTP id 4mr1612541wrb.329.1629645878418; Sun, 22 Aug 2021 08:24:38 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id n15sm4906580wmq.7.2021.08.22.08.24.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Aug 2021 08:24:37 -0700 (PDT) Date: Sun, 22 Aug 2021 15:24:36 +0000 From: Wei Liu To: David Mozes Cc: David Moses , Wei Liu , Michael Kelley , =?utf-8?B?16rXldee16gg15DXkdeV15jXkdeV15w=?= , "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] x86/hyper-v: guard against cpu mask changes in hyperv_flush_tlb_others() Message-ID: <20210822152436.mqfwv3xbqfxy33os@liuwe-devbox-debian-v2> References: <20210817112954.ufjd77ujq5nhmmew@liuwe-devbox-debian-v2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 19, 2021 at 07:55:06AM +0000, David Mozes wrote: > Hi Wei , > I move the print cpumask to other two places after the treatment on the empty mask see below > And I got the folwing: > > > Aug 19 02:01:51 c-node05 kernel: [25936.562674] Hyper-V: ERROR_HYPERV2: cpu_last= > Aug 19 02:01:51 c-node05 kernel: [25936.562686] WARNING: CPU: 11 PID: 56432 at arch/x86/include/asm/mshyperv.h:301 hyperv_flush_tlb_others+0x23f/0x7b0 > > So we got empty on different place on the code . > Let me know if you need further information from us. > How you sagest to handle this situation? > Please find a way to reproduce this issue with upstream kernels. Thanks, Wei.