Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6548422ybh; Thu, 8 Aug 2019 01:54:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyU7UKd66PPHmzWomQls/u1JPFq6JfB5Ihb30d0HdbvO1LqL4hgf7CAHIYAHTg5pOKDp3t9 X-Received: by 2002:a17:90a:ab0d:: with SMTP id m13mr2826478pjq.84.1565254453142; Thu, 08 Aug 2019 01:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565254453; cv=none; d=google.com; s=arc-20160816; b=B2v2s6rCC21n3xeszXxfB8jSdhDHskXYLW9XfAiQ436O/vU7Y/K7dqgLJJinH2A/90 uwbWA2W4jG15wy/vUVCXiBe9iVeXvs6oaqtZfeBPB+tKLDJ6ICigaaG4t0KvxemMm+u8 sSvXxk1uNxNxF90/hXTy3bz58ecdy2anqp7ZzgMBgOA3JKebAajYDZvvJm4n8O4MhH9g anP6n3qReuLWzho9caKssIg7SCXYAAF8621T4aCPXBZyPM+tXTtJxO/UKLcphOtKnLXC va+IxsyeAANe0H+8N9QF+rS5BpoXMV6L3BoPyn5CpnDUGETZ42p3v9XATZQF3mzosMot qNbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=qh89U6bUPPwFAM/a6UUkdiNdheEgUbanDCEoA/nzTiw=; b=fgaoWkDt7ers9lZ64+VyglWcDcYriqZI9XOaO1XYhyBV9wtTgNRIFEPner6oHKbRfV oG/CVbgFAw5976WfTHOuwGW328u+NQsNMfosbg8tNamR+AdTnWB+tlggnlmE8yUb/GV5 OoXYnm+Jm712Jo3UyZpxEgqTG6iDYjjkeTXDi0j7k7+78WMD8I6Quabd4Pdrazunl+Rs Y0vtLeoCmnhFR6z1teFelmqP3br/95fy5YNeZvkI5/EoPx7G5jX4LlEa55vuxtyKixvn ZNu/6XhTbKZEpEbsKZmwyqCPFHam5S+a9/MfOZ9abI9YaY+i0zeHFP0BUkDtB5cdnnYI zVHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 72si46986888plb.177.2019.08.08.01.53.57; Thu, 08 Aug 2019 01:54:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731771AbfHHH7v (ORCPT + 99 others); Thu, 8 Aug 2019 03:59:51 -0400 Received: from verein.lst.de ([213.95.11.211]:44280 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731548AbfHHH7v (ORCPT ); Thu, 8 Aug 2019 03:59:51 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id DE88068B02; Thu, 8 Aug 2019 09:59:47 +0200 (CEST) Date: Thu, 8 Aug 2019 09:59:47 +0200 From: Christoph Hellwig To: Rob Clark Cc: Mark Rutland , Christoph Hellwig , Rob Clark , dri-devel , Catalin Marinas , Will Deacon , Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Daniel Vetter , Allison Randal , Greg Kroah-Hartman , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, LKML Subject: Re: [PATCH 1/2] drm: add cache support for arm64 Message-ID: <20190808075947.GE30308@lst.de> References: <20190805211451.20176-1-robdclark@gmail.com> <20190806084821.GA17129@lst.de> <20190806143457.GF475@lakrids.cambridge.arm.com> <20190807123807.GD54191@lakrids.cambridge.arm.com> <20190807164958.GA44765@lakrids.cambridge.arm.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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 07, 2019 at 10:30:04AM -0700, Rob Clark wrote: > So, we do end up using GFP_HIGHUSER, which appears to get passed thru > when shmem gets to the point of actually allocating pages.. not sure > if that just ends up being a hint, or if it guarantees that we don't > get something in the linear map. > > (Bear with me while I "page" this all back in.. last time I dug thru > the shmem code was probably pre-armv8, or at least before I had any > armv8 hw) GFP_HIGHUSER basically just means that this is an allocation that could dip into highmem, in which case it would not have a kernel mapping. This can happen on arm + LPAE, but not on arm64.