From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8074A70 for ; Sun, 6 Jun 2021 15:08:49 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 5D15C61437 for ; Sun, 6 Jun 2021 15:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622992128; bh=AhywmWO1uW2jDKsvU3KSsBf1Kkmtd2FEg+HllYogrIM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ajFGntH12SxVgKVVKpzQeZtSpkiTjX/QOPxqJYBiMexhd5GBqSgTszMH8SPS4i6YN wgLvCDNsKhQ83MOa9Q0ZTF2sD1n5g9o8qx+95bkODxsQLVnjPZUVIvsTJ1DGNTPktQ qRz98HVhIJLcZj1Qbh/SWHQ/lx+QyL2cgOyPXjyVqVMPEeAxSyvPn4B2wVV3h/5Ajc +htUD8GYTn8/3GZt+IagSizbjFJTt4L2y7F2UuKYVQO2oI4qwRvEU7fEk16km9GzW6 HV8cgiXd4fVe8GPdRaW1MijdYbrWgGi6bfdmA6Z/AAGy+sHIi2SOJdykyz/BKKVS4X 59gXs3u86+qSg== Received: by mail-lf1-f54.google.com with SMTP id i10so21778667lfj.2 for ; Sun, 06 Jun 2021 08:08:48 -0700 (PDT) X-Gm-Message-State: AOAM531cV/kho1oFcNYK7ULdVA/lTvGU+fYY+GkhEzqaHr9lyfOhSnuO hX6wgWcDaGVv2SViPilLeJ8dAgMbNUBMWy0RkXI= X-Google-Smtp-Source: ABdhPJyN4zk4ZVANOV7l1jrNmtOScbBae+ijxon/C5Plq0iSayaFTJMxmyxUk9u52Aevqlf99inavVPw73IheJW5qYU= X-Received: by 2002:a05:6512:3f02:: with SMTP id y2mr9426858lfa.355.1622992126503; Sun, 06 Jun 2021 08:08:46 -0700 (PDT) X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <1622970249-50770-1-git-send-email-guoren@kernel.org> <1622970249-50770-10-git-send-email-guoren@kernel.org> <20210606143941.GA6032@lst.de> In-Reply-To: <20210606143941.GA6032@lst.de> From: Guo Ren Date: Sun, 6 Jun 2021 23:08:35 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v2 06/11] riscv: pgtable: Add DMA_COHERENT with custom PTE attributes To: Christoph Hellwig Cc: Anup Patel , Palmer Dabbelt , Arnd Bergmann , wens@csie.org, maxime@cerno.tech, Drew Fustini , liush@allwinnertech.com, =?UTF-8?B?V2VpIFd1ICjlkLTkvJ8p?= , wefu@redhat.com, linux-riscv , Linux Kernel Mailing List , linux-arch , linux-sunxi@lists.linux.dev, Guo Ren Content-Type: text/plain; charset="UTF-8" On Sun, Jun 6, 2021 at 10:39 PM Christoph Hellwig wrote: > > NAK, no SOC must ever mess with pagetable attributes. I don't think it messes with page table attributes. _PAGE_BASE contains variable won't cause any problem. -- Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/