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=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 22103C433DF for ; Wed, 1 Jul 2020 23:50:51 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 87706206B7 for ; Wed, 1 Jul 2020 23:50:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cCk0GG/Q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 87706206B7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49xyfJ2Q9lzDqnW for ; Thu, 2 Jul 2020 09:50:48 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::741; helo=mail-qk1-x741.google.com; envelope-from=leobras.c@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=cCk0GG/Q; dkim-atps=neutral Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49xycC0gndzDqHx for ; Thu, 2 Jul 2020 09:48:57 +1000 (AEST) Received: by mail-qk1-x741.google.com with SMTP id e13so24019294qkg.5 for ; Wed, 01 Jul 2020 16:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :organization:user-agent:mime-version:content-transfer-encoding; bh=eWwA839IZ7dq+a29DyXkGmi7dM/v2sHdleLj59LsJvo=; b=cCk0GG/Q7j5pgcUJbgaej4solO6bRP1anrWSbOb2EYkbaZxCNkvsDaDv+4+ZfzrJgg 9cRPJ7yZcVHRhpJwVBBhCE78Dsp3GtXcAfbi2u4jI9ICI+w/S2PSRBa0a8wqjsNmesHr 7nZsYNfFsiCfc8U/j+55Mva2CqSs8RBxMIG21YNs5+84XsEvvCYKimHcVF2fm+/uJgdJ UeLbcYiM27bjGQJ4in7VrEE3JRyVCpaBPx38oTX3zzO7Vv6N/cveyCLl+eKkSxcR2zPU GF7Tj4oXuiboudPqmevExnWWH24HrJ8XtJndBXodVjlPyATj1F8NLcMnKnN//QUX3FgJ Dpdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:organization:user-agent:mime-version :content-transfer-encoding; bh=eWwA839IZ7dq+a29DyXkGmi7dM/v2sHdleLj59LsJvo=; b=Z7nFuCF691mycvdVq2Glk4uhKJxbx8/Pk79mXwpwryt95GPSJbkvTyfkZeMV7D28vW tMtaTrwuznrAgVssbkGjBWUy+ieBXU5e0ceD9+PRli/Q1BsfAC60j3WqgCMFYqYyjn+M kAhlWfULOQyF6nehFKIhVuWxD2GvkF3P7Q6Gagt9GFkL6tO4P76smcuMCrQWlqPjZqun zPFVlMuy95zL++sJKBXKSrd6FU7Qhx/WI/Ku0qUCzqX4k7aF7nt9ehpLR5yO9WeyaKaJ gAF8xDSWSSLPcAwoS8m+FCXtah4B8q5aK0qGMHaijC+9Xqr/8/u3l5p85m69ueQQ1O7D OgFA== X-Gm-Message-State: AOAM531wzyDZwd8LOEyulRLmVh7nZ7azVPF4omEZyT/hFAJMYdMxd02m PAmCzYnH37R17jIG9zL0Lho= X-Google-Smtp-Source: ABdhPJw0PQ7LdCWGBl5gstq7lsFeqHSpDXcjrWbUSpr7dI7hbWVIEH2haZKhZCeGWOEo3FhVCBQSqg== X-Received: by 2002:a37:f71e:: with SMTP id q30mr26753981qkj.68.1593647332002; Wed, 01 Jul 2020 16:48:52 -0700 (PDT) Received: from LeoBras (200-236-245-17.dynamic.desktop.com.br. [200.236.245.17]) by smtp.gmail.com with ESMTPSA id j16sm6708518qtp.92.2020.07.01.16.48.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 16:48:51 -0700 (PDT) Message-ID: <0c3de45dfb612745aa2ee4126b3935303d8e8704.camel@gmail.com> Subject: Re: [PATCH v2 5/6] powerpc/pseries/iommu: Make use of DDW even if it does not map the partition From: Leonardo Bras To: Alexey Kardashevskiy , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Thiago Jung Bauermann , Ram Pai Date: Wed, 01 Jul 2020 20:48:42 -0300 In-Reply-To: <0e8bcc38614ec80c7816c07dd4dc70854c2b901d.camel@gmail.com> References: <20200624062411.367796-1-leobras.c@gmail.com> <20200624062411.367796-6-leobras.c@gmail.com> <18df09c0-ef83-a0d8-1143-1cb4d50bf6b7@ozlabs.ru> <0e8bcc38614ec80c7816c07dd4dc70854c2b901d.camel@gmail.com> Organization: IBM Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, 2020-07-01 at 16:57 -0300, Leonardo Bras wrote: > > It is not necessarily "direct" anymore as the name suggests, you may > > want to change that. DMA64_PROPNAME, may be. Thanks, > > > > Yeah, you are right. > I will change this for next version, also changing the string name to > reflect this. > > -#define DIRECT64_PROPNAME "linux,direct64-ddr-window-info" > +#define DMA64_PROPNAME "linux,dma64-ddr-window-info" > > Is that ok? > > Thank you for helping! In fact, there is a lot of places in this file where it's called direct window. Should I replace everything? Should it be in a separated patch? Best regards, Leonardo