Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp469546iob; Wed, 18 May 2022 06:15:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXmW/X1Y5yBxxUEI+Vrvu+yXxn2CJaDqM03/21dP4tu2l652xNzbPjo/ka3K5EACxpRBuO X-Received: by 2002:a17:902:e8cd:b0:15e:ee3b:7839 with SMTP id v13-20020a170902e8cd00b0015eee3b7839mr27302447plg.92.1652879703223; Wed, 18 May 2022 06:15:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652879703; cv=none; d=google.com; s=arc-20160816; b=VEn88W8KYrEews06/30Cui79b90u4d+EOtNLE5LMxzRcZvJdUJHkrP/2Q7iSt5tQwq ZrBdDvFneF57Qwv8vnRUsgcssv8gbr5H1ZBH0bTxsgil9R8/QydQvGLrfN/dVSayFM6C PHuO1A8E1cJJ3AX4+mWhaqgLxPRNJ303IiHDNjYBmC+zFQ9dUUixq4NXraTm+f3wJrrY 277Qnhj7wJXym0IhzJFx+yKzPy2AJtSlgVpEWQFkjAmCf7JHt6RaGjrWKUZHtyaJfywv koRWJS3+pgUyPwKSTwp1gmS69nevQU/kcp6LfduBb1P5VN5JRw3qHYahzDVoPwP1rNii 4z9Q== 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=6SkyYUs+r43W2ouwsGoCvEzVnqYrFG0sYNdqYFlycEQ=; b=MtGNhl0ZV7NPCRhDWdAPssAPNurVwdCNugpNGUAU4f4GoVh3NzROaF2djzoTG6d/Xu NcfMc9TUtq6tGoVzQDkD/VxsnfEzw14RI/5J8AXIbwzGVjmr2YMoDZ3Rj6kPJqht5YZF b/s/38OF5bUbGt+/cx+f4sgVdDlANZQgtRpSsSOjo/24dFbGSEsucC6fVBuvcdlvrs3+ E8Eikgd2P1CG19aBX+DtGh4fg9+6bKCrlM9Fe38ydQpZp7Di9t+wq2NVtWU4O55/HO0e fbfp+S8RLkJT2Qn9xyWszGg/P+eLQPJxFeEr++RWOUzcLlFsPovBQkukcCGTAnCWoSzX rn9A== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w2-20020a056a0014c200b0050ad51e0abbsi3391761pfu.70.2022.05.18.06.15.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 06:15:03 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1F5EA19CB69; Wed, 18 May 2022 06:13:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237485AbiERNMu (ORCPT + 99 others); Wed, 18 May 2022 09:12:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237484AbiERNMr (ORCPT ); Wed, 18 May 2022 09:12:47 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 477BB93451 for ; Wed, 18 May 2022 06:12:41 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 63B0568AFE; Wed, 18 May 2022 15:12:37 +0200 (CEST) Date: Wed, 18 May 2022 15:12:37 +0200 From: Christoph Hellwig To: Robin Murphy Cc: John Garry , joro@8bytes.org, will@kernel.org, hch@lst.de, m.szyprowski@samsung.com, chenxiang66@hisilicon.com, thunder.leizhen@huawei.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, liyihang6@hisilicon.com Subject: Re: [RFC PATCH] dma-iommu: Add iommu_dma_max_mapping_size() Message-ID: <20220518131237.GA26019@lst.de> References: <1652706361-92557-1-git-send-email-john.garry@huawei.com> 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) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 17, 2022 at 11:40:52AM +0100, Robin Murphy wrote: > Indeed, sorry but NAK for this being nonsense. As I've said at least once > before, if the unnecessary SAC address allocation attempt slows down your > workload, make it not do that in the first place. If you don't like the > existing command-line parameter then fine, there are plenty of other > options, it just needs to be done in a way that doesn't break x86 systems > with dodgy firmware, as my first attempt turned out to. What broke x86?