From owner-svn-src-all@freebsd.org Tue Dec 22 23:54:32 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FC8DA501CA; Tue, 22 Dec 2015 23:54:32 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3957F1224; Tue, 22 Dec 2015 23:54:32 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-oi0-x22c.google.com with SMTP id l9so87633991oia.2; Tue, 22 Dec 2015 15:54:32 -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=+naupRtjWSBl8SzpYCq67XNh9632o7yz9B2u4wHDDtY=; b=Jhw8ErijPsiTw5IKKYyddznVlLgCDtRvOeMq1RtNQAA+z2p3YKb6cg74ueb18iNXFt yWwlpQO98nJAOQ73VJ08zVXmL8IKBt0GkDX0/qg21CBkUR4DCk58zWjL7hDTXAhb8Vln g7IIL2DwU4Zlss/GDU3S2h50Qcj0dAR9VjZC/mLSqK5/Z2+7TAzRvJX9BbDmhsrsP8YQ qIeuV2ZZ7MvICO+DyH0HeIcXJz7g/RUNrhUPOCnItnkjF5UG8rH8cLq5uXZ0BGfiP3sI b2swsnzvjN75kEV5HWZpBCew6z8YiybXGp+qG/G4mYrGCF7SVi2dAwwDPWHXS068ahWx MsoQ== MIME-Version: 1.0 X-Received: by 10.202.213.78 with SMTP id m75mr3351959oig.56.1450828471130; Tue, 22 Dec 2015 15:54:31 -0800 (PST) Received: by 10.182.210.195 with HTTP; Tue, 22 Dec 2015 15:54:30 -0800 (PST) Received: by 10.182.210.195 with HTTP; Tue, 22 Dec 2015 15:54:30 -0800 (PST) In-Reply-To: <610A02A5-1399-4A6C-993C-CDCC9DC8502A@gmail.com> References: <201512191842.tBJIgohI010539@repo.freebsd.org> <610A02A5-1399-4A6C-993C-CDCC9DC8502A@gmail.com> Date: Tue, 22 Dec 2015 17:54:30 -0600 Message-ID: Subject: Re: svn commit: r292469 - in head/sys: dev/drm2/ttm mips/include mips/mips vm From: Justin Hibbits To: Garrett Cooper Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Ed Maste , Alan Cox , "src-committers@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2015 23:54:32 -0000 On Dec 22, 2015 18:48, "NGie Cooper" wrote: > > > > On Dec 22, 2015, at 13:51, Ed Maste wrote: > > > > On 19 December 2015 at 13:42, Alan Cox wrote: > >> Author: alc > >> Date: Sat Dec 19 18:42:50 2015 > >> New Revision: 292469 > >> URL: https://svnweb.freebsd.org/changeset/base/292469 > >> > >> Log: > >> Introduce a new mechanism for relocating virtual pages to a new physical > >> address and use this mechanism when: > > > > Universe build is failing on powerpc.powerpc with: > > > > cc1: warnings being treated as errors > > /scratch/tmp/emaste/freebsd/sys/vm/vm_page.c: In function 'vm_page_reclaim_run': > > /scratch/tmp/emaste/freebsd/sys/vm/vm_page.c:2449: warning: comparison > > is always true due to limited range of data type > > *** [vm_page.o] Error code 1 > > +1 > > It=E2=80=99s only with the MPC85XX kernel, which I believe is 32-bit powe= rpc. > > Thanks! > -NGie Correct, this is due to the fact that on this target vm_paddr_t is 64-bit, and trunc_page() macro casts through unsigned long (32 bits). I have a patch that removes all casts for vm macros in PowerPC (PowerPC is the only target that casts for these macros still), in code review right now (only been lightly tested). - Justin