From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 44F222811F4D for <9fans@9fans.net>; Fri, 22 May 2020 10:06:14 -0400 (EDT) (envelope-from miller@hamnavoe.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 64FB43A081D; Fri, 22 May 2020 10:06:14 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1590156374; b=pzo1XDG+o6+CPeXZZkA97XD0p7mKY09e7tw6XE3QfTCVFNlOh+ +CiFxzfjoOa2e/EGNC9NGzsUXNIK4l73uGiub+mysPiYsGmRROF1D1SsqdrskSkF lDdLuPn35Ia7iIiwe+JeRh0zackIWkwSdYT73mEsqG0QpeMnZ3sxIC6hBx/sw+dq z/5p9l2Rcliyhk4EGsuddU5i387vkUaGM536QLTi5BljBdj1WA1LBTvi0mKh6W9X OUIvcrcsf1Uy86RNX6x/WP8Uk0A8CrmLQYPwPtl+9/1Zxbio0yI7T4jDP+FWPRVs EI7HpmpHZH/0Xme581/r/2ZbiTy+dzeZ4GGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:from:date:mime-version :content-type:content-transfer-encoding; s=arcseal; t= 1590156374; bh=kzXyq+/vdC3+O7iHcqTvlU69CbHmN6o9vFriGBGkHDo=; b=F ID18ZsCoFSbb6J8uYJQ54YhEhocoG+2bcY5dneHaNHsqcjmx13a+ykAUrsjRXijv 4pYlxk07gk9izcC4+IEnLHDILYFxaxr4gamoPTYYYoAp9z4uux9/BzkeUl0dMU0v vhpVq/h71MoWPue7MaAYTqMWXAeRQr9mPJ80uCWogHxRUwu4sEC7v4wlCFwdp6k7 EjGdINfy9yGaaLD+mv6UVIiCiD/52bVX2dB/8IZbzoKisiaZmXVQxIY8+o8PDaDi XxwxNFOyO/8sMuh4cPWfzLlroO4sC0VsqL3N8H6xpRyDOK63ykjz98m2M4+/RAMN EAQ4wUdqlnnk0wOf0gJKg== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC none); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (balrog.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=balrog.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-ptr=pass smtp.helo=balrog.mythic-beasts.com policy.ptr=balrog.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC none); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (balrog.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=balrog.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-ptr=pass smtp.helo=balrog.mythic-beasts.com policy.ptr=balrog.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduhedruddufedgjeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkvffuhf ffgggtgfesthejjhdttddtvdenucfhrhhomheptfhitghhrghrugcuofhilhhlvghruceo lehfrghnsheshhgrmhhnrghvohgvrdgtohhmqeenucggtffrrghtthgvrhhnpeelfedtud fhgeeujeeluefhtdeuieeivdeuieeiveeluddvgfelveetudelkeehheenucfkphepgeei rddvfeehrddvvdejrddvgedpkeekrdeljedrvdejrdekfeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepihhnvghtpeegiedrvdefhedrvddvjedrvdegpdhhvghlohep sggrlhhrohhgrdhmhihthhhitgdqsggvrghsthhsrdgtohhmpdhmrghilhhfrhhomhepoe hmihhllhgvrheshhgrmhhnrghvohgvrdgtohhmqecuuffkkgfgpeefvdekke X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (hamnavoe.com: Sender is authorized to use 'miller@hamnavoe.com' in 'mfrom' identity (mechanism 'include:_spf.mythic-beasts.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="miller@hamnavoe.com"; helo=balrog.mythic-beasts.com; client-ip=46.235.227.24 Received: from balrog.mythic-beasts.com (balrog.mythic-beasts.com [46.235.227.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Fri, 22 May 2020 10:06:13 -0400 (EDT) (envelope-from miller@hamnavoe.com) Received: from [88.97.27.83] (port=63960 helo=hamnavoe.com) by balrog.mythic-beasts.com with esmtpsa (TLS1.0:RSA_3DES_EDE_CBC_SHA1:192) (Exim 4.92.3) (envelope-from ) id 1jc8JM-0002D2-KD for 9fans@9fans.net; Fri, 22 May 2020 15:06:12 +0100 Message-ID: To: 9fans@9fans.net Subject: 9pi update, Raspberry Pi 4, and go From: Richard Miller <9fans@hamnavoe.com> Date: Fri, 22 May 2020 15:06:06 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-BlackCat-Spam-Score: 1 X-Spam-Status: No, score=0.2 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 68995428-9c35-11ea-b57c-93634b452175 I've updated the 9pi kernels on 9p.io (in /n/sources/contrib/miller/9pi[24], source in /n/sources/contrib/miller/9/bcm). The main change is a kmap implementation so that large Raspberry Pi 4 boards can use the full 4GB of RAM with a 32-bit kernel. I've also eliminated a coherence bug which would render a Pi4 catatonic (ie no interrupt response) under heavy loads involving lots of floating point. This was a subtle problem with the dynamic generation of arm coprocessor instructions borrowed from the teg2 port, which was inefficient and fragile and didn't quite cope with the more aggressive out-of-order execution of the cortex-a72. My solution was to replace the whole of coproc.c with a few hard-coded coprocessor access instructions in l.s; not many are actually needed. Two other changes affect all Raspberry Pi models: A *kernelpercent value can be given in cmdline.txt (and the default is reduced to 10 from 20, with a maximum of 256MB). And a small tweak to the SD driver avoids floods of error messages when you swap SD cards. The 9pi.img.gz SD card image has also been updated. Besides the new kernels, and a long overdue rebuild of the lookman(1) index, I've included a full go language distribution. If you regard this as unwelcome bloatware, just delete /sys/lib/go1.14 (and also /sys/lib/tls/ca.pem and /rc/bin/git, which are required for the "go get" command to work). The go command and packages have been built with GOARM=7 so they won't work on the old first generation Raspberry Pi. If this is a problem for anyone, contact me off list for a set of GOARM=6 binaries.