Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp124582pxj; Wed, 16 Jun 2021 22:13:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrcgclmWAYfFYwi4og2WtsCUHQ5UXK0hati5NX3brEE3ZXoLTY9ApMTyvC1gE4CLszyOPL X-Received: by 2002:a6b:6b06:: with SMTP id g6mr2403008ioc.140.1623906780132; Wed, 16 Jun 2021 22:13:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623906780; cv=none; d=google.com; s=arc-20160816; b=q1hT2mviEPFws6NPA+ZR5RUJza9PqF9el8dare8xg9QinEDtZNQrTcuVsNXEvWv9+g aJqr4I0X9GSi4fUgrsIidJQ4uepzvLfB1ne2E09xHJ2M97ImAAYkY56XPrdFuSYOr8uc Ne9voJEmFrvie2fMh7s766rXUYrl2oW1GWO8wJmij9ijQHDE8QqVeBfWrai2RHN0h9GN 05twaBCBTqObPc9R+60yyFsJSOLPXyItTg8TI7NqCDtDunGwbQiybDITIF2Ag/3SkxON WyYCxj6v75p3fnCw3JsI8PxGFLttTF9LNe+a96Sv0Ywq4Q5CJ/NKdgwPx03Y3jSuUWEu JgqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=CTY67lh5+po9OiSTOZy3heWpjFzy2O/j96C14mf77qU=; b=PEtyD5yeA4mQjUuBuVP0MRY8EVsbxcoK6VnPKDjGOpczRHNje7DmPhYqR+0POcQlOp leqdd5LLAjBPWwL84zwiFwaTXeasHKLCidc1JamE6dSAHfNecMYHQ1v10PBCW4BSQnA+ Fq2UsOWNNfBUl9mLILikmCCzqcylBnEm0bQxU+y3hapVck0urULHt8ax0wWZt011CZjB EOPMJrlveDvVWqHDJkt1cKc7bQzoJr4W6nUNa0011K81HUfIzH9Lqp2AmVT1BTf83/Xq SKdavCOrPuD1MPC6UeZfGALlL04kpal/FW60PkKSuEyede3xOfs1A3wIcLWhjk/q9zt/ LbAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si4763045ilv.8.2021.06.16.22.12.37; Wed, 16 Jun 2021 22:13:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229666AbhFQFOn (ORCPT + 99 others); Thu, 17 Jun 2021 01:14:43 -0400 Received: from verein.lst.de ([213.95.11.211]:57035 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbhFQFOm (ORCPT ); Thu, 17 Jun 2021 01:14:42 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 91CAC68C4E; Thu, 17 Jun 2021 07:12:32 +0200 (CEST) Date: Thu, 17 Jun 2021 07:12:32 +0200 From: Christoph Hellwig To: Dominique MARTINET Cc: Konrad Rzeszutek Wilk , Jianxiong Gao , Konrad Rzeszutek Wilk , Christoph Hellwig , Linus Torvalds , Horia =?utf-8?Q?Geant=C4=83?= , "linux-kernel@vger.kernel.org" , Lukas Hartmann , Aymen Sghaier , Herbert Xu , "David S. Miller" , "linux-crypto@vger.kernel.org" , "iommu@lists.linux-foundation.org" , Marc Orr , Erdem Aktas , Peter Gonda Subject: Re: swiotlb/caamjr regression (Was: [GIT PULL] (swiotlb) stable/for-linus-5.12) Message-ID: <20210617051232.GB27192@lst.de> References: <2e899de2-4b69-c4b6-33a6-09fb8949d2fd@nxp.com> <20210611062153.GA30906@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Jun 17, 2021 at 09:39:15AM +0900, Dominique MARTINET wrote: > Konrad Rzeszutek Wilk wrote on Wed, Jun 16, 2021 at 08:27:39PM -0400: > > Thank you for testing that - and this is a bummer indeed. > > Hm, actually not that surprising if it was working without the offset > adjustments and doing non-aligned mappings -- perhaps the nvme code just > needs to round the offsets down instead of expecting swiotlb to do it? It can't. The whole point of the series was to keep the original offsets.