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=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 07FCDC433E0 for ; Tue, 26 May 2020 17:33:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D1D2420823 for ; Tue, 26 May 2020 17:33:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590514391; bh=bI6GdF98fJuEzoeytv2sqzH0yItjG18LUOH4e7TFC5A=; h=From:To:Cc:Subject:Date:List-ID:From; b=Yb1UHthbp+qnaaQjhAIgo3I9aLV7ZRnPaY/VrtJb8tNUP5fbSYaDiaHzN/HSG4G/9 2uhh31wR96C5LXe6ZXnI/0komtmJX6Ydmi92AwqZsmOFoaulc7yxxPWShVJYxExxs6 02/r261Mt6XJOo1h2TQ7phDXaKS1MwjbRm6JCRa4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729597AbgEZRdL (ORCPT ); Tue, 26 May 2020 13:33:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:50074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726930AbgEZRdL (ORCPT ); Tue, 26 May 2020 13:33:11 -0400 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 639882053B; Tue, 26 May 2020 17:33:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590514390; bh=bI6GdF98fJuEzoeytv2sqzH0yItjG18LUOH4e7TFC5A=; h=From:To:Cc:Subject:Date:From; b=OxxMhn44dt85KH+OH95/+1jcbow83b4bf/bOYeidBRMp6VhFbko5W907xRkGn8rLW HK9VJRFD+gL7BqhuSnMkDnMPtns7WqEuxpvtin43cAl4ewLc45WIYLXNMFNSh32knE 7l7aYThwmv332okouIHGSNV9HFEfMKP24Zk0YyLU= From: Will Deacon To: linux-kernel@vger.kernel.org Cc: sparclinux@vger.kernel.org, Will Deacon , Peter Zijlstra , "David S . Miller" , Guenter Roeck , Mike Rapoport , kernel-team@android.com Subject: [PATCH 0/3] sparc32 SRMMU fixes for SMP Date: Tue, 26 May 2020 18:32:59 +0100 Message-Id: <20200526173302.377-1-will@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi folks, Enabling SMP for sparc32 uncovered some issues in the SRMMU page-table allocation code. One of these was introduced by me, but the other two seem to have been there a while and are probably just exposed more easily by my recent changes. Tested on QEMU. I'm assuming these will go via David's tree. Cheers, Will --->8 Cc: Peter Zijlstra Cc: David S. Miller Cc: Guenter Roeck Cc: Mike Rapoport Cc: kernel-team@android.com Will Deacon (3): sparc32: mm: Don't try to free page-table pages if ctor() fails sparc32: mm: Disable SPLIT_PTLOCK_CPUS sparc32: mm: Only call ctor()/dtor() functions for first and last user arch/sparc/mm/srmmu.c | 15 +++++++++++---- mm/Kconfig | 4 ++++ 2 files changed, 15 insertions(+), 4 deletions(-) -- 2.27.0.rc0.183.gde8f92d652-goog