Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1499583ybk; Thu, 21 May 2020 08:18:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+fdgjvYxkd29cuVg66FCIdSoQ+psqLpzuQnphejTbcDJPqdloKDQZDotCu2fpAt0qxCrs X-Received: by 2002:a17:907:1199:: with SMTP id uz25mr4350256ejb.24.1590074309952; Thu, 21 May 2020 08:18:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590074309; cv=none; d=google.com; s=arc-20160816; b=iJ+4PTjM7m8WC0mTq/QhGTP10QvyEz2TrVST6FuAcvkJWJyBbF4aqugj59qDusfp6i ordfjwrFKAW+5AMhB1EuEaQbAhBptAt2hsqAuMjXUp6o8C4hjGGj08L/IF2IeMRIVQ+A SVKTpHVeJ1VL6M3PUNgaFVMMm1rCiJNw99F7e5BbfM0erhrXHgwdLii7VP1P6h07k3Tu 6stm/l5N1UsqVmar4L3tWx9QbMZKOKcbR5u1PwLJ5R6T+pG97gujkciSvDW8RTsDGPlI MY86yajVerp/xRINUV+sZYz4fcnlA6zU8Eux4HZikWXUnNIL9NYmUMtRFq8hbFogbHX6 +wAQ== 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:ironport-sdr:ironport-sdr; bh=gC0U8F1EChH5GZ7jTM0sqxpAP1IUIoS7TmyMNlVhUBs=; b=LKfnObHxezASiCuBj0K6SbDRlHRjsEc4d/Q6+pf4TpZ9Hb8rbeuqHg6JJ05JTLNvm3 Bs0cXqSwwlVKExNZarpKmTHmqm50Pc+3NgZM3t588bnwirVga6O1cnblnSoWz44tT07W WQjzHe4M8tZweFXa/kpKGMFNdKEoWbmKZUwO5OA85AdAiWkzzYgyEQ3dHk+N5RKgPHtH 6cdrZgohp5wGzKSlyBF/Ow1Wk01eGE3yh0c9lt/IV7JUuZwOJtIVDvOPzjQGjJ8HClqh sTxk5Ni9sPS+2faAdmtjnerY9LKjM3oRf0/sTFxCMJHFulFxPhTFFEgLHoBzZ/Od5Omx cjuw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e23si3457433ejr.357.2020.05.21.08.18.06; Thu, 21 May 2020 08:18:29 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729778AbgEUPOh (ORCPT + 99 others); Thu, 21 May 2020 11:14:37 -0400 Received: from mga09.intel.com ([134.134.136.24]:36332 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728279AbgEUPOg (ORCPT ); Thu, 21 May 2020 11:14:36 -0400 IronPort-SDR: +igdKqTdU9H8yOjU0PHw+IygvAGH5RqYGYH1hIY4JeqfZjDWNgN5BNMAgrS8t0maSy+J6BrDVC pBBLpwe1Z1/w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2020 08:14:35 -0700 IronPort-SDR: BwOSx3SLn5hYh7lfJYATkuwRv9Xo1tXSYFTpHS0cfstI4AjJK34k6fviFeZkvn7yH1q1zzDePs kBoQRWM5dS5A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,418,1583222400"; d="scan'208";a="255335714" Received: from iweiny-desk2.sc.intel.com ([10.3.52.147]) by fmsmga008.fm.intel.com with ESMTP; 21 May 2020 08:14:34 -0700 Date: Thu, 21 May 2020 08:14:34 -0700 From: Ira Weiny To: Guenter Roeck Cc: linux-kernel@vger.kernel.org, Andrew Morton , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Benjamin Herrenschmidt , Paul Mackerras , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Chris Zankel , Max Filippov , Dan Williams , linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, dri-devel@lists.freedesktop.org, Christian Koenig , Al Viro , Christoph Hellwig Subject: Re: [PATCH] arch/{mips,sparc,microblaze,powerpc}: Don't enable pagefault/preempt twice Message-ID: <20200521151434.GA176262@iweiny-DESK2.sc.intel.com> References: <20200507150004.1423069-8-ira.weiny@intel.com> <20200518184843.3029640-1-ira.weiny@intel.com> <20200519165422.GA5838@roeck-us.net> <20200519184031.GB3356843@iweiny-DESK2.sc.intel.com> <20200519194215.GA71941@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200519194215.GA71941@roeck-us.net> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 19, 2020 at 12:42:15PM -0700, Guenter Roeck wrote: > > On Tue, May 19, 2020 at 09:54:22AM -0700, Guenter Roeck wrote: > > > as do the nosmp sparc32 boot tests, > > > but sparc32 boot tests with SMP enabled still fail with lots of messages > > > such as: > > > > > > BUG: Bad page state in process swapper/0 pfn:006a1 > > > page:f0933420 refcount:0 mapcount:1 mapping:(ptrval) index:0x1 > > > flags: 0x0() > > > raw: 00000000 00000100 00000122 00000000 00000001 00000000 00000000 00000000 > > > page dumped because: nonzero mapcount > > > Modules linked in: > > > CPU: 0 PID: 1 Comm: swapper/0 Tainted: G B 5.7.0-rc6-next-20200518-00002-gb178d2d56f29 #1 > > > [f00e7ab8 : > > > bad_page+0xa8/0x108 ] > > > [f00e8b54 : > > > free_pcppages_bulk+0x154/0x52c ] > > > [f00ea024 : > > > free_unref_page+0x54/0x6c ] > > > [f00ed864 : > > > free_reserved_area+0x58/0xec ] > > > [f0527104 : > > > kernel_init+0x14/0x110 ] > > > [f000b77c : > > > ret_from_kernel_thread+0xc/0x38 ] > > > [00000000 : > > > 0x0 ] > > > > > > Code path leading to that message is different but always the same > > > from free_unref_page(). > > > > > > Still testing ppc images. > > > > > ppc image tests are passing with this patch. How about sparc? I finally got your scripts to run on sparc and everything looks to be passing? Are we all good now? Thanks again! Ira