From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1818DC4320E for ; Sun, 22 Aug 2021 15:30:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ED03D61261 for ; Sun, 22 Aug 2021 15:30:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234241AbhHVPZY (ORCPT ); Sun, 22 Aug 2021 11:25:24 -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-Google-Smtp-Source: ABdhPJzqmwjmYbmC+4MM8mtBv0ninfKqdadjTLEkZ3HFtdj0A/4QDieaPBeOn5dcAR59y2Za+Ca2BQ== 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.