Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2491793pxb; Sun, 8 Nov 2020 02:34:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlfV7ayZG6JPmE1UB9hag9HCfgQ16ZjKqT/uVeDrnXPgqcBuKd5Vn0fKx6lUqd83iT47RS X-Received: by 2002:a17:906:468d:: with SMTP id a13mr1080698ejr.253.1604831691014; Sun, 08 Nov 2020 02:34:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604831691; cv=none; d=google.com; s=arc-20160816; b=QmdW2BwMjI7qrL4Fz1BO4EVH5KRqeRpP9GPkRYTu4MP8I9/kpL4ws+phBhIldQ0ZBF drEV8CYMw5grhLxoh0Rt//w7kERj/2tAdkpziK6GWQ/Bahddo/B6V8cGQrs1U6By57Gj uY2KGLCERGNcdEpagePZdnokBIVm/BYx2cuCd9jGjOkeIg522CIjjxcA44y8xQAEAk4l aUU15nafMXNf+Gc/cNW+98YyuWm7GGCixsKIC6TXnRcfYaeJtrpBg6FURn+SGhYmCBp5 rTvA37J1E6/l2UrlJVU2vc5Er13Xh7uca6EY5SunrRmclURcqoeuE+bl363A6zhZsboN N5VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=PIK5J4cqjVYM7WIPKcZBX7bz6h6MJ8o2VXAFPwdbllo=; b=svTZ4gzDv00Cb6JoxrV81hIbOPkTTsshZPCwTGC9PGhu0gcD7/IMnAVl4PfmPex30v A6VjE23gCWST+3yxfWgKX2/og+HjLgsMlPh5kyi4iZFJ6bOzy35pID8mmErKCTZpepw+ Bvyh8pB4EBIYNZ0dCsAF0TqXbTAEwsho/iltzkItENXRaaMM732PwcuZ35hWSZCjcYUp jAdy1W5ddAIvmRRCKLGDWEOTFOX2rqhcy4rtFC8lvwy5+bx0b/+HnZP7VrhZcdFG/u/U EF8w8ooE+eoIc5hLfgxQ/+Ea4Qp856G26CIBM5M4FksvehqSaFEgD6V9mOa5pVE34QDi wGNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si1201649edb.127.2020.11.08.02.34.28; Sun, 08 Nov 2020 02:34:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728302AbgKHK3k (ORCPT + 99 others); Sun, 8 Nov 2020 05:29:40 -0500 Received: from ozlabs.org ([203.11.71.1]:56487 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727844AbgKHK3j (ORCPT ); Sun, 8 Nov 2020 05:29:39 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 4CTVjs42FZz9sTK; Sun, 8 Nov 2020 21:29:37 +1100 (AEDT) From: Michael Ellerman To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Christophe Leroy Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: References: Subject: Re: [PATCH] powerpc/40x: Always fault when _PAGE_ACCESSED is not set Message-Id: <160483134342.1400561.2759999901303730148.b4-ty@ellerman.id.au> Date: Sun, 8 Nov 2020 21:29:37 +1100 (AEDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 10 Oct 2020 15:14:29 +0000 (UTC), Christophe Leroy wrote: > The kernel expects pte_young() to work regardless of CONFIG_SWAP. > > Make sure a minor fault is taken to set _PAGE_ACCESSED when it > is not already set, regardless of the selection of CONFIG_SWAP. Applied to powerpc/fixes. [1/1] powerpc/40x: Always fault when _PAGE_ACCESSED is not set https://git.kernel.org/powerpc/c/0540b0d2ce9073fd2a736d636218faa61c99e572 cheers