From owner-freebsd-arm@FreeBSD.ORG Mon Nov 24 16:05:48 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0FFC4BF3; Mon, 24 Nov 2014 16:05:48 +0000 (UTC) Received: from mail-qa0-x22b.google.com (mail-qa0-x22b.google.com [IPv6:2607:f8b0:400d:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B4D7794D; Mon, 24 Nov 2014 16:05:47 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id bm13so6646693qab.30 for ; Mon, 24 Nov 2014 08:05:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=J6mHm2hellfwoImwCFhPgm3+zyr12HIEQA/G+GH39h8=; b=W8Vks3JILgsWfXEIH3KU1RbBkbEvy+4QMEXTKLVwZ/msBegrSE4D8un6sijUg8Y7u2 z/w/i1P7J4nlYXuR2uzBlAvdiZh7xdSave3dAFYs9vQtNAhgWhcZrcDJp3V2eOn2t6yn JbfZH7gcA0p3NZY+KI96gaDAzFx5tOH+5bVrnGjSbt355KUkbmKFSt3RqGCjrtO5zxmb 0FWGsqg72rU8aLDx9QCGx9IbTm9oI3W6HGrLciO8CeYUikwwY1T/fmXaAgcf+ytb34/2 iDsStYy4WvajSa4Sm55j1tVM/nfQaznc00yl+mzDM3kSO6XagjwsAIOhoFkDmKOAqbAX gyow== MIME-Version: 1.0 X-Received: by 10.140.44.36 with SMTP id f33mr29738107qga.105.1416845146791; Mon, 24 Nov 2014 08:05:46 -0800 (PST) Received: by 10.140.23.242 with HTTP; Mon, 24 Nov 2014 08:05:46 -0800 (PST) In-Reply-To: <1416840814.1147.380.camel@revolution.hippie.lan> References: <20141113125236.b16cd4e5f0e339eac0494cd4@ulrich-grey.de> <20141115143444.5ad037548e06f289d2532fb7@ulrich-grey.de> <20141119225903.81fbbc7809093a0e6e0de9d5@ulrich-grey.de> <20141120151900.a68c6d8316b96a62cb65d17a@ulrich-grey.de> <20141121115941.54d4e36b103341c3adf7eb36@ulrich-grey.de> <20141124132733.4e96b906f0d1ab69969dddd9@ulrich-grey.de> <1416840814.1147.380.camel@revolution.hippie.lan> Date: Mon, 24 Nov 2014 17:05:46 +0100 Message-ID: Subject: Re: Test Run with Alternative pmap Implementation From: Svatopluk Kraus To: Ian Lepore Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2014 16:05:48 -0000 On Mon, Nov 24, 2014 at 3:53 PM, Ian Lepore wrote: > On Mon, 2014-11-24 at 13:27 +0100, Ulrich Grey wrote: > > Hello, > > > > as a starting point I have build an image (crochet, wandboard-quad) with > > the source tree from here (751adfd(master)): > > > > https://github.com/strejda/freebsd > > > > Then I build the kernel with new pmap and rebuild the whole systen. > > The system I used for the test run is entirely build on the > > wandboard-quad. > > [...] > > I've also been testing those pmap changes this weekend. The only change > I made was to add options ARM_NEW_PMAP and NKPT2PG=64 to the kernel > config. In particular, I did not change VM_MEMATTR_UNCACHEABLE (so that > in effect I'm also testing the recent busdma changes). > > I've had two wandboard quads doing builds continuously all weekend. I > did the builds that have previously been reported as problems here -- > buildworld -j10, ports libX11, plus a lot of other ports including much > of the full xorg (until it ran into some x86 device drivers and died), > some of libreoffice (it had a problem that wasn't related to crashing or > anything), python, bash, emacs, boost, rsync. > > After all that I just set both boards to continuously doing "rm > -rf /usr/obj/* ; make -j5 buildworld" in a loop, and they're still > running. One is using an SSD drive and the other is using NFS. > > In all that building all weekend the only glitches I've seen are this: > > warning: pmap_remove_pages called with non-current pmap > > that appeared twice on the board using NFS root. > > It could be false positive prints due to the way how current pmap is got there. Even if I know that PCPU_GET() is not atomic and need to be wrapped in this case at least by sched_pin() and sched_unpin() calls, I missed it there. Svata > For anyone else wanting to test, there is currently one conflict when > applying the patches, in busdma_machdep-v6.c, because some of the > changes in the patch have already been applied. Just resolve the > conflict by skipping that file / restoring the original unpatched file. > > This stuff is looking really good. It wouldn't hurt at all if some more > people were testing it, especially on other hardware including rpi and > beaglebone. > > -- Ian > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >