From: agraf@suse.de (Alexander Graf) Date: Mon, 08 Dec 2014 11:47:00 +0100 Subject: [PATCH] arm64: Enable CONFIG_COMPAT also for 64k page size In-Reply-To: <20141208101026.GD27367@arm.com> References: <1417707993-82290-1-git-send-email-agraf@suse.de> <20141204182049.GB7749@arm.com> <54833BAF.1030405@suse.de> <20141208101026.GD27367@arm.com> Message-ID: <548581A4.1010206@suse.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 08.12.14 11:10, Will Deacon wrote: > On Sat, Dec 06, 2014 at 05:23:59PM +0000, Alexander Graf wrote: >> On 04.12.14 19:20, Will Deacon wrote: >>> On Thu, Dec 04, 2014 at 03:46:33PM +0000, Alexander Graf wrote: >>>> With binutils 2.25 the default alignment for 32bit arm sections changed to >>>> have everything 64k aligned. Armv7 binaries built with this binutils version >>>> run successfully on an arm64 system. >>>> >>>> Since effectively there is now the chance to run armv7 code on arm64 even >>>> with 64k page size, it doesn't make sense to block people from enabling >>>> CONFIG_COMPAT on those configurations. >>> >>> Is there a distro available that is built with a recent enough binutils for >>> this? I'd really like to run our regression tests to check that page-size >>> assumptions don't exist for things like shm. >> >> So how much of a distro do you need? I could probably assemble a simple >> very minimalistic rootfs with only bash if that helps. > > I'd like to run LTP, so I'd probably need slightly more than that but I > certainly don't need the whole world. Let me check with a few folks what we can easily assemble :). Alex