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=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 93F31C433E0 for ; Fri, 26 Feb 2021 09:44:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3248264E28 for ; Fri, 26 Feb 2021 09:44:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230384AbhBZJn7 (ORCPT ); Fri, 26 Feb 2021 04:43:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230402AbhBZJnx (ORCPT ); Fri, 26 Feb 2021 04:43:53 -0500 Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5DFDC061574 for ; Fri, 26 Feb 2021 01:43:08 -0800 (PST) Received: by mail-qk1-x729.google.com with SMTP id h8so8492106qkk.6 for ; Fri, 26 Feb 2021 01:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E8MT/YBSt9+GOAVKSt/z+/x/oAmJs4mba4MVCW+FEPI=; b=YlJGaB2HjeORjhsgYOy8pctb9+8JkGl/ZdIRVJcfQxCMoR62lL7XtrY95NgsqhINjE lSgvnnp9tfO6u1oKErjW0g+HTDOG3GFiOyn5d4dJiyFIJKbzFBupmPEB/V7jXmUb4d2q N9u5qLxflCWFXhFfzUGrtIkZV0aKvT2pOtERk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E8MT/YBSt9+GOAVKSt/z+/x/oAmJs4mba4MVCW+FEPI=; b=qFNd+goNjcrze+b2eEox+fWtcYqAm5H6pE2JuOX2blBWpHRiAOpfHr4nUusuarXjf4 LnFCguGYvAfD1wtftjm4HLAvf3J5tsWPatP0O0nOJRvOLfhg2W7krLZKNwrAsZjf+1D7 kc0A1ig/MDF1NASn9rdxf2WOZPTeDqRhSWDoT5T2qRjtnqtd8Cnu79Wlusr4xhWxk/j8 YOgtYB4CMy620/xH8BLd4XGLe/lHzezrAhY4z6t+MCrP9Bgzp3QBHe7oHF2JyYUVOaSC lj1GscIohazKo1h6poQb+AKzhMhEJd2x0lhGyhbrvWAZ8z32cYzc/yLta8Gz2aGsgbJj 7WNw== X-Gm-Message-State: AOAM531De+5s9Hx/XWKzoyu56s1CDEO7RRibror0Ck6bYsgjWychJ6zM Gw25ZelQNUXyqRo0sEp8a101sFn4nrAwnQ== X-Google-Smtp-Source: ABdhPJwn9Ersyt1z6l48t/+GdLkwBJh/pPErHkk/MjCqQn0l5an3YX2VGFeaQUb2C0XpLZh52gbMpg== X-Received: by 2002:ae9:ec17:: with SMTP id h23mr1662165qkg.193.1614332588003; Fri, 26 Feb 2021 01:43:08 -0800 (PST) Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com. [209.85.160.174]) by smtp.gmail.com with ESMTPSA id o12sm6086151qko.117.2021.02.26.01.43.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Feb 2021 01:43:07 -0800 (PST) Received: by mail-qt1-f174.google.com with SMTP id f17so6228818qth.7 for ; Fri, 26 Feb 2021 01:43:07 -0800 (PST) X-Received: by 2002:a02:b61a:: with SMTP id h26mr2057255jam.90.1614332168202; Fri, 26 Feb 2021 01:36:08 -0800 (PST) MIME-Version: 1.0 References: <20210209062131.2300005-1-tientzu@chromium.org> <20210209062131.2300005-13-tientzu@chromium.org> <20210226051740.GB2072@lst.de> In-Reply-To: <20210226051740.GB2072@lst.de> From: Claire Chang Date: Fri, 26 Feb 2021 17:35:57 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 12/14] swiotlb: Add restricted DMA alloc/free support. To: Christoph Hellwig Cc: Rob Herring , mpe@ellerman.id.au, Joerg Roedel , Will Deacon , Frank Rowand , Konrad Rzeszutek Wilk , boris.ostrovsky@oracle.com, jgross@suse.com, Marek Szyprowski , benh@kernel.crashing.org, paulus@samba.org, "list@263.net:IOMMU DRIVERS" , sstabellini@kernel.org, Robin Murphy , grant.likely@arm.com, xypron.glpk@gmx.de, Thierry Reding , mingo@kernel.org, bauerman@linux.ibm.com, peterz@infradead.org, Greg KH , Saravana Kannan , "Rafael J . Wysocki" , heikki.krogerus@linux.intel.com, Andy Shevchenko , Randy Dunlap , Dan Williams , Bartosz Golaszewski , linux-devicetree , lkml , linuxppc-dev@lists.ozlabs.org, xen-devel@lists.xenproject.org, Nicolas Boichat , Jim Quinlan Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 26, 2021 at 1:17 PM Christoph Hellwig wrote: > > On Fri, Feb 26, 2021 at 12:17:50PM +0800, Claire Chang wrote: > > Do you think I should fix this and rebase on the latest linux-next > > now? I wonder if there are more factor and clean up coming and I > > should wait after that. > > Here is my preferred plan: > > 1) wait for my series to support the min alignment in swiotlb to > land in Linus tree > 2) I'll resend my series with the further swiotlb cleanup and > refactoring, which includes a slightly rebased version of your > patch to add the io_tlb_mem structure > 3) resend your series on top of that as a baseline > > This is my current WIP tree for 2: > > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/swiotlb-struct Sounds good to me. Thanks!