From: Ira Weiny Date: Wed, 03 Jun 2020 21:14:16 +0000 Subject: Re: [PATCH] arch/{mips,sparc,microblaze,powerpc}: Don't enable pagefault/preempt twice Message-Id: <20200603211416.GA1740285@iweiny-DESK2.sc.intel.com> List-Id: 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> <20200520051315.GA3660833@iweiny-DESK2.sc.intel.com> <20200521174250.GB176262@iweiny-DESK2.sc.intel.com> <20200603135736.e7b5ded0082a81ae6d9067a0@linux-foundation.org> In-Reply-To: <20200603135736.e7b5ded0082a81ae6d9067a0@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andrew Morton , Mike Rapoport , Guenter Roeck Cc: Peter Zijlstra , Dave Hansen , dri-devel@lists.freedesktop.org, linux-mips@vger.kernel.org, "James E.J. Bottomley" , Max Filippov , Paul Mackerras , "H. Peter Anvin" , sparclinux@vger.kernel.org, Thomas Gleixner , Helge Deller , x86@kernel.org, linux-csky@vger.kernel.org, Christoph Hellwig , Ingo Molnar , linux-snps-arc@lists.infradead.org, linux-xtensa@linux-xtensa.org, Borislav Petkov , Al Viro , Andy Lutomirski , Dan Williams , linux-arm-kernel@lists.infradead.org, Chris Zankel , Thomas Bogendoerfer , linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, Christian Koenig , linuxppc-dev@lists.ozlabs.org, "David S. Miller" On Wed, Jun 03, 2020 at 01:57:36PM -0700, Andrew Morton wrote: > On Thu, 21 May 2020 10:42:50 -0700 Ira Weiny wrote: > > > > > > > > > Actually it occurs to me that the patch consolidating kmap_prot is odd for > > > > sparc 32 bit... > > > > > > > > Its a long shot but could you try reverting this patch? > > > > > > > > 4ea7d2419e3f kmap: consolidate kmap_prot definitions > > > > > > > > > > That is not easy to revert, unfortunately, due to several follow-up patches. > > > > I have gotten your sparc tests to run and they all pass... > > > > 08:10:34 > ../linux-build-test/rootfs/sparc/run-qemu-sparc.sh > > Build reference: v5.7-rc4-17-g852b6f2edc0f > > > > Building sparc32:SPARCClassic:nosmp:scsi:hd ... running ......... passed > > Building sparc32:SPARCbook:nosmp:scsi:cd ... running ......... passed > > Building sparc32:LX:nosmp:noapc:scsi:hd ... running ......... passed > > Building sparc32:SS-4:nosmp:initrd ... running ......... passed > > Building sparc32:SS-5:nosmp:scsi:hd ... running ......... passed > > Building sparc32:SS-10:nosmp:scsi:cd ... running ......... passed > > Building sparc32:SS-20:nosmp:scsi:hd ... running ......... passed > > Building sparc32:SS-600MP:nosmp:scsi:hd ... running ......... passed > > Building sparc32:Voyager:nosmp:noapc:scsi:hd ... running ......... passed > > Building sparc32:SS-4:smp:scsi:hd ... running ......... passed > > Building sparc32:SS-5:smp:scsi:cd ... running ......... passed > > Building sparc32:SS-10:smp:scsi:hd ... running ......... passed > > Building sparc32:SS-20:smp:scsi:hd ... running ......... passed > > Building sparc32:SS-600MP:smp:scsi:hd ... running ......... passed > > Building sparc32:Voyager:smp:noapc:scsi:hd ... running ......... passed > > > > Is there another test I need to run? > > This all petered out, but as I understand it, this patchset still might > have issues on various architectures. > > Can folks please provide an update on the testing status? I believe the tests were failing for Guenter due to another patch set...[1] My tests with just this series are working. From my understanding the other failures were unrelated.[2] I've checked the patch above on top of the mmots which already has Ira's patches and it booted fine. I've used sparc32_defconfig to build the kernel and qemu-system-sparc with default machine and CPU. Mike, am I wrong? Do you think the kmap() patches are still causing issues? Ira [1] https://lore.kernel.org/lkml/2807E5FD2F6FDA4886F6618EAC48510E92EAB1DE@CRSMSX101.amr.corp.intel.com/ [2] https://lore.kernel.org/lkml/20200520195110.GH1118872@kernel.org/