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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 3666AC4361B for ; Tue, 15 Dec 2020 10:51:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D2BA322225 for ; Tue, 15 Dec 2020 10:51:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726923AbgLOKup (ORCPT ); Tue, 15 Dec 2020 05:50:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727366AbgLOKtl (ORCPT ); Tue, 15 Dec 2020 05:49:41 -0500 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89981C0617B0 for ; Tue, 15 Dec 2020 02:49:00 -0800 (PST) Received: by ozlabs.org (Postfix, from userid 1034) id 4CwFP65SKkz9sTg; Tue, 15 Dec 2020 21:48:58 +1100 (AEDT) From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: References: Subject: Re: [PATCH v1 1/6] powerpc/8xx: DEBUG_PAGEALLOC doesn't require an ITLB miss exception handler Message-Id: <160802920955.504444.6903217720200398229.b4-ty@ellerman.id.au> Date: Tue, 15 Dec 2020 21:48:58 +1100 (AEDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Nov 2020 15:24:54 +0000 (UTC), Christophe Leroy wrote: > Since commit e611939fc8ec ("powerpc/mm: Ensure change_page_attr() > doesn't invalidate pinned TLBs"), pinned TLBs are not anymore > invalidated by __kernel_map_pages() when CONFIG_DEBUG_PAGEALLOC is > selected. > > Remove the dependency on CONFIG_DEBUG_PAGEALLOC. Applied to powerpc/next. [1/6] powerpc/8xx: DEBUG_PAGEALLOC doesn't require an ITLB miss exception handler https://git.kernel.org/powerpc/c/613df979da6c032cbe6fa273fb8ca21af022157e [2/6] powerpc/8xx: Always pin kernel text TLB https://git.kernel.org/powerpc/c/bccc58986a2f98e3af349c85c5f49aac7fb19ef2 [3/6] powerpc/8xx: Simplify INVALIDATE_ADJACENT_PAGES_CPU15 https://git.kernel.org/powerpc/c/576e02bbf1062b9118d5bbb96a40ed3b6b359f22 [4/6] powerpc/8xx: Use SPRN_SPRG_SCRATCH2 in ITLB miss exception https://git.kernel.org/powerpc/c/a314ea5abf6dbaf35f14c9bd1d93105260fb9336 [5/6] powerpc/8xx: Use SPRN_SPRG_SCRATCH2 in DTLB miss exception https://git.kernel.org/powerpc/c/89eecd938cab80f0da18abbd2ed997a521f83f01 [6/6] powerpc/ppc-opcode: Add PPC_RAW_MFSPR() https://git.kernel.org/powerpc/c/70b588a068668dd7a92ed19cf0373ba92847957c cheers 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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 4C00BC4361B for ; Tue, 15 Dec 2020 11:03:33 +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 B85462222A for ; Tue, 15 Dec 2020 11:03:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B85462222A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au 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 4CwFjt2Qz4zDqBs for ; Tue, 15 Dec 2020 22:03:30 +1100 (AEDT) Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CwFP664XFzDqD9 for ; Tue, 15 Dec 2020 21:48:58 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Received: by ozlabs.org (Postfix, from userid 1034) id 4CwFP65SKkz9sTg; Tue, 15 Dec 2020 21:48:58 +1100 (AEDT) From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman In-Reply-To: References: Subject: Re: [PATCH v1 1/6] powerpc/8xx: DEBUG_PAGEALLOC doesn't require an ITLB miss exception handler Message-Id: <160802920955.504444.6903217720200398229.b4-ty@ellerman.id.au> Date: Tue, 15 Dec 2020 21:48:58 +1100 (AEDT) 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 Tue, 24 Nov 2020 15:24:54 +0000 (UTC), Christophe Leroy wrote: > Since commit e611939fc8ec ("powerpc/mm: Ensure change_page_attr() > doesn't invalidate pinned TLBs"), pinned TLBs are not anymore > invalidated by __kernel_map_pages() when CONFIG_DEBUG_PAGEALLOC is > selected. > > Remove the dependency on CONFIG_DEBUG_PAGEALLOC. Applied to powerpc/next. [1/6] powerpc/8xx: DEBUG_PAGEALLOC doesn't require an ITLB miss exception handler https://git.kernel.org/powerpc/c/613df979da6c032cbe6fa273fb8ca21af022157e [2/6] powerpc/8xx: Always pin kernel text TLB https://git.kernel.org/powerpc/c/bccc58986a2f98e3af349c85c5f49aac7fb19ef2 [3/6] powerpc/8xx: Simplify INVALIDATE_ADJACENT_PAGES_CPU15 https://git.kernel.org/powerpc/c/576e02bbf1062b9118d5bbb96a40ed3b6b359f22 [4/6] powerpc/8xx: Use SPRN_SPRG_SCRATCH2 in ITLB miss exception https://git.kernel.org/powerpc/c/a314ea5abf6dbaf35f14c9bd1d93105260fb9336 [5/6] powerpc/8xx: Use SPRN_SPRG_SCRATCH2 in DTLB miss exception https://git.kernel.org/powerpc/c/89eecd938cab80f0da18abbd2ed997a521f83f01 [6/6] powerpc/ppc-opcode: Add PPC_RAW_MFSPR() https://git.kernel.org/powerpc/c/70b588a068668dd7a92ed19cf0373ba92847957c cheers