From owner-freebsd-embedded@FreeBSD.ORG Mon Feb 10 01:13:23 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2F74C4F; Mon, 10 Feb 2014 01:13:23 +0000 (UTC) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0F7961A7D; Mon, 10 Feb 2014 01:13:22 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id b8so4240297lan.5 for ; Sun, 09 Feb 2014 17:13:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=RO4Vq4rkf9U7ZO50YhWU3RAOhJt6iNlQKTlnJx2fvWE=; b=JJwqs2rWpW+giyJMy/5uHp0fkRQG9h/a9VOtwohtPNPi3OWR9618AsHREZwurW/y6t HU93qQPiJE5n+xwP4pIcTyjmO149eRqwcNC7Q0tdE+/Ypc0bumxpuA6RIZQR5iy//iX9 Rxmwcw1qLC0yRktJOn+49mBSxAwyo+1MIj7O0ixYQKEkLW5kmHuBw5Gh97cicmpnMyzi 3kxIqpUo/NWm/UuXej1E2zKjvEs8xzhEVp07LHdsG/AsUcClMSl9cHP+n1zscw2/ys31 W+CKwnpRqZsXr6fhH0fnUZPfZ2JLZehAPU6eNpOP4LkJDFQJ+ywQ6SW2SSWYa7E3jtOz TWDg== MIME-Version: 1.0 X-Received: by 10.152.36.8 with SMTP id m8mr19924527laj.24.1391994800322; Sun, 09 Feb 2014 17:13:20 -0800 (PST) Sender: zbodek@gmail.com Received: by 10.112.46.135 with HTTP; Sun, 9 Feb 2014 17:13:20 -0800 (PST) Date: Mon, 10 Feb 2014 02:13:20 +0100 X-Google-Sender-Auth: 2fpJrshWqbT9nDUFCvREdHYOBzI Message-ID: Subject: RFC: Improvements to superpages support on ARM From: Zbigniew Bodek To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 01:13:23 -0000 Hello. I would like to submit some patches for superpages support. Please check out below: http://people.freebsd.org/~zbb/arm/pmap/superpages/02.2014/ I will appreciate if someone could test the patches (all patches need to be applied). All comments and remarks are also welcome. You can stress the memory system by using for example forkbomb from ports: benchmarks/forkbomb/ forkbomb -M -l 512 --runasroot --quit will allocate and touch 512 MB of memory Please remember to set loader variable: vm.pmap.sp_enabled=1 or sp_enabled to positive value in pmap-v6.c Patch list: 0001-Always-clear-L1-PTE-descriptor-when-removing-superpa.patch 0002-Assure-proper-TLB-invalidation-on-superpage-promotio.patch 0003-Fix-superpage-promotion-on-ARM-with-respect-to-RO-RW.patch 0004-Avoid-redundant-superpage-promotion-attempts-on-ARM.patch 0005-Remove-spurious-assertion-from-pmap_extract_locked.patch 0006-Handle-pmap_enter-on-already-promoted-mappings-for-A.patch Thank you in advance and best regards zbb From owner-freebsd-embedded@FreeBSD.ORG Mon Feb 10 11:06:45 2014 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18719A9 for ; Mon, 10 Feb 2014 11:06:45 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 00EBB1FCA for ; Mon, 10 Feb 2014 11:06:44 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1AB6ipc080000 for ; Mon, 10 Feb 2014 11:06:44 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1AB6iMk079995 for freebsd-embedded@FreeBSD.org; Mon, 10 Feb 2014 11:06:44 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Feb 2014 11:06:44 GMT Message-Id: <201402101106.s1AB6iMk079995@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 11:06:45 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c 2 problems total. From owner-freebsd-embedded@FreeBSD.ORG Tue Feb 11 19:10:19 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 11BB424F; Tue, 11 Feb 2014 19:10:19 +0000 (UTC) Received: from mail-yh0-x230.google.com (mail-yh0-x230.google.com [IPv6:2607:f8b0:4002:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B58F6163F; Tue, 11 Feb 2014 19:10:18 +0000 (UTC) Received: by mail-yh0-f48.google.com with SMTP id f10so7332523yha.35 for ; Tue, 11 Feb 2014 11:10:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=VLxAvW8vcjyfjW+pg6cRDInkfT2DRrlvHKcp1UvldUM=; b=xZWL2oB4yj/nj4pQEwVVMR/fRZxdfHAdcbrsJxiGiyfTYbhJ4ZXkmjEQnonaC7nkGi ED1LjA8nUpczfu4hBRRmOmmVfaetSvOL1W9EAcDvypWxvOXtsZjBWAtfVJTsEaYV15Lt ClIOjMTn4aTtvwQLLuZiKTXKjEh9WFnD8m4oRWmQZdsycjFMjmJ9ep/bQEg8xxHECqBr OzI6k0Qgvs6Q6QGJEjX42oW4nNSSflEPkQbN5RzS5XyYvyTM+oV/1N1iUfXIlUepQy/s snv5HfC1bqpbAvwURkuhkNzGV7vgROI+ATw9P90ZBN1mqoTPwD7wgoYVbcqEEYGLutYj waog== X-Received: by 10.236.87.1 with SMTP id x1mr24509014yhe.51.1392145817898; Tue, 11 Feb 2014 11:10:17 -0800 (PST) Received: from [192.168.1.13] ([187.120.137.162]) by mx.google.com with ESMTPSA id d32sm62144065yhq.27.2014.02.11.11.10.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Feb 2014 11:10:17 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: FDT/OFW GPIO bus From: Luiz Otavio O Souza In-Reply-To: Date: Tue, 11 Feb 2014 17:10:05 -0200 Content-Transfer-Encoding: quoted-printable Message-Id: <9090D088-8F3C-494F-8F41-AA8A16361CB2@gmail.com> References: <2D5F2707-FD55-46BB-A44F-8870B48E2BB1@gmail.com> To: Warner Losh X-Mailer: Apple Mail (2.1827) Cc: freebsd-arm@freebsd.org, freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 19:10:19 -0000 On Feb 7, 2014, at 1:21 AM, Warner Losh wrote: >=20 > On Feb 6, 2014, at 11:53 AM, Luiz Otavio O Souza wrote: [=85] >>=20 >> gpioiic(4) devices can be described in DTS as follow: >>=20 >> gpio { >>=20 >> gpioiic { >> compatible =3D "gpioiic"; >=20 > Linux uses 'i2c-gpio' here. Can we follow that standard rather than = invent our own? Or at least support both? Sure, no problem. >=20 >> gpios =3D <&gpio 17 2 0 >> &gpio 21 2 0>; >> scl =3D <0>; >> sda =3D <1>; >=20 > Linux doesn't have these at all, it seems, since they are implicit in = the gpios property. It would be ideal if the scl and sda properties were = optional=85 They are optional and only needed when you want to change the default = setting (scl =3D 0 and sda =3D 1 - yes, in this example they are just a = no op). >=20 > In addition, you'll often see things like: >=20 > i2c-gpio,sda-open-drain; > i2c-gpio,scl-open-drain; > i2c-gpio,delay-us =3D <2>; >=20 > as well. These should be easy enough to add and shouldn't gate things. Right, ATM gpioiic(4) is coded as an open collector/drain for both SCL = and SDA as per standard. The delay option should be added. >=20 > There's also many DTS files that don't have this as a direct child of = gpio... But that's not strictly required. I'll cope with adding support = for that when I get the Atmel stuff working... >=20 >> lm750 { >> compatible =3D "lm75"; >> i2c-address =3D <0x4b>; >> }; >> lm751 { >> compatible =3D "lm75"; >> i2c-address =3D <0x4f>; >> }; >> }; >> }; I see. I found a DTS from Atmel and i=92ll add support for that. Thank you for point that out. Luiz= From owner-freebsd-embedded@FreeBSD.ORG Fri Feb 14 09:27:39 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 693469AF; Fri, 14 Feb 2014 09:27:39 +0000 (UTC) Received: from mail-vc0-x22e.google.com (mail-vc0-x22e.google.com [IPv6:2607:f8b0:400c:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F3C6D1287; Fri, 14 Feb 2014 09:27:38 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id im17so8967701vcb.5 for ; Fri, 14 Feb 2014 01:27:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=A7c5PXyrrrt/sv5UIlDdtExIMSIrYvLzuRsv69yccws=; b=K3gJyrZ7//cZcSFGknn1aO+OgqeyMVybR0n5dCKI5ZAEwoSSk4Oo4Ti8xtF+wuYycX ofFVNbv8svTEdTNbQAADDXEXkOVXDFTjZhGIGQOdMe5CqbWI+B7H8BVwelAIiPbO//+p Re2HCESEQjifFlfaIO8DXUrJczecAYSyx7tqbAp6fPdLceFsnVNafiu8Fnv3nDNJ4D+y nYpaXV0TJdiQaCBT3rdcf1I6ZnYGpI5oFcyd4kDbFn+VvOg+Z/cVQxDM9hDcHgHhBTOj UHoYtbZfzLuSsoS4kzsZ8Jn5N/6cgrUY2eWxnqgZoCR7mtECjFgRYR7DEa1Xv6OcYaZK Stqg== MIME-Version: 1.0 X-Received: by 10.52.247.231 with SMTP id yh7mr340239vdc.34.1392370057756; Fri, 14 Feb 2014 01:27:37 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.220.113.199 with HTTP; Fri, 14 Feb 2014 01:27:37 -0800 (PST) In-Reply-To: <201402140525.s1E5PFSq056154@svn.freebsd.org> References: <201402140525.s1E5PFSq056154@svn.freebsd.org> Date: Fri, 14 Feb 2014 01:27:37 -0800 X-Google-Sender-Auth: 8g3fmqiewpEK_Kg5slXwG7DLCMI Message-ID: Subject: Fwd: svn commit: r261871 - head/sys/mips/conf From: Adrian Chadd To: "freebsd-wireless@freebsd.org" , "freebsd-mips@freebsd.org" , "freebsd-embedded@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Feb 2014 09:27:39 -0000 sorry for the cross-posting. So, the basic wifi bits are now probing, attaching and (for some values of work) working. There's still stuck beacons at interface up time that I need to diagnose in case I really am gating the beacon queue incorrectly. But, boards like the D-Link DIR-825 rev C1 which have an AR9344 and an external AR9380 should now work. I'll sort out USB tomorrow, then I'll move onto the external switch support and audio support. Please let me know if you have further success with any AR9344 boards. There's a lot of cheap AR934x stuff out there now which has 128MByte or more RAM. (I think the SoC supports up to 256MByte of physical RAM.) -a ---------- Forwarded message ---------- From: Adrian Chadd Date: 13 February 2014 21:25 Subject: svn commit: r261871 - head/sys/mips/conf To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Author: adrian Date: Fri Feb 14 05:25:15 2014 New Revision: 261871 URL: http://svnweb.freebsd.org/changeset/base/261871 Log: Enable use of the PCIe connected wifi on the DB120 (AR9344) board. The on-board NIC is an 3x3 AR9380 with 5GHz only. * enable pci code in AR9344_BASE * enable ath_pci and the firmware loading bits in DB120 * add in the relevant hints in DB120.hints to inform the probe/attach code where the PCIe fixup data is for the onboard chip. This is only relevant for a default development board. I also have a DB120 with the on-board PCIe wifi NIC disabled and it's exposed as a real PCIe slot (to put normal PCIe NICs in); the fixup code will need to be disabled to make this work correctly. Tested: * DB120 Modified: head/sys/mips/conf/AR934X_BASE head/sys/mips/conf/AR934X_BASE.hints head/sys/mips/conf/DB120 head/sys/mips/conf/DB120.hints Modified: head/sys/mips/conf/AR934X_BASE ============================================================================== --- head/sys/mips/conf/AR934X_BASE Fri Feb 14 05:22:28 2014 (r261870) +++ head/sys/mips/conf/AR934X_BASE Fri Feb 14 05:25:15 2014 (r261871) @@ -102,6 +102,9 @@ options USB_DEBUG options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this device ehci +device pci +device ar724x_pci + device scbus device umass device da Modified: head/sys/mips/conf/AR934X_BASE.hints ============================================================================== --- head/sys/mips/conf/AR934X_BASE.hints Fri Feb 14 05:22:28 2014 (r261870) +++ head/sys/mips/conf/AR934X_BASE.hints Fri Feb 14 05:25:15 2014 (r261871) @@ -22,6 +22,10 @@ hint.ehci.0.maddr=0x1b000100 hint.ehci.0.msize=0x00001000 hint.ehci.0.irq=1 +# pci +hint.pcib.0.at="nexus0" +hint.pcib.0.irq=0 + hint.arge.0.at="nexus0" hint.arge.0.maddr=0x19000000 hint.arge.0.msize=0x1000 Modified: head/sys/mips/conf/DB120 ============================================================================== --- head/sys/mips/conf/DB120 Fri Feb 14 05:22:28 2014 (r261870) +++ head/sys/mips/conf/DB120 Fri Feb 14 05:25:15 2014 (r261871) @@ -42,5 +42,11 @@ options GEOM_UNCOMPRESS # Used for the static uboot partition map device geom_map +# yes, this board has a PCI connected atheros device +device ath_pci +options AR71XX_ATH_EEPROM +device firmware # Used by the above +options ATH_EEPROM_FIRMWARE + # Boot off of the rootfs, as defined in the geom_map setup. options ROOTDEVNAME=\"ufs:map/rootfs.uncompress\" Modified: head/sys/mips/conf/DB120.hints ============================================================================== --- head/sys/mips/conf/DB120.hints Fri Feb 14 05:22:28 2014 (r261870) +++ head/sys/mips/conf/DB120.hints Fri Feb 14 05:25:15 2014 (r261871) @@ -60,6 +60,13 @@ hint.ath.0.eepromsize=16384 # host registers on the NIC) and then we teach ath where # to find it. +# ath1 hint - pcie slot 0 +hint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff4000 +hint.pcib.0.bus.0.0.0.ath_fixup_size=16384 + +# ath0 - eeprom comes from here +hint.ath.1.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware" + # flash layout: # # bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART) From owner-freebsd-embedded@FreeBSD.ORG Sat Feb 15 13:03:45 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3576BFD; Sat, 15 Feb 2014 13:03:45 +0000 (UTC) Received: from mail.machdep.com (mail.machdep.com [195.91.211.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DC5CA15A1; Sat, 15 Feb 2014 13:03:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=machdep.com) by mail.machdep.com with smtp (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WEesi-0001C2-Nz; Sat, 15 Feb 2014 17:02:08 +0400 Received: by machdep.com (nbSMTP-1.00) for uid 1001 br@machdep.com; Sat, 15 Feb 2014 17:02:08 +0400 (MSK) Date: Sat, 15 Feb 2014 17:02:08 +0400 From: Ruslan Bukin To: Zbigniew Bodek Subject: Re: RFC: Improvements to superpages support on ARM Message-ID: <20140215130208.GA4462@machdep.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) Cc: "freebsd-arm@freebsd.org" , "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2014 13:03:45 -0000 On Mon, Feb 10, 2014 at 02:13:20AM +0100, Zbigniew Bodek wrote: > Hello. > > I would like to submit some patches for superpages support. > > Please check out below: > http://people.freebsd.org/~zbb/arm/pmap/superpages/02.2014/ > > I will appreciate if someone could test the patches (all patches need > to be applied). > All comments and remarks are also welcome. > > You can stress the memory system by using for example forkbomb from ports: > benchmarks/forkbomb/ > > forkbomb -M -l 512 --runasroot --quit > will allocate and touch 512 MB of memory > > Please remember to set loader variable: > vm.pmap.sp_enabled=1 > or sp_enabled to positive value in pmap-v6.c > works fine on freescale VF50 % sysctl vm.pmap.sp_enabled vm.pmap.sp_enabled: 1 % forkbomb -M -l 32 --runasroot --quit Safety alarm at 300 sec. enabled. Actions: alloc 32 MB (step 4096 kB) and touch it. Forkbomb 1.4 started. % From owner-freebsd-embedded@FreeBSD.ORG Sat Feb 15 13:30:04 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6174269; Sat, 15 Feb 2014 13:30:04 +0000 (UTC) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E9B231713; Sat, 15 Feb 2014 13:30:03 +0000 (UTC) Received: by mail-la0-f44.google.com with SMTP id hr13so10199681lab.3 for ; Sat, 15 Feb 2014 05:30:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=pSZGBoGnznrDZ63n0z/A8Jonj4+VUNN1sVFbKZvhyBE=; b=sEyw6KMIzNgKs92rp4ijMUpeVOgwFVX90sdj8/HR7lCugTsacVVNrJghtKWK2pu+Uk yhqFvK0XVXGSB2o2u69rkkNwja1ko+N2TicK0XlPHFEnHQ+pgocntOpw2c/fB8maIjnj dYYYWgOULBI8YHkmywtjs9/SD6sOrkn2mx2Mda/hSDSOZ9d0twMD5xB4XwygCmitcVv5 o96aS0U3uLxHlM8GEqjHRKyJ0Nxc05/rSAHZQgaNfoXWaX7eXdR5gLR+fOI8Le3Yq6l4 sh4Pbdy2vHkmIM1NshVbMyG5JOnOxapiKsjmLNJ4H7+e8Ga/RxMYFD+2+IdVcQLgZSiB mrFw== MIME-Version: 1.0 X-Received: by 10.112.134.38 with SMTP id ph6mr9257664lbb.16.1392471001810; Sat, 15 Feb 2014 05:30:01 -0800 (PST) Sender: zbodek@gmail.com Received: by 10.112.46.135 with HTTP; Sat, 15 Feb 2014 05:30:01 -0800 (PST) In-Reply-To: <20140215130208.GA4462@machdep.com> References: <20140215130208.GA4462@machdep.com> Date: Sat, 15 Feb 2014 14:30:01 +0100 X-Google-Sender-Auth: CgK7D_puyG6JhTvbLE6q1h1a124 Message-ID: Subject: Re: RFC: Improvements to superpages support on ARM From: Zbigniew Bodek To: Ruslan Bukin Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-arm@freebsd.org" , "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2014 13:30:04 -0000 2014-02-15 14:02 GMT+01:00 Ruslan Bukin : > On Mon, Feb 10, 2014 at 02:13:20AM +0100, Zbigniew Bodek wrote: >> Hello. >> >> I would like to submit some patches for superpages support. >> >> Please check out below: >> http://people.freebsd.org/~zbb/arm/pmap/superpages/02.2014/ >> >> I will appreciate if someone could test the patches (all patches need >> to be applied). >> All comments and remarks are also welcome. >> >> You can stress the memory system by using for example forkbomb from ports: >> benchmarks/forkbomb/ >> >> forkbomb -M -l 512 --runasroot --quit >> will allocate and touch 512 MB of memory >> >> Please remember to set loader variable: >> vm.pmap.sp_enabled=1 >> or sp_enabled to positive value in pmap-v6.c >> > > works fine on freescale VF50 > > % sysctl vm.pmap.sp_enabled > vm.pmap.sp_enabled: 1 > > % forkbomb -M -l 32 --runasroot --quit > Safety alarm at 300 sec. enabled. > Actions: alloc 32 MB (step 4096 kB) and touch it. > Forkbomb 1.4 started. > % > Hello. Thanks a lot. Just committed the changes. Best regards zbb