Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2728082pxb; Mon, 31 Jan 2022 03:03:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXYrzwKf6CaEyt1Y5cthFx4Ru4tP+T09LJ2VRU3dj4R60tBuRQFi8jo1IKqhUTf+nMHXG0 X-Received: by 2002:a63:33c4:: with SMTP id z187mr16000651pgz.474.1643627016642; Mon, 31 Jan 2022 03:03:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643627016; cv=none; d=google.com; s=arc-20160816; b=zD7pHB53MAaDJFu3nFQek5p9mw4nH+RviSPBctoxSGzfdhzeX9N5aF8vBSk/BkKqLd q17Ixn+sNjGU71gSuygvl+BzIGT6nFBzarmZsk05l8eXuN51TpZspPbXW1ojdjTvl1Cc qsDrytq6scvkuidg64JJY/wj6AHxVcoBJsKTOvCNdwpP+wygrbLKPmfsHhvD6MAIg/ir 3/uc7gQbLX3NqfAvuyN16NdLKGP6Ca4oQ/dPYm1gaJCIwrFFCvfP6yxsfsKfyMA2roF9 NomOqoldzGT1q1mpIvrOwdfSZtL6unDU4+cKDPwr1LIctVpl0HVO6E1niCA9Ks1494l+ rHsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=1qNQozrzr3u02685KSOX9mmqDOdBZq9NnzsUpi2IPaw=; b=iL/vub7txVQxIvxXPCL0EZ1IX4yhcrs+pel6KBgR33TUUcPBqnmtRC1JJgef54t7Vh T4VxXrThlOynpQ/PlQXPcZWKm6iQIg3I6eVJB025ivnJ3KH5NShDdjAogsA0qmOuN8BA p7Hl92QRALM1RT8eKyCzmKJo5w32WxmMpvUIRh1Izbpn9wEMFcJyxm1g38xwCUitCRLk J0YnTvn5YJo9ag2dX2CFZaGncXX/ddlSu+LzVuT5zkPBtfZ4jncEox9xq4qAniiV6itT 2mlOeLeetetXAQtlUYDe+YNsqtD6Bo7cUs50cRfyQV8KPzktGU+57aw5GIjKptokxu28 E3Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (no key) header.i=@lespinasse.org; dkim=pass (test mode) header.i=@lespinasse.org header.s=srv-52-rsa header.b=ueeE+B3W; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lespinasse.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mu4si12645430pjb.158.2022.01.31.03.03.25; Mon, 31 Jan 2022 03:03:36 -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; dkim=neutral (no key) header.i=@lespinasse.org; dkim=pass (test mode) header.i=@lespinasse.org header.s=srv-52-rsa header.b=ueeE+B3W; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lespinasse.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349080AbiA1NUm (ORCPT + 99 others); Fri, 28 Jan 2022 08:20:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348765AbiA1NTL (ORCPT ); Fri, 28 Jan 2022 08:19:11 -0500 Received: from server.lespinasse.org (server.lespinasse.org [IPv6:2001:470:82ab::100:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25F1EC06173B for ; Fri, 28 Jan 2022 05:19:09 -0800 (PST) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=lespinasse.org; i=@lespinasse.org; q=dns/txt; s=srv-52-ed; t=1643375407; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=1qNQozrzr3u02685KSOX9mmqDOdBZq9NnzsUpi2IPaw=; b=6BYWY9OeTakFO1yedYXP/YDk5XWFtpTASfvFH9l3bWr14MWG0qakCH6lLPxP47W8w6cKt Kf50V6wlrfBBZOYAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lespinasse.org; i=@lespinasse.org; q=dns/txt; s=srv-52-rsa; t=1643375407; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=1qNQozrzr3u02685KSOX9mmqDOdBZq9NnzsUpi2IPaw=; b=ueeE+B3WdhuSeZQhwoRdlPRcMIViOulAB79HXUYcoOLo++ZiI760j4qwPv9uDOQSTzzpW /SmFc0NJcAzQ9qS5VYlPofJcymNqAmvkn6oRVdcZSEiYya1FVJhCUjzwdTYfaaZ6pMonUkv 0OOV3vWA6K4eYa/ht98YCHS0FBn6Vz4TjjnJq+hI//DdVqBC4orjnmU5VQ78FjKvdtwt6MH vi7Xyh7KIsSX2Hez+ibTnIMw2QdzCRnhJAZvjvOY7LBYpe/95Nwt4i0LpN9uv6NjtFtAhcv dWRPzuo3EhJ+uOmpw35SZ2O3c6niIb76XF8wQwAAjmAt9JkEuQjr5Fp+TQJg== Received: from zeus.lespinasse.org (zeus.lespinasse.org [IPv6:fd00::150:0]) by server.lespinasse.org (Postfix) with ESMTPS id 4A351160AEE; Fri, 28 Jan 2022 05:10:07 -0800 (PST) Received: by zeus.lespinasse.org (Postfix, from userid 1000) id 2AF3520477; Fri, 28 Jan 2022 05:10:07 -0800 (PST) From: Michel Lespinasse To: Linux-MM , linux-kernel@vger.kernel.org, Andrew Morton Cc: kernel-team@fb.com, Laurent Dufour , Jerome Glisse , Peter Zijlstra , Michal Hocko , Vlastimil Babka , Davidlohr Bueso , Matthew Wilcox , Liam Howlett , Rik van Riel , Paul McKenney , Song Liu , Suren Baghdasaryan , Minchan Kim , Joel Fernandes , David Rientjes , Axel Rasmussen , Andy Lutomirski , Michel Lespinasse Subject: [PATCH v2 34/35] powerpc/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Date: Fri, 28 Jan 2022 05:10:05 -0800 Message-Id: <20220128131006.67712-35-michel@lespinasse.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220128131006.67712-1-michel@lespinasse.org> References: <20220128131006.67712-1-michel@lespinasse.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT so that the speculative fault handling code can be compiled on this architecture. Signed-off-by: Michel Lespinasse --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index b779603978e1..5f82bc7eee0b 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -144,6 +144,7 @@ config PPC select ARCH_STACKWALK select ARCH_SUPPORTS_ATOMIC_RMW select ARCH_SUPPORTS_DEBUG_PAGEALLOC if PPC_BOOK3S || PPC_8xx || 40x + select ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT if PPC_BOOK3S_64 select ARCH_USE_BUILTIN_BSWAP select ARCH_USE_CMPXCHG_LOCKREF if PPC64 select ARCH_USE_MEMTEST -- 2.20.1