From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41DD213E3F5 for ; Thu, 21 Nov 2024 09:32:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732181554; cv=none; b=fyq8H0aE29YvhrA5akOxZIfZugTdmwlCkNfYGHODWY598FjWU5GXQkOTr1wMVRjuXjmksi2HLV0EItG35Rpsu/ow2lZCpY5Nfq3f/KxpsNVT5M7XaevMXFhznonVQWpJCx2P6D7pkVEnZVeo/vkoXuR04o+w1JR2kXFxCbInO5A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732181554; c=relaxed/simple; bh=fa4v6uz6VEFeR8izNt0n6njpP/3Mpxu4ttEX9Sv9B/Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Xg5dQc+gZRMq11HTMAHuMu+Voxkp5KTmyBQi9auO0ZESMRrgHjqh1q2hbaJSTdcSySCSbm9gQadTCcdowCRP7pie1DQoBBKVvRaMTbpUE/ybe7IWjuTbEGcY9yf+UjBIGFxEp+zQzRVztU3/aFTy2tSPaT+nGcUiQ1IVUq34DAY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=T8abkMoJ; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="T8abkMoJ" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-539f1292a9bso673991e87.2 for ; Thu, 21 Nov 2024 01:32:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1732181550; x=1732786350; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=opuzTjYFnx1shlOWe4vRrTVSSc8AtRFFWZgXJNFD7tA=; b=T8abkMoJD6lhbp3bLuG9FYWZnYTS543wbCkjvaa2tg+9yJR/UU/SNjzcxJjdvFMMim vMqgyOHILLWZk7i5YE6QfuoqF8qJO1MIL8XWsnDzky3AIusRZtt2p/G7HX+twLU+qEFB 1Bod63yaJYJf0tbygZyOU//087zF+WnkQPsom7VsFVWuY54i2sic2WRAOT/9SXZJWNFS JXUe2uUuQnfcBrt4VSR1ts6YJD8BMo6G5FYE/SMOGqUae9XBU+N6yGjETZT/NUv0QA8G JYMct+lcXfc/SZd+A5X/ImQvUlaE9t4tD+4MIUQnrV8mCd+ZZIQ3SKUdOQqjdtG/loMV h+Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732181550; x=1732786350; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=opuzTjYFnx1shlOWe4vRrTVSSc8AtRFFWZgXJNFD7tA=; b=qCC+8O5FljOwwfIHnsnzG96R3gZevwIgKz+L1Sx9VAV4GGEgQ2QQAgGBj437Ox9441 pk403vG8Z6pPR+Ga159WhJ7gVlceVgucTB3O6L3blCExhWfEHR19V1EMvYfoK9w/pc3L S0XyEZ/GWPWLy50RLzqF/bRHoy89O9hmTZI6dQ712JD2ALds0c0pCpudXD9geVKAgJKE Y/FFKIljQzsBsKUg5WJlEfpApGw+tv4Q+ismwte3Zx8n2gB+H0woBJYbMLOoMKoR6MWX RfENRe522zE+ziZhmfDdMC0JRegbGOUEkKuK1Vap4MahGl15Byrs+gXeWgVYhShFsZPl ilEQ== X-Forwarded-Encrypted: i=1; AJvYcCU8JyAgQcx15fnY/bsqG1lXwxfHi614YDjDUvtCOGkg8a26GjsoLnVyIuU8OdviNliM95NuLWBzbpfMlzY=@vger.kernel.org X-Gm-Message-State: AOJu0Ywy2j/j0TuAzBGpyFmcjp0R/xANQCA4kGHrFNW4MNxqq5Fgpy4L tDPSCB9QGl0x2a0GO8QlaIhoSGDXSgKACci0h5yDEiXsuCbjG7cFicBP2HpAogI= X-Gm-Gg: ASbGncsDxUpM+KSLpxQoPyM/kG+NNWysMFhgNnd3s57pT429guJycGGuU9fjqkl+bP5 kp2AB0vfDMUBjb+xiGHkZ09wa+INDnYjXG+MpRyam3eABD3wx5qQbfLGKn/gwl/3vTzYf/Tq96Z NyxEz5MqjMcwDS8lrMxfhGcFMEywcHGCSIunkdXTNx7tuv57dtp5uPmj89Kbrtxn8NnMErTOd4P Qu8k4JJZRPqKNn7WOBJzGiPN/UUZ70/PfOnnHJoiAECLddp7ib9V3YmzfEcv/jkAHJMAP1K4SQI HynixHZE+BOYr3DRQR3TUmIe4z8bbQLPeR8= X-Google-Smtp-Source: AGHT+IFL59TB3m783wVOF4vRiqRGMGuRzNrlKCikLNXG8Aeg3JjXdtpMhMqy28LdyLbcgbMlwO5A1w== X-Received: by 2002:a05:6512:2316:b0:539:f9b9:e6d2 with SMTP id 2adb3069b0e04-53dc136715emr3144849e87.35.1732181549734; Thu, 21 Nov 2024 01:32:29 -0800 (PST) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b463abb4sm49876175e9.31.2024.11.21.01.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 01:32:29 -0800 (PST) Date: Thu, 21 Nov 2024 10:32:28 +0100 From: Andrew Jones To: Alexandre Ghiti Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] riscv: Call secondary mmu notifier when flushing the tlb Message-ID: <20241121-e97820f8c09de9bcedfe885d@orel> References: <20240328073838.8776-1-alexghiti@rivosinc.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=us-ascii Content-Disposition: inline In-Reply-To: <20240328073838.8776-1-alexghiti@rivosinc.com> On Thu, Mar 28, 2024 at 08:38:38AM +0100, Alexandre Ghiti wrote: > This is required to allow the IOMMU driver to correctly flush its own > TLB. > > Signed-off-by: Alexandre Ghiti > --- > > Changes in v2: > - Rebase on top of 6.9-rc1 > > arch/riscv/mm/tlbflush.c | 39 +++++++++++++++++++++++---------------- > 1 file changed, 23 insertions(+), 16 deletions(-) > Hi Alex, Is this patch still something we need? Thanks, drew