Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp17615lqp; Fri, 12 Apr 2024 09:18:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWku56lMrx/gRMN6bkz84IYzqcZWvt34nUDpZ9bsq0KlTRQOdmzIlvku0MzIKqa8rOUkiv3o+hXRM88ZR3vovdiIsVWC692YTbKkiG1fA== X-Google-Smtp-Source: AGHT+IGx2viuyvBD/PC33A54Mh6/KLa74Jw8XDm1ff9E3DMIEEd4UKL0DGf9i2VrKrCx0Ah2hb6K X-Received: by 2002:a05:6e02:b29:b0:36a:36d9:36eb with SMTP id e9-20020a056e020b2900b0036a36d936ebmr3157795ilu.27.1712938707542; Fri, 12 Apr 2024 09:18:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712938707; cv=pass; d=google.com; s=arc-20160816; b=AQzM+VQJ5c21Sdpv27H/o41ERyQ4sfdM8WoNivp3suKkZOP+2nv5CU+ekjPHJ4w/2L uw7BRiMfgbvWscNMcG3f8KgKMyDFpv0dfGMQhj71MacVI8w1wWP469WwIm9ttBH3emd5 Q1RWrBo6Zg4ouSNFGPihP9SzBlu0alq0F327DBXsVaKxueFN3Bf7KllriYQO4CKCRI3h h5ORpINgV+Jkn72EKgIBTUeItK5XAyLQd6ERF9PMG1MUMPipYt9vfWW7NtAmAfaHkY/B BmphUY3aehIYrgxGCxWk7D3eZWyCCmx3bkL+kQZ7qreg5bZRVv2zE/kFVyz1J/SZF5J8 QRNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eyo7IfHEnyIqiy7GzJDW5DagJ01iHgzhMXvJsEDYnDI=; fh=sLJZ2PA5Ax8mjtmlCuXznkYzuG3Wb84G2D4JGcqvwgM=; b=ajfWRW3Ja+cFV7xmOo/8iqrZc1e8nPfPGfOqVuzm3vJEFXRT0uYnPP1M5/7DFtrVZQ YMsu3/JNEYX1W5oDrd6KnSn1yW1uH8BDpdQ/O6asVuHMQkfnz4Z0havBP1dKqtd/kY+z wmzy0gfiEODYV74Z1ZSzJExrg10jVs6nJlvTvfTQ5VWYkQP2mLn8QOWLmlkudwDDU5Jl 22fxIqovMC7GE4T0BVt3AJRZQr4Ue2drjJxrL8Hw4ge1ydqWErjXR2A4/eVmhl+yLLaQ alQ6aMr2ZKWxF9BkOkoSUNbLJfv1HNsq9r3iedvImyjg9OZvsC83xIA2um0HQQUPOCt5 nNwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cEK16wTB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143003-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 20-20020a630e54000000b005dcb4f1a3easi3471500pgo.180.2024.04.12.09.18.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 09:18:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cEK16wTB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143003-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 774F4B219C2 for ; Fri, 12 Apr 2024 16:06:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8C8E14884C; Fri, 12 Apr 2024 16:06:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cEK16wTB" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 124C913BC34 for ; Fri, 12 Apr 2024 16:06:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712938011; cv=none; b=hd+nITyW8nmtGsB/cpLw8ItD7ZZTWwNpoCQUGicUXWaUaNmQxFtpEZl8nVLAvQnRW47y+KGCifnBEBAjA5/EC/UPxAQga1HN5J/RVQvP6+7gxzN4gP3HwP3D0eu0shtKLSN1W8vaUqc/Qj08D3fvuZchsN3PCDwcDHyE3WYZTts= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712938011; c=relaxed/simple; bh=5pH4s1XLerrXy9k1AYpN+fU13VFXyhA3Dz0ugkHOoSE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=dr+K1ZPjixJgnr7l8pwWCkhuUubTFboDsMgps5pQXiSV81rZYWK8Xez7uhFmT49HPtZ7NFjeyaK8yPitbCtOp2Ma2U4hXdtzXEw8QkkJZR2ZrxcNCNB7HdJIVTXiYfdH8p0s3TkrOAyVlWisJRFRTs/pr3oXHkz0H6ELGGL9uLA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cEK16wTB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52559C113CC; Fri, 12 Apr 2024 16:06:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712938010; bh=5pH4s1XLerrXy9k1AYpN+fU13VFXyhA3Dz0ugkHOoSE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cEK16wTBCbtYNSl3+h8NXgXombKOUy9miD1/ty7ekxeuox4GuJ983Dg/xs5tCY7IA FCzKDa84C5nCPzPC3OL8YWRJr2s3O/lvW8DSVoR989+FZGCtfyEhwHYb5i/EOGTgxY /SUuXqfYTobRiw6roYvhnXctDKqEI0rFhG7Ygm9OBHcnbJtRRTq+XfuZCl81Lkk5FX CoWVi7eC0XBdGtsmHTmr1jeCq9f/ckYMO2XoW9w4UC6bA37bS/JZLBhJ7sgO85VooM yF0oQ1hX4QgqiZn9yhHAtWMtPwJjhCfFznBrw7uaCasHZlqYOW787/uRT8lnYHopnX Gp0ryNIbLCA4w== From: Will Deacon To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Gavin Shan Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , akpm@linux-foundation.org, maz@kernel.org, oliver.upton@linux.dev, ryan.roberts@arm.com, apopple@nvidia.com, rananta@google.com, mark.rutland@arm.com, v-songbaohua@oppo.com, yangyicong@hisilicon.com, shahuang@redhat.com, yihyu@redhat.com, shan.gavin@gmail.com Subject: Re: [PATCH v3 0/3] arm64: tlb: Fix TLBI RANGE operand Date: Fri, 12 Apr 2024 17:06:39 +0100 Message-Id: <171283217883.1337455.2882364241442501889.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20240405035852.1532010-1-gshan@redhat.com> References: <20240405035852.1532010-1-gshan@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Fri, 05 Apr 2024 13:58:49 +1000, Gavin Shan wrote: > A kernel crash on the destination VM after the live migration was > reported by Yihuang Yu. The issue is only reproducible on NVidia's > grace-hopper where TLBI RANGE feature is available. The kernel crash > is caused by incomplete TLB flush and missed dirty page. For the > root cause and analysis, please refer to PATCH[v3 1/3]'s commit log. > > Thanks to Marc Zyngier who proposed all the code changes. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/3] arm64: tlb: Fix TLBI RANGE operand (no commit info) [2/3] arm64: tlb: Improve __TLBI_VADDR_RANGE() https://git.kernel.org/arm64/c/e07255d69702 [3/3] arm64: tlb: Allow range operation for MAX_TLBI_RANGE_PAGES https://git.kernel.org/arm64/c/73301e464a72 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev